Add fetestexceptflag.
[glibc.git] / ChangeLog
blobc78e77347a8b533f5e51b71f236441d27748096b
1 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
3         * math/fetestexceptflag.c: New file.
4         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
5         Stefan Liebler.
6         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7         (fetestexceptflag): New function declaration.
8         * manual/arith.texi (fetestexceptflag): Document function.
9         * math/Versions (fetestexceptflag): New libm symbol at version
10         GLIBC_2.25.
11         * math/Makefile (libm-support): Add fetestexceptflag.
12         (tests): Add test-fetestexceptflag.
13         * math/test-fetestexceptflag.c: New file.
14         * sysdeps/nacl/libm.abilist: Update.
15         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
24         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
27         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28         Likewise.
29         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
30         Likewise.
31         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
32         Likewise.
33         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
34         Likewise.
35         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
36         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
37         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
38         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
39         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
40         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
41         Likewise.
42         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
43         Likewise.
44         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
45         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
46         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
48 2016-08-26  Florian Weimer  <fweimer@redhat.com>
50         [BZ #20432]
51         Avoid strong references to malloc-internal symbols when linking
52         statically, to support statically interposed mallocs.
53         * include/libc-symbols.h (call_function_static_weak): New macro.
54         * malloc/Makefile (tests): Add tst-interpose-nothread,
55         tst-interpose-thread, tst-interpose-static-nothread,
56         tst-interpose-static-thread.
57         (tests-static): Add tst-interpose-static-nothread,
58         tst-interpose-static-thread.
59         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
60         tst-interpose-aux-thread.o.
61         (test-extras): Add tst-interpose-aux-nothread,
62         tst-interpose-aux-thread.
63         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
64         tst-interpose-aux-nothread.o.
65         (tst-interpose-thread, tst-interpose-static-thread): Link with
66         tst-interpose-aux-thread.o and libthread.
67         * malloc/tst-interpose-aux-nothread.c: New file.
68         * malloc/tst-interpose-aux-thread.c: Likewise.
69         * malloc/tst-interpose-aux.c: Likewise.
70         * malloc/tst-interpose-aux.h: Likewise.
71         * malloc/tst-interpose-nothread.c: Likewise.
72         * malloc/tst-interpose-skeleton.c: Likewise.
73         * malloc/tst-interpose-static-nothread.c: Likewise.
74         * malloc/tst-interpose-static-thread.c: Likewise.
75         * malloc/tst-interpose-thread.c: Likewise.
76         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
77         * sysdeps/mach/hurd/fork.c (__fork): Only call
78         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
79         __malloc_fork_unlock_child if defined.
80         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
82 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
84         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
85         timespec C99 designated initialization.
87 2016-08-26  Florian Weimer  <fweimer@redhat.com>
89         [BZ #19946]
90         Avoid expected SIGALRM signals.
91         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
92         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
93         (xpthread_create, xpthread_detach, xpthread_join)
94         (delayed_exit_thread, delayed_exit): New functions.
95         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
96         (tf): Use xpthread_cond_wait.
97         (do_test): Likewise.  Replace alarm with delayed_exit.
98         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
99         (do_test): Call delayed_exit.  Report failure.
100         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
101         (do_test): Call delayed_exit.
102         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
103         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
104         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
105         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
106         error.
107         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
108         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
109         error.
110         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
111         (do_test): Call delayed_exit.
112         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
113         (do_test): Call delayed_exit.
114         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
115         (do_test): Call delayed_exit instead of alarm.  Use
116         xpthread_mutex_lock.
117         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
118         (do_test): Call delayed_exit instead of alarm.  Use
119         xpthread_mutex_lock.
120         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
121         (do_test): Call delayed_exit instead of alarm.
122         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
123         (do_test): Call delayed_exit instead of alarm.  Use
124         xpthread_spin_lock.
125         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
126         (do_test): Call delayed_exit instead of alarm.  Use
127         xpthread_join.
129 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
131         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
132         adjust CFA when allocating register save area on re-aligned
133         stack.
135 2016-08-26  Florian Weimer  <fweimer@redhat.com>
137         * string/tst-cmp.c: New test.
138         * string/Makefile (tests): Add it.
140 2016-08-25  Mark Wielaard  <mark@klomp.org>
142         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
143         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
144         (check_tree_recurse): Use newly defined accessors.
145         (check_tree): Likewise.
146         (maybe_split_for_insert): Likewise.
147         (__tfind): Likewise.
148         (__tdelete): Likewise.
149         (trecurse): Likewise.
150         (tdestroy_recurse): Likewise.
151         (__tsearch): Likewise. And add asserts for malloc alignment.
152         (__twalk): Cast root to node in case CHECK_TREE is defined.
154 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
156         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
158 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
160         * math/Makefile (libm-gen-calls): Add
161         catan, catanh, ctan, ctanh.
162         (libm-calls): Remove the above.
164         * math/s_catan_template.c: Update using type-generic macros.
165         * math/s_catanh_template.c: Likewise.
166         * math/s_ctan_template.c: Likewise.
167         * math/s_ctanh_template.c: Likewise.
169         * math/s_catanf.c: Removed.
170         * math/s_catan.c: Removed.
171         * math/s_catanl.c: Removed.
172         * math/s_catanhf.c: Removed.
173         * math/s_catanh.c: Removed.
174         * math/s_catanhl.c: Removed.
175         * math/s_ctanf.c: Removed.
176         * math/s_ctan.c: Removed.
177         * math/s_ctanl.c: Removed.
178         * math/s_ctanhf.c: Removed.
179         * math/s_ctanh.c: Removed.
180         * math/s_ctanhl.c: Removed.
182         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
183         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
184         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
185         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
186         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
187         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
189         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
190         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
191         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
192         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
194 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
196         * s_catan_template.c: Copy of s_catan.c.
197         * s_catanh_template.c: Copy of s_catanh.c.
198         * s_ctan_template.c: Copy of s_ctan.c.
199         * s_ctanh_template.c: Copy of s_ctanh.c.
201 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
203         * math/Makefile (gen-libm-calls): Move
204         casin, casinh, csin, csinh here.
205         (libm-calls): Remove the above.
207         * math/s_casin_template.c: Update using type-generic macros.
208         * math/s_casinh_template.c: Likewise.
209         * math/s_csin_template.c: Likewise.
210         * math/s_csinh_template.c: Likewise.
211         * math/k_casinh_template.c: Likewise.
213         * math/s_casinf.c: Removed.
214         * math/s_casin.c: Removed.
215         * math/s_casinl.c: Removed.
216         * math/s_casinh.c: Removed.
217         * math/s_casinhf.c: Removed.
218         * math/s_casinhl.c: Removed.
219         * math/s_csin.c: Removed.
220         * math/s_csinf.c: Removed.
221         * math/s_csinl.c: Removed.
222         * math/s_csinh.c: Removed.
223         * math/s_csinhf.c: Removed.
224         * math/s_csinhl.c: Removed.
225         * math/k_casinh.c: Removed.
226         * math/k_casinhf.c: Removed.
227         * math/k_casinhl.c: Removed.
229         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
230         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
231         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
232         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
234         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
235         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
236         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
237         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
238         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
239         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
240         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
241         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
243         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
244         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
245         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
246         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
248         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
249         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
250         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
251         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
253 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
255         * s_casin_template.c: Copy of s_casin.c.
256         * s_casinh_template.c: Copy of s_casinh.c.
257         * s_csin_template.c: Copy of s_csin.c.
258         * s_csinh_template.c: Copy of s_csinh.c.
259         * k_casinh_template.c: Copy of k_casinh.c.
261 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
263         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
265 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
267         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
268         (mul_split) Remove, rename as mul_splitl, remove
269         redundant float.h include, and include via mul_splitl.h
271         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
272         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
273         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
274         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
275         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
277         * math/mul_splitl.h: New file.
279         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
280         Move into mul_split.h, and remove redundant float.h include.
282         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
283         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
284         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
285         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
287         * math/mul_split.h: New file.
289 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
291         * math/Makefile (libm-gen-calls): Move
292         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
293         (libm-calls): Remove above.
295         * math/s_cacos_template.c: Update using type-generic macros.
296         * math/s_cacosh_template.c: Likewise.
297         * math/s_ccos_template.c: Likewise.
298         * math/s_ccosh_template.c: Likwise.
300         * math/s_cacosf.c: Removed.
301         * math/s_cacos.c: Removed.
302         * math/s_cacosl.c: Removed.
303         * math/s_cacoshf.c: Removed.
304         * math/s_cacosh.c: Removed.
305         * math/s_cacoshl.c: Removed.
306         * math/s_ccosf.c: Removed.
307         * math/s_ccos.c: Removed.
308         * math/s_ccosl.c: Removed.
309         * math/s_ccoshf.c: Removed.
310         * math/s_ccosh.c: Removed.
311         * math/s_ccoshl.c: Removed.
313         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
314         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
315         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
316         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
317         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
318         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
320         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
321         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
322         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
323         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
325         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
326         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
327         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
328         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
330 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
332         * s_cacos_template.c: Copy of s_cacos.c.
333         * s_cacosh_template.c: Copy of s_cacosh.c.
334         * s_ccos_template.c: Copy of s_ccos.c.
335         * s_ccosh_template.c: Copy of s_ccosh.c.
337 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
339         * stdlib/tst-strtod-round-skeleton.c:
340         Refactored from tst-strtod-round.c.
342         (L_): New macro to apply literal modifier.
343         (FNPFX): New macro to select str or wcs prefix.
344         (CHAR): New macro to choose wchar_t or char.
345         (STRM): New macro to choose printf for tested character type.
347         (STRTO): New macro to choose appropriate string -> real function.
348         (FNPFXS): Stringitized version of FNPFX.
349         (STR): Support for above macro.
350         (STRX): Likewise.
352         (TEST): Update with above macros.
353         (test): Likewise.
354         (GEN_ONE_TEST): Likewise.
355         (test_in_one_mode): Likewise.
357         * stdlib/tst-strtod-round.c: New file.
358         * wcsmbs/tst-wcstod-round.c: New file.
360         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
361         (tst-wcstod-round): Add libm depencency for fesetround.
363 2016-08-19  Zack Weinberg  <zackw@panix.com>
365         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
367 2016-08-18  Torvald Riegel  <triegel@redhat.com>
369         [BZ #20477]
370         * resolv/res_hconf.c (do_init): Use atomic access.
371         * resolv/res_hconf.h: Add comments.
372         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
373         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
374         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
376 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
378         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
379         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
380         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
381         Likewise.
383 2016-08-18  Florian Weimer  <fweimer@redhat.com>
385         [BZ #16907]
386         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
387         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
388         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
389         (__attribute__): Remove definition.
391 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
393         * sysdeps/ieee754/ldbl-128/e_asinl.c:
394         Remove unused sqrtl declaration.
396 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
398         * math/Makefile: (gen-libm-templates.stmp): New rule.
399         (libm-calls): Move carg conj cimag and cabs into ...
400         (gen-libm-calls): New variable.
401         (generated): Inform Make objects from gen-libm-calls
402         may be generated.
404         * sysdeps/generic/math-type-macros.h: New file.
405         * sysdeps/generic/math-type-macros-float.h: Likewise.
406         * sysdeps/generic/math-type-macros-double.h: Likewise.
407         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
408         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
409         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
411         * math/cabs.c: Refactor into
412         * math/cabs_template.c: new file.
413         * math/cabsf.c: Removed.
414         * math/cabsl.c: Removed.
415         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
416         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
418         * math/carg.c: Refactor into
419         * math/carg_template.c: new file.
420         * math/cargf.c: Removed.
421         * math/cargl.c: Removed.
422         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
423         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
425         * math/conj.c: Refactor into
426         * math/conj_template.c: new file.
427         * math/conjf.c: Removed.
428         * math/conjl.c: Removed.
429         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
430         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
432         * math/cimag.c: Refactor into
433         * math/cimag_template.c: new file.
434         * math/cimagf.c: Removed.
435         * math/cimagl.c: Removed.
436         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
437         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
439         * math/cimag.c: Refactor into
440         * math/cimag_template.c: new file.
441         * math/cimagf.c: Removed.
442         * math/cimagl.c: Removed.
443         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
444         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
446 2016-08-17  Florian Weimer  <fweimer@redhat.com>
448         Reduce time to expected nptl/tst-once5 failure.
449         * nptl/tst-once5.cc (TIMEOUT): Define.
451 2016-08-17  Florian Weimer  <fweimer@redhat.com>
453         [BZ #20452]
454         Avoid additional copies of objects in libc.a in static libraries.
455         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
456         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
457         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
458         rt-sysdep.
459         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
460         Add nptl-sysdep.
461         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
462         Add ptw-sysdep.
463         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
464         rt-sysdep.
465         * sysdeps/unix/sysv/linux/alpha/Makefile
466         (libpthread-shared-only-routines): Add ptw-sysdep,
467         ptw-sigprocmask, ptw-rt_sigaction.
468         * sysdeps/unix/sysv/linux/ia64/Makefile
469         (librt-shared-only-routines): Add rt-sysdep.
470         * sysdeps/unix/sysv/linux/i386/Makefile
471         (libpthread-shared-only-routines): Add libc-do-syscall.
472         * sysdeps/unix/sysv/linux/microblaze/Makefile
473         (libpthread-shared-only-routines): Add sysdep.
474         * sysdeps/unix/sysv/linux/powerpc/Makefile
475         (librt-shared-only-routines): Add rt-sysdep.
476         (libpthread-shared-only-routines): Add sysdep.
477         * sysdeps/unix/sysv/linux/s390/Makefile
478         (librt-shared-only-routines): Add rt-sysdep.
479         * sysdeps/unix/sysv/linux/sparc/Makefile
480         (librt-shared-only-routines): Add rt-sysdep.
481         (libpthread-shared-only-routines): Add sysdep.
482         * sysdeps/unix/sysv/linux/tile/Makefile
483         (libpthread-shared-only-routines): Likewise.
485 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
487         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
488         Mask implicit bit out of unpacked value.
489         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
493         * sysdeps/sparc/fpu/fesetexcept.c: New file.
495         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
497         * sysdeps/s390/fpu/fesetexcept.c: New file.
499         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
500         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
501         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
503         * sysdeps/mips/fpu/fesetexcept.c: New file.
505         * sysdeps/m68k/fpu/fesetexcept.c: New file.
507         * sysdeps/ia64/fpu/fesetexcept.c: New file.
509         * sysdeps/hppa/fpu/fesetexcept.c: New file.
511         * sysdeps/arm/fesetexcept.c: New file.
513         * sysdeps/alpha/fpu/fesetexcept.c: New file.
515         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
517         * math/fesetexcept.c: New file.
518         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
519         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
520         * math/fenv.h: Define
521         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
522         <bits/libc-header-start.h> instead of including <features.h>.
523         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
524         declaration.
525         * manual/arith.texi (fesetexcept): Document function.
526         * math/Versions (fesetexcept): New libm symbol at version
527         GLIBC_2.25.
528         * math/Makefile (libm-support): Add fesetexcept.
529         (tests): Add test-fesetexcept and test-fesetexcept-traps.
530         * math/test-fesetexcept.c: New file.
531         * math/test-fesetexcept-traps.c: Likewise.
532         * sysdeps/nacl/libm.abilist: Update.
533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
546         Likewise.
547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
548         Likewise.
549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
550         Likewise.
551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
552         Likewise.
553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
559         Likewise.
560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
561         Likewise.
562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
566 2016-08-16  Florian Weimer  <fweimer@redhat.com>
568         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
569         New.
570         (do_test): Apply default_stack_size_in_mb if not set.
571         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
573 2016-08-15  Andreas Schwab  <schwab@suse.de>
575         [BZ #20435]
576         CVE-2016-6323
577         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
578         as .cantunwind.
580 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
582         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
583         comment from fraiseexcpt.c.
585         * math/test-fexcept.c (feraiseexcept_exact): New function.
586         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
587         (test_except): Likewise.
589 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
591         [BZ #20455]
592         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
593         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
594         to be restored.
596         * math/test-fexcept-traps.c: New file.
597         * math/test-fexcept.c: Likewise.
598         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
599         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
600         macro.
601         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
602         (EXCEPTION_SET_FORCES_TRAP): Likewise.
604 2016-08-09  Torvald Riegel  <triegel@redhat.com>
606         * include/atomic.h (atomic_fetch_and_relaxed,
607         atomic_fetch_and_release, atomic_fetch_or_release,
608         atomic_fetch_xor_release): New.
610 2016-08-06  Christian Seiler  <christian@iwakd.de>
612         [BZ #20444]
613         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
614         MACH_PORT_NULL.
616 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
618         * math/s_fdim.c: Avoid alias renamed.
619         * math/s_fdimf.c: Likewise.
620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
621         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
622         Add s_fdimf-vis3, s_fdim-vis3.
623         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
624         (CFLAGS-s_fdim-vis3.c): Likewise.
625         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
626         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
628 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
631         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
632         Remove s_fdimf-vis3, s_fdim-vis3.
633         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
634         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
640         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
641         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
642         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
644 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
646         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
647         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
648         -Wa,-Av9a -mvis.
650 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
652         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
653         LIT() to individual constants in simple expressions
654         after splitting on spaces.
655         (_apply_lit): Rename replaced version, and use it to
656         apply to what appears to be a token.
658         * math/libm-test.inc: Fix many, many issues with
659         spacing.
661 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
663         * math/math.h: Move comment about <bits/mathdef.h> definitions
664         above inclusion of <bits/mathdef.h>.  Do not mention
665         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
667 2016-08-05  Torvald Riegel  <triegel@redhat.com>
669         * include/atomic.h (atomic_exchange_relaxed): New.
671 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
673         * math/e_scalb.c: Do not include <fenv.h>.
674         (invalid_fn): Do calculation resulting in NaN instead of raising
675         FE_INVALID and returning a NaN explicitly.
676         * math/e_scalbf.c: Do not include <fenv.h>.
677         (invalid_fn): Do calculation resulting in NaN instead of raising
678         FE_INVALID and returning a NaN explicitly.
679         * math/e_scalbl.c: Do not include <fenv.h>.
680         (invalid_fn): Do calculation resulting in NaN instead of raising
681         FE_INVALID and returning a NaN explicitly.
683 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
685         * po/de.po: Updated from Translation Project.
686         * po/fi.po: Likewise.
687         * po/sv.po: Likewise.
689 2016-08-04  Florian Weimer  <fweimer@redhat.com>
691         [BZ #20452]
692         Use sysdep.o from libc.a in static libraries.
693         * sysdeps/unix/sysv/linux/i386/Makefile
694         (libpthread-shared-only-routines): Add sysdep.
695         (librt-shared-only-routines): Likewise.
697 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
699         * math/tgmath.h (nextdown): Define if
700         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
701         (nextup): Likewise.
703         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
704         macro.
705         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
706         Document.
707         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
708         Document macro.
709         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
710         (exp10f): Likewise.
711         (exp10l): Likewise.
712         * math/bits/mathcalls.h (exp10): Declare if
713         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
715         * manual/arith.texi (nextup): Fix typo in last change.
717 2016-08-03  Zack Weinberg  <zackw@panix.com>
719         [BZ #19239]
720         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
721         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
722         define major, minor, and makedev to issue deprecation warnings on use.
723         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
724         previously-activated deprecation warnings for these macros and prevent
725         subsequent inclusions of this header from having any effect.
726         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
727         including <sys/sysmacros.h>, and undefine it again afterward.
729 2016-08-03  Zack Weinberg  <zackw@panix.com>
731         * sysdeps/generic/sys/sysmacros.h: Delete file.
732         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
733         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
734         * bits/sysmacros.h: ... here; this encoding is now the generic
735         encoding.  Now defines only the following macros:
736         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
737         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
738         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
740         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
741         bits/sysmacros.h and the above new macros to generate the
742         public implementations of major, minor, and makedev.
743         * misc/tst-makedev.c: New test.
744         * include/sys/sysmacros.h: New wrapper.
746         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
747         (routines): Add makedev.
748         (tests): Add tst-makedev.
749         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
750         gnu_dev_makedev.
751         * posix/Makefile (headers): Remove sys/sysmacros.h.
752         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
754         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
755         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
756         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
757         * sysdeps/unix/sysv/linux/alpha/libc.abilist
758         * sysdeps/unix/sysv/linux/arm/libc.abilist
759         * sysdeps/unix/sysv/linux/hppa/libc.abilist
760         * sysdeps/unix/sysv/linux/i386/libc.abilist
761         * sysdeps/unix/sysv/linux/ia64/libc.abilist
762         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
763         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
764         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
765         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
766         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
767         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
768         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
769         * sysdeps/unix/sysv/linux/nios2/libc.abilist
770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
774         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
775         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
776         * sysdeps/unix/sysv/linux/sh/libc.abilist
777         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
778         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
781         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
782         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
783         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
784         Add GLIBC_2.25.
786         * include/features.h (__glibc_clang_prereq): New macro.
787         * misc/sys/cdefs.h (__glibc_clang_has_extension)
788         (__attribute_deprecated_msg__): New macros.
790 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
792         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
793         macro.
794         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
795         * manual/arith.texi (issignaling): Document as ISO from TS
796         18661-1:2014.
797         (nextup): Likewise.
798         (nextupf): Likewise.
799         (nextupl): Likewise.
800         (nextdown): Likewise.
801         (nextdownf): Likewise.
802         (nextdownl): Likewise.
803         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
804         macro.
805         * math/math.h: Define
806         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
807         <bits/libc-header-start.h> instead of including <features.h>.
808         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
809         [__USE_GNU].
810         * math/bits/mathcalls.h (nextdown): Declare if
811         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
812         (nextup): Likewise.
813         (__issignaling): Likewise.
815 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
817         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
818         check, and remove __glibc_likely hint
819         from FP_INFINITE check.
820         * s_csinhf.c (__csinhf): Likewise.
822         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
823         hint from FP_INFINITE check.
824         * s_csinhl.c (__csinhl): Likewise.
826 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
828         * math/Makefile (libm-calls): Insert F placeholder into
829         object names.  Move w_lgamma_compat* routines into
830         (libm-compat-calls): New variable.
831         (libm-compat-calls-ldouble-yes): New variable.
832         (calls): Insert F placeholder.
833         (generated): Redefine using new type-foreach macro call.
834         (routines): Likewise.
836         (types): New variable to hold a list of symbolic names
837         for each type supported by the target machine.
838         (libm-routines): Redefine using new types variable.
839         (type-foreach): macro to replace fooF with the
840         appropriately suffixed foo for each types.
842         (type-ldouble-suffix): New variable.
843         (type-ldouble-routines): Likewise.
844         (type-ldouble-yes): Likewise.
845         (type-double-suffix): Likewise.
846         (type-double-routines): Likewise.
847         (type-float-suffix): Likewise.
848         (type-float-routines): Likewise.
850         (dbl-only-routines): Remove.
851         (long-c-yes): Likewise.
852         (long-m-routines): Likewise.
853         (long-m-support): Likewise.
854         (long-m-yes): Likewise.
855         (test-longdouble-yes): Likewise.
857         (test-float.o): Simplify by increasing the scope of the
858         recipe which adds libm-test.stmp to the vector types.
859         (test-ifloat.o): Likewise.
860         (test-float-finite.o): Likewise.
861         (test-double.o): Likewise
862         (test-idouble.o): Likewise.
863         (test-double-finite.o): Likewise.
864         (test-ldouble.o): Likewise
865         (test-ildoubl.o): Likewise.
866         (test-ldouble-finite.o): Likewise.
868         (libm-tests): Redefine type tests using foreach and the
869         list of types in types.
871         (CPPFLAGS-test-ildoubl.c): Rename to
872         (CPPFLAGS-test-ildouble.c): New variable
874         * math/test-ildoubl.c: Rename to
875         * math/test-ildouble.c: New file.
877 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
879         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
880         Use fabsl instead of fabs.
881         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
882         Likewise.
883         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
884         Add long double suffix to constant to ensure proper
885         promotion to long double.
887 2016-08-03  Tom Tromey  <tom@tromey.com>
889         [BZ #20311]
890         * nptl_db/Makefile (headers): Add proc_service.h.
891         * nptl_db/proc_service.h: Add include guard.  Use
892         __BEGIN/__END_DECLS.
893         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
894         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
895         arguments.
898 2016-08-03  Florian Weimer  <fweimer@redhat.com>
900         [BZ #17730]
901         Avoid using memalign for TCB allocations.
902         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
903         (_dl_allocate_tls_storage): Use malloc and manual alignment.
904         Avoid alignment gap in the TLS_DTV_AT_TP case.
905         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
906         determine the pointer to free.
907         * nptl/tst-tls3-malloc.c: New test.
908         * nptl/Makefile (tests): Add it.
909         (tst-tls3-malloc): Link with libdl, libpthread.
910         (LDFLAGS-tst-tls3-malloc): Set.
911         (tst-tls3-malloc.out): Depend on DSO used in test.
913 2016-08-03  Florian Weimer  <fweimer@redhat.com>
915         [BZ #17730]
916         Avoid using memalign for TLS allocations.
917         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
918         is_static member with to_free member.
919         (union dtv): Use struct dtv_pointer.
920         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
921         dtv_pointer instead of is_static.
922         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
923         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
924         instead of val.
925         (allocate_dtv_entry): New function.
926         (allocate_and_init): Return struct dtv_pointer.  Call
927         allocate_dtv_entry instead of __libc_memalign.
928         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
929         instead of val.
930         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
931         instead of is_static.  Adjust call to allocate_and_init.
932         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
933         struct dtv_pointer instead of val.
935 2016-08-03  Florian Weimer  <fweimer@redhat.com>
937         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
938         (MALLOC_ALIGN_MASK): Move ...
939         * malloc/malloc-internal.h: ... to here.
940         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
942 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
944         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
945         (UDP_ENCAP_GTP1U): Likewise.
947         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
948         (PF_MAX): Update value.
949         (AF_QIPCRTR): New macro.
951 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
953         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
954         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
955         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
956         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
957         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
958         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
959         s_truncf-vis3, s_trunc-vis3.
960         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
961         (CFLAGS-s_ceil-vis3.c): Likewise.
962         (CFLAGS-s_floorf-vis3.c): Likewise.
963         (CFLAGS-s_floor-vis3.c): Likewise.
964         (CFLAGS-s_truncf-vis3.c): Likewise.
965         (CFLAGS-s_trunc-vis3.c): Likewise.
966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
969         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
973         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
974         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
975         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
976         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
977         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
979 2016-08-02  David S. Miller  <davem@davemloft.net>
981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
982         (__nearbyint_vis3): Don't check for sNaN before float register is
983         loaded with the incoming argument.
984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
985         (__nearbyintf_vis3): Likewise.
986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
987         Likewise.
988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
989         Likewise.
991         * string/test-strncmp.c (do_test_limit): Make sure the test data
992         stream is aligned as required for the type "CHAR".
993         (do_test): Likewise.
995 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
997         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
998         by beq instructions jumping to the end of the function.
999         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1000         clobber list. Use "i" constraint instead of "X".
1001         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1002         of "X".
1004 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1006         * bits/libc-header-start.h: New file.
1007         * Makefile (headers): Add bits/libc-header-start.h.
1008         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1009         (__GLIBC_USE): New macro.
1010         * libio/stdio.h: Define
1011         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1012         <bits/libc-header-start.h> instead of including <features.h>.
1013         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1014         (open_memstream): Likewise.
1015         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1016         (__asprintf): Likewise.
1017         (asprintf): Likewise.
1018         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1019         (getdelim): Likewise.
1020         (getline): Likewise.
1021         * string/string.h: Define
1022         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1023         <bits/libc-header-start.h> instead of including <features.h>.
1024         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1025         (strndup): Likewise.
1026         * wcsmbs/wchar.h: Define
1027         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1028         <bits/libc-header-start.h> instead of including <features.h>.
1029         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1030         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1032 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1034         Support linking against compatibility symbols, for use in tests.
1035         * include/libc-symbols.h (symbol_version_reference): New macro.
1036         (symbol_version): Use it.
1037         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1038         (compat_symbol): Use compat_symbol_reference.
1039         (compat_symbol_1, compat_symbol_2): Remove.
1040         (compat_symbol_reference, compat_symbol_reference_1)
1041         (compat_symbol_reference_2): New macro.  Use
1042         symbol_version_reference.
1044 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1046         [BZ #19469]
1047         * malloc/Makefile (CPPFLAGS): Compile tests with
1048         -DTEST_NO_MALLOPT.
1049         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1051 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1053         [BZ #20033]
1054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1055         finite version.
1056         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1057         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1058         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1059         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1060         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1061         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1062         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1063         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1064         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1065         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1066         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1067         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1068         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1069         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1070         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1071         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1072         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1073         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1074         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1075         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1076         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1077         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1078         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1079         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1080         in zero power.
1082 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1084         [BZ #20370]
1085         * malloc/arena.c (get_free_list): Update comment.  Assert that
1086         arenas on the free list have no attached threads.
1087         (remove_from_free_list): New function.
1088         (reused_arena): Call it.
1090 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1092         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1093         when it is a NaN.
1094         [_IEEE_FP_INEXACT] Remove.
1095         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1096         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1097         when it is a NaN.
1098         [_IEEE_FP_INEXACT] Remove.
1099         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1100         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1101         when it is a NaN.
1102         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1103         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1104         when its absolute value is greater than 0x1.0p52.
1105         [_IEEE_FP_INEXACT] Remove.
1106         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1107         when its absolute value is greater than 0x1.0p23.
1108         [_IEEE_FP_INEXACT] Remove.
1110 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1112         * version.h (RELEASE): Set to "development"
1113         (VERSION): Set to 2.24.90.
1114         * NEWS: Add 2.25 section.
1116         * version.h (RELEASE): Set to "stable"
1117         (VERSION): Set to 2.24.
1118         * include/features.h (__GLIBC_MINOR__): Set to 24.
1120         * NEWS: Add 2.24 fixed bugs.
1121         * po/libc.pot: Regenerate.
1123 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1126         [$(subdir) = math] (libm-sysdep_routines): Remove.
1127         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1128         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1129         s_truncf-vis3, s_trunc-vis3.
1130         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1132         file.
1133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1152         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1158         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1159         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
1164         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
1165         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1166         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
1167         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
1168         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
1169         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
1170         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
1171         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
1172         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
1173         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
1174         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
1175         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
1177 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
1179         [BZ #20384]
1180         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
1181         test-double-libmvec-sincos-avx-main.o,
1182         test-double-libmvec-sincos-avx2-main.o,
1183         test-double-libmvec-sincos-main.o,
1184         test-float-libmvec-sincosf-avx-main.o,
1185         test-float-libmvec-sincosf-avx2-main.o and
1186         test-float-libmvec-sincosf-main.o.
1187         test-float-libmvec-sincosf-avx512-main.o.
1188         ($(objpfx)test-double-libmvec-sincos): Also link with
1189         $(objpfx)test-double-libmvec-sincos-main.o.
1190         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
1191         $(objpfx)test-double-libmvec-sincos-avx-main.o.
1192         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
1193         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
1194         ($(objpfx)test-float-libmvec-sincosf): Also link with
1195         $(objpfx)test-float-libmvec-sincosf-main.o.
1196         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
1197         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
1198         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
1199         test-double-libmvec-sincos-avx512-main.o and
1200         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
1201         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
1202         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
1203         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
1204         (CFLAGS-test-double-libmvec-sincos.c): Removed.
1205         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
1206         (CFLAGS-test-double-libmvec-sincos-main.c): New.
1207         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
1208         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
1209         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
1210         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
1211         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
1212         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
1213         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
1214         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
1215         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
1216         -DREQUIRE_AVX2.
1217         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
1218         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
1219         -DREQUIRE_AVX512F.
1220         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
1221         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
1222         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1223         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
1224         file.
1225         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
1226         Likewise.
1227         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
1228         Likewise.
1229         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
1230         Likewise.
1231         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
1232         Likewise.
1233         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
1234         Likewise.
1235         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
1236         Likewise.
1237         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
1238         Likewise.
1240 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
1242         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
1244 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
1246         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
1247         and typo in a comment about AT_HWCAP entry.
1249 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1251         * sysdeps/aarch64/libm-test-ulps: Updated.
1253 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1255         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
1256         of r13 as it is not restored in mvcle case.
1258 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
1260         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
1261         Rename "ret" to "__ret".
1262         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
1263         inline_syscall5, inline_syscall6): Likewise.
1265 2016-07-19   Will Newton  <will.newton@gmail.com>
1267         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
1268         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
1269         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
1270         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
1271         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
1273 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
1275         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
1276         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
1277         -mfpmath=387 with $(rtld-CFLAGS).
1278         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
1279         $(rtld-CFLAGS).
1281 2016-07-18   Ross Burton  <ross.burton@intel.com>
1282              Khem Raj  <raj.khem@gmail.com>
1284         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
1285         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
1286         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
1287         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
1288         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
1289         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
1290         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
1291         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
1292         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
1293         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
1294         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
1295         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
1296         R_METAG_TLS_DTPOFF): New.
1298 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1299             Matt Clay  <mclay@lycos.com>
1301         [BZ #20357]
1302         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
1303         to call __mpsin/__mpcos and to negate values.
1304         * math/auto-libm-test-in: Add test.
1305         * math/auto-libm-test-out: Regenerate.
1307 2016-07-18  Zack Weinberg  <zackw@panix.com>
1309         * grp/Makefile: Don't install the internal header grp-merge.h.
1311 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1313         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1315 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1317         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
1319 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1321         [BZ #15368]
1322         * sysdeps/unix/sysv/linux/nptl-signals.h
1323         (__nptl_clear_internal_signals): New function.
1324         (__libc_signal_block_all): Likewise.
1325         (__libc_signal_block_app): Likewise.
1326         (__libc_signal_restore_set): Likewise.
1327         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
1328         implementation.
1329         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
1330         the cached pid/tid value in pthread structure.
1332 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
1334         [BZ #20347]
1335         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1337 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1339         [BZ #20348]
1340         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
1341         preadv64, pwrite64 and pwritev64.
1343 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1345         [BZ #20350]
1346         * posix/tst-preadwrite.c: Renamed to ...
1347         * posix/tst-preadwrite-common.c: This.
1348         (PREAD): Removed.
1349         (PWRITE): Likewise.
1350         (STRINGIFY): Likewise.
1351         (STRINGIFY2): Likewise.
1352         (do_prepare): Make it static and remove function arguments.
1353         (do_test): Likewise.
1354         (PREPARE): Updated.
1355         (TEST_FUNCTION): New.
1356         (name): Make it static.
1357         (fd): Likewise.
1358         (do_prepare): Use create_temp_file.
1359         (do_test): Renamed to ...
1360         (do_test_with_offset): This.  Make it static and accept offset.
1361         Properly check return value of PWRITE and PREAD.  Return bytes
1362         read.  Don't close fd nor unlink name.
1363         * posix/tst-preadwrite.c: Rewrite.
1364         * posix/tst-preadwrite64.c: Likewise.
1366 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
1368         [BZ #20309]
1369         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
1370         -mtls-dialect=gnu2 works.
1371         * configure: Regenerated.
1372         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
1373         (tests): Add tst-gnu2-tls1.
1374         (modules-names): Add tst-gnu2-tls1mod.
1375         ($(objpfx)tst-gnu2-tls1): New.
1376         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
1377         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
1378         * elf/tst-gnu2-tls1.c: New file.
1379         * elf/tst-gnu2-tls1mod.c: Likewise.
1380         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
1381         bytes for push in the PLT entry to align the stack.
1383 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
1385         [BZ #20349]
1386         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
1388 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1390         [BZ #18707]
1391         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
1392         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
1394 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1396         * sysdeps/unix/sysv/linux/sysdep.h
1397         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
1398         guards.
1399         * misc/tst-preadvwritev-common.c: New file.
1400         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
1401         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
1402         a check for files larger than 2GB.
1404         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1405         (__ASSUME_OFF_DIFF_OFF64): Remove define.
1406         * sysdeps/unix/sysv/linux/pread.c
1407         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
1408         __OFF_T_MATCHES_OFF64_T.
1409         * sysdeps/unix/sysv/linux/pread64.c
1410         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
1411         * sysdeps/unix/sysv/linux/preadv.c
1412         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
1413         * sysdeps/unix/sysv/linux/preadv64.c
1414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
1415         * sysdeps/unix/sysv/linux/pwrite.c
1416         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
1417         * sysdeps/unix/sysv/linux/pwrite64.c
1418         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
1419         * sysdeps/unix/sysv/linux/pwritev.c
1420         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
1421         * sysdeps/unix/sysv/linux/pwritev64.c
1422         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
1424 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
1426         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1427         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
1429 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1431         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
1433 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
1435         [BZ #20240]
1436         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1437         (CFLAGS-s_modf-ppc32.c): New variable.
1438         (CFLAGS-s_modff-ppc32.c): Likewise.
1439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1440         (CFLAGS-s_modf-ppc64.c): Likewise.
1441         (CFLAGS-s_modff-ppc64.c): Likewise.
1443 2016-07-07  Andreas Schwab  <schwab@suse.de>
1445         [BZ #20263]
1446         * nptl/tst-robust10.c: New test.
1447         * nptl/Makefile (tests): Add tst-robust10.
1449 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
1451         [BZ #20263]
1452         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
1454 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
1456         * sysdeps/s390/linkmap.h (struct link_map_machine):
1457         Remove member gotplt and add member jmprel.
1458         * sysdeps/s390/s390-32/dl-machine.h
1459         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
1460         instead of gotplt with &got[3].
1461         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
1462         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
1464 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
1466         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
1468 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1470         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
1471         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
1472         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1473         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
1474         * libio/vtables.c (_IO_vtable_check)
1475         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
1476         * libio/libioP.h (IO_set_accept_foreign_vtables)
1477         [!PTR_MANGLE]: Do not call PTR_MANGLE.
1479 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1481         [BZ #20314]
1482         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
1483         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
1484         $(common-objpfx)cmath.
1485         ($(common-objpfx)cstdlib): New target.
1486         ($(common-objpfx)cmath): Likewise.
1488 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
1490         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
1492 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1494         [BZ #20327]
1495         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
1496         are not part of the string.
1498 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1500         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
1501         * nptl/tst-cancel4-common.h (fifoname): New variable.
1502         (fifofd): Likewise.
1503         (cl_fifo): New function.
1504         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
1505         SIGINT.
1506         (tf_open): Add early cancel test.
1508 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
1510         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
1512 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
1514         * sysdeps/generic/ldsodefs.h
1515         (dl_symbol_visibility_binds_local_p): New inline function.
1516         * elf/dl-addr.c (determine_info): Treat hidden and internal
1517         symbols as local.
1518         * elf/dl-lookup.c (do_lookup_x): Likewise.
1519         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
1521 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
1523         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
1524         invalid exception for a sNaN input.
1525         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1526         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1527         (__nearbyint_vis3): Likewise
1528         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1529         (__nearbyintf_vis3): Likewise
1530         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
1531         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1532         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
1533         Likewise.
1534         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
1535         Likewise.
1537 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
1539         [BZ #20139]
1540         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
1541         (HAVE_AVX512DQ_ASM_SUPPORT): This.
1542         * sysdeps/x86_64/configure.ac: Require assembler from binutils
1543         2.24 or above.
1544         (HAVE_AVX512_ASM_SUPPORT): Removed.
1545         (HAVE_AVX512DQ_ASM_SUPPORT): New.
1546         * sysdeps/x86_64/configure: Regenerated.
1547         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
1548         check unconditional.
1549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
1550         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1551         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1552         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
1553         Likewise.
1554         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
1555         Likewise.
1556         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1557         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1558         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1559         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1560         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
1561         Likewise.
1562         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
1563         Likewise.
1564         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1565         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1566         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
1567         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
1568         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
1569         Likewise.
1570         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
1571         Likewise.
1572         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
1573         Likewise.
1574         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
1575         Likewise.
1576         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
1577         Likewise.
1578         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
1579         Likewise.
1580         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
1581         Likewise.
1582         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
1583         Likewise.
1584         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
1585         Likewise.
1586         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
1587         Likewise.
1588         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
1589         Likewise.
1591 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
1593         [BZ #20024]
1594         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
1595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
1596         of this implementation of vector function.
1597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
1598         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
1599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
1600         Likewise.
1601         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
1602         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
1603         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
1604         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
1605         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
1606         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
1607         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
1608         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
1609         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
1610         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
1611         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
1612         for testing vector sincos with fixed ABI.
1613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
1614         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
1615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
1616         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
1617         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
1618         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
1619         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
1620         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
1621         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
1622         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
1623         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
1624         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
1625         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
1626         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
1627         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
1628         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1630 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1632         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
1634 2016-06-30  Anton Blanchard  <anton@samba.org>
1636         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1637         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
1638         s_sinf-ppc64.
1639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
1640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
1641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
1642         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
1644 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1647         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1648         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
1649         e_expf-ppc64.
1650         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
1651         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
1652         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
1653         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
1655 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
1657         [BZ #20277]
1658         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
1659         when SHARED is defined.
1661 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
1663         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
1664         (index_arch_Prefer_ERMS): Likewise.
1665         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
1666         __memcpy_erms for Prefer_ERMS.
1667         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1668         (__memmove_erms): Enabled for libc.a.
1669         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
1670         __memmove_erms or Prefer_ERMS.
1671         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
1672         __mempcpy_erms for Prefer_ERMS.
1673         * sysdeps/x86_64/multiarch/memset.S (memset): Return
1674         __memset_erms for Prefer_ERMS.
1676 2016-06-30  Andreas Schwab  <schwab@suse.de>
1678         [BZ #20262]
1679         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
1680         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
1681         of memory.
1683 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
1685         [BZ #18645]
1686         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
1687         (test-extras): Add tst-cleanupx4aux.
1688         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
1689         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
1690         tst-cleanupx4aux.o.
1691         * nptl/tst-cleanupx4aux.c: New file.
1693 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
1695         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
1697 2016-06-29  Andreas Schwab  <schwab@suse.de>
1699         [BZ #20260]
1700         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
1701         address before the beginning of the string as an integer to avoid
1702         array-bounds warning.
1704 2016-06-28  Richard Henderson  <rth@redhat.com>
1706         * elf/elf.h (EM_BPF): New.
1707         (EM_NUM): Update.
1708         (R_BPF_NONE, R_BPF_MAP_FD): New.
1710         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
1711         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
1712         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
1713         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
1714         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
1715         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
1716         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
1717         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
1718         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
1719         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
1720         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
1721         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
1722         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
1723         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
1724         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
1725         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
1726         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
1727         (EM_NUM): Update.
1729 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
1731         [BZ #18960]
1732         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
1733         Set _nl_current_LC_CATEGORY_used to two instead of one.
1735 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
1737         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
1738         (do_test): ... this.
1739         (TEST_FUNCTION): New macro.
1740          Include test-skeleton.c.
1741         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
1742         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
1744 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
1746         [BZ #15479]
1747         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
1748         floating-point environment rather than just control word.
1749         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1750         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
1751         floating-point environment, with "invalid" exceptions merged in,
1752         rather than just control word.
1753         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
1754         * math/libm-test.inc (trunc_test_data): Do not allow spurious
1755         "inexact" exceptions.
1757         [BZ #15479]
1758         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
1759         floating-point environment rather than just control word.
1760         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1761         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
1762         floating-point environment, with "invalid" exceptions merged in,
1763         rather than just control word.
1764         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
1765         * math/libm-test.inc (floor_test_data): Do not allow spurious
1766         "inexact" exceptions.
1768         [BZ #15479]
1769         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
1770         floating-point environment rather than just control word.
1771         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1772         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
1773         floating-point environment, with "invalid" exceptions merged in,
1774         rather than just control word.
1775         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
1776         * math/libm-test.inc (ceil_test_data): Do not allow spurious
1777         "inexact" exceptions.
1779 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
1781         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
1782         __libc_vfork.
1783         (__vfork) [IS_IN (libc)]: Remove alias.
1784         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
1785         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
1786         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
1788 2016-06-24  Torvald Riegel  <triegel@redhat.com>
1790         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
1791         of atomic_compare_and_exchange_bool_rel.
1792         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
1793         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
1794         catomic_compare_and_exchange_bool_rel): Remove.
1795         * sysdeps/aarch64/atomic-machine.h
1796         (atomic_compare_and_exchange_bool_rel): Likewise.
1797         * sysdeps/alpha/atomic-machine.h
1798         (atomic_compare_and_exchange_bool_rel): Likewise.
1799         * sysdeps/arm/atomic-machine.h
1800         (atomic_compare_and_exchange_bool_rel): Likewise.
1801         * sysdeps/mips/atomic-machine.h
1802         (atomic_compare_and_exchange_bool_rel): Likewise.
1803         * sysdeps/microblaze/atomic-machine.h
1804         ( __arch_compare_and_exchange_bool_8_rel,
1805         __arch_compare_and_exchange_bool_16_rel): Likewise.
1806         * sysdeps/powerpc/atomic-machine.h
1807         ( __arch_compare_and_exchange_bool_8_rel,
1808         __arch_compare_and_exchange_bool_16_rel): Likewise.
1809         * sysdeps/powerpc/powerpc32/atomic-machine.h
1810         ( __arch_compare_and_exchange_bool_32_rel,
1811         __arch_compare_and_exchange_bool_64_rel): Likewise.
1812         * sysdeps/powerpc/powerpc64/atomic-machine.h
1813         ( __arch_compare_and_exchange_bool_32_rel,
1814         __arch_compare_and_exchange_bool_64_rel): Likewise.
1815         * sysdeps/tile/atomic-machine.h
1816         (atomic_compare_and_exchange_bool_rel): Likewise.
1818 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
1820         [BZ #20296]
1821         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
1822         when either argument is a NaN.
1823         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1824         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
1826         * math/libm-test.inc (snan_value_ld): New macro.
1827         (isgreater_test_data): Add sNaN tests.
1828         (isgreaterequal_test_data): Likewise.
1829         (isless_test_data): Likewise.
1830         (islessequal_test_data): Likewise.
1831         (islessgreater_test_data): Likewise.
1832         (isunordered_test_data): Likewise.
1833         (nextafter_test_data): Likewise.
1834         (nexttoward_test_data): Likewise.
1835         (remainder_test_data): Likewise.
1836         (remquo_test_data): Likewise.
1837         (significand_test_data): Likewise.
1838         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
1840 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1842         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
1843         environment macros are defined.
1844         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
1846 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1848         [BZ #20191]
1849         Implement vtable verification in libio.
1850         * Makerules (shlib.lds): Place __libc_IO_vtables section.
1851         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
1852         * debug/vdprintf_chk.c (__vdprintf_chk): Call
1853         _IO_new_file_init_internal instead of _IO_file_init.
1854         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
1855         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
1856         * libio/Makefile (routines): Add vtables.
1857         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
1858         (_IO_init): Remove, not for internal use.
1859         (_IO_init_internal): Declare, internal replacement for _IO_init.
1860         (_IO_file_init): Remove, not for internal use.
1861         (_IO_new_file_init): Remove, not for internal use.
1862         (_IO_new_file_init_internal): Declare, internal replacement for
1863         _IO_new_file_init.
1864         (_IO_old_file_init): Remove, not for internal use.
1865         (_IO_old_file_init_internal): Declare, internal replacement for
1866         _IO_old_file_init.
1867         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
1868         internal use.
1869         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
1870         Declare.
1871         (libio_vtable): New macro.
1872         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
1873         functions.
1874         * libio/fileops.c (_IO_new_file_init_internal): Rename from
1875         _IO_new_file_init.
1876         (_IO_new_file_init): New externally visible wrapper which disables
1877         vtable verification.
1878         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
1879         Define as vtables.
1880         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
1881         (_IO_init): New externally visible wrapper which disables
1882         vtable verification.
1883         * libio/iofdopen.c (_IO_new_fdopen): Call
1884         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
1885         comment.
1886         * libio/iofopen.c (__fopen_internal): Call
1887         _IO_new_file_init_internal instead of _IO_file_init.
1888         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
1889         Define as vtables.
1890         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
1891         _IO_new_file_init_internal instead of _IO_file_init.
1892         * libio/iopopen.c (_IO_new_popen): Likewise.
1893         (_IO_proc_jumps): Define as vtable.
1894         * libio/iovdprintf.c (_IO_vdprintf): Call
1895         _IO_new_file_init_internal instead of _IO_file_init.
1896         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
1897         (__open_memstream): Call _IO_init_internal instead of _IO_init.
1898         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
1899         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
1900         _IO_old_file_init.
1901         (_IO_old_file_init): New externally visible wrapper which disables
1902         vtable verification.
1903         (_IO_old_file_jumps): Define as vtable.
1904         * libio/oldiofdopen.c (_IO_old_fdopen): Call
1905         _IO_old_file_init_internal instead of _IO_old_file_init.
1906         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1907         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1908         (_IO_old_proc_jumps): Define as vtable.
1909         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
1910         Define as vtables.
1911         * libio/vtables.c: New file.
1912         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
1913         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
1914         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
1915         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
1916         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
1917         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
1918         instead of _IO_init.
1920 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1922         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
1924 2016-06-23  Florian Weimer  <fweimer@redhat.com>
1926         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
1927         potentially unused.
1929 2016-06-22  Florian Weimer  <fweimer@redhat.com>
1931         * test-skeleton.c (write_message): New function.
1932         * malloc/tst-mallocfork2.c (write_message): Remove.
1933         * debug/tst-longjmp_chk2.c (write_indented): New function.
1934         (write_message): Remove.
1935         (stackoverflow_handler): Call write_indented.
1937 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
1939         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
1940         "inexact" exceptions after fnstenv.
1941         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
1942         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1943         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
1945 2015-06-22  Zack Weinberg  <zackw@panix.com>
1947         * sysdeps/generic/bits/hwcap.h: Moved to ...
1948         * bits/hwcap.h: Here.
1950 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
1952         * sysdeps/aarch64/memcpy.S (memcpy):
1953         Further tuning for performance.
1955 2016-06-21  Florian Weimer  <fweimer@redhat.com>
1957         [BZ #20284]
1958         * malloc/arena.c (reused_arena): Do not return NULL if we start
1959         out with a non-corrupted arena.
1961 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1963         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
1964         * misc/tst-preadvwritev.c: New file.
1965         * misc/tst-preadvwritev64.c: Likewise.
1966         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
1967         usage.
1968         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
1969         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
1970         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
1971         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
1973 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
1975         [BZ #19654]
1976         * sysdeps/x86_64/fpu/Makefile: Added new tests.
1977         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
1978         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
1979         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
1980         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
1981         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
1982         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
1983         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
1984         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
1985         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
1986         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
1987         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
1988         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
1989         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
1990         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
1991         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
1992         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
1993         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
1994         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
1995         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
1996         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
1997         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
1998         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
1999         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2000         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2001         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2003 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2005         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2006         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2008 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2010         * sysdeps/aarch64/memcpy.S (memcpy):
2011         Rewrite of optimized memcpy and memmove.
2012         * sysdeps/aarch64/memmove.S (memmove): Remove
2013         memmove code (merged into memcpy.S).
2015 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2017         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2018         * sysdeps/generic/dl-dtv.h: New file.
2019         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2020         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2021         (dtv_t): Remove.
2022         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2023         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2024         (dtv_t): Remove.
2025         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2026         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2027         (dtv_t): Remove.
2028         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2029         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2030         (dtv_t): Remove.
2031         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2032         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2033         (dtv_t): Remove.
2034         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2035         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2036         (dtv_t): Remove.
2037         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2038         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2039         (dtv_t): Remove.
2040         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2041         (dtv_t): Remove.
2042         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2043         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2044         (dtv_t): Remove.
2045         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2046         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2047         (dtv_t): Remove.
2048         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2049         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2050         (dtv_t): Remove.
2051         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2052         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2053         (dtv_t): Remove.
2054         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2055         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2056         (dtv_t): Remove.
2057         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2058         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2059         (dtv_t): Remove.
2060         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2061         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2062         (dtv_t): Remove.
2063         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2064         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2065         (dtv_t): Remove.
2067 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2069         Revert symbol poisoning of  __malloc_initialize_hook.
2070         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2071         poisoning.
2072         * malloc/Makefile: Remove un-poisoning.
2073         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2074         instead of old__malloc_initialize_hook.
2075         * malloc/malloc-hooks.h: Likewise.
2076         * malloc/malloc.c: Likewise.
2077         * malloc/mcheck-init.c: Likewise.
2079 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2081         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2083 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2085         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2086         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2087         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2088         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2090 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2092         * NEWS: Mention addition of nextup and nextdown.
2093         * manual/arith.texi: Document nextup and nextdown.
2094         * manual/libm-err-tab.pl: Add nextup and nextdown.
2095         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2096         * math/Versions (libm): Add GLIBC_2.24.
2097         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2098         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2099         Add new test.
2100         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2101         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2102         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2103         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2104         (nextup_test_data): Likewise.
2105         (nextdown_test_data): Likewise.
2106         * math/s_nextdown.c: New file.
2107         * math/s_nextdownf.c: Likewise.
2108         * math/s_nextdownl.c: Likewise.
2109         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2110         F(nextup): New function.
2111         F(nextdown): Likewise.
2112         * math/tgmath.h: Add nextup and nextdown.
2113         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2114         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2115         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2116         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2117         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2118         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2119         Add nextup and nextdown.
2120         (CFLAGS-nldbl-nextup.c): New variable.
2121         (CFLAGS-nldbl-nextdown.c): Likewise.
2122         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2123         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2124         * sysdeps/nacl/libm.abilist: Update.
2125         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2126         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2127         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2128         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2129         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2130         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2131         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2132         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2133         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2139         Likewise.
2140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2142         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2143         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2144         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2145         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2146         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2149         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2150         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2151         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2152         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2154 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2156         * manual/pattern.texi: Fix typos & grammar errors.
2158 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2160         * manual/search.texi: Fix typos & grammar errors.
2162 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2164         * manual/message.texi: Fix typos & grammar errors.
2166 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
2168         * manual/contrib.texi: Fix spelling typos.
2169         * manual/crypt.texi: Likewise.
2170         * manual/filesys.texi: Likewise.
2171         * manual/locale.texi: Likewise.
2172         * manual/message.texi: Likewise.
2173         * manual/nss.texi: Likewise.
2174         * manual/string.texi: Likewise.
2176 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2178         * manual/locale.texi: Fix typos & grammar errors.
2180 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2182         * manual/charset.texi: Fix typos & grammar errors.
2184 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2186         * manual/string.texi: Fix typos.
2188 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2190         * manual/ctype.texi: Fix typos.
2192 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2194         * manual/memory.texi: Fix various typos & grammar errors.
2196 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
2198         [BZ #20255]
2199         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
2200         * math/libm-test.inc (fdim_test_data): Add another test.
2202         [BZ #6796]
2203         [BZ #20255]
2204         [BZ #20256]
2205         * math/s_fdim.c: Include <math_private.h>.
2206         (__fdim): Use math_narrow_eval on result.
2207         * math/s_fdimf.c: Include <math_private.h>.
2208         (__fdimf): Use math_narrow_eval on result.
2209         * sysdeps/i386/fpu/s_fdim.S: Remove file.
2210         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
2211         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
2212         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
2213         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
2214         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
2215         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
2216         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
2217         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
2218         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
2219         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
2220         * math/libm-test.inc (fdim_test_data): Expect errno setting on
2221         overflow.  Add sNaN tests.
2223         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
2224         fpclassify.
2225         * math/s_fdimf.c (__fdimf): Likewise.
2226         * math/s_fdiml.c (__fdiml): Likewise.
2228 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2230         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
2231         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
2232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2233         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
2234         ifunc'ed strcasecmp/strncasecmp.
2235         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
2236         [EALIGN]: Removed.
2237         [END]: Likewise.
2238         [__strcasecmp]: Define instead of the above to control symbol name.
2239         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
2240         for __strcasecmp_power8.
2241         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
2242         for __strncasecmp_power8.
2243         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
2244         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
2245         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
2246         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
2247         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
2248         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
2250 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
2252         [BZ #20252]
2253         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
2254         arguments when second argument is a NaN.
2255         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
2256         qNaN tests.
2258         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
2259         (conj_test_data): Likewise.
2260         (copysign_test_data): Likewise.
2261         (creal_test_data): Likewise.
2262         (fma_test_data): Likewise.
2263         (fmod_test_data): Likewise.
2265         [BZ #20250]
2266         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
2267         itself.
2268         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
2269         zero input to itself.
2270         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
2271         Likewise.
2272         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
2273         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
2274         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2275         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
2276         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
2278 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2280         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
2281         * nptl/tst-cancel4-common.c: New file.
2282         * nptl/tst-cancel4-common.h: Likewise.
2283         * nptl/tst-cancel4.c: Move common definitions to
2284         tst-cancel4-common.{c,h} file.
2285         * nptl/tst-cancel4_1.c: New test.
2286         * nptl/tst-cancel4_2.c: New test.
2288 2016-06-13  Florian Weimer  <fweimer@redhat.com>
2290         [BZ #20248]
2291         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
2292         (write_message): New function.
2293         (stackoverflow_handler): Call it instead of printf, to avoid
2294         excessive stack usage by printf.
2295         (do_test): Restore SIGSEGV, SIGBUS default handlers.
2297 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2299         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
2300         (prio_inherit_missing): Remove define.
2301         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2302         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2303         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
2304         Likewise.
2305         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2306         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2307         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2308         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2309         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2310         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2312 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
2314         [BZ #19670]
2315         [BZ #19672]
2317         * io/test-lfs.c (do_prepare): Use xmalloc.
2318         * io/tst-fcntl.c (do_prepare): Likewise.
2319         * libio/tst-fopenloc.c (do_bz17916): Likewise.
2320         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
2321         * login/tst-utmp.c (do_prepare): Likewise.
2322         * posix/tst-exec.c (do_prepare): Likewise.
2323         * posix/tst-pathconf.c (prepare): Likewise.
2324         * posix/tst-spawn.c (do_prepare): Likewise.
2325         * posix/tst-truncate.c (do_prepare): Likewise.
2326         * rt/tst-aio.c (do_prepare): Likewise.
2327         * rt/tst-aio64.c (do_prepare): Likewise.
2329 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2331         [BZ #20237]
2332         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
2333         (get*ent): Set entidx to NULL during initialization.  If entidx is
2334         NULL, start iteration from the beginning.
2336 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2338         * malloc/malloc.c (musable): Return correct size for dumped fake
2339         mmapped chunk.
2341 2016-06-11  Florian Weimer  <fweimer@redhat.com>
2343         [BZ #20222]
2344         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
2345         (_IO_cookie_write): Likewise.
2346         (_IO_cookie_seek): Likewise.
2347         (_IO_cookie_close): Likewise.
2348         (_IO_old_cookie_seek): Likewise.
2349         (set_callbacks): New function.
2350         (_IO_cookie_init): Call set_callbacks to copy callbacks.
2352 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
2354         * locale/programs/localedef.c (oldstyle_tables): Remove.
2355         * locale/programs/localedef.h (oldstyle_tables): Likewise.
2357 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
2359         [BZ #20240]
2360         * math/Makefile (CFLAGS-s_modf.c): New variable.
2361         (CFLAGS-s_modff.c): Likewise.
2362         (CFLAGS-s_modfl.c): Likewise.
2363         * math/libm-test.inc (modf_test_data): Add sNaN tests.
2365 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
2367         [BZ #20215]
2368         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
2369         [!__GNUC_PREREQ (3,2)]: Likewise.
2371 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2373         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
2374         (msghdr.msg_controllen): Likewise.
2375         (cmsghdr.cmsg_len): Likewise.
2376         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
2377         ptw-oldsendmsg.
2378         (CFLAGS-oldrecvmsg.c): Remove rule.
2379         (CFLAGS-oldsendmsg.c): Likewise.
2380         (CFLAGS-recvmsg.c): Add rule.
2381         (CFLAGS-sendmsg.c): Likewise.
2382         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
2383         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
2384         (CFLAGS-recvmsg.c): Remove rule.
2385         (CFLAGS-sendmsg.c): Likewise.
2386         (CFLAGS-oldrecvmsg.c): Likewise.
2387         (CFLAGS-oldsendmsg.c): Likewise.
2388         (CFLAGS-recvmmsg.c): Likewise.
2389         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
2390         to kernel defined interfaces.
2391         (msghdr.msg_controllen): Likewise.
2392         (cmsghdr.cmsg_len): Likewise.
2393         (msghdr.__glibc_reserved1): Remove member.
2394         (msghdr.__glibc_reserved2): Likewise.
2395         (cmsghdr.__glibc_reserved1): Likewise.
2396         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
2397         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
2398         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
2399         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
2400         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
2401         version.
2402         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
2403         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
2404         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
2405         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
2406         Remove recvmsg and sendmsg.
2407         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
2408         Likewise.
2409         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
2410         Likewise.
2411         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
2412         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
2413         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
2414         Likewise.
2415         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
2416         Likewise.
2417         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
2418         [libc] (GLIBC_2.24): Likewise.
2419         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
2420         Likewise.
2421         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
2422         Likewise.
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
2424         [libc] (GLIBC_2.24): Likewise.
2425         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
2426         Likewise.
2427         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
2428         Likewise.
2429         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
2430         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
2431         Likewise.
2432         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
2433         Likewise.
2434         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
2435         Likewise.
2436         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
2437         Likewise.
2438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
2439         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
2440         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
2441         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
2442         version for {recv,send,recm,sendm}msg.
2443         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2444         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2445         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2446         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2447         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2448         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2449         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2450         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2451         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2452         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2453         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2454         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2458         Likewise.
2459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2461         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2462         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2463         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2464         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2465         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2466         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2467         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2469         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2470         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2471         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2473 2016-06-10  Florian Weimer  <fweimer@redhat.com>
2475         [BZ #19564]
2476         Remove __malloc_initialize_hook from the API.
2477         * malloc/malloc.h (__malloc_initialize_hook): Remove.
2478         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
2479         #pragma GCC poison.
2480         * malloc/malloc-hooks.h: New file.
2481         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
2482         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
2483         (old__malloc_initialize_hook): Rename from
2484         __malloc_initialize_hook to evade poisoning.  Turn into compat
2485         symbol.
2486         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
2487         __malloc_initialize_hook.
2488         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
2489         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
2490         * manual/memory.texi (Hooks for Malloc): Remove
2491         __malloc_initialize_hook.  Adjust hook example.
2493 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
2495         [BZ #20235]
2496         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
2497         itself.
2498         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2499         * math/libm-test.inc (log2_test_data): Add sNaN tests.
2501         [BZ #20234]
2502         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
2503         infinity or NaN input to itself.
2505         [BZ #20233]
2506         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
2507         to itself.
2509         [BZ #20232]
2510         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
2511         itself.
2513 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2515         * sysdeps/x86_64/start.S (_start): Always indirect branch to
2516         __libc_start_main via GOT.
2518 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2520         * sysdeps/x86_64/memcopy.h: New file.
2521         * sysdeps/x86_64/wordcopy.c: Likewise.
2523 2016-06-09  Florian Weimer  <fweimer@redhat.com>
2525         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
2526         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
2527         <cstdlib>.
2528         (optimization_barrier): New.
2529         (do_test): Use it.  Call quick_exit in the global namespace.
2530         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
2531         instead of <cstdlib>, <thread>.
2532         (optimization_barrier): New.
2533         (non_main_thread): Adjust declaration.  Call optimization_barrier.
2534         Call quick_exit in the global namespace.
2535         (do_test): Call optimization_barrier.  Use pthread_create,
2536         pthread_join instead of std::thread.
2538 2016-06-09  Andreas Schwab  <schwab@suse.de>
2540         [BZ #19755]
2541         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
2542         new entries in auto-propagate mode.
2543         * nscd/grpcache.c (cache_addgr): Likewise.
2545 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
2547         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
2548         New functions.
2549         (add_temp_file): Use them.
2551 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
2553         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
2555 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
2557         [BZ #20229]
2558         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
2559         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
2560         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
2562         [BZ #20228]
2563         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
2564         itself.
2565         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2566         * math/libm-test.inc (log10_test_data): Add sNaN tests.
2568         [BZ #20227]
2569         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
2570         itself.
2571         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2572         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
2573         * math/libm-test.inc (log_test_data): Add sNaN tests.
2575         [BZ #20226]
2576         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
2577         itself.
2578         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
2579         * math/libm-test.inc (exp_test_data): Add sNaN tests.
2580         (exp10_test_data): Likewise.
2581         (expm1_test_data): Likewise.
2583         [BZ #20225]
2584         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
2585         itself.
2586         * math/s_ldexpf.c (__ldexpf): Likewise.
2587         * math/s_ldexpl.c (__ldexpl): Likewise.
2588         * math/w_scalbln.c (__w_scalbln): Likewise.
2589         * math/w_scalblnf.c (__w_scalblnf): Likewise.
2590         * math/w_scalblnl.c (__w_scalblnl): Likewise.
2591         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
2592         (scalbln_test_data): Likewise.
2594         [BZ #20224]
2595         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
2596         argument to itself.
2597         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
2599 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2601         [BZ #19776]
2602         * sysdeps/x86_64/memcpy.S: Make it dummy.
2603         * sysdeps/x86_64/mempcpy.S: Likewise.
2604         * sysdeps/x86_64/memmove.S: New file.
2605         * sysdeps/x86_64/memmove_chk.S: Likewise.
2606         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2607         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2608         * sysdeps/x86_64/memmove.c: Removed.
2609         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
2610         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2611         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
2612         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
2613         Likewise.
2614         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2615         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2616         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2617         memcpy-sse2-unaligned, memmove-avx-unaligned,
2618         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
2619         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2620         (__libc_ifunc_impl_list): Replace
2621         __memmove_chk_avx512_unaligned_2 with
2622         __memmove_chk_avx512_unaligned.  Remove
2623         __memmove_chk_avx_unaligned_2.  Replace
2624         __memmove_chk_sse2_unaligned_2 with
2625         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
2626         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
2627         with __memmove_avx512_unaligned.  Replace
2628         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
2629         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
2630         with __memcpy_chk_avx512_unaligned.  Remove
2631         __memcpy_chk_avx_unaligned_2.  Replace
2632         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
2633         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
2634         Replace __memcpy_avx512_unaligned_2 with
2635         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
2636         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
2637         with __mempcpy_chk_avx512_unaligned.  Remove
2638         __mempcpy_chk_avx_unaligned_2.  Replace
2639         __mempcpy_chk_sse2_unaligned_2 with
2640         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
2641         Replace __mempcpy_avx512_unaligned_2 with
2642         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
2643         Replace __mempcpy_sse2_unaligned_2 with
2644         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
2645         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
2646         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
2647         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
2648         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
2649         (ENTRY): Removed.
2650         (END): Likewise.
2651         (ENTRY_CHK): Likewise.
2652         (libc_hidden_builtin_def): Likewise.
2653         Don't include ../memcpy.S.
2654         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
2655         __memcpy_chk_avx512_unaligned_erms and
2656         __memcpy_chk_avx512_unaligned.  Use
2657         __memcpy_chk_avx_unaligned_erms and
2658         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2659         Default to __memcpy_chk_sse2_unaligned.
2660         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2661         Change function suffix from unaligned_2 to unaligned.
2662         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
2663         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
2664         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
2665         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
2666         (ENTRY): Removed.
2667         (END): Likewise.
2668         (ENTRY_CHK): Likewise.
2669         (libc_hidden_builtin_def): Likewise.
2670         Don't include ../mempcpy.S.
2671         (mempcpy): New.  Add a weak alias.
2672         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
2673         __mempcpy_chk_avx512_unaligned_erms and
2674         __mempcpy_chk_avx512_unaligned.  Use
2675         __mempcpy_chk_avx_unaligned_erms and
2676         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
2677         Default to __mempcpy_chk_sse2_unaligned.
2679 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2681         [BZ #19881]
2682         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
2683         into ...
2684         * sysdeps/x86_64/memset.S: This.
2685         (__bzero): Removed.
2686         (__memset_tail): Likewise.
2687         (__memset_chk): Likewise.
2688         (memset): Likewise.
2689         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
2690         defined.
2691         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
2692         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
2693         (__memset_zero_constant_len_parameter): Check SHARED instead of
2694         PIC.
2695         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
2696         memset-avx2 and memset-sse2-unaligned-erms.
2697         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2698         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
2699         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
2700         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2701         (__bzero): Enabled.
2702         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
2703         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
2704         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
2705         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
2706         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
2707         (memset): Removed.
2708         (__memset_chk): Likewise.
2709         (MEMSET_SYMBOL): New.
2710         (libc_hidden_builtin_def): Replace __memset_sse2 with
2711         __memset_sse2_unaligned.
2712         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
2713         __memset_chk_sse2 and __memset_chk_avx2 with
2714         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
2715         Use __memset_chk_sse2_unaligned_erms or
2716         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
2717         __memset_chk_avx512_unaligned_erms and
2718         __memset_chk_avx512_unaligned.
2720 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2722         * math/gen-auto-libm-test.c (fp_format_desc): remove
2723         suffix member.
2724         (output_generic_value): Remove usage of suffix member,
2725         and the resulting unuse of the fp_format argument.
2726         (output_for_one_input_case): Remove unused fp_format
2727         parameter.
2729         * math/auto-libm-test-out: Regenerate.
2731         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
2732         usage with TEST_COND_ibm128.
2733         (TEST_COND_flt_32): Remove.
2734         (TEST_COND_dbl_64): Remove.
2735         (TEST_COND_ldbl_96_intel): Remove.
2736         (TEST_COND_ldbl_96_m68k): Remove.
2737         (TEST_COND_ldbl_128): Remove.
2739 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2741         * auto-libm-test-in:
2742         Replace flt-32 usage with binary32.
2743         Replace dbl-64 usage with binary64.
2744         Replace ldbl-intel-96 usage with intel96.
2745         Replace ldbl-m68k-96 usage with m68k96.
2746         Replace ldbl-128ibm usage with ibm128.
2747         Replace ldbl-128 usage with binary128.
2749         * auto-libm-test-out: Regenerate.
2751 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2753         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
2754         (parse_ulps): Dynamically generate type name matching
2755         string from all_floats.
2756         (get_ulps): Generate the ulps as an array instead.
2757         (output_ulps): Dynamically compose the type based
2758         on the number of supported formats, and print
2759         the indices as type specific helper macros.
2761         * math/libm-test.inc: Remove comment about CHOOSE.
2762         (ulp_data): Generate the type in libm-test-ulps.h.
2763         (ULP_IDX): New macro.
2764         (find_ulps): Update usage of max_ulp.
2766         * math/test-double-vlen2.h (CHOOSE): Remove.
2767         * math/test-double-vlen4.h (CHOOSE): Likewise.
2768         * math/test-double-vlen8.h (CHOOSE): Likewise.
2769         * math/test-float.c (CHOOSE): Likewise.
2770         * math/test-float-finite.c (CHOOSE): Likewise.
2771         * math/test-double.c (CHOOSE): Likewise.
2772         * math/test-double-finite.c (CHOOSE): Likewise.
2773         * math/test-idouble.c (CHOOSE): Likewise.
2774         * math/test-ifloat.c (CHOOSE): Likewise.
2775         * math/test-ildoubl.c (CHOOSE): Likewise.
2776         * math/test-ldouble-finite.c (CHOOSE): Likewise.
2777         * math/test-ldouble.c (CHOOSE): Likewise.
2779         * math/test-float.h (TEST_FLOAT): Remove.
2780         * math/test-double.h (TEST_DOUBLE): Likewise.
2781         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
2783 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2785         * math/gen-libm-test.pl: (apply_lit): New subroutine.
2786         (parse_args): Strip C suffix from floating point literals
2787         typed with 'f' and wrap them with LIT().
2789         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
2790         (test_ff_f_data_nexttoward): Rename to
2791         (test_fj_f_data): New struct.
2792         (nexttoward_test_data): Relabel tests as
2793         TEST_fj_f instead of TEST_ff_f.
2795 2016-06-08  Florian Weimer  <fweimer@redhat.com>
2797         Emacs bug 23726.
2798         * malloc/malloc.c (dumped_main_arena_start): Update comment.
2799         (__libc_realloc): Correct size computation for dumped fake mmapped
2800         chunks.
2802 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
2804         [BZ #20219]
2805         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
2806         to itself.
2807         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
2809         [BZ #20218]
2810         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
2811         to itself.
2812         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
2814 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2816         [BZ #20195]
2817         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
2818         check to ...
2819         (init_cpu_features): Here.
2821 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
2823         [BZ #20214]
2824         * sysdeps/unix/sysv/linux/bits/in.h
2825         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2826          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
2827         Define to 1.
2828         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
2829          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
2830         Define to 0.
2831         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
2832         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
2834 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
2836         [BZ #20198]
2837         * stdlib/Makefile (tests): Add tst-quick_exit, and
2838         tst-thread-quick_exit.
2839         [ifeq ($(have-cxx-thread_local),yes)]
2840         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
2841         (CFLAGS-tst-thread-quick_exit.o): Likewise.
2842         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
2843         (LDLIBS-tst-thread-quick_exit): Likewise.
2844         [ifneq ($(have-cxx-thread_local),yes)]
2845         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
2846         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
2847         If run_dtors is true call __call_tls_dtors.
2848         (exit): Call __run_exit_handlers with run_dtors set to true.
2849         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
2850         definition.
2851         * stdlib/quick_exit.c (quick_exit): Remove function.
2852         (__new_quick_exit): New function.
2853         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
2854         function.
2855         * stdlib/tst-quick_exit.cc: New file.
2856         * stdlib/tst-thread-quick_exit.cc: New file.
2857         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
2858         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
2859         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
2860         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
2861         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
2862         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
2863         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
2864         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
2865         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
2866         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
2867         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
2868         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
2869         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
2870         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
2871         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
2872         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
2873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
2874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
2875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
2876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
2877         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
2878         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
2879         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
2880         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
2881         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
2882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
2883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
2884         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
2885         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
2886         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
2888 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2890         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
2891         a typo in comments.
2893 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2895         [BZ #20213]
2896         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
2897         argument to itself.
2898         * math/libm-test.inc (asin_test_data): Add sNaN tests.
2900 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2902         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
2903         required flags.
2904         (CFLAGS-pwritev64.c): Likewise.
2905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
2906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
2907         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
2908         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2909         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
2910         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
2911         syscall from auto-generation.
2912         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
2913         [WORDSIZE == 64] (pwritev64): Remove macro.
2914         [!PWRITEV] (PWRITEV): Likewise.
2915         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2916         [!PWRITEV] (PWRITE): Likewise.
2917         [!PWRITEV] (OFF_T): Likewise.
2918         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
2919         (LO_HI_LONG): Remove macro.
2920         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
2921         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
2922         (PWRITEV): Remove macro.
2923         (PWRITEV_REPLACEMENTE): Likewise.
2924         (PWRITE): Likewise.
2925         (OFF_T): Likewise.
2926         (pwritev64): New function.
2927         * nptl/tst-cancel4.c (tf_writev): Add test.
2929         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
2930         required flags.
2931         (CFLAGS-preadv64.c): Likewise.
2932         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
2933         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
2934         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
2935         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
2936         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
2937         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
2938         syscall from auto-generation.
2939         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
2940         [WORDSIZE == 64] (preadv64): Remove macro.
2941         [!PREADV] (PREADV): Likewise.
2942         [!PREADV] (PREADV_REPLACEMENT): Likewise.
2943         [!PREADV] (PREAD): Likewise.
2944         [!PREADV] (OFF_T): Likewise.
2945         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
2946         (LO_HI_LONG): Remove macro.
2947         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
2948         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
2949         (PREADV): Remove macro.
2950         (PREADV_REPLACEMENTE): Likewise.
2951         (PREAD): Likewise.
2952         (OFF_T): Likewise.
2953         (preadv64): New function.
2954         * nptl/tst-cancel4.c (tf_preadv): Add test.
2956 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
2958         [BZ #20212]
2959         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
2960         argument to itself.
2961         * math/libm-test.inc (acos_test_data): Add sNaN tests.
2963 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2965         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
2966         New symbol defined as libc_hidden_def.
2967         (strcasestr): Became a weak alias to __strcasestr.
2968         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
2969         according to multi-arch support.  Move __stpncpy hidden
2970         definition from here to...
2971         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
2972         symbol stpncpy.
2973         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
2974         libc_hidden_builtin_def.
2975         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
2976         memset symbol to use when multi-arch support is available.
2978 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2980         * dlfcn/tst-rec-dlopen.c: Include string.h.
2982 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
2984         * manual/install.texi: Remove mention of --without-tls
2985         * INSTALL: Regenerate.
2987 2016-06-05  Florian Weimer  <fweimer@redhat.com>
2989         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
2990         Remove.
2991         (call_function, interposed_malloc_called): New variables.
2992         (malloc): New function.
2993         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
2994         and clear call_function as needed.
2996 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
2998         * include/wchar.h (__wmemset): Use __typeof.
3000 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3002         * include/wchar.h (__wmemset): Declare function without typeof.
3004 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3006         [BZ #20205]
3007         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3008         exponent when incrementing negative subnormal with low mantissa
3009         word zero.
3010         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3011         Add another test.
3013 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3015         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3016         __wmemset instead of wmemset.
3018 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3020         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3021         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3022         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3023         __USE_KERNEL_IPV6_DEFS to 0.
3024         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3025         Update comment.
3027 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3029         [BZ #19861]
3030         Do not use IFUNC resolver with potentially unrelocated symbol.
3031         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3032         (DEFINE_FORK): Remove macro and inline definition.
3033         (fork_alias): Renamed from fork_ifunc.
3034         (__fork_alias): Renamed from __fork_ifunc.
3036 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3038         [BZ 19653]
3039         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3040         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3042 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3044         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3045         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3046         i386-linux-gnu).
3047         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3048         Set to no.
3049         * sysdeps/mach/hurd/configure: Refresh.
3051 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3053         [BZ #20178]
3054         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3055         on failure instead of exit.
3057 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3059         [BZ #3629]
3060         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3061         of POSIX.1-2008.
3063 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3065         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3066           Use PLT entry for calling _hurd_self_sigstate.
3068 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3070         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3071         available logical processors with SMT level type sharing L2
3072         cache for Intel processors.
3074 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3076         [BZ #20160]
3077         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3078         argument to itself before returning the result.
3079         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3080         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3081         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3083         Likewise.
3084         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3085         Likewise.
3086         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3087         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3088         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3089         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3090         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3091         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3093         [BZ #20160]
3094         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3095         argument to itself before returning the result.
3096         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3097         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3098         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3099         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3100         Likewise.
3101         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3102         Likewise.
3103         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3104         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3105         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3106         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3107         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3108         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3110 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3112         * libm-test.inc: Replace usage of M_El with
3113         (lit_e): New macro.
3115 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3117         * libm-test.inc: Replace usage of M_PI_4l with
3118         (lit_pi_4_d): New macro.
3120 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3122         * libm-test.inc: Replace usage of M_PIl with
3123         (lit_pi): New macro.
3125 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3127         * libm-test.inc: Replace usage of M_PI2l with
3128         (lit_pi_2_d): New macro.
3130         * math/test-double.h (LITM): New macro.
3131         * math/test-float.h (LITM): Likewise.
3132         * math/test-ldouble.h (LITM): Likewise.
3134 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3136         * libm-test.inc (M_PI_34l): Rename to
3137         (lit_pi_3_m_4_d): New Macro.
3138         (M_PI_34_LOG10El): Rename to
3139         (lit_pi_3_m_4_ln10_m_d): New Macro.
3140         (M_PI2_LOG10El): Rename to
3141         (lit_pi_2_ln10_m_d):  New Macro.
3142         (M_PI4_LOG10El): Rename to
3143         (lit_pi_4_ln10_m_d):  New Macro.
3144         (M_PI_LOG10El): Rename to
3145         (lit_pi_ln10_d):  New Macro.
3147 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3149         [BZ #20157]
3150         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3151         determine whether to negate low half if [_ARCH_PPCGR], and integer
3152         comparison otherwise.
3153         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3154         determine whether to negate low half.
3156         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3157         (NO_TEST_INLINE_DOUBLE): Likewise.
3158         (TEST_COND_x86_64): Likewise.
3159         (TEST_COND_x86): Likewise.
3160         (M_PI_6l): Likewise.
3162 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3164         * math/libm-test.inc:
3165         (TEST_FLOAT): Change usage to TEST_COND_binary32.
3166         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
3167         (TEST_LDOUBLE): Update usage to evaluate as true if
3168         the guarded tests match the property being tested.
3169         (LDBL_MAX_EXP): Change to MAX_EXP.
3170         (LDBL_MIN_EXP): Change to MIN_EXP.
3171         (LDBL_MANT_DIG): Change to MANT_DIG, except for
3172         nexttoward tests.
3174 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3176         * math/libm-test.inc:
3177         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
3178         (TYPE_MIN): Likewise.
3179         (TYPE_TRUE_MIN): Likewise.
3180         (TYPE_MAX): Likewise.
3181         (MIN_EXP): Likewise.
3182         (MAX_EXP): Likewise.
3183         (MANT_DIG): Likewise.
3185         (FSTR_MAX): New macro.
3186         (__CONCATX): Likewise.
3187         (QTYPE_STR): Likewise.
3188         (TEST_COND_binary32): Likewise.
3189         (TEST_COND_binary64): Likewise.
3190         (TEST_COND_binary128): Likewise.
3191         (TEST_COND_ibm128): Likewise.
3192         (TEST_COND_intel96): Likewise.
3193         (TEST_COND_m68k96): Likewise.
3195         (TEST_COND_flt_32): Redefine as equivalent format test macro.
3196         (TEST_COND_dbl_64): Likewise.
3197         (TEST_COND_ldbl_96_intel): Likewise.
3198         (TEST_COND_ldbl_96_m68k): Likewise.
3199         (TEST_COND_ldbl_128): Likewise.
3200         (TEST_COND_ldbl_128ibm): Likewise.
3202         (plus_zero): Redefine using LIT macro.
3203         (minus_zero): Likewise.
3204         (plus_infty): Redefine as (INF).
3205         (minux_infty): Redefine as (-INF).
3206         (max_value): Redefine as TYPE_MAX.
3207         (min_value): Redefine as TYPE_MIN.
3208         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
3210         (print_float): Refactor to use snprintf to convert FLOAT values
3211         to string. This brings it closer to dropin replacement of strtof
3212         for the TS 18661 defined types.
3213         (update_stats): Likewise.
3214         (print_complex_function_ulps): Likewise.
3215         (print_max_error): Likewise.
3216         (print_complex_max_error): Likewise.
3217         (check_float_internal): Likewise.
3219         * math/test-float.h (PREFIX): New macro.
3220         (LIT): Likewise.
3221         (TYPE_STR): Likewise.
3222         (FTOSTR): Likewise.
3224         * math/test-double.h (PREFIX): New macro.
3225         (LIT): Likewise.
3226         (TYPE_STR): Likewise.
3227         (FTOSTR): Likewise.
3229         * math/test-ldouble.h (PREFIX): New macro.
3230         (LIT): Likewise.
3231         (TYPE_STR): Likewise.
3232         (FTOSTR): Likewise.
3234 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3236         [BZ #20156]
3237         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
3238         to itself when zero or not finite.
3239         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
3240         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
3241         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
3242         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
3244 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
3246         [BZ #20153]
3247         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
3248         x * x + x for infinities and NaNs.
3250         [BZ #20151]
3251         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
3252         argument to itself before returning result.
3253         (__ieee754_y0l): Likewise.
3254         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
3255         (__ieee754_y1l).
3257         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
3258         (atan_test_data): Likewise.
3259         (ceil_test_data): Likewise.
3260         (cos_test_data): Likewise.
3261         (cosh_test_data): Likewise.
3262         (erf_test_data): Likewise.
3263         (exp2_test_data): Likewise.
3264         (fabs_test_data): Likewise.
3265         (floor_test_data): Likewise.
3266         (ilogb_test_data): Likewise.
3267         (j0_test_data): Likewise.
3268         (j1_test_data): Likewise.
3269         (jn_test_data): Likewise.
3270         (lgamma_test_data): Likewise.
3271         (lrint_test_data): Likewise.
3272         (llrint_test_data): Likewise.
3273         (logb_test_data): Likewise.
3274         (lround_test_data): Likewise.
3275         (llround_test_data): Likewise.
3276         (nearbyint_test_data): Likewise.
3277         (rint_test_data): Likewise.
3278         (round_test_data): Likewise.
3279         (sin_test_data): Likewise.
3280         (sincos_test_data): Likewise.
3281         (sinh_test_data): Likewise.
3282         (sqrt_test_data): Likewise.
3283         (tan_test_data): Likewise.
3284         (tanh_test_data): Likewise.
3285         (tgamma_test_data): Likewise.
3286         (trunc_test_data): Likewise.
3287         (y0_test_data): Likewise.
3288         (y1_test_data): Likewise.
3289         (yn_test_data): Likewise.
3291         * math/libm-test.inc: Update comment about NaN testing.
3292         (TEST_SNAN): New macro.
3293         (snan_value): Likewise.
3294         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
3295         (fpclassify_test_data): Add sNaN tests.
3296         (isfinite_test_data): Likewise.
3297         (isinf_test_data): Likewise.
3298         (isnan_test_data): Likewise.
3299         (isnormal_test_data): Likewise.
3300         (issignaling_test_data): Likewise.
3301         (signbit_test_data): Likewise.
3302         * math/gen-libm-test.pl (%beautify): Add snan_value.
3303         (show_exceptions): Add argument $test_snan.
3304         (parse_args): Handle snan_value as non-finite.  Update call to
3305         show_exceptions.
3306         * math/Makefile (libm-test-no-inline-cflags): Add
3307         -fsignaling-nans.
3309 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3311         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
3312         (CFLAGS-oldsendmsg.c): Add rule.
3313         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3314         Correct recvmsg symbol name.
3315         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
3316         Likewise.
3318 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3320         * sysdeps/unix/sysv/linux/Makefile
3321         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
3322         oldsendmmsg.
3323         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
3324         sendmmsg.
3325         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3326         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3327         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3328         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3330         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3331         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
3333         Likewise.
3334         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3335         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
3336         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3337         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
3338         iovlen and controllen fields to adjust to POSIX specification.
3339         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3341         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
3342         and change to correct expected type.
3343         (msghdr.msg_controllen): Likewise.
3344         (cmsghdr.cmsg_len): Likewise.
3345         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
3346         expected POSIX assumption about the size.
3347         (msghdr.msg_controllen): Likewise.
3348         (msghdr.__glibc_reserved1): Likewise.
3349         (msghdr.__glibc_reserved2): Likewise.
3350         (cmsghdr.cmsg_len): Likewise.
3351         (cmsghdr.__glibc_reserved1): Likewise.
3352         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
3353         Add ptw-oldrecvmsg and ptw-oldsendmsg.
3354         (CFLAGS-sendmsg.c): Remove rule.
3355         (CFLAGS-recvmsg.c): Likewise.
3356         (CFLAGS-oldsendmsg.c): Add rule.
3357         (CFLAGS-oldrecvmsg.c): Likewise.
3358         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
3359         recvmsg and sendmsg.
3360         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
3361         Likewise.
3362         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
3363         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
3364         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3365         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
3366         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3367         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3368         Likewise.
3369         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3370         Likewise.
3371         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
3372         Likewise.
3373         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
3374         Likewise.
3375         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3376         Likewise.
3377         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3378         Likewise.
3379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
3380         (GLIBC_2.24): Likewise.
3381         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3382         Likewise.
3383         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3384         Likewise.
3385         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3386         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3387         Likewise.
3388         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3389         Likewise.
3390         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3391         Likewise.
3392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
3393         (GLIBC_2.24): Likewise.
3394         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
3395         Likewise.
3396         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
3397         Likewise.
3398         * sysdeps/unix/sysv/linux/Makefile
3399         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
3400         (CFLAGS-sendmsg.c): Add rule.
3401         (CFLAGS-recvmsg.c): Likewise.
3402         (CFLAGS-oldsendmsg.c): Likewise.
3403         (CFLAGS-oldrecvmsg.c): Likewise.
3404         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
3405         initialization.
3406         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
3407         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
3408         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
3409         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3410         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
3411         iovlen and controllen fields to adjust to POSIX specification.
3412         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
3413         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
3414         added recvmsg and sendmsg.
3415         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3416         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3417         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3418         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3419         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3420         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3421         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3422         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3424         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3425         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3426         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3428         Likewise.
3429         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
3430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3431         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3432         Likewise.
3433         Likewise.
3434         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3435         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3436         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3437         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3438         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3439         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3441         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3443         Likewise.
3444         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3445         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3447         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
3448         from auto-generation.
3449         (sendmsg): Likewise.
3450         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
3451         (sendmsg): Likewise.
3452         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
3453         (sendmsg): Likewise.
3454         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
3455         (sendmsg): Likewise.
3456         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
3457         (sendmsg): Likewise.
3458         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
3459         (sendmsg): Likewise.
3460         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
3461         Likewise.
3462         (sendmsg): Likewise.
3463         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
3464         (sendmsg): Likewise.
3465         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3467         Remove.
3468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3469         Likewise.
3470         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3471         Undefine.
3472         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3473         Likewise.
3474         * sysdeps/unix/sysv/linux/kernel-features.h
3475         (__ASSUME_SENDMSG_SYSCALL): Define.
3476         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3477         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3479         Remove.
3480         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3481         Likewise.
3482         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3483         Undefine.
3484         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3485         Likewise.
3486         * sysdeps/unix/sysv/linux/s390/kernel-features.h
3487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3488         Remove.
3489         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3490         Likewise.
3491         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
3492         Undefine.
3493         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
3494         Likewise.
3495         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3496         (__ASSUME_SENDMSG_SYSCALL): Undefine.
3497         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3498         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3499         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3500         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3501         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3502         (__ASSUME_SENDMSG_SYSCALL): Likewise.
3503         (__ASSUME_RECVMSG_SYSCALL): Likewise.
3505 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3507         * stdlib/gen-tst-strtod-round.c: Add backslash to
3508         compile command in comment.
3509         (printfp): Remove the literal suffix, and define an infinite
3510         value as INF to avoid expansion clash with INFINITY.
3511         (round_str): Remove the literal suffix.
3512         (round_for_all): Likewise, remove the now duplicate ldbl-64
3513         entry, and remove some magic constants.
3515         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
3516         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
3517         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
3518         (_CONCAT): New macro.
3519         (CONCAT): Likewise.
3520         (CHOOSE_ld): Likewise.
3521         (CHOOSE_f): Likewise.
3522         (CHOOSE_d): Likewise.
3523         (FTYPE_MEMBER): Likewise.
3524         (BOOL_MEMBER): Likewise.
3525         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
3526         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
3527         (_XNTRY): Likewise.
3528         (XNTRY): Likewise.
3529         (_ENTRY): Likewise.
3530         (ENTRY): Likewise.
3531         (test_exactness): Generate members via macro.
3532         (test_results): Likewise.
3533         (test): Update members.
3534         (TEST): Redefine using new macros.
3535         (INF): New macro.
3536         (fetestmodes): New structure.
3537         (do_test): Refactor to be type generic.
3538         (test_in_one_mode): Refactor duplicate code into
3539         (GEN_ONE_TEST): New macro.
3541         * stdlib/tst-strtod-round-data.h: Regenerate.
3543         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
3544         Extend to pass additional arbitrary parameters to
3545         generators.
3547 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
3549         [BZ #15479]
3550         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
3551         floating-point state after first floating-point operation on
3552         input.  Restore full floating-point state instead of just rounding
3553         mode.
3554         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3555         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3556         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3557         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3558         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3560         [BZ #15479]
3561         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
3562         floating-point state after first floating-point operation on
3563         input.  Restore full floating-point state instead of just rounding
3564         mode.
3565         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3566         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3567         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3568         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3569         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3571 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3573         [BZ #19727]
3574         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
3575         valid high surrogate.
3576         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
3577         of an utf16 surrogate.
3578         * iconv/gconv_simple.c (BODY): Likewise.
3579         * iconvdata/bug-iconv12.c: New file.
3580         * iconvdata/Makefile (tests): Add bug-iconv12.
3582 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3584         [BZ #19726]
3585         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
3586         outptrp in case of an illegal input.
3587         * iconv/tst-iconv6.c: New file.
3588         * iconv/Makefile (tests): Add tst-iconv6.
3590 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3592         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
3593         an error in case of a value in range of an utf16 low surrogate.
3595 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3597         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
3598         an error in case of a value in range of an utf16 low surrogate.
3600 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3602         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
3603         Move to ...
3604         * sysdeps/s390/Makefile: ... here.
3605         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
3606         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
3607         (BRANCH_ON_COUNT): New define.
3608         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
3609         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
3610         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
3611         run on s390-32, too.
3612         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
3613         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
3614         run on s390-32, too.
3615         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
3616         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
3617         run on s390-32, too.
3619 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3621         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
3622         etf3eh or new vector loop-variant.
3624 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3626         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
3627         etf3eh or new vector loop-variant.
3629 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3631         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
3632         or new vector loop-variant.
3634 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3636         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
3637         Rename to TR_LOOP and usage of tr instead of troo instruction.
3639 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3641         * sysdeps/s390/multiarch/gconv_simple.c: New File.
3642         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
3644 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3646         * sysdeps/s390/multiarch/8bit-generic.c: New File.
3647         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
3648         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
3649         New override define.
3650         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
3652 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3654         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
3655         * sysdeps/s390/configure.ac: Add test for S390 vector register
3656         support in gcc.
3657         * sysdeps/s390/configure: Regenerated.
3659 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
3661         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
3662         Install file from $(objpfx)gconv-modules.
3663         ($(objpfx)gconv-modules): Concatenate architecture specific file
3664         in variable sysdeps-gconv-modules and gconv-modules in src dir.
3665         * sysdeps/s390/gconv-modules: New file.
3666         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
3667         Deleted.
3668         ($(objpfx)gconv-modules-s390): Deleted.
3669         (sysdeps-gconv-modules): New variable.
3671 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3673         [BZ #15479]
3674         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
3675         of immediate operand to rounding instruction.
3676         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
3677         Likewise.
3678         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
3679         Likewise.
3680         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
3681         Likewise.
3683 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3685         * math/libm-test.inc (MIN_EXP): Directly define as
3686         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
3688 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3690         * math/libm-test.inc (MANT_DIG): Directly define as
3691         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
3693 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3695         * stdlib/gen-tst-strtod-round.c (main):
3696           Change usage to more closely match the generated
3697           output.  Add usage and compilation instructions.
3698           (string_to_fp): Add and use FILE* parameter as
3699           output target.
3700           (print_fp): Likewise.
3701           (round_str): Likewise.
3702           (round_for_all): Likewise.
3703         * stdlib/tst-strtod-round.c (tests): Move into
3704         * stdlib/tst-strtod-round-data.h: New file.
3706 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
3708         [BZ #15479]
3709         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
3710         (__round): Do not force "inexact" exception.
3711         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
3712         variable.
3713         (__round): Do not force "inexact" exception.
3714         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
3715         (__roundf): Do not force "inexact" exception.
3716         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
3717         (__roundl): Do not force "inexact" exception.
3718         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
3719         (__roundl): Do not force "inexact" exception.
3720         * math/libm-test.inc (round_test_data): Do not allow spurious
3721         "inexact" exceptions.
3723         [BZ #15479]
3724         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
3725         exception in comment.
3726         (huge): Remove variable.
3727         (__floor): Do not force "inexact" exception.
3728         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
3729         "inexact" exception in comment.
3730         (huge): Remove variable.
3731         (__floor): Do not force "inexact" exception.
3732         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
3733         exception in comment.
3734         (huge): Remove variable.
3735         (__floorf): Do not force "inexact" exception.
3736         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
3737         exception in comment.
3738         (huge): Remove variable.
3739         (__floorl): Do not force "inexact" exception.
3741         [BZ #15479]
3742         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
3743         exception in comment.
3744         (huge): Remove variable.
3745         (__ceil): Do not force "inexact" exception.
3746         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
3747         "inexact" exception in comment.
3748         (huge): Remove variable.
3749         (__ceil): Do not force "inexact" exception.
3750         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
3751         (__ceilf): Do not force "inexact" exception.
3752         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
3753         exception in comment.
3754         (huge): Remove variable.
3755         (__ceill): Do not force "inexact" exception.
3757 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3759         * config.h.in (BIND_NOW): New.
3760         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
3761         * configure: Regenerated.
3762         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
3763         indirect branch via the GOT slot.
3765 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3767         [BZ #19765]
3768         * sysdeps/s390/mempcpy.S: New File.
3769         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
3770         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
3771         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3772         Add mempcpy variants.
3773         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
3774         (memcpy): Adjust to be usable from mempcpy entry point.
3775         (__memcpy_mvcle): Likewise.
3776         * sysdeps/s390/s390-64/memcpy.S: Likewise.
3777         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
3778         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
3779         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
3780         (__memcpy_z10): Likewise.
3781         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3783 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3785         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
3786         Remove __GI_ symbol.
3787         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
3788         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
3789         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
3790         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
3791         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
3792         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
3794 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3796         * sysdeps/s390/s390-64/memcpy.S (memcpy):
3797         Use cghi instead of chi to compare 64bit value.
3799 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
3801         * sysdeps/s390/s390-32/memcpy.S (memcpy):
3802         Jump to 1MB check before executing mvc-loop.
3804 2016-05-24  Florian Weimer  <fweimer@redhat.com>
3806         [BZ #6527]
3807         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
3808         unconditionally.
3809         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
3811 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3813         * stdlib/tst-strtod6.c (do_test): Use new type generic
3814         invocation of the test function.
3815         (test): Refactor into ...
3816         (TEST_STRTOD): New macro base function.
3818 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3820         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
3821         (TEST_STRTOD): New macro.
3822         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
3824 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3826         * stdlib/tst-strtod6.c (do_test): Use new type generic
3827         invocation of the test function.
3828         (test): Refactor into ...
3829         (TEST_STRTOD): New macro base function.
3831 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3833         CVE-2016-4429
3834         [BZ #20112]
3835         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
3836         payload.
3838 2016-05-23  Florian Weimer  <fweimer@redhat.com>
3840         [BZ #20111]
3841         * bits/sockaddr.h (_SS_SIZE): Define.
3842         * bits/socket.h (_SS_SIZE): Remove.
3843         (_SS_PADSIZE): Adjust to account for all padding.
3844         (struct sockaddr_storage): Update comment.  Avoid implicit
3845         padding.
3846         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
3847         (_SS_PADSIZE): Adjust to account for all padding.
3848         (struct sockaddr_storage): Update comment.  Avoid implicit
3849         padding.
3850         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
3851         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
3852         (_SS_PADSIZE): Adjust to account for all padding.
3853         (struct sockaddr_storage): Update comment.  Avoid implicit
3854         padding.
3855         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
3856         __SS_SIZE is 126 in this version.
3857         * inet/tst-sockaddr.c: New file.
3858         * inet/Makefile (tests): Add tst-sockaddr.c
3859         (tst-sockaddr.c): Compile with non-strict aliasing.
3861 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
3863         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
3864         [XPG3 || XPG4].
3865         (NL_ARGMAX): Also expect for [XPG3].
3866         (NL_LANGMAX): Likewise.
3867         (NL_MSGMAX): Likewise.
3868         (NL_NMAX): Likewise.
3869         (NL_SETMAX): Likewise.
3870         (NL_TEXTMAX): Likewise.
3871         (NZERO): Likewise.
3872         (TMP_MAX): Likewise.
3873         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
3874         variable.
3876         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
3877         (PF_MAX): Update value.
3878         (AF_KCM): New macro.
3879         (SOL_NETBEUI): Likewise.
3880         (SOL_LLC): Likewise.
3881         (SOL_DCCP): Likewise.
3882         (SOL_NETLINK): Likewise.
3883         (SOL_TIPC): Likewise.
3884         (SOL_RXRPC): Likewise.
3885         (SOL_PPPOL2TP): Likewise.
3886         (SOL_BLUETOOTH): Likewise.
3887         (SOL_PNPIPE): Likewise.
3888         (SOL_RDS): Likewise.
3889         (SOL_IUCV): Likewise.
3890         (SOL_CAIF): Likewise.
3891         (SOL_ALG): Likewise.
3892         (SOL_NFC): Likewise.
3893         (SOL_KCM): Likewise.
3894         (MSG_BATCH): New enum value and macro.
3896 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3898         [BZ #18185]
3899         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
3900         sharing L2 cache to 2 for Knights Landing.
3902 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
3904         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
3905         (FTW_DP): Do not expect for [XPG3 || XPG4].
3906         (FTW_SL): Do not expect for [XPG3].
3907         (FTW_SLN): Likewise.
3908         (FTW_PHYS): Likewise.
3909         (FTW_MOUNT): Likewise.
3910         (FTW_DEPTH): Likewise.
3911         (FTW_CHDIR): Likewise.
3912         (nftw): Likewise.
3913         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
3914         variable.
3916 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3918         * manual/errno.texi: Fix various typos & grammar errors.
3920 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
3922         * manual/intro.texi: Fix duplicated typo.
3924 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3926         [BZ #13304]
3927         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
3928         <float.h>, <math_private.h> and <stdlib.h>.
3929         (add_split): New function.
3930         (mul_split): Likewise.
3931         (ext_val): New typedef.
3932         (store_ext_val): New function.
3933         (mul_ext_val): New function.
3934         (compare): New function.
3935         (add_split_ext): New function.
3936         (__fmal): After checking for Inf, NaN and zero, compute result as
3937         an exact sum of scaled double values in round-to-nearest before
3938         adding those up and adjusting for other rounding modes.
3939         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
3940         tests of fma.
3941         * math/auto-libm-test-out: Regenerated.
3943 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3945         [BZ #20119]
3946         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
3947         processor level type mask for CPUID with EAX == 11.
3949 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3951         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
3952         logical threads if the HTT bit is 0.
3953         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
3954         (index_cpu_HTT): Likewise.
3955         (reg_HTT): Likewise.
3957 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
3959         [BZ #20115]
3960         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
3961         Remove alignments on jump targets.
3963 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
3965         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
3966         (getpwent): Likewise.
3967         (setpwent): Likewise.
3968         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
3969         variable.
3971         * conform/data/search.h-data (insque): Do not expect for [XPG3].
3972         (remque): Likewise.
3973         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
3974         variable.
3976 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
3978         * math/libm-test.inc: Update comment not to refer to signs of NaNs
3979         not being tested.
3981 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
3984         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
3985         call.
3986         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
3987         (__condvar_cleanup1): Likewise.
3989 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
3991         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
3992         New
3993         (__pthread_unwind): Renamed to ...
3994         (PTHREAD_UNWIND): This.
3995         (__pthread_enable_asynccancel): Replace
3996         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
3998 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4000         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4001         (CLONE_NEWCGROUP): New macro.
4003         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4004         (Q_GETNEXTQUOTA): New macro.
4006 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4008         [BZ #19907]
4009         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4010         buffer updated by the previous run.
4011         * string/test-memcpy.c (do_one_test): Likewise.
4012         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4013         * string/test-memmove.c (do_one_test): Likewise.
4015 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4017         [BZ #20094]
4018         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4019         not [__USE_XOPEN].
4020         (unlockpt): Likewise.
4021         (ptsname): Likewise.
4022         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4023         variable.
4025         [BZ #20076]
4026         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4027         instead of [__USE_UNIX98].
4028         (S_ISSOCK): Likewise.
4029         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4030         variable.
4032         [BZ #20074]
4033         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4034         [__USE_POSIX].
4035         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4036         variable.
4038         [BZ #20051]
4039         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4040         (ttyslot): Do not declare.
4041         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4042         (ttyslot): New prototype.
4043         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4044         variable.
4045         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4047 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4049         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4051 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4053         Fix race condition in tst-mallocfork2, use fewer resources.
4054         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4055         to current process group.
4056         (signal_sender): Yield in the non-sleeping case.
4058 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4060         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4061         (ecvt): Likewise.
4062         (fcvt): Likewise.
4063         (gcvt): Likewise.
4064         (getsubopt): Likewise.
4065         (grantpt): Likewise.
4066         (initstate): Likewise.
4067         (l64a): Likewise.
4068         (mktemp): Likewise.
4069         (mkstemp): Likewise.
4070         (ptsname): Likewise.
4071         (random): Likewise.
4072         (realpath): Likewise.
4073         (setstate): Likewise.
4074         (srandom): Likewise.
4075         (ttyslot): Likewise.
4076         (unlockpt): Likewise.
4077         (valloc): Likewise.
4079         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4080         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4081         variable.
4083 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4085         [BZ #20072]
4086         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4087         init_cpu_features only if SHARED is defined.
4088         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4090 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4092         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4093         non-inclusive caches on Intel processors.
4095 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4097         * malloc/malloc.c (dumped_main_arena_start)
4098         (dumped_main_arena_end): New variables.
4099         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4100         (do_check_chunk): Skip dumped fake mmapped chunks.
4101         (munmap_chunk): Likewise.
4102         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4103         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4104         mmapped chunks.
4105         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4106         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4107         and dumped_main_arena_end to cover the dumped heap.
4109 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4111         * conform/data/time.h-data (getdate_err): Do not expect for
4112         [XPG3].
4113         (getdate): Likewise.
4114         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4115         variable.
4117         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4118         (F_ULOCK): Likewise.
4119         (F_TEST): Likewise.
4120         (F_TLOCK): Likewise.
4121         (useconds_t): Likewise.
4122         (intptr_t): Do not expect for [XPG3] or [XPG4].
4123         (brk): Do not expect for [XPG3]
4124         (fchown): Likewise.
4125         (fchdir): Likewise.
4126         (ftruncate): Likewise.
4127         (getdtablesize): Likewise.
4128         (gethostid): Likewise.
4129         (getpagesize): Likewise.
4130         (getpgid): Likewise.
4131         (getsid): Likewise.
4132         (getwd): Likewise.
4133         (lchown): Likewise.
4134         (lockf): Likewise.
4135         (readlink): Likewise.
4136         (sbrk): Likewise.
4137         (setpgrp): Likewise.
4138         (setregid): Likewise.
4139         (setreuid): Likewise.
4140         (symlink): Likewise.
4141         (sync): Likewise.
4142         (truncate): Likewise.
4143         (ualarm): Likewise.
4144         (usleep): Likewise.
4145         (vfork): Likewise.
4146         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4147         variable.
4149         [BZ #20054]
4150         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4151         not [__USE_UNIX98].
4152         * conform/data/unistd.h-data (gethostname): Do not expect for
4153         [XPG3].
4155         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4156         [!POSIX] (S_IFBLK): Likewise.
4157         [!POSIX] (S_IFCHR): Likewise.
4158         [!POSIX] (S_IFIFO): Likewise.
4159         [!POSIX] (S_IFREG): Likewise.
4160         [!POSIX] (S_IFDIR): Likewise.
4161         [!POSIX] (S_IFLNK): Likewise.
4162         [!POSIX] (S_IFSOCK): Likewise.
4163         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
4164         variable.
4165         (test-xfail-XPG4/fcntl.h/conform): Likewise.
4167 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
4169         * sysdeps/aarch64/memset.S (__memset):
4170         Rewrite of optimized memset.
4172 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4174         [BZ #19703]
4175         Partially async-signal-safe fork for single-threaded processes.
4176         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
4177         variable.  Do not acquire and reset/release malloc and libio locks
4178         in single-threaded processes.
4179         * malloc/tst-mallocfork2.c: New file.
4180         * malloc/Makefile (tests): Add it.
4182 2016-05-12  Florian Weimer  <fweimer@redhat.com>
4184         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
4185         argument.  Use scratch buffer instead of extend_alloca.
4186         (gethosts): Use scratch buffer instead of extend_alloca.
4187         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
4188         extend_alloca.
4189         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
4191 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
4193         [BZ #20055]
4194         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
4195         instead of [__USE_UNIX98].
4196         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
4197         [__USE_UNIX98].
4198         * conform/data/termios.h-data (tcgetsid): Do not expect for
4199         [XPG3].
4200         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
4201         variable.
4202         (test-xfail-XPG4/termios.h/conform): Likewise.
4204 2016-05-11  Florian Weimer  <fweimer@redhat.com>
4206         Do not use mcheck in localedef.
4207         * locale/programs/localedef.c (turn_on_mcheck)
4208         (__malloc_initialize_hook): Remove.
4210 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
4212         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
4213         * sysdeps/s390/s390-64/Makefile: Likewise.
4215 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
4217         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
4218         Remove ifunc-defines.sym.
4219         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
4220         Likewise.
4221         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
4222         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
4223         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
4224         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
4225         rtld-global-offsets.sym.
4226         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
4227         * sysdeps/x86/cpu-features-offsets.sym: This.
4228         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
4229         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
4231 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
4233         [BZ #20073]
4234         * io/sys/stat.h (fchmod): Declare for
4235         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
4236         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
4237         variable.
4239         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
4240         [XPG3] (S_IFSOCK): Likewise.
4241         [XPG3] (S_ISVTX): Likewise.
4242         [XPG3] (S_ISLNK): Likewise.
4243         [XPG3] (S_ISSOCK): Likewise.
4244         [XPG3] (fchmod): Likewise.
4245         [XPG3] (lstat): Likewise.
4246         [XPG3] (mknod): Likewise.
4248         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
4249         [XPG3].  Expect type long and XFAIL for [XPG4].
4250         (st_blocks): Likewise.
4252         [BZ #20044]
4253         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
4254         (pthread_atfork): New prototype.
4255         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
4256         variable.
4258         [BZ #20043]
4259         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
4260         prototype.
4262 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4264         [BZ #20017]
4265         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
4266         gmtime.
4268 2016-05-10  Florian Weimer  <fweimer@redhat.com>
4270         [BZ #19994]
4271         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
4272         flag in _res.options.
4274 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
4276         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
4277         [XPG3 || XPG4].
4278         (blksize_t): Likewise.
4279         (clockid_t): Likewise.
4280         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
4281         variable.
4282         (test-xfail-XPG4/sys/types.h/conform): Likewise.
4284 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4286         * sysdeps/unix/sysv/linux/s390/init-first.c:
4287         Add VDSO_SYMBOL(getcpu).
4288         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
4289         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
4290         Add VDSO_SYMBOL(getcpu).
4291         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
4292         New define HAVE_GETCPU_VSYSCALL.
4293         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4295 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
4297         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
4298         instead of <sysdeps/x86_64/cacheinfo.c>.
4299         * sysdeps/x86_64/cacheinfo.c: Moved to ...
4300         * sysdeps/x86/cacheinfo.c: Here.
4302 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4304         * malloc/malloc-internal.h: Adjust header file guard.
4306 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4308         [BZ #19787]
4309         * inet/getnameinfo.c (check_sprintf_result): New function.
4310         (CHECKED_SNPRINTF): New macro.
4311         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
4312         to the host buffer.
4313         (gni_host_local): Use checked_copy to copy the host name.
4314         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
4315         (gni_serv_local): Use checked_copy to copy the service name.
4316         (getnameinfo): Remove unnecessary truncation of result buffers.
4318 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4320         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
4321         in case of inet_ntop failure.
4323 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4325         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
4326         avoid long lines.
4327         (gni_host_inet_numeric): Likewise.  Reduce scope of local
4328         variables.
4329         (gni_host_inet, gni_host_local): Add comment.
4330         (gni_host): Add comment.  Use temporary to avoid long lines.
4332 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4334         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
4335         registers specifiers where general purpose registers specifiers should
4336         have been used.
4338 2016-05-04  Florian Weimer  <fweimer@redhat.com>
4340         [BZ #19779]
4341         CVE-2016-1234
4342         Avoid copying names of directory entries.
4343         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
4344         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
4345         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
4346         (struct readdir_result): New type.
4347         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
4348         (GL_READDIR): New macros.
4349         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
4350         (convert_dirent, convert_dirent64): New functions.
4351         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
4352         convert_dirent64.  Adjust references to the readdir result.
4353         * sysdeps/unix/sysv/linux/i386/glob64.c:
4354         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
4355         * posix/bug-glob2.c (LONG_NAME): Define.
4356         (filesystem): Add LONG_NAME.
4357         (my_DIR): Increase the size of room_for_dirent.
4359 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
4361         [BZ #20041]
4362         * misc/sys/select.h (__need_timespec): Only define if
4363         [__USE_XOPEN2K].
4364         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
4365         variable.
4366         (test-xfail-XPG4/utmpx.h/conform): Likewise.
4367         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
4368         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
4370 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4371             Segher Boessenkool  <segher@gcc.gnu.org>
4373         [BZ #20004]
4374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
4375         (__novec_swapcontext): Add missing load.
4377 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
4379         [BZ #20023]
4380         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
4381         <time.h>.
4382         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
4383         variable.
4384         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
4386 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
4389         flags CLONE_VM compare.
4391 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4393         [BZ #20031]
4394         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
4395         completely empty.
4397 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4399         [BZ #19573]
4400         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
4401         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
4402         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
4403         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
4404         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
4405         (hesiod_free_list): Mark as hidden.
4406         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
4407         res_set, res_get.
4408         * hesiod/hesiod.c: Remove unnecessary forward declarations.
4409         (init, __hesiod_res_get, __hesiod_res_set): Remove.
4410         (hesiod_init): Remove obsolete res_ninit call.
4411         (hesiod_end): Do not free resolver state.  Do not invoke callback.
4412         (hesiod_bind): Do not call init.
4413         (get_txt_records): Use res_mkquery, res_send instead of
4414         res_nmkquery, res_nsend.
4415         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
4416         instead of _nss_hesiod_init.
4417         (_nss_hesiod_initgroups_dyn): Likewise.
4418         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
4419         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
4420         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
4422 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4424         * hesiod/hesiod_p.h (DEF_RHS): Remove.
4425         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
4427 2016-05-02  Florian Weimer  <fweimer@redhat.com>
4429         * hesiod/hesiod.h: Remove RCS keyword.
4430         * hesiod/hesiod_p.h: Likewise.
4432         * hesiod/hesiod.c: Likewise.
4434 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
4436         [BZ #12450]
4437         * locale/iso-639.def: Add Samogitian/sgs.
4439 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
4441         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
4443         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
4445 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
4446             Carlos O'Donell  <carlos@redhat.com>
4448         [BZ #19072]
4449         * grp/Makefile (headers): Add grp-merge.h
4450         (routines): Add grp-merge.
4451         * grp/getgrgid_r.c: Include grp-merge.h.
4452         (DEEPCOPY_FN): Define.
4453         (MERGE_FN): Define.
4454         * grp/getgrname_r.c: Include grp-merge.h.
4455         (DEEPCOPY_FN): Define.
4456         (MERGE_FN): Define.
4457         * grp/grp-merge.c: New file.
4458         * grp/grp-merge.h: New file.
4459         * include/grp-merge.h: New file.
4460         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
4461         __copy_grp@GLIBC_PRIVATE.
4462         * manual/nss.texi (Actions in the NSS configuration): Describe
4463         return, continue, and merge.
4464         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
4465         (DEEPCOPY_FN): Define.
4466         (MERGE_FN): Define.
4467         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
4468         (DEEPCOPY_FN): Define.
4469         (MERGE_FN): Define.
4470         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
4471         [!MERGE_FN]: Define __merge_einval.
4472         (CHECK_MERGE): Define.
4473         (REENTRANT_NAME): Process merge if do_merge is true.
4474         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
4475         (__nss_getent_r): Likewise.
4476         * nss/nsswitch.c (nss_parse_service_list): Likewise.
4477         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
4479 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4481         [BZ #20012]
4482         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
4483         length to calculate the buffer to read.
4484         (fmemopen_write): Set the buffer position based on bytes written.
4485         (fmemopen_seek): Return EINVAL for invalid whence modes.
4487         [BZ #19957]
4488         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
4489         tst-getpid2.
4490         (test): Add tst-clone2.
4491         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
4492         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
4493         pid/tid fields for CLONE_VM.
4494         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
4495         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
4496         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
4497         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
4498         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
4499         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
4500         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
4501         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
4502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
4503         Likewise.
4504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
4505         Likewise.
4506         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
4507         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
4508         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
4509         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
4510         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
4511         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
4512         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
4513         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
4515 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4517         [BZ #19642]
4518         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
4519         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
4520         (gni_serv_local, gni_serv): New functions extracted from
4521         getnameinfo.
4522         (getnameinfo): Call gni_host and gni_serv to perform the
4523         processing.  Always free scratch buffer.
4525 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4527         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
4528         remaining bytes in the dest string, with zeros.
4530 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4532         [BZ #20010]
4533         CVE-2016-3706
4534         * sysdeps/posix/getaddrinfo.c
4535         (convert_hostent_to_gaih_addrtuple): New function.
4536         (gethosts): Call convert_hostent_to_gaih_addrtuple.
4537         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
4538         AF_INET data.
4540 2016-04-29  Florian Weimer  <fweimer@redhat.com>
4542         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
4543         callback function gl_readdir.
4544         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
4545         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
4546         (glob_in_dir): Remove len.  Use strdup instead of malloc and
4547         memcpy to copy the name.
4548         * manual/pattern.texi (Calling Glob): Document requirements for
4549         implementations of the gl_readdir callback function.
4550         * manual/examples/mkdirent.c: New example.
4551         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
4552         per the manual guidance.
4553         * posix/tst-gnuglob.c (my_readdir): Likewise.
4555 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
4557         [BZ #20014]
4558         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
4559         not [__USE_POSIX].
4560         (getchar_unlocked): Likewise.
4561         (putc_unlocked): Likewise.
4562         (putchar_unlocked): Likewise.
4563         (flockfile): Likewise.
4564         (ftrylockfile): Likewise.
4565         (funlockfile): Likewise.
4566         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
4567         variable.
4568         (test-xfail-XPG4/stdio.h/conform): Likewise.
4570         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
4571         Expect constant.
4572         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
4573         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
4574         variable.
4575         (test-xfail-XPG4/langinfo.h/conform): Likewise.
4576         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
4578         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
4579         [__USE_LARGEFILE64] (off64_t): Likewise.
4580         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
4581         variable.
4583 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4585         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
4587 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4589         * resolv/inet_addr.c: Reindent preprocessor conditionals.
4590         * resolv/res_init.c: Likewise.
4591         * resolv/res_mkquery.c: Likewise.
4593 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4595         * resolv/res_init.c (isascii): Do not define.  Use definition in
4596         <ctype.h>.
4597         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
4598         (LOG_AUTH): Remove.
4599         (SPRINTF): Remove, adjust caller.
4600         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
4602 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4604         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
4605         SUNSECURITY conditional.
4606         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
4608 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4610         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
4611         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
4612         Remove BSD-related preprocessor conditionals.
4613         * conf/portability.h: Remove.
4615 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4617         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
4618         * resolv/res_data.c: Likewise.
4620 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4622         * resolv/res_comp.c: Remove code conditional on __ultrix__.
4623         * resolv/res_data.c: Remove code conditional on ultrix.
4625 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4627         * resolv/res_init.c (RFC1535): Do not define.  Remove
4628         RFC1535 preprocessor conditionals.
4629         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
4630         because there configuration options which make the resolver
4631         behavior different.
4633 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4635         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
4636         RESOLVSORT preprocessor conditionals.
4637         * resolv/nss_dns/dns-host.c: Likewise.
4638         * resolv/res_init.c: Likewise.
4640 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4642         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
4643         is never defined.
4645 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4647         * inet/inet_lnaof.c: Remove SCSS keyword.
4648         * inet/inet_mkadr.c: Likewise.
4649         * inet/inet_net.c: Likewise.
4650         * inet/inet_netof.c: Likewise.
4651         * inet/rcmd.c: Likewise.
4652         * inet/rexec.c: Likewise.
4653         * inet/ruserpass.c: Likewise.
4655 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4657         * resolv/inet_addr.c: Remove _LIBC conditionals.
4658         * resolv/res_data.c: Likewise.
4659         * resolv/res_init.c: Likewise.
4660         * resolv/res_mkquery.c: Likewise.
4661         * resolv/res_libc.c: Update comment.
4662         * resolv/README: Update.
4664 2016-04-28  Florian Weimer  <fweimer@redhat.com>
4666         * resolv/gethnamaddr.c: Remove SCSS keyword.
4667         * resolv/herror.c: Likewise.
4668         * resolv/inet_addr.c: Likewise.
4669         * resolv/inet_net_ntop.c: Likewise.
4670         * resolv/inet_net_pton.c: Likewise.
4671         * resolv/inet_neta.c: Likewise.
4672         * resolv/inet_ntop.c: Likewise.
4673         * resolv/inet_pton.c: Likewise.
4674         * resolv/ns_date.c: Remove RCS keyword.
4675         * resolv/ns_name.c: Likewise.
4676         * resolv/ns_netint.c: Likewise.
4677         * resolv/ns_parse.c: Likewise.
4678         * resolv/ns_print.c: Likewise.
4679         * resolv/ns_samedomain.c: Likewise.
4680         * resolv/ns_ttl.c: Likewise.
4681         * resolv/nsap_addr.c: Likewise.
4682         * resolv/res_comp.c: Remove SCSS and RCS keyword.
4683         * resolv/res_data.c: Remove RCS keyword.
4684         * resolv/res_debug.c: Remove SCSS and RCS keyword.
4685         * resolv/res_init.c: Likewise.
4686         * resolv/res_mkquery.c: Likewise.
4687         * resolv/res_query.c: Likewise.
4688         * resolv/res_send.c: Likewise.
4690 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4692         * conform/data/stdio.h-data (fdopen): Expect also for
4693         [XPG3 || XPG4].
4695         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
4696         (fseeko): Likewise.
4697         (ftello): Likewise.
4698         (ftrylockfile): Likewise.
4699         (funlockfile): Likewise.
4700         (getc_unlocked): Likewise.
4701         (getchar_unlocked): Likewise.
4702         (putc_unlocked): Likewise.
4703         (putchar_unlocked): Likewise.
4705 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4707         [BZ #19868]
4708         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
4709         DNS packet syntax checks (which were not needed before).  Skip
4710         over non-PTR records.
4712 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4714         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
4715         definition.  Include <stddef.h> instead.
4717 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4719         [BZ #19831]
4720         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
4721         function.
4722         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
4723         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
4725 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4727         [BZ #19862]
4728         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
4729         (getanswer_r): Do not call syslog.
4730         (gaih_getanswer_slice): Likewise.
4731         * resolv/gethnamaddr.c (AskedForGot): Remove.
4732         (getanswer): Do not call syslog.
4733         (gethostbyaddr): Likewise.
4735 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
4737         * conform/data/signal.h-data (union sigval): Expect also if
4738         [XOPEN2K].
4739         (struct sigevent): Likewise.
4740         (SIGEV_NONE): Likewise.
4741         (SIGEV_SIGNAL): Likewise.
4742         (SIGEV_THREAD): Likewise.
4743         (SIGRTMIN): Likewise.
4744         (SIGRTMAX): Likewise.
4745         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
4746         variable.
4747         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
4749 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4751         [BZ #19830]
4752         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
4753         (gaih_getanswer_slice): Likewise.
4754         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
4755         Also check for availability of RR metadata.
4757 2016-04-27  Florian Weimer  <fweimer@redhat.com>
4759         [BZ #19825]
4760         * resolv/res_send.c (send_vc): Remove early *resplen2
4761         initialization.  Set *resplen2 on socket error.  Call
4762         close_and_return_error for other errors.
4764 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
4766         * sysdeps/unix/sysv/linux/netiucv/iucv.h
4767         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
4768         (SCM_IUCV_TRGCLS): New define.
4770 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4772         [BZ #20005]
4773         * libio/fmemopen.c (fmemopen_write): Update internal position after
4774         write.
4775         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
4776         * stdio-common/tst-fmemopen4.c: New file..
4778 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
4780         [BZ #19996]
4781         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
4782         not [__USE_XOPEN2K].
4783         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
4784         variable.
4786         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
4787         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
4788         variable.
4790         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
4791         [__USE_XOPEN2K8].
4792         [__USE_LARGEFILE64] (off64_t): Likewise.
4793         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
4794         variable.
4796 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
4798         [BZ #19989]
4799         * libio/stdio.h (cuserid): Do not declare if
4800         [__USE_XOPEN2K && !__USE_GNU].
4801         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
4802         variable.
4804 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4806         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4807         (sysdep_routines): Add P8 and PPC64 strcspn targets.
4808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4809         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
4810         ifunc'ed strcspn.
4811         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
4812         [EALIGN]: Removed.
4813         [END]: Likewise
4814         [STRSPN]: Define instead of the above to control symbol name.
4815         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
4816         New file.
4817         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
4818         Likewise.
4819         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
4820         Likewise.
4821         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
4822         Likewise.
4823         * sysdeps/powerpc/powerpc64/power8/strspn.S:
4824         [INITIAL_MASK]: New macro.
4825         [STRCSPN]: Likewise.
4826         [UPDATE_MASK]: Likewise.
4827         [USE_AS_STRCSPN]: Lisewise.
4829 2016-04-25  Florian Weimer  <fweimer@redhat.com>
4831         [BZ #19931]
4832         * stdio-common/tst-vfprintf-width-prec.c: New file.
4833         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
4834         (tests-special): Add tst-vfprintf-width-prec-mem.out.
4835         (generated): Add mtrace-related files.
4836         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
4837         (tst-%-mem.out): New pattern rule, replaces
4838         tst-printf-bz18872-mem.out.
4839         * stdio-common/vfprintf.c (vfprintf): When handling a precision
4840         specifier, deallocate any previously allocated work buffer.
4842 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
4844         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
4845         Add nop before __startcontext, add explaining comments.
4847 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
4849         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
4850         any more. Notably since IPV6_PKTINFO has been reintroduced with a
4851         completely different API.
4853         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
4854         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
4855         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
4856         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
4857         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
4858         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
4859         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
4860         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
4861         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
4862         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
4864 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
4866         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
4868 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
4870         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
4871         when it is the default of 0.
4873 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4875         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
4876         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4877         (sysdep_routines): Add new strcasestr targets.
4878         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4879         (__libc_ifunc_impl_list): Likewise.
4880         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
4881         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
4882         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
4883         * sysdeps/powerpc/powerpc64/power8/Makefile:
4884         New file to add strcasestr-ppc64 to sysdep_routines.
4885         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
4886         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
4888 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
4890         * benchtests/Makefile (wcsmbs-benchset): Include only for
4891         native builds and runs.
4892         (LOCALES): Likewise.
4893         (bench-build): Build timing-type here instead of the bench
4894         target.  Generate locale only for native builds.
4895         * benchtests/README: Add note for cross-building.
4897         * benchtests/Makefile (bench-clean): Clean up extra-objs.
4899         * benchtests/README: Update README to include instructions on
4900         using bench-build.
4902         * Makefile.in (bench-build): New target.
4903         * Rules (PHONY): Add bench-build target.
4904         * benchtests/Makefile (bench): Depend on bench-build.
4905         (bench-build): New target.
4907 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4909         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
4910         profil_reply_port.
4911         (profile_waiter): Do not initialize profil_reply_port.
4912         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
4913         frequency instead of tick length in us.
4915 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
4917         [BZ #18712]
4918         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
4919         (__old_mempcpy_small): Likewise.
4920         (__old_strcpy_small): Likewise.
4921         (__old_stpcpy_small): Likewise.
4922         (__old_strpbrk_c2): Fix compat symbol name.
4923         (__old_strpbrk_c3): Likewise.
4924         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
4925         (__mempcpy_small): Remove.
4926         (__strcpy_small): Remove.
4927         (__stpcpy_small): Remove.
4929 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
4931         [BZ #19400]
4932         * locale/iso-639.def: Add the Talossan/tzl language.
4934 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4936         [BZ #16983]
4937         * locale/programs/ld-address.c (address_finish): Update postal_fmt
4938         comment.  Add "ln" to strchr check on postal_fmt.
4940 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
4942         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
4943         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
4944         tel_dom_fmt.
4946 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
4948         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
4949         (sysdep_routines): Added __strlen_power8.
4950         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
4951         __strlen_power8 entry.
4952         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
4953         Implementation for POWER8.
4954         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
4955         for __strlen_power8.
4956         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
4957         Implementation for POWER8.
4959 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
4961         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
4963 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
4965         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
4966         Goldmont and Airmont processors.
4968 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
4970         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
4971         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
4972         (__STRING2_SMALL_GET32): Remove.
4973         (memset): Remove.
4974         (__memset_1): Remove.
4975         (__memset_gc): Remove.
4976         (__mempcpy): Remove.
4977         (mempcpy): Remove.
4978         (__mempcpy_args): Remove.
4979         (strchr): Remove.
4980         (strcpy): Remove.
4981         (strcpy_args): Remove.
4982         (__stpcpy_args): Remove.
4983         (__strcmp_cc): Remove.
4984         (__strcmp_gc): Remove.
4985         (strstr): Remove.
4987 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
4989         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
4990         * nis/nis_call.c (nis_server_cache_add): Likewise.
4992 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4994         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
4996 2016-04-14  Florian Weimer  <fweimer@redhat.com>
4998         * malloc/arena.c (__malloc_fork_lock_parent)
4999         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5000         internal_function attribute.
5002 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5004         * stdio-common/printf_fp.c (__printf_fp_l):
5005         Rename ___printf_fp_l to __printf_fp_l and
5006         remove strong alias. Use libc_hidden_def instead
5007         of ldbl_hidden_def macro.
5009 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5011         Remove malloc hooks from fork handler.  They are no longer needed
5012         because malloc runs right before fork, and no malloc calls from
5013         other fork handlers are not possible anymore.
5014         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5015         declarations.
5016         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5017         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5018         (atfork_recursive_cntr): Remove.
5019         (__malloc_fork_lock_parent): Do not override malloc hooks and
5020         thread_arena.
5021         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5022         thread_arena.
5023         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5024         thread_arena instead of save_arena.
5026 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5028         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5029         (thread_atfork, thread_atfork_static): Remove.
5030         * sysdeps/mach/hurd/malloc-machine.h:
5031         (thread_atfork, thread_atfork_static): Remove.
5033 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5035         [BZ #19431]
5036         Run the malloc fork handler as late as possible to avoid deadlocks.
5037         * malloc/malloc-internal.h: New file.
5038         * malloc/malloc.c: Include it.
5039         * malloc/arena.c (ATFORK_MEM): Remove.
5040         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5041         Update comment.
5042         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5043         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5044         Remove outdated comment.
5045         (ptmalloc_init): Do not call thread_atfork.  Remove
5046         thread_atfork_static.
5047         * malloc/tst-malloc-fork-deadlock.c: New file.
5048         * Makefile (tests): Add tst-malloc-fork-deadlock.
5049         (tst-malloc-fork-deadlock): Link against libpthread.
5050         * manual/memory.texi (Aligned Memory Blocks): Update safety
5051         annotation comments.
5052         * sysdeps/nptl/fork.c (__libc_fork): Call
5053         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5054         __malloc_fork_unlock_child.
5055         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5057 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5059         [BZ #19613]
5060         Remove union wait.
5061         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5062         (w_stopsig, w_stopval): Remove.
5063         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5064         stat_loc argument.
5065         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5066         (__WAIT_STATUS_DEFN): Remove.
5067         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5068         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5069         (wait, wait3, wait4): Use int * for the stat_loc argument.
5070         * posix/wait.c (__wait): Likewise.
5071         * posix/wait3.c (__wait3): Likewise.
5072         * posix/wait4.c (__wait4): Likewise.
5073         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5074         (__WAIT_STATUS_DEFN): Remove.
5075         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5076         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5077         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5078         argument.
5079         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5080         * sysdeps/posix/wait3.c (__wait3): Likewise.
5081         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5082         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5083         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5084         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5085         stat_loc argument.
5086         * manual/process.texi (BSD Wait Functions): Remove union wait.
5088 2016-04-13  Andreas Schwab  <schwab@suse.de>
5090         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5091         (test-extras): Add tst-tlsalign-vars.
5092         * math/Makefile: Wrap long lines.
5093         (libm-vec-test-wrappers): Define.
5094         (test-extras): Add $(libm-vec-test-wrappers).
5095         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5096         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5097         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5098         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5099         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5100         (extra-test-objs): Add corresponding objects.
5102 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5104         [BZ #19928]
5105         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5106         New.
5107         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5108         times of shared cache size.
5109         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5110         (VMOVNT): New.
5111         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5112         (VMOVNT): Likewise.
5113         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5114         (VMOVNT): Likewise.
5115         (VMOVU): Changed to movups for smaller code sizes.
5116         (VMOVA): Changed to movaps for smaller code sizes.
5117         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5118         comments.
5119         (PREFETCH): New.
5120         (PREFETCH_SIZE): Likewise.
5121         (PREFETCHED_LOAD_SIZE): Likewise.
5122         (PREFETCH_ONE_SET): Likewise.
5123         Rewrite to use forward and backward loops, which move 4 vector
5124         registers at a time, to support overlapping addresses and use
5125         non temporal store if size is above the threshold and there is
5126         no overlap between destination and source.
5128 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5130         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5131         Include dl-vdso.
5132         * sysdeps/unix/sysv/linux/mips/Versions: Add
5133         __vdso_clock_gettime.
5134         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5135         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5136         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5137         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5138         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5139         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5140         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5141         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5142         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5144 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5146         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5147         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5148         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5149         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5150         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5151         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5154         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5156         syscalls generation.
5157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5158         [__NR_pwrite64] (__NR_write): Remove define.
5159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5160         [__NR_pwrite64] (__NR_write): Remove define.
5161         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5162         Remove define.
5163         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
5164         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
5165         Remove define.
5166         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
5167         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
5168         Linux implementation as base.
5169         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5171         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
5172         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
5173         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5174         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
5176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5177         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
5178         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
5179         syscall generation.
5180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5181         [__NR_pread64] (__NR_pread): Remove define.
5182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
5183         [__NR_pread64] (__NR_pread): Likewise.
5184         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
5185         define.
5186         (__libc_pread): Use SYSCALL_LL macro on offset argument.
5187         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
5188         Remove define.
5189         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
5190         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
5191         Linux implementation as base.
5192         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5193         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5194         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5196         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
5197         definition.
5198         (__ALIGNMENT_COUNT): Likewise.
5199         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
5200         (__ALIGNMENT_COUNT): Likewise.
5201         (SYSCALL_LL): New define.
5202         (SYSCALL_LL64): Likewise.
5203         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
5204         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
5205         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
5206         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
5208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5209         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
5210         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5211         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5212         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5213         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
5215 2016-04-11  Florian Weimer  <fweimer@redhat.com>
5217         [BZ #19865]
5218         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
5219         original buffer before retry.
5221 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5223         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
5224         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
5225         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
5226         GLRO(dl_auxv) list.
5227         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
5228         including <ldsodefs.h>.
5229         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
5231 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
5233         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
5234         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
5235         $(CPPFLAGS).
5237 2016-04-09  Khem Raj  <raj.khem@gmail.com>
5239         [BZ #17950]
5240         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
5241         Add -mfpmath=387.
5243 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
5245         * sysdeps/i386/configure.ac: Change == to = when calling test.
5246         * sysdeps/x86_64/configure.ac: Likewise.
5247         * sysdeps/i386/configure: Regenerated.
5248         * sysdeps/x86_64/configure: Likewise.
5250 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
5252         [BZ #16137]
5253         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
5254         * benchtests/bench-strcoll.c (input_files): Likewise.
5255         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
5256         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
5257         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
5259 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
5261         [BZ #19929]
5262         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
5263         [__USE_XOPEN2K8 && !__USE_GNU].
5264         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
5265         variable.
5267         [BZ #19925]
5268         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
5269         define if [!__USE_MISC && __USE_XOPEN2K].
5270         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
5271         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
5272         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
5273         Likewise.
5274         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
5275         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
5276         variable.
5277         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5279 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5281         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5282         (sysdep_routines): Add new strspn targets.
5283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5284         (__libc_ifunc_impl_list): Add strspn.
5285         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5286         New file.
5287         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
5288         Likewise.
5289         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
5290         Likewise.
5291         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5292         Likewise.
5294 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5296         * misc/hsearch_r.c: Include <limits.h>.
5298 2016-04-07  Florian Weimer  <fweimer@redhat.com>
5300         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
5302 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5304         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5305         (MEMCPY_SYMBOL): New.
5306         (MEMPCPY_SYMBOL): Likewise.
5307         (MEMMOVE_CHK_SYMBOL): Likewise.
5308         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
5309         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
5310         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
5311         Provide alias for memcpy in libc.a and ld.so.
5313 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5315         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5316         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
5317         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
5318         Disabled fro now.
5319         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
5320         symbols.  Properly check USE_MULTIARCH on __memset symbols.
5322 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
5324         * benchtests/Makefile (string-benchset): Add memcpy-large,
5325         memmove-large and memset-large.
5326         * benchtests/bench-memcpy-large.c: New file.
5327         * benchtests/bench-memmove-large.c: Likewise.
5328         * benchtests/bench-memmove-large.c: Likewise.
5329         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
5331 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5333         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
5334         32-bit displacement to avoid long nop between instructions.
5336 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
5338         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
5339         a comment on VMOVU and VMOVA.
5341 2016-04-04  Florian Weimer  <fweimer@redhat.com>
5343         [BZ #19633]
5344         Use specified locale for number formatting in strfmon_l.
5345         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
5346         (__nl_lookup_word): New inline functions.
5347         * include/printf.h (__print_fp_l): Declare.
5348         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
5349         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
5350         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
5351         (___printf_fp): New function.
5352         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
5353         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
5354         * stdlib/tst-strfmon_l.c (do_test): New test.
5355         * stdlib/Makefile (tests): Add kt.
5356         (LOCALES): Build additional locales.
5357         (tst-strfmon_l.out): Require locales.
5359 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5361         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
5362         if not in libc.
5363         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5364         Likewise.
5365         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
5366         Likewise.
5367         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5368         Likewise.
5370 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
5372         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5373         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
5374         with unaligned_erms.
5375         (__memmove_erms): Skip if source == destination.
5376         (__memmove_unaligned_erms): Don't check source == destination
5377         first.
5379 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5381         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
5382         bit_arch_Fast_Copy_Backward for Intel Core proessors.
5384 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5386         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
5387         * string/strspn.c (strspn): Likewise.
5389 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5391         * benchtests/bench-memset.c (do_test): Support 64-byte
5392         alignment.
5393         (test_main): Test 64-byte alignment.
5395 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5397         * benchtests/bench-memmove.c (test_main): Test 64-byte
5398         alignment.
5400 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
5402         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
5404 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5406         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
5407         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
5408         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
5410         * string/strpbrk.c (strpbrk): Rewrite function.
5411         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
5412         (__strpbrk_c2): Likewise.
5413         (__strpbrk_c3): Likewise.
5414         * string/string-inlines.c
5415         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
5416         Likewise.
5417         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
5418         Likewise.
5420         * string/strspn.c (strcspn): Rewrite function.
5421         * string/bits/string2.h (strspn): Use __builtin_strcspn.
5422         (__strspn_c1): Remove inline function.
5423         (__strspn_c2): Likewise.
5424         (__strspn_c3): Likewise.
5425         * string/string-inlines.c
5426         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
5427         compatibility symbol.
5428         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
5429         Likewise.
5430         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
5431         Likewise.
5432         * string/string-inlines.c: Include generic version.
5434 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
5435             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5437         * string/Version (libc): Add GLIBC_2.24.
5438         * string/strcspn.c (strcspn): Rewrite function.
5439         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
5440         (__strcspn_c1): Remove inline function.
5441         (__strcspn_c2): Likewise.
5442         (__strcspn_c3): Likewise.
5443         * string/string-inline.c
5444         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
5445         compatibility symbol.
5446         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
5447         Likewise.
5448         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
5449         Likewise.
5450         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
5452 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5454         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
5455         Use ahi instead of aghi to adjust stack pointer.
5457 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5459         [BZ #19853]
5460         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
5461         TEST to take significant digits as second parameter.
5462         [TEST]: Redefine in terms of TEST_N taking 30
5463         significant digits.
5464         (do_test): Add test case to demonstrate precision
5465         failure in the ldbl-128ibm printf.
5466         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
5467         (__mpn_extract_long_double): Carry 7 extra intermediate
5468         bits of precision to aide computing difference when
5469         signs differ.
5471 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5473         [BZ #19881]
5474         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5475         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
5476         memset-avx512-unaligned-erms.
5477         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5478         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
5479         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
5480         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
5481         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
5482         __memset_sse2_unaligned_erms, __memset_erms,
5483         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
5484         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5485         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
5486         file.
5487         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5488         Likewise.
5489         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
5490         Likewise.
5491         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
5492         Likewise.
5494 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
5496         [BZ #19776]
5497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5498         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
5499         memmove-avx512-unaligned-erms.
5500         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5501         (__libc_ifunc_impl_list): Test
5502         __memmove_chk_avx512_unaligned_2,
5503         __memmove_chk_avx512_unaligned_erms,
5504         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
5505         __memmove_chk_sse2_unaligned_2,
5506         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
5507         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
5508         __memmove_avx512_unaligned_erms, __memmove_erms,
5509         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
5510         __memcpy_chk_avx512_unaligned_2,
5511         __memcpy_chk_avx512_unaligned_erms,
5512         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
5513         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
5514         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
5515         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
5516         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
5517         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
5518         __mempcpy_chk_avx512_unaligned_erms,
5519         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
5520         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
5521         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
5522         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
5523         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
5524         __mempcpy_erms.
5525         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
5526         file.
5527         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5528         Likwise.
5529         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5530         Likwise.
5531         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
5532         Likwise.
5534 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5536         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
5537         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
5538         (La_s390_64_regs): Likewise.
5539         (La_s390_32_retval): Append vector register lrv_v24.
5540         (La_s390_64_retval): Likeweise.
5541         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
5542         Handle extended structs La_s390_32_regs and La_s390_32_retval.
5543         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
5544         Handle extended structs La_s390_64_regs and La_s390_64_retval.
5546 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5548         [BZ #19916]
5549         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
5550         to create a non-vector/vector version for _dl_runtime_resolve and
5551         _dl_runtime_profile. Move implementation to ...
5552         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
5553         (_dl_runtime_resolve) Save and restore fpr/vrs.
5554         (_dl_runtime_profile) Save and restore vrs and fix some issues
5555         if _dl_call_pltexit is called.
5556         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
5557         Choose the correct resolver function if running on a machine with vx.
5558         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
5559         to create a non-vector/vector version for _dl_runtime_resolve and
5560         _dl_runtime_profile. Move implementation to ...
5561         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
5562         (_dl_runtime_resolve) Save and restore fpr/vrs.
5563         (_dl_runtime_profile) Save and restore vrs and fix some issues
5564         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
5565         Choose the correct resolver function if running on a machine with vx.
5567 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5569         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
5571 2016-03-31  Florian Weimer  <fweimer@redhat.com>
5573         [BZ #19509]
5574         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
5575         skip_map != NULL.
5576         * elf/tst-dlsym-error.c: New file.
5577         * elf/Makefile (tests): Add tst-dlsym-error.
5578         (tst-dlsym-error): Link against libdl.
5580 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
5582         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5583         (__ASSUME_FUTIMESAT): Remove macro.
5584         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
5586 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5588         [BZ #19879]
5589         CVE-2016-3075
5590         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
5591         copy name.
5593 2016-03-29  Florian Weimer  <fweimer@redhat.com>
5595         [BZ #19837]
5596         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
5597         error if parse_line fails.
5599 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5601         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
5602         (index_cpu_ERMS): Likewise.
5603         (reg_ERMS): Likewise.
5605 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
5607         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
5608         PER_LINUX_FDPIC): Add.
5610 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5613         memcpy-avx512-no-vzeroupper.
5614         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
5615         to ...
5616         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
5617         (MEMCPY): Don't define.
5618         (MEMCPY_CHK): Likewise.
5619         (MEMPCPY): Likewise.
5620         (MEMPCPY_CHK): Likewise.
5621         (MEMPCPY_CHK): Renamed to ...
5622         (__mempcpy_chk_avx512_no_vzeroupper): This.
5623         (MEMPCPY_CHK): Renamed to ...
5624         (__mempcpy_chk_avx512_no_vzeroupper): This.
5625         (MEMCPY_CHK): Renamed to ...
5626         (__memmove_chk_avx512_no_vzeroupper): This.
5627         (MEMCPY): Renamed to ...
5628         (__memmove_avx512_no_vzeroupper): This.
5629         (__memcpy_avx512_no_vzeroupper): New alias.
5630         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
5632 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5634         [BZ #18858]
5635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5636         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
5637         and mempcpy-avx512-no-vzeroupper.
5638         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
5639         New.
5640         (MEMPCPY): Likewise.
5641         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
5642         (MEMPCPY_CHK): New.
5643         (MEMPCPY): Likewise.
5644         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
5645         (MEMPCPY): Likewise.
5646         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
5647         (MEMPCPY): Likewise.
5648         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
5649         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
5650         Likewise.
5651         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
5652         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
5654 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
5655              Amit Pawar  <Amit.Pawar@amd.com>
5657         [BZ #19583]
5658         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5659         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
5660         processors.  Set Fast_Copy_Backward for AMD Excavator
5661         processors.
5662         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
5663         New.
5664         (index_arch_Fast_Unaligned_Copy): Likewise.
5665         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
5666         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
5668 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5670         [BZ #19791]
5671         * resolv/res_send.c (close_and_return_error): New function.
5672         (send_dg): Initialize *resplen2 after reopen failure.  Call
5673         close_and_return_error for error returns.  On error paths without
5674         __res_iclose, initialze *resplen2 explicitly.  Update comment for
5675         successful return.
5677 2016-03-25  Florian Weimer  <fweimer@redhat.com>
5679         [BZ# 19860]
5680         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
5681         zero if the compiler does not provide the AVX512F bit.
5683 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
5685         [BZ #19848]
5686         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
5687         from 8 to 4.
5688         (__ieee754_powl): Compare integer exponent against 4 not 8.
5689         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
5690         from 8 to 4.
5691         (__ieee754_powl): Compare integer exponent against 4 not 8.
5692         * math/auto-libm-test-in: Add more tests of pow.
5693         * math/auto-libm-test-out: Regenerated.
5694         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
5695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5697 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5699         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
5700         Make code unconditional.
5701         [!__NR_utimensat]: Remove conditional code.
5702         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
5703         Make code unconditional.
5704         [!__NR_utimensat]: Remove conditional code.
5705         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
5706         Make code unconditional.
5707         [!__NR_utimensat]: Remove conditional code.
5709 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
5711         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
5712         Make code unconditional.
5714 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
5716         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
5717         call-clobbered %eax on retry path.
5718         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
5720 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5722         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
5723         Don't set %rcx twice before "rep movsb".
5725 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
5727         [BZ #19583]
5728         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
5729         inline.  Check family before setting family, model and
5730         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
5731         bits here.
5732         (init_cpu_features): Replace HAS_CPU_FEATURE and
5733         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
5734         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
5735         for Intel processors with usable AVX2.  Call get_common_indeces
5736         for other processors with family == NULL.
5737         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
5738         (CPU_FEATURES_ARCH_P): Likewise.
5739         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
5740         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
5742 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5744         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
5745         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
5746         $(shared-thread-library) instead of hardcoding the path to libpthread.
5748 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
5750         * sysdeps/unix/sysv/linux/kernel-features.h
5751         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
5752         * sysdeps/unix/sysv/linux/getdents.c
5753         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
5754         [!have_no_getdents64_defined]: Likewise.
5755         (__GETDENTS): Remove __have_no_getdents64 conditional.
5757 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
5759         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
5760         Remove macro.
5761         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
5762         <kernel-features.h>.
5763         (signalfd) [__NR_signalfd4]: Make code unconditional.
5764         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
5766 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5768         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
5769         style.
5771 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
5773         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
5774         (__pthread_enable_asynccancel): Use JUMPTARGET to call
5775         __pthread_unwind.
5776         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
5777         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
5778         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
5779         (__condvar_cleanup1): Likewise.
5781 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
5783         [BZ #19822]
5784         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
5785         move it to the final $@ location.
5787 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5789         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
5790         access where posix_spawn success and pid argument is null.
5791         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
5792         success case.
5794 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
5796         * sysdeps/mach/hurd/i386/c++-types.data: New file.
5798         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
5800         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
5801         and __fcntl.
5802         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
5803         __fcntl only.
5804         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
5805         adding attribute_hidden to __open and __fcntl.
5807         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
5808         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
5809         depend on libc-modules.h,
5810         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
5812 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
5814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
5815         Remove macro.
5816         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
5817         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
5818         entry.
5820         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
5821         Remove macro.
5822         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
5823         include <kernel-features.h>.
5824         [!__ASSUME_FALLOCATE]: Remove conditional code.
5825         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
5827 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
5829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
5830         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
5831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
5832         (_ZGVdN4v_cos_avx2): Likewise.
5833         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
5834         (_ZGVdN4v_cos): Likewise.
5835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
5836         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
5837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
5838         (_ZGVdN4v_exp_avx2): Likewise.
5839         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
5840         (_ZGVdN4v_exp): Likewise.
5841         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
5842         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
5843         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
5844         (_ZGVdN4v_log_avx2): Likewise.
5845         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
5846         (_ZGVdN4v_log): Likewise.
5847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
5848         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
5849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
5850         (_ZGVdN4vv_pow_avx2): Likewise.
5851         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
5852         (_ZGVdN4vv_pow): Likewise.
5853         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
5854         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
5855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
5856         (_ZGVdN4v_sin_avx2): Likewise.
5857         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
5858         (_ZGVdN4v_sin): Likewise.
5859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
5860         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
5861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
5862         (_ZGVdN4vvv_sincos_avx2): Likewise.
5863         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
5864         (_ZGVdN4vvv_sincos): Likewise.
5865         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
5866         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
5867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
5868         (_ZGVbN4v_cosf_sse4): Likewise.
5869         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
5870         (_ZGVdN8v_cosf_avx2): Likewise.
5871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
5872         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
5873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
5874         (_ZGVbN4v_expf_sse4): Likewise.
5875         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
5876         (_ZGVdN8v_expf_avx2): Likewise.
5877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
5878         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
5879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
5880         (_ZGVbN4v_logf_sse4): Likewise.
5881         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
5882         (_ZGVdN8v_logf_avx2): Likewise.
5883         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
5884         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
5885         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
5886         (_ZGVbN4vv_powf_sse4): Likewise.
5887         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
5888         (_ZGVdN8vv_powf_avx2): Likewise.
5889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
5890         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
5891         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
5892         (_ZGVbN4vvv_sincosf_sse4): Likewise.
5893         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
5894         (_ZGVdN8vvv_sincosf_avx2): Likewise.
5895         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
5896         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
5897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
5898         (_ZGVbN4v_sinf_sse4): Likewise.
5899         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
5900         (_ZGVdN8v_sinf_avx2): Likewise.
5901         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5902         Use JUMPTARGET to call callee.
5903         (WRAPPER_IMPL_SSE2_ff): Likewise.
5904         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5905         (WRAPPER_IMPL_AVX): Likewise.
5906         (WRAPPER_IMPL_AVX_ff): Likewise.
5907         (WRAPPER_IMPL_AVX_fFF): Likewise.
5908         (WRAPPER_IMPL_AVX512): Likewise.
5909         (WRAPPER_IMPL_AVX512_ff): Likewise.
5910         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
5911         Likewise.
5912         (WRAPPER_IMPL_SSE2_ff): Likewise.
5913         (WRAPPER_IMPL_SSE2_fFF): Likewise.
5914         (WRAPPER_IMPL_AVX): Likewise.
5915         (WRAPPER_IMPL_AVX_ff): Likewise.
5916         (WRAPPER_IMPL_AVX_fFF): Likewise.
5917         (WRAPPER_IMPL_AVX512): Likewise.
5918         (WRAPPER_IMPL_AVX512_ff): Likewise.
5919         (WRAPPER_IMPL_AVX512_fFF): Likewise.
5921 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5923         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
5924         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
5925         qualifier.
5926         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
5927         internal_function qualifiers.
5929 2016-03-15  Carlos O'Donell <carlos@redhat.com>
5931         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
5932         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
5933         * math/atest-exp.c (exp_mpn): Mark chk unused.
5934         * math/atest-exp2.c (exp_mpn): Likwise.
5935         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
5936         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
5938 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
5940         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
5941         Remove macro.
5942         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
5943         <kernel-features.h>.
5944         [__NR_ppoll]: Make code unconditional.
5945         [!__ASSUME_PPOLL]: Remove conditional code.
5947         * sysdeps/unix/sysv/linux/kernel-features.h
5948         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
5949         (__ASSUME_ACCEPT4): Likewise.
5950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5951         Define.
5952         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
5953         Likewise.
5954         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5955         Likewise.
5956         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
5957         Likewise.
5958         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
5959         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
5960         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5961         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5962         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5963         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5964         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5965         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5966         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5967         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5968         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
5969         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5970         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5971         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5972         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5973         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5974         Likewise.
5975         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5976         Likewise.
5977         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5978         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5979         0x040300].
5980         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5981         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5982         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5983         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5984         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5985         0x030300].
5986         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
5987         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5988         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5989         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
5990         0x040300].
5991         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5992         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5993         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5994         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5995         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5996         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
5997         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
5998         0x030300].
5999         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6000         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6001         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6002         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6003         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6004         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6005         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6006         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6007         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6008         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6009         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6010         0x040300].
6011         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6012         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6013         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6014         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6016         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6017         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6018         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6019         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6020         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6022         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6023         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6024         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6025         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6026         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6027         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6028         Likewise.
6029         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6030         Likewise.
6032 2016-03-15  Andreas Schwab  <schwab@suse.de>
6034         [BZ #19257]
6035         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6036         statp->_u._ext.nscount as loop count.
6038 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6040         * math/test-signgam-finite-c99.c: Also #undef
6041         __LIBC_INTERNAL_MATH_INLINES.
6042         * math/test-signgam-main.c: Likewise.
6044 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6046         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6047         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6048         (MADV_FREE): Likewise.
6049         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6050         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6051         EPOLLEXCLUSIVE.
6053 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6055         * timezone/README: Remove mention of checktab.awk. Mention wiki
6056         SharedSourceFiles.
6058 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6060         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6061         WUNTRACED.
6063 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6065         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6066         order to match the type of p when calling atomic_exchange_acq().
6068 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6070         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6071         cfi_offset calls.
6072         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6073         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6074         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6075         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6076         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6078 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6080         * timezone/checktab.awk: Removed.
6082 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6084         * manual/math.texi (Errors in Math Functions): Document relaxed
6085         accuracy goals for IBM long double.
6086         * math/libm-test.inc (test_exceptions): Always allow spurious
6087         "underflow" and "inexact" exceptions for IBM long double.
6089 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6091         [BZ #19762]
6092         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6093         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6094         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6095         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6096         (bit_arch_*): This for feature array.
6097         (bit_*): Renamed to ...
6098         (bit_cpu_*): This for cpu array.
6099         (index_*): Renamed to ...
6100         (index_arch_*): This for feature array.
6101         (index_*): Renamed to ...
6102         (index_cpu_*): This for cpu array.
6103         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6104         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6105         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6106         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6107         bit_##name with index_cpu_##name and bit_cpu_##name.
6108         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6109         bit_##name with index_arch_##name and bit_arch_##name.
6111 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6113         [BZ #19792]
6114         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6115         Terminate FDE before return label.
6117 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6119         [BZ #19790]
6120         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6121         (rintl): Define as macro.
6122         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6123         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6124         of fesetround.  Ensure results are evaluated before end of scope.
6125         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6126         USE_AS_NEARBYINTL and include s_rintl.c.
6127         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6128         Disable exception traps in new environment.
6129         (libc_feholdsetround_ppc_ctx): Likewise.
6131 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6133         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6134         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6135         (tst_audit10_aux) [__AVX512F__]: ... here.
6137 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6139         * include/sys/auxv.h: New file.
6141 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6143         [BZ #19759]
6144         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6146 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6148         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6149         operand modifier.
6150         (feclearexcept): Likewise.
6152 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6154         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6155         to reflect the entire 32-bit HWCAP.
6156         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6157         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6159 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6161         [BZ #19783]
6162         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
6163         $(test-via-rtld-prefix).
6164         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
6166 2016-03-08  Florian Weimer  <fweimer@redhat.com>
6168         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
6169         union wait.  Report any non-zero exit status as error.
6171 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6173         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
6174         configured with --enable-hardcoded-path-in-tests.
6176 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
6178         [BZ #19677]
6179         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6180         (__ieee754_remainderl): Put zero low parts in canonical form.
6181         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
6182         file.  Based on
6183         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
6184         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
6185         with wrapper round test-fmodrem-ldbl-128ibm.c.
6186         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
6187         file.
6188         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
6189         Likewise.
6190         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6191         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
6193 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6195         [BZ #19610]
6196         * elf/ldconfig.c (opt_link): Update comment.
6197         (options): Update help string for option -X.
6198         (search_dir): Unlink stale symbolic link only if updating symbolic
6199         links.
6200         * elf/tst-ldconfig-X.sh: New file.
6201         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
6202         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
6204 2016-03-07  Andreas Schwab  <schwab@suse.de>
6206         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
6207         needed arguments.
6209 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
6211         [BZ #15333]
6212         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
6213         to lstat64.
6215 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6217         * libio/filedoalloc.c (isatty): Remove.
6218         (local_isatty): Add comment.  Call __isatty directly.
6219         (_IO_file_doallocate): Update comment.  Assume _LIBC.
6220         * libio/wfiledoalloc.c (isatty): Remove.
6221         (_IO_wfile_doallocate): Update comment.
6223 2016-03-07  Florian Weimer  <fweimer@redhat.com>
6225         [BZ #19269]
6226         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
6227         tst-audit4-aux.o.
6228         (tst-audit10): Depend on tst-audit10-aux.o.
6229         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
6230         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
6231         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
6232         instead of inline AVX code.
6233         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
6234         instead of inline AVX512 code.
6235         * sysdeps/x86_64/tst-audit4-aux.c: New file
6236         * sysdeps/x86_64/tst-audit10-aux.c: New file
6238         [BZ #19648]
6239         * test-skeleton.c (main): Do not set RLIMIT_DATA.
6241 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6243         [BZ #14750]
6244         [BZ #10354]
6245         [BZ #18433]
6246         * include/sched.h (__clone): Add hidden prototype.
6247         (__clone2): Likewise.
6248         * include/unistd.h (__dup): Likewise.
6249         * posix/Makefile (tests): Add tst-spawn2.
6250         * posix/tst-spawn2.c: New file.
6251         * sysdeps/posix/dup.c (__dup): Add hidden definition.
6252         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
6253         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
6254         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
6255         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
6256         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
6257         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
6258         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
6259         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
6260         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
6261         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
6263         Likewise.
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6265         Likewise.
6266         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
6267         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
6268         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
6269         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
6270         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
6271         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
6272         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
6273         * sysdeps/unix/sysv/linux/nptl-signals.h
6274         (____nptl_is_internal_signal): New function.
6275         * sysdeps/unix/sysv/linux/spawni.c: New file.
6277         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
6278         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
6279         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
6280         * posix/tst-execvp2.c (do_test): Likewise.
6281         * posix/tst-execvp3.c (do_test): Likewise.
6282         * posix/tst-execvp4.c (do_test): Likewise.
6283         * posix/tst-execvpe1.c: New file.
6284         * posix/tst-execvpe2.c: Likewise.
6285         * posix/tst-execvpe3.c: Likewise.
6286         * posix/tst-execvpe4.c: Likewise.
6287         * posix/tst-execvpe5.c: Likewise.
6288         * posix/tst-execvpe6.c: Likewise.
6290         [BZ #19534]
6291         * posix/execl.c (execl): Remove dynamic memory allocation.
6292         * posix/execle.c (execle): Likewise.
6293         * posix/execlp.c (execlp): Likewise.
6295 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6297         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
6298         Replace .text with .text.avx512.
6299         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
6300         Likewise.
6302 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
6304         * sysdeps/generic/libnsl.abilist: New file.
6305         * sysdeps/generic/libutil.abilist: New file.
6307 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
6309         [BZ #19762]
6310         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
6311         HAS_ARCH_FEATURE with Fast_Rep_String.
6312         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
6313         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
6314         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
6315         Likewise.
6316         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
6317         Likewise.
6318         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
6319         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
6320         Likewise.
6321         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
6322         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
6323         Likewise.
6325 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6327         [BZ #19745]
6328         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
6329         with *%rax in call.
6331 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6333         [BZ #19745]
6334         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
6335         with *__libc_start_main@GOTPCREL(%rip) in call.
6337 2016-03-04  Roland McGrath  <roland@hack.frob.com>
6339         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
6340         inside conditional for nonempty $(CXX).
6342         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
6343         nonempty.
6345         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
6346         to test for empty $(CXX) rather than $(CXX) of "no".
6348 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
6350         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
6352 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
6353             H.J. Lu  <hongjiu.lu@intel.com>
6355         [BZ #18880]
6356         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
6357         instead of Slow_BSF, and also check for Fast_Copy_Backward to
6358         enable __memcpy_ssse3_back.
6360 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6362         [BZ #19758]
6363         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6364         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
6366 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
6368         [BZ #19490]
6369         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
6370         (__fentry__): Likewise.
6372 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
6374         * gmon/Makefile (noprof): Add $(sysdep_noprof).
6375         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
6377 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6379         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
6380         __mcount_internal directly.
6381         (C_LABEL(__fentry__)): Likewise.
6382         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
6383         directly.
6385 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
6387         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
6388         (__start_context): Call __setcontext directly.
6390 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
6392         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6393         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6394         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
6395         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6397         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6398         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
6399         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6400         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6401         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
6402         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6403         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6404         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6405         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6406         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6408         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
6409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6410         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6411         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
6412         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
6413         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6414         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6415         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
6416         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
6417         Remove conditional code.
6418         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6419         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
6420         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6421         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6422         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
6423         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6424         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
6425         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6426         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
6427         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6428         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6429         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
6431 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
6433         * NEWS (2.23): Fix typo in bug 19048 text.
6435 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
6437         [BZ #14259]
6438         * Makeconfig: Rename msgcatdir to localedir.
6439         Rename inst_msgcatdir to inst_localedir.
6440         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
6441         * config.make.in: Add localedir.
6442         * elf/Makefile ($(objpfx)sotruss): Use localedir.
6443         (ldd-rewrite): Likewise.
6444         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
6445         (install-others): Use inst_localedir.
6446         (CPPFLAGS): Use localedir.
6447         * locale/Makefile (locale-CPPFLAGS): Likewise.
6448         * po/Makefile (mo-installed): Use inst_localedir.
6450         [BZ #19575]
6451         * localedata/charmaps/GB18030: Update comments regarding PAU to
6452         non-PUA mappings.
6454 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
6456         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
6457         test for header.
6458         * sysdeps/unix/sysv/linux/configure: Regenerated.
6459         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
6460         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
6461         Remove conditional code.
6462         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
6464         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
6465         Define to 3.2.0.
6466         (arch_minimum_kernel): Likewise.
6467         * sysdeps/unix/sysv/linux/configure: Regenerated.
6468         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
6469         Define to 2.6.32.
6470         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
6471         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
6472         (arch_minimum_kernel): Define to 2.6.32.
6473         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
6474         * README: Document Linux 3.2 requirement.
6475         * manual/install.texi (Linux): Document Linux 3.2 headers
6476         requirement.
6477         * INSTALL: Regenerated.
6479 2016-02-24  Andreas Schwab  <schwab@suse.de>
6481         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
6482         if !NO_LONG_DOUBLE.
6484 2016-02-22  Roland McGrath  <roland@hack.frob.com>
6486         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
6487         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
6489 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
6491         [BZ #19512]
6492         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
6494 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6496         * posix/tst-dir.c: Include libc-internal.h.
6498 2016-02-20  Florian Weimer  <fweimer@redhat.com>
6500         [BZ #19056]
6501         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
6502         * manual/filesys.texi (Reading/Closing Directory): Mention
6503         deprecaion.
6504         * posix/tst-dir.c (main): Disable deprecation warning in test.
6506 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
6508         [BZ #19679]
6509         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
6510         Renamed to ...
6511         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
6512         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6513         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
6514         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6515         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6516         * sysdeps/x86_64/dl-trampoline.h
6517         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
6518         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
6520 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6522         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
6524 2016-02-19  Mark Wielaard  <mjw@redhat.com>
6526         * elf/elf.h (R_386_GOT32X): New.
6527         (R_386_NUM): Update.
6528         (R_X86_64_GOTPCRELX: New.
6529         (R_X86_64_REX_GOTPCRELX): New.
6530         (R_X86_64_NUM): Update.
6532 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
6534         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
6536 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
6538         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
6539         assign attr->stackaddr to it, and adjust it down when
6540         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
6541         [_STACK_GROWS_UP]: Delete assert.
6542         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
6543         Implement stack grows up logic.
6544         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
6545         stack grows up logic.
6547 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6549         * NEWS: Update with 2.24 template.
6551 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6553         [BZ #19678]
6554         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6555         Ensure +0.0 is returned when taking the next value below the least
6556         positive value.
6558 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6560         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
6561         available.  Do not define NO_THREADS.
6562         * malloc/malloc.c: Do not check NO_THREADS.
6563         * malloc/arena.c: Likewise.
6565 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6567         * malloc/malloc.c (__libc_mallinfo): Update comment.
6568         (struct malloc_par): Remove max_total_mem member, it was always 0.
6569         (int_mallinfo): Store 0 into usmblks (no functional change).
6570         * malloc/hooks.c (struct malloc_state): Document that
6571         max_total_mem is always 0.
6572         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
6573         always 0.
6574         * manual/memory.texi (Statistics of Malloc): Likewise.
6576 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6578         * malloc/malloc.c (sysmalloc): Do not update arena_max.
6579         * malloc/arena.c (arena_max): Remove.
6580         (heap_trim, _int_new_arena): Do not update arena_max.
6582 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6584         * resolv/res_init.c (res_ninit): Update comment.
6586 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6588         [BZ #19505]
6589         * posix/spawn_int.h: Add headers and include guard.
6590         (__spawn_valid_fd): New function.
6591         * posix/spawn_faction_addopen.c
6592         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
6593         * posix/spawn_faction_addclose.c
6594         (posix_spawn_file_actions_addclose): Likewise.
6595         * posix/spawn_faction_adddup2.c
6596         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
6597         second file descriptor.
6598         * posix/spawn_valid_fd.c: New file.
6599         * posix/tst-posix_spawn-fd.c: New file.
6600         * posix/Makefile (routines): Add spawn_valid_fd.
6601         (tests): Add tst-posix_spawn-fd.
6603 2016-02-19  Florian Weimer  <fweimer@redhat.com>
6605         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
6606         (do_test): Limit the number of arenas, so that we can use fewer
6607         outer threads.  Limit timeout to 3 seconds, in preparation for a
6608         larger TIMEOUT value.
6610 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
6612         [BZ #19674]
6613         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
6614         sign in overflowing and underflowing results when overflow or
6615         underflow is detected early.  Include sign in result before rather
6616         than after scaling.
6618         [BZ #19603]
6619         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
6620         (__ieee754_remainderl): Adjust sign of integer version of low part
6621         when taking absolute value of high part.
6622         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
6623         * math/libm-test.inc (remainder_test_data): Add another test.
6624         (remquo_test_data): Likewise.
6626 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
6628         [BZ #19602]
6629         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
6630         equal high parts and both low parts zero specially.
6631         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
6632         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
6633         Add test-fmodl-ldbl-128ibm.
6635         [BZ #19595]
6636         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
6637         common logic for all cases of shifting subnormal results.  Do not
6638         insert sign bit in shifted mantissa.  Always pass -1023 as biased
6639         exponent to ldbl_insert_mantissa in subnormal case.
6641         [BZ #19594]
6642         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
6643         on high and low parts then adjust result and use
6644         ldbl_canonicalize_int if needed.
6646         [BZ #19593]
6647         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
6648         on high part and __floor or __ceil on low part then use
6649         ldbl_canonicalize_int if needed.
6651         [BZ #19592]
6652         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
6653         high and low parts then use ldbl_canonicalize_int if needed.
6655         [BZ #17899]
6656         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
6657         New function.
6658         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
6659         on high and low parts then use ldbl_canonicalize_int if needed.
6661 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6663         * configure: Regenerated.
6665         * po/libc.pot: Regenerated.
6667         * po/be.po: Updated translation.
6668         * po/bg.po: Likewise.
6669         * po/ca.po: Likewise.
6670         * po/cs.po: Likewise.
6671         * po/da.po: Likewise.
6672         * po/el.po: Likewise.
6673         * po/eo.po: Likewise.
6674         * po/es.po: Likewise.
6675         * po/fi.po: Likewise.
6676         * po/fr.po: Likewise.
6677         * po/gl.po: Likewise.
6678         * po/hr.po: Likewise.
6679         * po/hu.po: Likewise.
6680         * po/ia.po: Likewise.
6681         * po/id.po: Likewise.
6682         * po/it.po: Likewise.
6683         * po/ja.po: Likewise.
6684         * po/lt.po: Likewise.
6685         * po/nb.po: Likewise.
6686         * po/nl.po: Likewise.
6687         * po/pt_BR.po: Likewise.
6688         * po/rw.po: Likewise.
6689         * po/sk.po: Likewise.
6690         * po/sl.po: Likewise.
6691         * po/sv.po: Likewise.
6692         * po/tr.po: Likewise.
6693         * po/zh_CN.po: Likewise.
6694         * po/zh_TW.po: Likewise.
6696         * version.h (RELEAES): Set to "development".
6697         (VERSION): Set to 2.23.90.
6699         * version.h (RELEASE): Set to "stable".
6700         (VERSION): Set to 2.23.
6701         * include/feature.h (__GLIBC_MINOR__): Set to 23.
6703         * NEWS: Updated fixed bugs.
6705 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
6706             Wilco Dijkstra  <wdijkstr@arm.com>
6708         [BZ #19462]
6709         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
6710         (_STRING_INLINE_unaligned): This.
6711         * include/string.h: Include <string_private.h>.
6712         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
6713         _STRING_INLINE_unaligned.
6714         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
6715         (_STRING_INLINE_unaligned): New.
6716         * sysdeps/aarch64/string_private.h: New file.
6717         * sysdeps/generic/string_private.h: Likewise.
6718         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
6719         * sysdeps/s390/string_private.h: Likewise.
6720         * sysdeps/x86/string_private.h: Likewise.
6721         * sysdeps/m68k/m680x0/m68020/bits/string.h
6722         (_STRING_ARCH_unaligned): Renamed to ...
6723         (_STRING_INLINE_unaligned): This.
6724         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
6725         to ...
6726         (_STRING_INLINE_unaligned): This.
6727         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
6728         to ...
6729         (_STRING_INLINE_unaligned): This.
6730         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
6731         to ...
6732         (_STRING_INLINE_unaligned): This.
6734 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
6735             H.J. Lu  <hongjiu.lu@intel.com>
6737         [BZ #19590]
6738         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
6739         relocation.
6741 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
6743         [BZ #18665]
6744         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
6745         *herrno_p.
6746         (gaih_getanswer): Document functional behviour. Return tryagain
6747         if any result is tryagain.
6748         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
6749         when freed.
6750         * resolv/res_send.c: Add copyright text.
6751         (__libc_res_nsend): Document that MAXPACKET is expected.
6752         (send_vc): Document. Remove buffer reuse.
6753         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
6754         size of the buffer. Add Dprint for truncated UDP buffer.
6756 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
6758         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
6759         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
6760         * INSTALL: Regenerate.
6762 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
6763             Jonathan Wakely  <jwakely@redhat.com>
6764             Carlos O'Donell  <carlos@redhat.com>
6766         [BZ 19439]
6767         * math/Makefile (tests): Add test-math-isinff.
6768         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
6769         * math/bits/mathcalls.h [__USE_MISC]: Use
6770         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
6771         functions not in C++11 and which don't conflict e.g. isinff,
6772         isinfl etc.
6773         * math/test-math-isinff.cc: New file.
6775 2016-02-12  Florian Weimer  <fweimer@redhat.com>
6777         * misc/bug18240.c (do_test): Set RLIMIT_AS.
6779 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6781         [BZ #19529]
6782         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
6784 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6786         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6788 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
6790         [BZ #19550]
6791         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
6792         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
6793         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
6794         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
6795         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
6796         New syscall entry.
6797         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
6798         New syscall entry.
6799         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
6800         syscall entry.
6802 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
6804         [BZ #18240]
6805         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
6806         unsigned int wraparound.
6808 2016-01-27  Florian Weimer  <fweimer@redhat.com>
6810         [BZ #18240]
6811         * misc/bug18240.c: New test.
6812         * misc/Makefile (tests): Add it.
6814 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
6815             Joseph Myers  <joseph@codesourcery.com>
6817         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
6818         load in branch delay slot when less than a word of input left.
6820 2016-01-27  Andreas Schwab  <schwab@suse.de>
6822         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
6823         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
6824         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
6825         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
6827 2016-01-26  David S. Miller  <davem@davemloft.net>
6829         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
6831 2016-01-25  David S. Miller  <davem@davemloft.net>
6833         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
6834         __sqrtl_finite.
6835         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
6836         instead using versioned_symbol.
6837         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
6838         of entries.
6840         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
6841         __sqrtl_finite to GLIBC_2.23
6843 2016-01-25  Ricchard Henderson  <rth@redhat.com>
6845         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6847 2016-01-25  Andreas Schwab  <schwab@suse.de>
6849         [BZ #17514]
6850         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
6851         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
6852         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
6853         * nptl/tst-mutex-errorcheck.c: New file.
6855 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6857         [BZ #18560]
6858         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
6859         (IPCOP_semop): Likewise.
6860         (IPCOP_semget): Likewise.
6861         (IPCOP_semctl): Likewise.
6862         (IPCOP_msgsnd): Likewise.
6863         (IPCOP_msgrcv): Likewise.
6864         (IPCOP_msgget): Likewise.
6865         (IPCOP_msgctl): Likewise.
6866         (IPCOP_shmat): Likewise.
6867         (IPCOP_shmdt): Likewise.
6868         (IPCOP_shmget): Likewise.
6869         (IPCOP_shmctl): Likewise.
6871 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
6873         * string/tst-endian.c: Include <libc-internal.h>.
6874         (do_test): Ignore tautological-compare warnings around
6875         "htobeXX (beXXtoh (i)) != i" and
6876         "htoleXX (leXXtoh (i)) != i" if-statements.
6878 2016-01-24  David S. Miller  <davem@davemloft.net>
6880         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
6881         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
6882         alias.
6883         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
6884         __sqrtl_finite.
6886         * sysdeps/sparc/fpu/libm-test-ulps: Update.
6888 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
6890         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
6891         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
6892         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6894 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6896         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
6897         (thread_func): Use new function to simplify barrier check.
6898         (do_test): Use new function to simplify checking barrier exit
6899         code, and actually join the child thread.
6901 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6903         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
6904         semicolon.
6905         (__libc_tend): Likewise.
6906         (__libc_tabort): Likewise.
6908 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
6910         * sysdeps/nios2/libm-test-ulps: Update.
6911         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
6912         (__gtsf2): Likewise.
6913         (__unorddf2): Likewise.
6914         (__unordsf2): Likewise.
6915         (__ledf2): Likewise.
6917 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
6919         * nis/nis_table.c (__follow_path): Disable diagnostic for
6920         uninitialized variable that is a false positive for gcc 4.7.
6921         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
6923 2016-01-20  Roland McGrath  <roland@hack.frob.com>
6925         * sysdeps/nacl/lowlevellock-futex.h
6926         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
6927         Always evaluate PRIVATE argument.
6929 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
6931         [BZ #19490]
6932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
6933         (pthread_cond_broadcast): Use ENTRY/END
6934         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
6935         (pthread_cond_signal): Likewise.
6936         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
6937         Likewise.
6938         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
6939         Likewise.
6940         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
6941         Likewise.
6943 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
6945         * sysdeps/ieee754/dbl-64/s_finite.c
6946         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
6947         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
6948         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
6949         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
6950         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
6952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
6953         (__gtsf2): Add as optional for libc.so.
6954         (__unordsf2): Likewise.
6955         (__signbit): Remove for libc.so.
6956         (__signbitl): Likewise.
6958 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
6960         * iconvdata/bug-iconv11.c (test_ibm93x):
6961         Use %zu printf format specifier for size_t argument.
6963 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
6965         * math/gen-libm-test.pl (parse_ulps): Do not reduce
6966         already-recorded ulps.
6967         * sysdeps/arm/libm-test-ulps: Regenerated.
6968         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6969         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6970         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6972 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
6973             Paul Pluzhnikov  <ppluzhnikov@google.com>
6975         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
6976         assembler not supporting AVX-512.
6978 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
6980         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6982 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
6984         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6985         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6987         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6989         * sysdeps/arm/libm-test-ulps: Regenerated.
6991 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6993         [BZ #19451]
6994         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
6996 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
6998         [BZ #19486]
6999         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7000         * sysdeps/generic/fix-fp-int-convert-overflow.h
7001         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7002         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7003         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7004         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7005         Likewise.
7006         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7007         Avoid conversions to long int where inexact exceptions
7008         could be raised.
7009         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7010         Likewise.
7011         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7012         Avoid conversions to long long int where inexact exceptions
7013         could be raised.
7014         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7015         Likewise.
7017 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7019         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7020         * configure: Regenerated.
7022 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7024         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7026 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7028         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7029         outside of comment.
7031 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7033         * nptl/tst-barrier1.c: Add description on first line.
7034         * nptl/tst-barrier2.c: Likewise.
7035         * nptl/tst-barrier3.c: Likewise.
7036         * nptl/tst-barrier4.c: Likewise.
7037         * nptl/tst-barrier5.c: Likewise.
7039 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7041         [BZ #18868]
7042         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7044 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7046         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7047         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7048         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7049         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7050         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7051         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7052         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7053         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7054         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7055         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7056         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7058 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7060         [BZ #13065]
7061         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7062         new implementation.
7063         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7064         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7065         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7066         (BARRIER_IN_THRESHOLD): New macro.
7067         * nptl/pthread_barrierattr_setpshared.c
7068         (pthread_barrierattr_setpshared): Clean up.
7069         * nptl/tst-barrier4.c: Correct comment.
7070         * nptl/tst-barrier5.c: New file.
7071         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7072         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7073         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7074         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7075         * nptl/lowlevelbarrier.sym: Remove.
7076         * nptl/DESIGN-barrier.txt: Remove.
7077         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7078         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7079         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7080         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7081         error.
7082         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7083         implementation.
7085 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7087         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7088         (do_child): Mask SIGRTMIN while thr is running.
7090 2016-01-15  Martin Sebor  <msebor@redhat.com>
7092         [BZ #19432]
7093         * iconvdata/Makefile: Add bug-iconv11.
7094         * iconvdata/bug-iconv11.c: New test.
7095         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7096         * iconvdata/ibm933.c: Same.
7097         * iconvdata/ibm935.c: Same.
7098         * iconvdata/ibm937.c: Same.
7099         * iconvdata/ibm939.c: Same.
7101 2016-01-15  Martin Sebor  <msebor@redhat.com>
7103         [BZ #19443]
7104         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7105         [DEBUG] (_ufc_set_bits): Declare used.
7106         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7107         [DEBUG] (print_all): Declare used.
7108         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7109         operands of the ternary ?: expression to target type.
7110         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7111         calling the undeclared abort.
7112         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7114 2016-01-15  Martin Sebor  <msebor@redhat.com>
7116         [BZ #18755]
7117         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7118         warnings.
7119         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7120         (__gai_create_helper_thread): Same.
7121         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7122         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7123         to suppress -Wmaybe-uninitialized warnings.
7125 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7127         [BZ #19465]
7128         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7129         inside if.
7130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7131         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7132         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7134 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7136         [BZ #19466]
7137         * time/tst-mktime2.c (time_t_max): Removed.
7138         (time_t_min): Likewise.
7139         (TYPE_SIGNED): New.
7140         (TYPE_MINIMUM): Likewise.
7141         (TYPE_MAXIMUM): Likewise.
7142         (TIME_T_MIN): Likewise.
7143         (TIME_T_MAX): Likewise.
7144         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7145         and TIME_T_MIN.
7146         (do_test): Likewise.
7148 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7150         [BZ #19467]
7151         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7152         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7154 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7156         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7158 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7160         * benchtests/Makefile (PYTHON): Define.
7161         (bench-func): Use $(PYTHON) to run python scripts.
7162         ($(objpfx)bench-%.c): Likewise.
7164 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
7166         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
7167         leading slash when `file_name' is "/".
7169 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
7171         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
7172         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
7173         Likewise.
7174         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
7175         Likewise.
7176         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
7177         Likewise.
7178         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
7179         enum constant and macro.
7180         (PTRACE_SETSIGMASK): Likewise.
7181         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7182         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
7183         (PTRACE_GETSIGMASK): Likewise.
7184         (PTRACE_SETSIGMASK): Likewise.
7185         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7186         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
7187         Likewise.
7188         (PTRACE_SETSIGMASK): Likewise.
7189         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7190         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
7191         (PTRACE_GETSIGMASK): Likewise.
7192         (PTRACE_SETSIGMASK): Likewise.
7193         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7194         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
7195         Likewise.
7196         (PTRACE_SETSIGMASK): Likewise.
7197         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7198         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
7199         Likewise.
7200         (PTRACE_SETSIGMASK): Likewise.
7201         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7202         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
7203         Likewise.
7204         (PTRACE_SETSIGMASK): Likewise.
7205         (PTRACE_SECCOMP_GET_FILTER): Likewise.
7207 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
7208             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7210         [BZ #19439]
7211         * math/bits/mathcalls.h
7212         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
7213         prototype.
7214         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
7216 2016-01-11  Andreas Schwab  <schwab@suse.de>
7218         [BZ #19253]
7219         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
7220         cache when TZDEFRULES was used.
7221         * time/tst-tzname.c: New file.
7222         * time/Makefile (test): Add tst-tzname.
7223         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
7224         * timezone/Makefile (test-zones): Add $(posixrules-file).
7225         ($(testdata)/$(posixrules-file)): New rule.
7227 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
7229         Fix doc quoting problems with Texinfo 5
7230         Without this change, in the info file output, Texinfo 5 quotes code
7231         in text with undirected single quotes 'like this' and generates
7232         code examples that with many PDF readers cannot be cut out of PDFs
7233         and pasted into code.
7234         * manual/libc.texinfo: Configure the libc manual like the GNU
7235         Emacs manual, by using @documentencoding and setting
7236         txicodequoteundirected and txicodequotebacktick.  This way,
7237         Texinfo 5 quotes code in text with directed single quotes ‘like
7238         this’ and produces examples that can be cut out of PDFs.  This
7239         change causes Texinfo 5 to generate info files that contain UTF-8
7240         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
7241         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
7243 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7245         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
7246         __libc_tabort, __libc_tend): New wrappers that enforce compiler
7247         barriers to their respective compiler built-ins.
7248         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
7249         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
7250         * sysdeps/powerpc/sysdep.h: Likewise.
7251         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
7252         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
7253         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
7255 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
7257         * scripts/config.guess: Revert previous shebang change.
7258         * scripts/config.sub: Likewise.
7259         * scripts/mkinstalldirs: Likewise.
7261 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7263         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
7264         PPC_FEATURE2_HAS_IEEE128.
7265         * sysdeps/powerpc/dl-procinfo.c:
7266         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
7268 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
7270         [BZ #19415]
7271         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
7272         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
7273         (_dl_lookup_address): Rewrite using function resolver trampoline.
7274         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
7275         two bits in address.
7277 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7279         * longlong.h: Change !__SHMEDIA__ to
7280         (!defined (__SHMEDIA__) || !__SHMEDIA__).
7281         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
7283 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
7284             Joseph Myers  <joseph@codesourcery.com>
7285             Mark Shinwell  <shinwell@codesourcery.com>
7286             Andrew Stubbs  <ams@codesourcery.com>
7287             Rich Felker <dalias@libc.org>
7289         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
7291 2016-01-07  Richard Henderson  <rth@redhat.com>
7293         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
7295 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
7297         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
7298         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
7299         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7300         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7301         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
7303 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
7304             Joseph Myers  <joseph@codesourcery.com>
7306         * timezone/private.h: Update from tzcode 2015g.
7307         * timezone/tzfile.h: Likewise.
7308         * timezone/tzselect.ksh: Likewise.
7309         * timezone/zdump.c: Likewise.
7310         * timezone/zic.c: Likewise.
7311         * timezone/ialloc.c: Remove file.
7312         * timezone/scheck.c: Likewise.
7313         * timezone/Makefile (extra-objs): Remove variable.
7314         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
7315         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
7316         -Wno-maybe-uninitialized.
7317         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
7318         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
7319         (CFLAGS-ialloc.c): Remove variable.
7320         (CFLAGS-scheck.c): Likewise.
7321         * timezone/README: Update list of files from tzcode.
7323 2016-01-07  Khem Raj  <raj.khem@gmail.com>
7325         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
7326         instead of __fxprintf when _LIBC is undefined.
7328 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
7330         * catgets/test-gencat.sh: Remove space after shebang.
7331         * conform/GlibcConform.pm: Likewise.
7332         * conform/check-header-lists.sh: Likewise.
7333         * conform/conformtest.pl: Likewise.
7334         * conform/linknamespace.pl: Likewise.
7335         * conform/list-header-symbols.pl: Likewise.
7336         * debug/catchsegv.sh: Likewise.
7337         * elf/genrtldtbl.awk: Likewise.
7338         * elf/tst-pathopt.sh: Likewise.
7339         * elf/tst-rtld-load-self.sh: Likewise.
7340         * grp/tst_fgetgrent.sh: Likewise.
7341         * iconvdata/gen-8bit-gap-1.sh: Likewise.
7342         * iconvdata/gen-8bit-gap.sh: Likewise.
7343         * iconvdata/gen-8bit.sh: Likewise.
7344         * iconvdata/run-iconv-test.sh: Likewise.
7345         * intl/tst-gettext.sh: Likewise.
7346         * intl/tst-gettext2.sh: Likewise.
7347         * intl/tst-gettext4.sh: Likewise.
7348         * intl/tst-gettext6.sh: Likewise.
7349         * intl/tst-translit.sh: Likewise.
7350         * io/ftwtest-sh: Likewise.
7351         * libio/test-freopen.sh: Likewise.
7352         * locale/gen-translit.pl: Likewise.
7353         * malloc/tst-mtrace.sh: Likewise.
7354         * manual/check-safety.sh: Likewise.
7355         * manual/libc-texinfo.sh: Likewise.
7356         * manual/tsort.awk: Likewise.
7357         * manual/xtract-typefun.awk: Likewise.
7358         * nptl/tst-cancel-wrappers.sh: Likewise.
7359         * nptl/tst-tls6.sh: Likewise.
7360         * posix/globtest.sh: Likewise.
7361         * posix/tst-getconf.sh: Likewise.
7362         * posix/wordexp-tst.sh: Likewise.
7363         * scripts/check-c++-types.sh: Likewise.
7364         * scripts/check-local-headers.sh: Likewise.
7365         * scripts/config.guess: Likewise.
7366         * scripts/config.sub: Likewise.
7367         * scripts/cpp: Likewise.
7368         * scripts/cross-test-ssh.sh: Likewise.
7369         * scripts/documented.sh: Likewise.
7370         * scripts/evaluate-test.sh: Likewise.
7371         * scripts/gen-libc-abis: Likewise.
7372         * scripts/gen-sorted.awk: Likewise.
7373         * scripts/list-fixed-bugs.py: Likewise.
7374         * scripts/merge-test-results.sh: Likewise.
7375         * scripts/mkinstalldirs: Likewise.
7376         * scripts/rellns-sh: Likewise.
7377         * scripts/test-installation.pl: Likewise.
7378         * scripts/update-copyrights: Likewise.
7379         * stdio-common/tst-printf.sh: Likewise.
7380         * stdio-common/tst-unbputc.sh: Likewise.
7381         * stdlib/tst-fmtmsg.sh: Likewise.
7382         * stdlib/tst-setcontext3.sh: Likewise.
7383         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
7384         * sysdeps/unix/make-syscalls.sh: Likewise.
7386 2016-01-06  John David Anglin  <dave.anglin@bell.net>
7388         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
7389         asm stw with atomic_exchange_rel.  Add explanatory comment.
7390         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
7391         Likewise.
7393 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7395         [BZ #19122]
7396         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
7397         * sysdeps/generic/dl-unistd.h: New file.
7398         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
7400 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
7402          [BZ #19122]
7403          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
7404          * sysdeps/generic/dl-mman.h: New file.
7405          * sysdeps/mach/hurd/dl-mman.h: Likewise.
7407 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
7409         * manual/texinfo.tex: Update to version 2016-01-04.21 with
7410         trailing whitespace removed.
7411         * scripts/config.guess: Update to version 2016-01-01.
7412         * scripts/config.sub: Update to version 2016-01-01.
7413         * scripts/move-if-change: Update from gnulib.
7415 2016-01-04  Anton Blanchard  <anton@samba.org>
7417         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
7418         for array indices.
7419         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
7421 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
7423         * NEWS: Update copyright dates.
7424         * catgets/gencat.c (print_version): Likewise.
7425         * csu/version.c (banner): Likewise.
7426         * debug/catchsegv.sh: Likewise.
7427         * debug/pcprofiledump.c (print_version): Likewise.
7428         * debug/xtrace.sh (do_version): Likewise.
7429         * elf/ldconfig.c (print_version): Likewise.
7430         * elf/ldd.bash.in: Likewise.
7431         * elf/pldd.c (print_version): Likewise.
7432         * elf/sotruss.sh: Likewise.
7433         * elf/sprof.c (print_version): Likewise.
7434         * iconv/iconv_prog.c (print_version): Likewise.
7435         * iconv/iconvconfig.c (print_version): Likewise.
7436         * locale/programs/locale.c (print_version): Likewise.
7437         * locale/programs/localedef.c (print_version): Likewise.
7438         * login/programs/pt_chown.c (print_version): Likewise.
7439         * malloc/memusage.sh (do_version): Likewise.
7440         * malloc/memusagestat.c (print_version): Likewise.
7441         * malloc/mtrace.pl: Likewise.
7442         * manual/libc.texinfo: Likewise.
7443         * nptl/version.c (banner): Likewise.
7444         * nscd/nscd.c (print_version): Likewise.
7445         * nss/getent.c (print_version): Likewise.
7446         * nss/makedb.c (print_version): Likewise.
7447         * posix/getconf.c (main): Likewise.
7448         * scripts/test-installation.pl: Likewise.
7449         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
7451         * All files with FSF copyright notices: Update copyright dates
7452         using scripts/update-copyrights.
7453         * intl/plural.c: Regenerated.
7454         * locale/programs/charmap-kw.h: Likewise.
7455         * locale/programs/locfile-kw.h: Likewise.
7457 2016-01-02  Helge Deller  <deller@gmx.de>
7459         [BZ #19285]
7460         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
7461         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
7462         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
7463         (MADV_xxK_PAGES): Remove.
7465 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
7467         [BZ #15421]
7468         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
7469         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
7470         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
7471         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
7473 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
7475         [BZ #19408]
7476         * sysdeps/unix/sysv/linux/personality.c: New file.
7477         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
7478         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
7479         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
7480         (sysdep_routines): Add personality.
7481         (tests): Add tst-personality.
7482         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
7483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
7484         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
7485         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
7486         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
7487         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
7488         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
7489         Likewise.
7490         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
7491         Likewise.
7492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
7493         Likewise.
7494         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
7495         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
7496         Likewise.
7498 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
7500         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
7501         (PATH_ARM_SYSTYPE): Remove.
7502         (PATH_CPUINFO): Likewise.
7503         (IO_BASE_FOOTBRIDGE): Likewise.
7504         (IO_SHIFT_FOOTBRIDGE): Likewise.
7505         (struct platform): Likewise.
7506         (init_iosys): Remove compatibility code for 2.4 kernels.
7507         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
7509 2015-12-29  Florian Weimer  <fweimer@redhat.com>
7511         * malloc/tst-malloc-thread-fail.c: New file.
7512         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
7513         (tst-malloc-thread-fail): Link against libpthread.
7515 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
7517         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
7518         (get_parser): New function.
7519         (main): New function.
7521 2015-12-29  Rob Wu  <rob@robwu.nl>
7523         [BZ #19369]
7524         * resolv/res_init.c (__res_vinit): Reset defdname before use.
7526 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
7528         [BZ #19270]
7529         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
7531 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
7533         [BZ #15421]
7534         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
7536 2015-12-23  Torvald Riegel  <triegel@redhat.com>
7538         [BZ #13690]
7539         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
7540         after releasing it.
7541         (__lll_robust_unlock): Likewise.
7542         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7543         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
7544         (lll_robust_unlock): Likewise.
7545         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
7546         Prevent warnings in callers.
7548 2015-12-23  Florian Weimer  <fweimer@redhat.com>
7550         * malloc/arena.c (list_lock): Update comment.
7552 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7554         * sysdeps/powerpc/hwcapinfo.c: Export symbol
7555         __parse_hwcap_and_convert_at_platform to libc.a.
7557 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7559         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
7560         platform and feature support for POWER9.
7561         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7562         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
7563         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
7564         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
7565         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
7566         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
7567         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
7568         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
7570 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7572         Harmonize generic stdio-lock support with nptl
7574         This fixes build when _IO_funlockfile is a macro, fixes build where
7575         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
7576         stack unwind.
7578         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
7579         _IO_release_lock ): Use cleanup attribute on new
7580         _IO_acquire_lock_file variable instead of assuming that
7581         _IO_release_lock will be called.
7582         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
7583         _IO_acquire_lock_needs_exceptions_enabled.
7584         (_IO_acquire_lock_clear_flags2): New macro.
7586 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7588         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7590 2015-12-21  Florian Weimer  <fweimer@redhat.com>
7592         [BZ #19182]
7593         * malloc/arena.c (list_lock): Document lock ordering requirements.
7594         (free_list_lock): New lock.
7595         (ptmalloc_lock_all): Comment on free_list_lock.
7596         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
7597         (detach_arena): Update comment.  free_list_lock is now needed.
7598         (_int_new_arena): Use free_list_lock around detach_arena call.
7599         Acquire arena lock after list_lock.  Add comment, including FIXME
7600         about incorrect synchronization.
7601         (get_free_list): Switch to free_list_lock.
7602         (reused_arena): Acquire free_list_lock around detach_arena call
7603         and attached threads counter update.  Add two FIXMEs about
7604         incorrect synchronization.
7605         (arena_thread_freeres): Switch to free_list_lock.
7606         * malloc/malloc.c (struct malloc_state): Update comments to
7607         mention free_list_lock.
7609 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
7611         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
7612         Remove functions.
7613         (sloww, sloww1): Accept argument to offset quadrant.
7614         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
7615         quadrant.
7616         (__sin, __cos): Consolidate common code into new functions.
7617         (reduce_sincos_1, do_sincos_1): New functions.
7618         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
7621         code to new functions.
7622         (reduce_sincos_2, do_sincos_2): New functions.
7623         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
7625         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
7626         common code for sincos.
7627         (__cos) [!IN_SINCOS]: Likewise.
7628         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
7629         New function.
7630         (__sincos): Use it.
7632 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
7634         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
7635         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
7636         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7638 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7640         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
7641         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
7642         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7643         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
7644         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7645         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
7646         index_Prefer_No_VZEROUPPER): New feature.
7647         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
7648         Prefer_No_VZEROUPPER for Knights Landing.
7650 015-12-18  Torvald Riegel  <triegel@redhat.com>
7652         * math/atest-exp2.c (mp_exp_m1): Remove.
7654 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7656         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
7657         syscalls.
7658         (__SYSCALL0): New macro.
7659         (__SYSCALL1): Likewise.
7660         (__SYSCALL2): Likewise.
7661         (__SYSCALL3): Likewise.
7662         (__SYSCALL4): Likewise.
7663         (__SYSCALL5): Likewise.
7664         (__SYSCALL6): Likewise.
7665         (__SYSCALL_CONCAT_X): Likewise.
7666         (__SYSCALL_CONCAT): Likewise.
7667         (__SYSCALL_DIST): Likewise.
7668         (__SYSCALL_CALL): Likewise.
7670 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
7672         [BZ #19363]
7673         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
7675 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7677         [BZ #19375]
7678         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
7679         negative subnormals.
7681 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
7683         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7684         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
7685         (INTERNAL_SYSCALL_NCS): Use it.
7686         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
7688 2015-12-16  Florian Weimer  <fweimer@redhat.com>
7690         [BZ #19243]
7691         * malloc/arena.c (get_free_list): Remove assert and adjust
7692         reference count handling.  Add comment about reused_arena
7693         interaction.
7694         (reused_arena): Add comments abount get_free_list interaction.
7695         * malloc/tst-malloc-thread-exit.c: New file.
7696         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
7697         (tst-malloc-thread-exit): Link against libpthread.
7699 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7701         [BZ #19367]
7702         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
7703         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
7704         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
7705         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
7706         (index_Prefer_MAP_32BIT_EXEC): Likewise.
7708 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
7710         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
7711         Silvermont optimizations for Knights Landing.
7713 2015-12-15  Andreas Schwab  <schwab@suse.de>
7715         [BZ #17197]
7716         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
7717         immediately after emitting SI.
7718         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
7719         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
7720         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
7721         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
7722         * iconvdata/bug-iconv10.c: New file.
7723         * iconvdata/Makefile (tests): Add bug-iconv10.
7724         ($(objpfx)bug-iconv10.out): New rule.
7726 2015-12-15  Florian Weimer  <fweimer@redhat.com>
7728         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
7729         aliasing violation.
7731 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
7733         [BZ #18472]
7734         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
7735         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
7736         conditionals for them.
7737         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
7738         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
7739         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
7740         sys/kdaemon.h.
7741         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
7742         compat-only syscall, obsoleted in glibc 2.23.
7743         (create_module): Likewise.
7744         (get_kernel_syms): Likewise.
7745         (query_module): Likewise.
7746         (uselib): Likewise.
7747         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
7749 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
7751         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
7752         <linux/version.h>.
7753         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
7754         conditional code.
7755         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
7756         and ioshift_name initialization.
7758 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7760         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7761         Fix indentation.
7763 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7765         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
7767 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
7769         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
7771 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
7772             Jakub Wilk  <jwilk@debian.org>
7774         [BZ #19347]
7775         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
7776         to change the group of the device to the tty group.
7778 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
7780         Split large string section; add truncation advice
7781         * manual/examples/strncat.c: Remove.
7782         This example was misleading, as the code would have undefined
7783         behavior if "hello" was longer than SIZE.  Anyway, the manual
7784         shouldn't encourage strncpy+strncat for this sort of thing.
7785         * manual/string.texi (Copying Strings and Arrays): Split into
7786         three sections Copying Strings and Arrays, Concatenating Strings,
7787         and Truncating Strings, as this section was way too long.  All
7788         cross-referenced changed.  Add advice about string-truncation
7789         functions.  Remove misleading strncat example.
7791 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
7793         * manual/nss.texi (NSS Modules Interface): Document
7794         NSS_STATUS_NOTFOUND and SUCCESS.
7796 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7798         [BZ 18568]
7799         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
7800         201505L, for Unicode 8.
7802 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
7804         * locale/C-translit.h: Regenerate.
7806 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
7808         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
7809         and U+0153.
7811 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
7813         [BZ #19351]
7814         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
7815         expanding log(1+z), compare z rather than its square with epsilon
7816         to determine when to avoid evaluating the expansion.
7818         [BZ #19350]
7819         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
7820         Increase overflow threshold.
7822         [BZ #19349]
7823         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
7824         when small.
7826         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7828         New macro.
7829         [__LINUX_KERNEL_VERSION >= 0x040300]
7830         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7832         Likewise.
7833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7834         Likewise.
7835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7836         Likewise.
7837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7838         Likewise.
7839         [__LINUX_KERNEL_VERSION >= 0x040300]
7840         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7841         [__LINUX_KERNEL_VERSION >= 0x040300]
7842         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7843         [__LINUX_KERNEL_VERSION >= 0x040300]
7844         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7845         [__LINUX_KERNEL_VERSION >= 0x040300]
7846         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7847         [__LINUX_KERNEL_VERSION >= 0x040300]
7848         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7849         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7850         Likewise.
7851         [__LINUX_KERNEL_VERSION >= 0x040300]
7852         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7854         Likewise.
7855         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7856         Likewise.
7857         [__LINUX_KERNEL_VERSION >= 0x040300]
7858         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7860         Likewise.
7861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7862         Likewise.
7863         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
7865         Likewise.
7866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
7867         Likewise.
7868         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
7869         Likewise.
7870         [__LINUX_KERNEL_VERSION >= 0x040300]
7871         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7872         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
7873         Likewise.
7874         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
7875         Likewise.
7876         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
7877         Likewise.
7878         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
7879         Likewise.
7880         [__LINUX_KERNEL_VERSION >= 0x040300]
7881         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
7882         [__LINUX_KERNEL_VERSION >= 0x040300]
7883         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7884         [__LINUX_KERNEL_VERSION >= 0x040300]
7885         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7886         [__LINUX_KERNEL_VERSION >= 0x040300]
7887         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7888         [__LINUX_KERNEL_VERSION >= 0x040300]
7889         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7890         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
7891         Likewise.
7892         [__LINUX_KERNEL_VERSION >= 0x040300]
7893         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7895         Likewise.
7896         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
7897         Likewise.
7898         [__LINUX_KERNEL_VERSION >= 0x040300]
7899         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
7900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7901         Likewise.
7902         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
7903         Likewise.
7904         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7905         (__ASSUME_SOCKET_SYSCALL): Likewise.
7906         (__ASSUME_BIND_SYSCALL): Likewise.
7907         (__ASSUME_CONNECT_SYSCALL): Likewise.
7908         (__ASSUME_LISTEN_SYSCALL): Likewise.
7909         (__ASSUME_ACCEPT_SYSCALL): Likewise.
7910         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7911         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7912         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7913         (__ASSUME_SEND_SYSCALL): Likewise.
7914         (__ASSUME_SENDTO_SYSCALL): Likewise.
7915         (__ASSUME_RECV_SYSCALL): Likewise.
7916         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7917         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
7918         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7919         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7920         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7921         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7922         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7923         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
7924         Likewise.
7925         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
7926         Likewise.
7927         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
7928         Likewise.
7929         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
7930         Likewise.
7931         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
7932         Likewise.
7933         [__LINUX_KERNEL_VERSION >= 0x020625]
7934         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
7935         [__LINUX_KERNEL_VERSION >= 0x020625]
7936         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
7937         [__LINUX_KERNEL_VERSION >= 0x020625]
7938         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
7939         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
7940         Likewise.
7941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
7942         Likewise.
7943         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
7944         Likewise.
7945         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
7946         Likewise.
7947         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
7948         Likewise.
7949         [__LINUX_KERNEL_VERSION >= 0x020625]
7950         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
7951         [__LINUX_KERNEL_VERSION >= 0x020625]
7952         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
7954         Likewise.
7955         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
7956         Likewise.
7958 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7960         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
7961         record the current if the current ABI and CPU support the FP64
7962         extension.
7963         (has-modd-spreg): Define to record the current if the current ABI and
7964         CPU support 32-bit floating point values in odd FPU registers.
7965         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7966         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
7967         $(has-modd-spreg) equals yes.
7968         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
7969         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
7970         $(has-modd-spreg) equal yes.
7972 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
7974         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
7975         basename.
7977 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
7979         * benchtests/Makefile (bench-math): Move ffs and ffsll...
7980         (bench-string): ... here.
7981         (bench): Add bench-string.
7982         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
7983         to *-benchset to reflect what they are.
7984         (benchset): Adjust.
7986         * benchtests/sincos-inputs: Add inputs from sin-inputs and
7987         cos-inputs.
7989 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
7991         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
7992         __attribute__ ((__simd__)) for vector math function declarations.
7994 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
7996         Fix typo in strncat, wcsncat manual entries
7997         * manual/string.texi (Copying and Concatenation): Fix typos in
7998         sample implementations of strncat and wcsncat, by having them use
7999         the old value of the destination length, not the new one.
8001 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8003         [BZ #16961]
8004         [BZ #16962]
8005         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8006         string on the stack for strtod.
8007         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8008         a string on the stack for strtof.
8009         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8010         constructing a string on the stack for strtold.
8011         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8012         __strtold_nan to GLIBC_PRIVATE.
8013         * math/test-nan-overflow.c: New file.
8014         * math/test-nan-payload.c: Likewise.
8015         * math/Makefile (tests): Add test-nan-overflow and
8016         test-nan-payload.
8018 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8020         Consistency about byte vs character in string.texi
8021         * manual/string.texi (String and Array Utilities):
8022         Distinguish more carefully among bytes, multibyte characters,
8023         and wide characters.  Use "byte" when talking about C 'char',
8024         to distinguish it more clearly from multibyte characters.
8025         Say "wide character" or "multibyte character" instead of
8026         "character", when a wide or multibyte character is intended.
8027         Similarly for "multibyte string" versus "string".
8028         Define these terms more carefully.
8030 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8032         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8033         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8034         Likewise.
8035         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8036         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8037         * sysdeps/sh/math_private.h: New file.
8038         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8039         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8040         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8041         long double function name.
8042         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8043         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8044         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8045         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8046         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8048         Remove __finitel, __isinfl, and __isnanl.
8049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8050         Likewise.
8051         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8053         Remove __finitel.
8054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8055         Likewise.
8056         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8058 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8060         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8061         installed libmvec_nonshared.a.
8063 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8065         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8066         (sysdep_routines): Likewise.
8067         (sysdep-rtld-routines): Likewise.
8068         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8069         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8070         * sysdeps/powerpc/Versions: Added new
8071         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8072         * sysdeps/powerpc/hwcapinfo.c: New file.
8073         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8074         and parse hwcap, hwcap2 and platform number information.
8075         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8076         to store HWCAP+HWCAP2 and platform number.
8077         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8078         for HWCAP+HWCAP2 and platform number in the TCB.
8079         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8080         the HWCAP, HWCAP2 and platform number in the TCB.
8081         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8082         (TLS_INIT_TP): Included calls to add the hwcap and
8083         at_platform values in the TCB in TP initialization.
8084         (TLS_DEFINE_INIT_TP): Likewise.
8085         (THREAD_GET_HWCAP): New macro.
8086         (THREAD_SET_HWCAP): Likewise.
8087         (THREAD_GET_AT_PLATFORM): Likewise.
8088         (THREAD_SET_AT_PLATFORM): Likewise.
8089         * sysdeps/powerpc/powerpc32/dl-machine.h:
8090         (dl_platform_init): New function that calls
8091         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8092         powerpc32.
8093         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8094         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8095         this functionality, static linking case.
8096         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8097         linking case.
8098         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8099         __parse_hwcap_and_convert_at_platform for the static linking case.
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8101         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8102         ABI list for GLIBC 2.23.
8103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8104         Likewise.
8105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8106         Likewise.
8108 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8110         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8111         * configure: Regenerate.
8112         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8113         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8115 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8117         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8118         * iconvdata/ibm933.c: Likewise.
8119         * iconvdata/ibm935.c: Likewise.
8120         * iconvdata/ibm937.c: Likewise.
8121         * iconvdata/ibm939.c: Likewise.
8123 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8125         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8126         pthread_join.
8127         * nptl/tst-cancel21.c (tf): Likewise.
8129 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8131         [BZ #19313]
8132         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8133         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8134         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8135         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8136         Likewise.
8137         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8140         Likewise.
8141         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8142         Likewise.
8143         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8144         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8145         unsigned long int with __CPU_MASK_TYPE.
8147 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8149         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8151 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8153         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8154         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8155         t512.x.
8156         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8158 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8160         [BZ #19214]
8161         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8162         argument to return extended model.  Update family and model
8163         with extended family and model when family == 0x0f.
8164         (init_cpu_features): Updated.
8166 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8168         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
8169         signed off_t, so 32bit bigger than 2GiB values are fine actually.
8171         * sysdeps/mach/hurd/mmap64.c: New file.
8173 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
8175         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
8176         rights for its main user thread in NEWTASK.
8178 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
8180         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
8181         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
8183 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
8185         [BZ #14259]
8186         * Makeconfig: Rename localedir to complocaledir.
8187         Rename inst_localedir to inst_complocaledir.
8188         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
8189         * config.make.in: Use complocaledir and libc_cv_complocaledir.
8190         * configure.ac: Use libc_cv_complocaledir.
8191         * configure: Regenerate.
8192         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
8193         -DCOMPLOCALEDIR.
8194         * locale/findlocale.c: Use COMPLOCALEDIR.
8195         * locale/loadarchive.c: Likewise.
8196         * locale/programs/locale.c: Likewise.
8197         * locale/programs/localedef.c: Likewise.
8198         * locale/programs/locarchive.c: Likewise.
8199         * localedata/Makefile: Use inst_complocaledir.
8200         * sysdeps/gnu/configure: Regenerate.
8201         * sysdeps/hppa/configure: Regenerate.
8202         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
8203         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8205         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
8206         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
8207         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
8208         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
8210 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
8212         [BZ #19058]
8213         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
8214         AS_NEEDED.
8215         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
8216         workaround.
8217         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
8218         libmvec-static-only-routines): Added new file.
8219         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
8221 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8223         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
8224         of interrupted RPC instead of restoring it.
8226         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
8227         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
8228         libc_hidden_def.
8229         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
8230         into initialized data instead of common. Define rtld_hidden_data_def.
8231         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
8232         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
8233         libc_hidden_def.
8234         (if_freenameindex): Add libc_hidden_weak.
8235         (if_nameindex): Add libc_hidden_weak.
8236         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
8237         __open64.
8238         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
8239         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
8240         * sysdeps/mach/nanosleep.c: Include <time.h>
8241         (__nanosleep): Rename to __libc_nanosleep.
8242         (__nanosleep): Add weak_alias.
8243         (nanosleep): Update alias.
8245 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
8247         * stdlib/strtod_nan.c: New file.
8248         * stdlib/strtod_nan_double.h: Likewise.
8249         * stdlib/strtod_nan_float.h: Likewise.
8250         * stdlib/strtod_nan_main.c: Likewise.
8251         * stdlib/strtod_nan_narrow.h: Likewise.
8252         * stdlib/strtod_nan_wide.h: Likewise.
8253         * stdlib/strtof_nan.c: Likewise.
8254         * stdlib/strtold_nan.c: Likewise.
8255         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
8256         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
8257         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
8258         * wcsmbs/wcstod_nan.c: Likewise.
8259         * wcsmbs/wcstof_nan.c: Likewise.
8260         * wcsmbs/wcstold_nan.c: Likewise.
8261         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
8262         strtold_nan.
8263         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
8264         wcstof_nan.
8265         * include/stdlib.h (__strtof_nan): Declare and use
8266         libc_hidden_proto.
8267         (__strtod_nan): Likewise.
8268         (__strtold_nan): Likewise.
8269         (__wcstof_nan): Likewise.
8270         (__wcstod_nan): Likewise.
8271         (__wcstold_nan): Likewise.
8272         * include/wchar.h (____wcstoull_l_internal): Declare.
8273         * stdlib/strtod_l.c: Do not include <ieee754.h>.
8274         (____strtoull_l_internal): Remove declaration.
8275         (STRTOF_NAN): Define macro.
8276         (SET_MANTISSA): Remove macro.
8277         (STRTOULL): Likewise.
8278         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
8279         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
8280         (STRTOF_NAN): Define macro.
8281         (SET_MANTISSA): Remove macro.
8282         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
8283         (SET_MANTISSA): Remove macro.
8284         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
8285         macro.
8286         (SET_MANTISSA): Remove macro.
8287         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
8288         macro.
8289         (SET_MANTISSA): Remove macro.
8290         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
8291         (SET_MANTISSA): Remove macro.
8292         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
8293         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
8294         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
8296         [BZ #19266]
8297         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
8298         upper case and lower case letters inside NAN(), not using TOLOWER.
8299         * stdlib/tst-strtod-nan-locale-main.c: New file.
8300         * stdlib/tst-strtod-nan-locale.c: Likewise.
8301         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
8302         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
8303         Depend on $(gen-locales).
8304         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
8305         * wcsmbs/tst-wcstod-nan-locale.c: New file.
8306         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
8307         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
8308         Depend on $(gen-locales).
8309         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
8311 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
8313         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
8315         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
8317         __finitel, __isinfl, and __isnanl.
8318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8319         Likewise.
8320         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
8322         __finitel.
8323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8324         Likewise.
8325         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8327 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
8329         * malloc/memusage.c (me): Remove redundant getenv call.
8331 2015-10-24  Florian Weimer  <fweimer@redhat.com>
8333         [BZ #19143]
8334         [BZ #19164]
8335         * nptl/check-cpuset.h: Remove.
8336         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
8337         Remove CPU set size check.
8338         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
8339         Likewise.
8340         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
8341         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
8342         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
8343         (__pthread_setaffinity_new): Remove CPU set size check.
8344         * sysdeps/unix/sysv/linux/sched_setaffinity.c
8345         (__kernel_cpumask_size): Remove.
8346         (__sched_setaffinity_new): Remove CPU set size check.
8347         * manual/threads.texi (Default Thread Attributes): Remove stale
8348         reference to check_cpuset_attr, determine_cpumask_size in comment.
8349         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
8350         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
8351         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
8352         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
8353         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
8354         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
8355         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
8356         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
8357         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
8358         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
8359         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
8360         skeleton test file.
8361         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
8362         tst-affinity-pid.
8364 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8366         * scripts/update-abilist.sh: New file.
8367         * Makefile (+subdir_targets): Add subdir_update-all-abi.
8368         * Makerules (update-all-abi-%, update-all-abi)
8369         (subdir_update-all-abi): New targets.
8370         * elf/Makefile (update-all-abi): New target.
8372 2015-11-24  Florian Weimer  <fweimer@redhat.com>
8374         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
8375         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
8376         (__libc_lock_define_initialized): Use it.
8377         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
8378         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
8379         * malloc/malloc.c (main_arena): Likewise.
8380         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8381         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
8383 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
8385         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8386         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
8387         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8388         (PTRACE_O_MASK): Update value.
8389         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
8390         New value in enum __ptrace_setoptions.
8391         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8392         (PTRACE_O_MASK): Update value.
8393         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8394         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8395         (PTRACE_O_MASK): Update value.
8396         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
8397         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8398         (PTRACE_O_MASK): Update value.
8399         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
8400         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
8401         (PTRACE_O_MASK): Update value.
8402         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
8403         New value in enum __ptrace_setoptions.
8404         (PTRACE_O_MASK): Update value.
8405         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
8406         New value in enum __ptrace_setoptions.
8407         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
8408         (PTRACE_O_MASK): Update value.
8410         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
8411         New macro.
8412         (PACKET_AUXDATA): Likewise.
8413         (PACKET_ORIGDEV): Likewise.
8414         (PACKET_VERSION): Likewise.
8415         (PACKET_HDRLEN): Likewise.
8416         (PACKET_RESERVE): Likewise.
8417         (PACKET_TX_RING): Likewise.
8418         (PACKET_LOSS): Likewise.
8419         (PACKET_VNET_HDR): Likewise.
8420         (PACKET_TX_TIMESTAMP): Likewise.
8421         (PACKET_TIMESTAMP): Likewise.
8422         (PACKET_FANOUT): Likewise.
8423         (PACKET_TX_HAS_OFF): Likewise.
8424         (PACKET_QDISC_BYPASS): Likewise.
8425         (PACKET_ROLLOVER_STATS): Likewise.
8426         (PACKET_FANOUT_DATA): Likewise.
8427         (PACKET_MR_UNICAST): Likewise.
8429         [BZ #19242]
8430         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
8431         (TOUPPER): Likewise.
8432         * stdlib/tst-strtol-locale-main.c: New file.
8433         * stdlib/tst-strtol-locale.c: Likewise.
8434         * stdlib/Makefile (tests): Add tst-strtol-locale.
8435         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
8436         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
8437         Depend on $(gen-locales).
8438         * wcsmbs/tst-wcstol-locale.c: New file.
8439         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
8440         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
8441         tr_TR.ISO-8859-9.
8442         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
8443         Depend on $(gen-locales).
8445 2015-11-20  Roland McGrath  <roland@hack.frob.com>
8447         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
8448         __glibc_likely instead of __builtin_expect.  After falling back to
8449         dyncode_create in a non-ET_DYN case, use the allocate_code_data
8450         system interface to register the code pages as occupied.
8452 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
8454         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8455         [!ARM_MATH_PRIVATE_H].
8456         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
8457         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8458         [!HPPA_MATH_PRIVATE_H].
8459         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
8460         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
8461         to [!I386_MATH_PRIVATE_H].
8462         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
8463         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
8464         Change guard to [!M68K_MATH_PRIVATE_H].
8465         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
8466         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
8467         guard to [!MICROBLAZE_MATH_PRIVATE_H].
8468         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
8469         macro.
8470         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8471         [!MIPS_MATH_PRIVATE_H].
8472         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
8473         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8474         [!NIO2_MATH_PRIVATE_H].
8475         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
8476         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
8477         [!TILE_MATH_PRIVATE_H].
8478         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
8480         [BZ #15421]
8481         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
8482         initialize with 0 and define as weak alias of __signgam.
8483         * include/math.h [!_ISOMAC] (__signgam): Declare.
8484         * math/Makefile (libm-calls): Add w_lgamma_compat.
8485         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
8486         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
8487         test-signgam-ullong-init.
8488         (tests-static): Add test-signgam-uchar-static,
8489         test-signgam-uchar-init-static, test-signgam-uint-static,
8490         test-signgam-uint-init-static, test-signgam-ullong-static and
8491         test-signgam-ullong-init-static.
8492         (CFLAGS-test-signgam-uchar.c): New variable.
8493         (CFLAGS-test-signgam-uchar-init.c): Likewise.
8494         (CFLAGS-test-signgam-uchar-static.c): Likewise.
8495         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
8496         (CFLAGS-test-signgam-uint.c): Likewise.
8497         (CFLAGS-test-signgam-uint-init.c): Likewise.
8498         (CFLAGS-test-signgam-uint-static.c): Likewise.
8499         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
8500         (CFLAGS-test-signgam-ullong.c): Likewise.
8501         (CFLAGS-test-signgam-ullong-init.c): Likewise.
8502         (CFLAGS-test-signgam-ullong-static.c): Likewise.
8503         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
8504         * math/Versions (libm): Add GLIBC_2.23.
8505         * math/lgamma-compat.h: New file.
8506         * math/test-signgam-main.c: Likewise.
8507         * math/test-signgam-uchar-init-static.c: Likewise.
8508         * math/test-signgam-uchar-init.c: Likewise.
8509         * math/test-signgam-uchar-static.c: Likewise.
8510         * math/test-signgam-uchar.c: Likewise.
8511         * math/test-signgam-uint-init-static.c: Likewise.
8512         * math/test-signgam-uint-init.c: Likewise.
8513         * math/test-signgam-uint-static.c: Likewise.
8514         * math/test-signgam-uint.c: Likewise.
8515         * math/test-signgam-ullong-init-static.c: Likewise.
8516         * math/test-signgam-ullong-init.c: Likewise.
8517         * math/test-signgam-ullong-static.c: Likewise.
8518         * math/test-signgam-ullong.c: Likewise.
8519         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
8520         wrapper of w_lgamma_main.c.
8521         * math/w_lgamma_compat.c: New file.
8522         * math/w_lgamma_compatf.c: Likewise.
8523         * math/w_lgamma_compatl.c: Likewise.
8524         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
8525         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8526         defining compatibility symbols.
8527         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
8528         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
8529         wrapper of w_lgammaf_main.c.
8530         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
8531         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8532         defining compatibility symbols.
8533         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
8534         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
8535         wrapper of w_lgammal_main.c.
8536         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
8537         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
8538         defining compatibility symbols.
8539         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
8540         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
8541         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
8542         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
8543         <lgamma-compat.h>.
8544         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
8545         (__ieee754_gamma): Define as alias.
8546         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
8547         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
8548         <lgamma-compat.h>.
8549         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
8550         (__ieee754_gammaf): Define as alias.
8551         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
8552         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
8553         <lgamma-compat.h>.
8554         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
8555         (__ieee754_gammal): Define as alias.
8556         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
8557         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
8558         <math/w_lgamma_compat.c>.
8559         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
8560         Define as alias of __lgamma_compat and use in defining lgammal.
8561         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
8562         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
8563         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
8564         (USE_AS_COMPAT): New macro.
8565         (LGAMMA_OLD_VER): Undefine and redefine.
8566         (lgammal): Do not define here.
8567         (gammal): Only define here if [GAMMA_ALIAS].
8568         * conform/linknamespace.pl (@whitelist): Remove signgam.
8569         * sysdeps/nacl/libm.abilist: Update.
8570         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8571         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8572         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8573         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8574         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8575         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8576         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8577         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8578         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8579         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8580         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8581         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8583         Likewise.
8584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8585         Likewise.
8586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8587         Likewise.
8588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8589         Likewise.
8590         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8591         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8592         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8593         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8594         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8596         Likewise.
8597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8598         Likewise.
8599         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8600         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8601         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8603 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8605         [BZ #16364]
8606         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
8607         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
8609 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8611         * sysdeps/s390/fpu/bits/mathinline.h:
8612         Use __asm__ [__volatile__] instead of asm [volatile].
8613         * sysdeps/s390/abort-instr.h: Likewise.
8614         * sysdeps/s390/atomic-machine.h: Likewise.
8615         * sysdeps/s390/bits/string.h: Likewise.
8616         * sysdeps/s390/dl-tls.h: Likewise.
8617         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
8618         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
8619         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
8620         * sysdeps/s390/fpu/fesetround.c: Likewise.
8621         * sysdeps/s390/fpu/fpu_control.h: Likewise.
8622         * sysdeps/s390/fpu/s_fma.c: Likewise.
8623         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
8624         * sysdeps/s390/memusage.h: Likewise.
8625         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
8626         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
8627         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
8628         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
8629         * sysdeps/s390/nptl/tls.h: Likewise.
8630         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
8631         * sysdeps/s390/s390-32/backtrace.c: Likewise.
8632         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8633         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
8634         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8635         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
8636         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
8637         * sysdeps/s390/s390-64/backtrace.c: Likewise.
8638         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8639         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
8640         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
8641         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8642         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
8643         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
8644         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
8645         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
8646         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
8647         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
8648         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
8649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8650         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
8651         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8652         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
8654 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8655             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8657         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
8658         Add lwarx hint, and use macro for acquire instruction.
8659         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
8660         Likewise.
8661         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
8662         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
8663         update to use new atomic macros.
8665 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8667         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8668         (__lll_trylock_elision): Fix setting of adapt_count.
8669         * sysdeps/unix/sysv/linux/powerpc/htm.h
8670         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
8671         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
8672         (_ABORT_SYSCALL): Renumber, and clarify definition.
8673         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
8675 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8677         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
8678         after system headers to prevent MIN/MAX redefinition.  Define
8679         HAVE_ALLOCA to preserve builtin alloca usage.
8681 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8683         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
8684         static and don't set or restore rounding.
8685         (__cos)[IN_SINCOS]: Likewise.
8686         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
8687         (__sincos): Set and restore rounding mode.  Remove check for infinite
8688         or NaN input.
8690         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
8692         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
8693         as used.
8695 2015-11-16  Florian Weimer  <fweimer@redhat.com>
8697         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
8699 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
8701         * config.make.in (have-glob-dat-reloc): New.
8702         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
8703         target supports GLOB_DAT relocaton. AC_SUBST.
8704         * configure: Regenerated.
8705         * elf/Makefile (tests): Add tst-prelink.
8706         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8707         (tst-prelink-ENV): New.
8708         ($(objpfx)tst-prelink-conflict.out): Likewise.
8709         ($(objpfx)tst-prelink-cmp.out): Likewise.
8710         * sysdeps/x86/tst-prelink.c: Moved to ...
8711         * elf/tst-prelink.c: Here.
8712         * sysdeps/x86/tst-prelink.exp: Moved to ...
8713         * elf/tst-prelink.exp: Here.
8714         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
8715         (tst-prelink-ENV): Removed.
8716         ($(objpfx)tst-prelink-conflict.out): Likewise.
8717         ($(objpfx)tst-prelink-cmp.out): Likewise.
8718         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
8720 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
8722         [BZ #14551]
8723         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
8724         (__mpn_construct_long_double): If high part overflows to infinity,
8725         set errno and recompute overflowed result of the correct sign.
8726         * sysdeps/ieee754/ldbl-128ibm/Makefile
8727         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
8728         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
8729         $(libm).
8730         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
8732 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
8734         [BZ #15479]
8735         [BZ #19238]
8736         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
8737         floating-point state after first operation on input.  Restore full
8738         state rather than just rounding mode.
8739         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
8740         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
8741         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
8743         [BZ #19235]
8744         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
8745         add 0.5 to integer arguments.
8746         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
8747         Likewise.
8748         (.LC2): New object.
8750 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
8752         * scripts/pylintrc (reports): Set to no.
8754 2015-11-10  Roland McGrath  <roland@hack.frob.com>
8756         * elf/dl-load.c (open_verify): Take new argument FD.
8757         Skip __open call if passed FD is not -1.
8758         (_dl_map_object, open_path): Update callers.
8759         * elf/dl-sysdep-open.h: New file.
8760         * elf/dl-load.c: Include it.
8761         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
8762         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
8763         * sysdeps/nacl/dl-sysdep-open.h: New file.
8764         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
8765         from libc to rtld.
8767 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8769         [BZ #19228]
8770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
8771         and restore full floating-point state.
8772         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
8773         Likewise.
8774         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
8775         Likewise.
8776         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
8777         Likewise.
8778         * math/test-nearbyint-except-2.c: New file.
8779         * math/Makefile (tests): Add test-nearbyint-except-2.
8781 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
8783         [BZ #19178]
8784         * sysdeps/x86/Makefile (tests): Add tst-prelink.
8785         (tst-prelink-ENV): New.
8786         ($(objpfx)tst-prelink-conflict.out): Likewise.
8787         ($(objpfx)tst-prelink-cmp.out): Likewise.
8788         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
8789         * sysdeps/x86/tst-prelink.c: New file.
8790         * sysdeps/x86/tst-prelink.exp: Likewise.
8792 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
8794         * math/auto-libm-test-in: Add another test of pow.
8795         * math/auto-libm-test-out: Regenerated.
8796         * math/libm-test.inc (pow_test_data): Add another test.
8798 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8800         [BZ #19219]
8801         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
8802         weak_alias to nearbyintl.
8804 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8806         * sysdeps/aarch64/bits/string.h: New file.
8807         (_STRING_ARCH_unaligned): Define.
8809 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
8811         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
8812         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
8813         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
8814         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
8815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
8817 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
8819         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
8820         for original name of the DSO.  Add it to the name list of the DSO
8821         if it is actually given.
8822         (_dl_map_object): Keep track of whether an audit module rewrote
8823         the file name.  If yes, pass the original name to
8824         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
8825         debugging is enabled, log the change of the file name.
8826         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
8827         _dl_map_object_from_fd.
8828         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
8829         * elf/tst-audit11.c: New file
8830         * elf/tst-auditmod11.c: New file.
8831         * elf/tst-audit11mod1.c: New file.
8832         * elf/tst-audit11mod2.c: New file.
8833         * elf/tst-audit11mod2.map: New file.
8834         * elf/tst-audit12.c: New file
8835         * elf/tst-auditmod12.c: New file.
8836         * elf/tst-audit12mod1.c: New file.
8837         * elf/tst-audit12mod2.c: New file.
8838         * elf/tst-audit12mod2.map: New file.
8839         * elf/tst-audit12mod3.c: New file.
8841 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8843         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
8844         Don't create weak aliases,
8845         because versioned symbols are created later.
8846         * sysdeps/s390/s390-32/setjmp.S
8847         (setjmp, _setjmp): Remove weak and rename to an unique name
8848         in SHARED case due to existing versioned symbols.
8849         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8850         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
8851         (getcontext): Create weak alias only in non SHARED case.
8852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8854 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8856         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
8857         (__ASSUME_*_SYSCALL) Define new macros.
8858         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
8859         Remove socketcall syscalls.
8860         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
8861         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
8862         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
8863         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
8864         * sysdeps/unix/sysv/linux/send.c (__libc_send):
8865         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
8867 2015-11-09  Florian Weimer  <fweimer@redhat.com>
8869         [BZ #12926]
8870         Terminate process on invalid netlink response.
8871         * sysdeps/unix/sysv/linux/netlinkaccess.h
8872         (__netlink_assert_response): Declare.
8873         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
8874         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
8875         (sysdep_routines): Add netlink_assert_response.
8876         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
8877         __netlink_assert_response.
8878         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
8879         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
8880         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
8881         __netlink_assert_response.
8883 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
8885         [BZ #19178]
8886         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
8887         (RTYPE_CLASS_PLT): Likewise.
8888         (RTYPE_CLASS_COPY): Likewise.
8889         (RTYPE_CLASS_TLS): Likewise.
8890         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
8891         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
8892         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
8893         DL_DEBUG_PRELINK.
8895 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
8897         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
8898         calls with argument -0.5.
8899         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
8901         * configure.ac (libc_cv_z_nodelete): Remove configure test.
8902         (libc_cv_z_nodlopen): Likewise.
8903         (libc_cv_z_initfirst): Likewise.
8904         * configure: Regenerated.
8906 2015-11-06  Florian Weimer  <fweimer@redhat.com>
8908         Simplify abilist format to be line-based.
8909         * scripts/abilist.awk: Collect descriptors in the descs variable.
8910         (emit): Write descs variable and sort it
8911         externally, with sort.
8912         * sysdeps/**/*.abilist: Convert to new format.
8914 2015-11-06  Mark Wielaard  <mjw@redhat.com>
8916         [BZ #11460]
8917         * io/Makefile (routines): Add fts64.
8918         (tests): Add tst-fts and tst-fts-lfs.
8919         (CFLAGS-fts64.c): New.
8920         * io/Versions (GLIBC_2.23): New.
8921         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
8922         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
8923         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
8924         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
8925         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
8926         (FTSENT64): Likewise.
8927         (fts64_children): Likewise.
8928         (fts64_close): Likewise.
8929         (fts64_open): Likewise.
8930         (fts64_read): Likewise.
8931         (fts64_set): Likewise.
8932         * io/fts64.c: New file.
8933         * io/tst-fts.c: New test.
8934         * io/tst-fts-lfs.c: Likewise.
8935         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
8936         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
8937         fts64_set.
8938         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
8939         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
8940         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
8941         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
8942         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
8943         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
8944         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
8945         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
8946         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
8947         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
8948         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
8949         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
8950         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
8951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
8952         Likewise.
8953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
8954         Likewise.
8955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
8956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
8957         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
8958         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
8959         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
8961         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
8962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
8963         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
8964         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8965         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
8966         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
8967         * sysdeps/wordsize-64/fts.c: New file.
8968         * sysdeps/wordsize-64/fts64.c: Likewise.
8969         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
8970         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
8971         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
8972         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
8974 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
8976         * math/libm-test.inc (NON_FINITE): New macro.
8977         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
8978         * math/gen-libm-test.pl (show_exceptions): Add argument
8979         $non_finite.
8980         (parse_args): Update call to show_exceptions.
8981         * math/test-math-finite.h: New file.
8982         * math/test-math-no-finite.h: Likewise.
8983         * math/test-double-finite.c: Likewise.
8984         * math/test-float-finite.c: Likewise.
8985         * math/test-ldouble-finite.c: Likewise.
8986         * math/test-double.c: Include "test-math-no-finite.h".
8987         * math/test-float.c: Include "test-math-no-finite.h".
8988         * math/test-ldouble.c: Include "test-math-no-finite.h".
8989         * math/test-math-inline.h (TEST_FINITE): New macro.
8990         * math/test-math-vector.h (TEST_FINITE): Likewise.
8991         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
8992         (libm-tests): Add test-float-finite and test-double-finite.
8993         ($(objpfx)test-float-finite.o): New dependency on
8994         $(objpfx)libm-test.stmp.
8995         ($(objpfx)test-double-finite.o): Likewise.
8996         ($(objpfx)test-ldouble-finite.o): Likewise.
8997         (libm-test-no-inline-cflags): New variable.
8998         (libm-test-finite-cflags): Likewise.
8999         (CFLAGS-test-float-finite.c): Likewise.
9000         (CFLAGS-test-double-finite.c): Likewise.
9001         (CFLAGS-test-ldouble-finite.c): Likewise.
9002         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9003         (CFLAGS-test-double.c): Likewise.
9004         (CFLAGS-test-ldouble.c): Likewise.
9006 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9008         * io/fcntl.c (__fcntl): Add ... to prototype.
9009         * misc/ioctl.c (__ioctl): Likewise.
9010         * misc/syscall.c (syscall): Likewise.
9012 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9014         * scripts/list-fixed-bugs.py: New file.
9016         [BZ #19213]
9017         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9018         returned for argument 1.
9019         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9020         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9021         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9022         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9023         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9024         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9026         [BZ #19211]
9027         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9028         __USE_XOPEN], not if [!__USE_ISOC99].
9029         (lgammaf): Likewise.
9030         (lgammal): Likewise.
9031         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9032         (gammaf): Likewise.
9033         (gammal): Likewise.
9034         * math/test-signgam-finite-c11.c: New file.
9035         * math/test-signgam-finite-c99.c: Likewise.
9036         * math/test-signgam-finite.c: Likewise.
9037         * math/Makefile (tests): Add test-signgam-finite,
9038         test-signgam-finite-c99 and test-signgam-finite-c11.
9039         (CFLAGS-test-signgam-finite.c): New variable.
9040         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9041         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9043         [BZ #19212]
9044         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9045         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9046         500].
9047         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9048         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9049         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9050         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9051         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9052         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9053         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9054         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9055         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9056         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9058         [BZ #19209]
9059         * math/bits/math-finite.h (ldexp): Remove declaration.
9060         (ldexpf): Likewise.
9061         (ldexpl): Likewise.
9063         [BZ #19205]
9064         * math/bits/math-finite.h (acosf): Condition declaration on
9065         [__USE_ISOC99].
9066         (acosl): Likewise.
9067         (acoshf): Likewise.
9068         (acoshl): Likewise.
9069         (asinf): Likewise.
9070         (asinl): Likewise.
9071         (atan2f): Likewise.
9072         (atan2l): Likewise.
9073         (atanhf): Likewise.
9074         (atanhl): Likewise.
9075         (coshf): Likewise.
9076         (coshl): Likewise.
9077         (expf): Likewise.
9078         (expl): Likewise.
9079         (fmodf): Likewise.
9080         (fmodl): Likewise.
9081         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9082         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9083         (j0l): Likewise.
9084         (y0f): Likewise.
9085         (y0l): Likewise.
9086         (j1f): Likewise.
9087         (j1l): Likewise.
9088         (y1f): Likewise.
9089         (y1l): Likewise.
9090         (jnf): Likewise.
9091         (jnl): Likewise.
9092         (ynf): Likewise.
9093         (ynl): Likewise.
9094         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9095         (lgammal_r): Likewise.
9096         (__lgamma_r_finite): New declaration.
9097         (__lgammaf_r_finite): Likewise.
9098         (__lgammal_r_finite): Likewise.
9099         (lgamma): Use __lgamma_r_finite.
9100         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9101         __lgammaf_r_finite.
9102         (lgammal): Condition definition on [__USE_ISOC99].  Use
9103         __lgammal_r_finite.
9104         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9105         __lgamma_r_finite.
9106         (gammaf): Condition definition on [__USE_ISOC99].  Use
9107         __lgammaf_r_finite.
9108         (gammal): Condition definition on [__USE_ISOC99].  Use
9109         __lgammal_r_finite.
9110         (logf): Condition declaration on [__USE_ISOC99].
9111         (logl): Likewise.
9112         (log10f): Likewise.
9113         (log10l): Likewise.
9114         (ldexpf): Likewise.
9115         (ldexpl): Likewise.
9116         (powf): Likewise.
9117         (powl): Likewise.
9118         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9119         __USE_ISOC99].
9120         (remainderf): Condition declaration on [__USE_ISOC99].
9121         (remainderl): Likewise.
9122         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9123         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9124         (scalbl): Likewise.
9125         (sinhf): Condition declaration on [__USE_ISOC99].
9126         (sinhl): Likewise.
9127         (sqrtf): Likewise.
9128         (sqrtl): Likewise.
9130 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9132         * sysdeps/arm/atomic-machine.h
9133         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9134         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9135         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9136         Remove conditional code.
9137         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9138         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9139         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9140         Change conditional to [__ASSEMBLER__].
9141         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9142         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9143         [!__ASSEMBLER__].
9144         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9145         code.
9146         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9147         conditional macro definitions.
9148         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9149         (__arch_compare_and_exchange_val_16_acq): Likewise.
9150         (__arch_compare_and_exchange_val_32_acq): Likewise.
9151         (atomic_exchange_and_add): Likewise.
9152         (atomic_add): Likewise.
9153         (atomic_add_negative): Likewise.
9154         (atomic_add_zero): Likewise.
9155         (atomic_bit_set): Likewise.
9156         (atomic_bit_test_set): Likewise.
9157         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9158         code unconditional.
9159         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9161         * math/test-math-errno.h: New file.
9162         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
9163         empty.
9164         (TEST_ERRNO): New macro.
9165         (TEST_EXCEPTIONS): Likewise.
9166         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
9167         (TEST_EXCEPTIONS): Likewise.
9168         * math/test-math-vector.h (TEST_ERRNO): Likewise.
9169         * math/test-double.c: Include "test-math-errno.h".
9170         * math/test-float.c: Likewise.
9171         * math/test-ldouble.c: Likewise.
9172         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
9173         code unconditional.
9174         (test_exceptions): Only run code if TEST_EXCEPTIONS.
9175         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
9176         unconditional.
9177         (test_errno): Only run code if TEST_ERRNO.
9178         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
9180 2015-11-04  Florian Weimer  <fweimer@redhat.com>
9182         * nptl/tst-once5.cc: Remove attribution.
9184 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9186         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
9187         sqrt, tan, tanh, y0, y1 and yn.
9188         * math/auto-libm-test-out: Regenerated.
9189         * math/libm-test.inc (scalb_test_data): Add more tests.
9190         (scalbn_test_data): Likewise.
9191         (scalbln_test_data): Likewise.
9192         (signbit_test_data): Likewise.
9193         (sin_test_data): Likewise.
9194         (sincos_test_data): Likewise.
9195         (sinh_test_data): Likewise.
9196         (sqrt_test_data): Likewise.
9197         (tan_test_data): Likewise.
9198         (tanh_test_data): Likewise.
9199         (tgamma_test_data): Likewise.
9200         (y0_test_data): Likewise.
9201         (y1_test_data): Likewise.
9202         (yn_test_data): Likewise.
9203         (significand_test_data): Likewise.
9204         * sysdeps/i386/fpu/libm-test-ulps: Update.
9206 2015-11-03  David Kastrup  <dak@gnu.org>
9208         [BZ #18604]
9209         * assert/assert.h (assert): Don't macro-expand failed assertion
9210         expression in error message.
9211         * malloc/malloc.c (assert): Likewise.
9213 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
9215         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
9216         test.
9217         * configure: Regenerated.
9219 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
9221         * math/libm-test.inc (modf_test_data): Add more tests.
9222         (nearbyint_test_data): Likewise.
9223         (nextafter_test_data): Likewise.
9224         (nexttoward_test_data): Likewise.
9225         (pow_test_data): Likewise.
9226         (remainder_test_data): Likewise.
9227         (remquo_test_data): Likewise.
9228         (rint_test_data): Likewise.
9230         [BZ #19201]
9231         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9232         Check for zero remainder in case of large exponents and ensure
9233         correct sign of result in that case.
9234         * math/libm-test.inc (remainder_test_data): Add more tests.
9236         [BZ #6799]
9237         * math/s_nextafter.c: Include <errno.h>.
9238         (__nextafter): Set errno on overflow and underflow.
9239         * math/s_nexttowardf.c: Include <errno.h>.
9240         (__nexttowardf): Set errno on overflow and underflow.
9241         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
9242         (__nextafterl): Set errno on overflow and underflow.
9243         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
9244         (__nexttoward): Set errno on overflow and underflow.
9245         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
9246         (__nexttowardf): Set errno on overflow and underflow.
9247         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
9248         (__nextafterf): Set errno on overflow and underflow.
9249         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
9250         (__nextafterl): Set errno on overflow and underflow.
9251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
9252         (__nexttoward): Set errno on overflow and underflow.
9253         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
9254         (__nexttowardf): Set errno on overflow and underflow.
9255         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
9256         (__nextafterl): Set errno on overflow and underflow.
9257         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
9258         (__nexttoward): Set errno on overflow and underflow.
9259         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
9260         (__nexttowardf): Set errno on overflow and underflow.
9261         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
9262         (__nexttoward): Set errno on overflow and underflow.
9263         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
9264         (__nexttowardf): Set errno on overflow and underflow.
9265         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
9266         (__nldbl_nexttowardf): Set errno on overflow and underflow.
9267         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
9268         (__nextafterl): Set errno on overflow and underflow.
9269         * math/libm-test.inc (nextafter_test_data): Do not allow errno
9270         setting to be missing on overflow.  Add more tests.
9271         (nexttoward_test_data): Likewise.
9273         * configure.ac (libc_cv_initfini_array): Remove configure test.
9274         * configure: Regenerated.
9276 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
9278         [BZ #19189]
9279         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
9280         non-finite argument handle arguments with negative sign.
9282         * math/libm-test.inc (j0_test_data): Do not test sign of zero
9283         result from infinite argument.
9284         (j1_test_data): Likewise.
9285         (jn_test_data): Likewise.
9286         (y0_test_data): Likewise.
9287         (y1_test_data): Likewise.
9288         (yn_test_data): Likewise.
9290         [BZ #16171]
9291         * math/w_remainder.c (drem): Define as weak alias of __remainder.
9292         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
9293         * math/w_remainderf.c (dremf): Define as weak alias of
9294         __remainderf.
9295         * math/w_remainderl.c (dreml): Define as weak alias of
9296         __remainderl.
9297         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
9298         __remainder.
9299         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
9300         __remainderf.
9301         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
9302         __remainderl.
9303         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
9304         weak alias of remainderl.
9305         * sysdeps/ieee754/ldbl-opt/w_remainder.c
9306         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
9307         alias of __remainder.
9308         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
9309         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
9310         strong alias of __remainderl.
9311         (dreml): Use long_double_symbol.
9312         * math/Makefile (libm-calls): Remove w_drem.
9313         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
9314         (CFLAGS-nldbl-drem.c): Remove variable.
9315         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
9316         * math/w_drem.c: Remove file.
9317         * math/w_dremf.c: Likewise.
9318         * math/w_dreml.c: Likewise.
9319         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
9320         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
9321         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
9323         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
9324         * sysdeps/i386/configure: Regenerated.
9325         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
9326         * sysdeps/x86_64/configure: Regenerated.
9328         * configure.ac (libc_cv_asm_protected_directive): Remove configure
9329         test.
9330         (libc_cv_visibility_attribute): Likewise.
9331         (libc_cv_protected_data): Test unconditionally.
9332         (libc_cv_broken_visibility_attribute): Remove configure test.
9333         (libc_cv_have_sdata_section): Test unconditionally.
9334         * configure: Regenerated.
9336         * include/libc-internal.h (libc_max_align_t): Remove typedef.
9337         * include/scratch_buffer.h: Include <stddef.h> instead of
9338         <libc-internal.h>.
9339         (struct scratch_buffer): Use max_align_t instead of
9340         libc_max_align_t.
9342 2015-10-29  Florian Weimer  <fweimer@redhat.com>
9344         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
9345         instead of extend_alloca.  Change control flow to avoid a goto.
9346         Remove assert which is trivially always true.
9348 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9350         [BZ #16068]
9351         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
9352         (FE_ALL_EXCEPT_X86): New macro.
9353         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9354         FE_ALL_EXCEPT.  Ensure precision control is included in
9355         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9356         handle "denormal operand exception" and clear FZ and DAZ bits.
9357         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
9358         (FE_ALL_EXCEPT_X86): New macro.
9359         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
9360         FE_ALL_EXCEPT.  Ensure precision control is included in
9361         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
9362         handle "denormal operand exception" and clear FZ and DAZ bits.
9363         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
9364         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
9365         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9366         test-fenv-x87 and test-fenv-sse-2.
9367         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
9369         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
9370         * math/test-double.h (BUILD_COMPLEX): New macro.
9371         * math/test-float.h (BUILD_COMPLEX): Likewise.
9372         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
9374         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
9375         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
9376         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
9377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
9378         instead of DBL_DENORM_MIN in comment.
9379         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
9380         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9381         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
9382         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
9383         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
9384         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
9386 2015-10-28  Florian Weimer  <fweimer@redhat.com>
9388         [BZ# 19048]
9389         * malloc/malloc.c (struct malloc_state): Update comment.  Add
9390         attached_threads member.
9391         (main_arena): Initialize attached_threads.
9392         * malloc/arena.c (list_lock): Update comment.
9393         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
9394         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
9395         (deattach_arena): New function.
9396         (_int_new_arena): Initialize arena reference count and deattach
9397         replaced arena.
9398         (get_free_list, reused_arena): Update reference count and deattach
9399         replaced arena.
9400         (arena_thread_freeres): Update arena reference count and only put
9401         unreferenced arenas on the free list.
9403 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9405         [BZ #19181]
9406         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
9407         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
9408         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
9409         * math/test-fenv-clear-main.c: New file.
9410         * math/test-fenv-clear.c: Likewise.
9411         * math/Makefile (tests): Add test-fenv-clear.
9412         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
9413         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9414         test-fenv-clear-sse.
9415         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
9417         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
9418         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
9419         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
9421 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9423         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
9424         static libc.
9426 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
9428         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
9429         test.
9430         * sysdeps/i386/configure: Regenerated.
9431         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
9432         test.
9433         * sysdeps/x86_64/configure: Regenerated.
9434         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
9435         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9436         memset-avx2 unconditionally instead of conditionally on
9437         [$(config-cflags-avx2) = yes].
9438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9439         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
9440         unconditional.
9441         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
9442         * sysdeps/x86_64/multiarch/memset_chk.S
9443         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
9444         to [IS_IN (libc) && SHARED].
9446 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9448         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
9449         configure test.
9450         * sysdeps/arm/configure: Regenerated.
9451         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
9452         Define variable if not already defined.
9454         [BZ #17404]
9455         * sysdeps/mips/atomic-machine.h
9456         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
9457         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
9458         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9460         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
9461         unconditional.
9462         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
9463         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9464         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
9465         unconditional.
9466         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9467         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
9468         unconditional.
9469         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9470         * stdlib/setenv.c
9471         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
9472         code unconditional.
9473         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
9474         Remove conditional code.
9475         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
9476         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
9477         unconditional.
9478         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9479         code.
9480         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
9481         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
9482         unconditional.
9483         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9484         code.
9485         * sysdeps/ieee754/ldbl-128/k_tanl.c
9486         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9487         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9488         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
9489         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9490         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9491         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
9492         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
9493         unconditional.
9494         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
9495         code.
9496         * sysdeps/ieee754/ldbl-96/k_tanl.c
9497         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
9498         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9500         * nptl/tst-initializers1-c11.c: New file.
9501         * nptl/tst-initializers1-gnu11.c: Likewise.
9502         * nptl/Makefile (tests): Add these new tests.
9503         (CFLAGS-tst-initializers1-c11.c): New variable.
9504         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
9506         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
9507         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
9508         instead of -std=gnu99.
9509         * configure.ac (systemtap): Test with -std=gnu11 instead of
9510         -std=gnu99.
9511         * configure: Regenerated.
9512         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
9513         in compilation command in comment.
9515         * sysdeps/nptl/configure.ac: Remove file.
9516         * sysdeps/nptl/configure: Remove generated file.
9517         * configure.ac (libc_cv_forced_unwind): Do not substitute.
9518         * configure: Regenerated.
9519         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
9520         * config.make.in (have-forced-unwind): Remove variable.
9521         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9522         unconditional.
9523         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
9524         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
9525         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
9526         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
9527         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
9528         unconditional.
9530 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9532         [BZ #19174]
9533         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
9534         .skip_lock_out_of_tbegin_retries.
9535         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
9536         (__lll_lock_elision): Likewise, and respect a value of
9537         try_tbegin <= 0.
9539 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9541         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
9542         statement.
9544 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9546         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
9547         variable.
9548         (test-xfail-ISO11/stdalign.h/conform): Likewise.
9549         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
9551         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
9552         of -std=c1x -D_ISOC11_SOURCE.
9554         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
9555         * configure: Regenerated.
9556         * manual/install.texi (Tools for Compilation): Document
9557         requirement for GCC 4.7 or later.
9558         * INSTALL: Regenerated.
9560 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
9562         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
9563         on CNT to a conditional jump to 'puntdata'.
9565 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
9567         * configure.ac (libc_cv_gcc___thread): Remove configure test.
9568         (libc_cv_gcc_tls_model_attr): Likewise.
9569         * configure: Regenerated.
9571         * configure.ac (libc_cv_need_minus_P): Remove configure test.
9572         * configure: Regenerated.
9573         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
9575 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
9577         * configure.ac (old_glibc_headers): Remove configure test.
9578         * configure: Regenerated.
9579         * config.make.in (old-glibc-headers): Remove variable.
9580         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
9581         (install): Remove dependency on remove-old-headers.
9582         (headers2_0): Remove variable.
9583         (remove-old-headers): Remove rule.
9585         * configure.ac (libc_cv_dot_text): Remove configure test.
9586         (libc_cv_asm_set_directive): Use .text instead of
9587         ${libc_cv_dot_text} in configure test.
9588         * configure: Regenerated.
9590 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9592         [BZ #19168]
9593         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
9595 2015-10-26  Florian Weimer  <fweimer@redhat.com>
9597         * configure.ac (CXX): Clear the variable if the C++ toolchain does
9598         not support static linking.
9599         * configure: Regenerate.
9601 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
9603         * math/libm-test.inc (check_float_internal): Do not special-case
9604         errors up to 0.5 ulp.
9606         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9607         log2.
9608         * math/auto-libm-test-out: Regenerated.
9609         * math/libm-test.inc (MAX_EXP): New macro.
9610         (ilogb_test_data): Add more tests.
9611         (isfinite_test_data): Likewise.
9612         (isgreater_test_data): Likewise.
9613         (isgreaterequal_test_data): Likewise.
9614         (isinf_test_data): Likewise.
9615         (isless_test_data): Likewise.
9616         (islessequal_test_data): Likewise.
9617         (islessgreater_test_data): Likewise.
9618         (isnan_test_data): Likewise.
9619         (isnormal_test_data): Likewise.
9620         (issignaling_test_data): Likewise.
9621         (isunordered_test_data): Likewise.
9622         (j0_test_data): Likewise.
9623         (j1_test_data): Likewise.
9624         (jn_test_data): Likewise.
9625         (lgamma_test_data): Likewise.
9626         (log_test_data): Likewise.
9627         (log10_test_data): Likewise.
9628         (log1p_test_data): Likewise.
9629         (log2_test_data): Likewise.
9630         (logb_test_data): Likewise.
9631         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9633         [BZ #18611]
9634         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
9635         avoid excess range and precision on underflow.
9636         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9637         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
9638         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9639         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
9640         underflow.
9641         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9643         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
9644         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9645         * math/auto-libm-test-in: Do not allow missing errno setting for
9646         tests of j1 and jn.
9647         * math/auto-libm-test-out: Regenerated.
9649 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
9651         [BZ #15491]
9652         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
9653         floating-point environment instead of clearing all exceptions.
9654         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9655         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
9656         merging in "invalid" exceptions from frndint.
9657         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9658         * math/test-nearbyint-except.c: New file.
9659         * math/Makefile (tests): Add test-nearbyint-except.
9661 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
9663         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
9665         * sysdeps/tile/libm-test-ulps: Regenerated.
9667 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
9670         (__NR_sync_file_range2): Assume it is always defined.
9671         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
9672         (__NR_sync_file_range): Assume it is always defined.
9674 2015-10-22  Andreas Schwab  <schwab@suse.de>
9676         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
9677         INTERNAL_SYSCALL_ERRNO.
9678         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9679         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
9680         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9681         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
9682         Likewise.
9683         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9685 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9687         * io/tst-fcntl.c (fd): New static variable.
9688         (do_prepare): Open temporary file here....
9689         (do_test): ...not here.
9691         * io/ftwtest-sh: Also trap on exit to remove temporary files.
9693 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9695         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
9696         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9697         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9698         Moved before "#ifdef __ASSEMBLER__".
9700 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9702         [BZ #19156]
9703         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
9704         arguments very close to 0.
9706 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
9708         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
9709         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
9711 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
9713         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
9714         New.  Defined for GCC 5 and above when not compiling for
9715         profiling.
9716         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
9718         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
9719         Renamed to ...
9720         (CFLAGS-epoll_pwait.o): This.
9721         (CFLAGS-mmap.c): Renamed to ...
9722         (CFLAGS-mmap.o): This.
9723         (CFLAGS-mmap64.c): Renamed to ...
9724         (CFLAGS-mmap64.o): This.
9725         (CFLAGS-epoll_pwait.os): New.
9726         (CFLAGS-mmap.os): Likewise.
9727         (CFLAGS-mmap64.os): Likewise.
9728         (CFLAGS-semtimedop.os): Likewise.
9729         (CFLAGS-semtimedop.c): Renamed to ...
9730         (CFLAGS-semtimedop.o): This.
9732 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9734         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
9735         warning message.
9737 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
9739         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
9740         * Makefile ($(objpfx)c++-types-check.out): Filter out
9741         $(+gccwarn-c) instead of -Wstrict-prototypes.
9743         * io/fts.c (fts_open): Convert to prototype-style function
9744         definition.
9745         * malloc/mcheck.c (mcheck): Likewise.
9746         (mcheck_pedantic): Likewise.
9747         * posix/regexec.c (re_search_2_stub): Likewise.  Use
9748         internal_function.
9749         (re_search_internal): Likewise.
9750         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
9751         prototype-style function definition.
9752         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
9753         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
9754         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
9755         (xdr_utmpptr): Likewise.
9756         (xdr_utmparr): Likewise.
9757         (xdr_utmpidle): Likewise.
9758         (xdr_utmpidleptr): Likewise.
9759         (xdr_utmpidlearr): Likewise.
9761         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
9762         log, log10 and log2.
9763         * math/auto-libm-test-out: Regenerated.
9764         * math/libm-test.inc (fmod_test_data): Add more tests.
9765         (fpclassify_test_data): Likewise.
9766         (frexp_test_data): Likewise.
9767         (hypot_test_data): Likewise.
9768         (ilogb_test_data): Likewise.
9770 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
9772         * debug/fortify_fail.c (__fortify_fail): Convert to
9773         prototype-style function definition.  Use internal_function.
9774         * libio/genops.c (save_for_backup): Convert to prototype-style
9775         function definition.
9776         * libio/wgenops.c (save_for_wbackup): Likewise.
9777         * login/grantpt.c (grantpt): Likewise.
9778         * login/ptsname.c (ptsname): Likewise.
9779         (__ptsname_r): Likewise.
9780         * login/unlockpt.c (unlockpt): Likewise.
9781         * mach/msgserver.c (__mach_msg_server): Likewise.
9782         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
9783         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
9784         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
9785         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
9786         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
9787         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
9788         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
9789         Likewise.
9790         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
9791         internal_function.
9792         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
9793         prototype-style function definition.
9794         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
9795         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
9796         (__pthread_create_2_0): Likewise.
9797         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
9798         * nptl/register-atfork.c (__register_atfork): Likewise.
9799         * posix/glob.c (glob): Likewise.
9800         * posix/regcomp.c (re_comp): Likewise.
9801         * posix/regexec.c (re_exec): Likewise.
9802         * stdlib/add_n.c [__STDC__]: Make code unconditional.
9803         [!__STDC__]: Remove conditional code.
9804         * stdlib/cmp.c [__STDC__]: Make code unconditional.
9805         [!__STDC__]: Remove conditional code.
9806         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
9807         [!__STDC__]: Remove conditional code.
9808         * stdlib/divrem.c [__STDC__]: Make code unconditional.
9809         [!__STDC__]: Remove conditional code.
9810         * stdlib/lshift.c [__STDC__]: Make code unconditional.
9811         [!__STDC__]: Remove conditional code.
9812         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
9813         [!__STDC__]: Remove conditional code.
9814         * stdlib/mul.c [__STDC__]: Make code unconditional.
9815         [!__STDC__]: Remove conditional code.
9816         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
9817         [!__STDC__]: Remove conditional code.
9818         * stdlib/rshift.c [__STDC__]: Make code unconditional.
9819         [!__STDC__]: Remove conditional code.
9820         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
9821         function definition.
9822         (STRTOF): Likewise.
9823         * stdlib/strtod_l.c (__STRTOF): Likewise.
9824         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
9825         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
9826         (__strtol_l): Likewise.
9827         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
9828         [!__STDC__]: Remove conditional code.
9829         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
9830         definition.
9831         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9832         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9833         type.
9834         (__strcasecmp): Convert to prototype-style function definition.
9835         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
9836         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9837         type.
9838         (__strncasecmp): Convert to prototype-style function definition.
9839         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
9840         * sunrpc/xdr.c (xdr_union): Likewise.
9841         * sunrpc/xdr_array.c (xdr_array): Likewise.
9842         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
9843         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
9844         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
9845         Likewise.
9846         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
9847         Likewise.
9848         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
9849         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9850         Likewise.
9851         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
9852         (LOCALE_PARAM_PROTO): Likewise.
9853         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
9854         argument type.
9855         (ut_argument_spec): Remove macro.
9856         (ut_argument_spec_iso): Rename to ut_argument_spec.
9857         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
9858         prototype-style function definition.
9859         (memcpy_uppcase): Likewise.
9860         (__strftime_internal): Likewise.
9861         (my_strftime): Likewise.
9862         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
9863         (LOCALE_PARAM_DECL): Likewise.
9864         [_LIBC] (LOCALE_PARAM): Include argument type.
9865         (__strptime_internal): Convert to prototype-style function
9866         definition.
9867         (strptime): Likewise.
9868         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
9869         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9870         type.
9871         (__wcscasecmp): Convert to prototype-style function definition.
9872         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
9873         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
9874         type.
9875         (__wcsncasecmp): Convert to prototype-style function definition.
9877         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
9878         function definition.
9879         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9880         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9881         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
9882         * elf/dl-minimal.c (_itoa): Likewise.
9883         * hurd/hurdmalloc.c (malloc): Likewise.
9884         (free): Likewise.
9885         (realloc): Likewise.
9886         * inet/inet6_option.c (inet6_option_space): Likewise.
9887         (inet6_option_init): Likewise.
9888         (inet6_option_append): Likewise.
9889         (inet6_option_alloc): Likewise.
9890         (inet6_option_next): Likewise.
9891         (inet6_option_find): Likewise.
9892         * io/ftw.c (FTW_NAME): Likewise.
9893         (NFTW_NAME): Likewise.
9894         (NFTW_NEW_NAME): Likewise.
9895         (NFTW_OLD_NAME): Likewise.
9896         * libio/iofwide.c (_IO_fwide): Likewise.
9897         * libio/strops.c (_IO_str_init_static_internal): Likewise.
9898         (_IO_str_init_static): Likewise.
9899         (_IO_str_init_readonly): Likewise.
9900         (_IO_str_overflow): Likewise.
9901         (_IO_str_underflow): Likewise.
9902         (_IO_str_count): Likewise.
9903         (_IO_str_seekoff): Likewise.
9904         (_IO_str_pbackfail): Likewise.
9905         (_IO_str_finish): Likewise.
9906         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
9907         (_IO_wstr_overflow): Likewise.
9908         (_IO_wstr_underflow): Likewise.
9909         (_IO_wstr_count): Likewise.
9910         (_IO_wstr_seekoff): Likewise.
9911         (_IO_wstr_pbackfail): Likewise.
9912         (_IO_wstr_finish): Likewise.
9913         * locale/programs/localedef.c (normalize_codeset): Likewise.
9914         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
9915         (add_locales_to_archive): Likewise.
9916         (delete_locales_from_archive): Likewise.
9917         * malloc/malloc.c (__libc_mallinfo): Likewise.
9918         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
9919         * misc/tsearch.c (__tfind): Likewise.
9920         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
9921         * nptl/pthread_attr_getdetachstate.c
9922         (__pthread_attr_getdetachstate): Likewise.
9923         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
9924         Likewise.
9925         * nptl/pthread_attr_getinheritsched.c
9926         (__pthread_attr_getinheritsched): Likewise.
9927         * nptl/pthread_attr_getschedparam.c
9928         (__pthread_attr_getschedparam): Likewise.
9929         * nptl/pthread_attr_getschedpolicy.c
9930         (__pthread_attr_getschedpolicy): Likewise.
9931         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
9932         Likewise.
9933         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
9934         Likewise.
9935         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
9936         Likewise.
9937         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
9938         Likewise.
9939         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
9940         (__pthread_attr_init_2_0): Likewise.
9941         * nptl/pthread_attr_setdetachstate.c
9942         (__pthread_attr_setdetachstate): Likewise.
9943         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
9944         Likewise.
9945         * nptl/pthread_attr_setinheritsched.c
9946         (__pthread_attr_setinheritsched): Likewise.
9947         * nptl/pthread_attr_setschedparam.c
9948         (__pthread_attr_setschedparam): Likewise.
9949         * nptl/pthread_attr_setschedpolicy.c
9950         (__pthread_attr_setschedpolicy): Likewise.
9951         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
9952         Likewise.
9953         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
9954         Likewise.
9955         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
9956         Likewise.
9957         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
9958         Likewise.
9959         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
9960         Likewise.
9961         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
9962         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
9963         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
9964         use internal_function.
9965         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
9966         prototype-style function definition.
9967         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
9968         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
9969         internal_function.
9970         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
9971         Convert to prototype-style function definition.
9972         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9973         Likewise.
9974         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
9975         Likewise.
9976         (__pthread_mutex_unlock): Likewise.
9977         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
9978         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
9979         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
9980         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
9981         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
9982         * nss/makedb.c (process_input): Likewise.
9983         * posix/fnmatch.c (__strchrnul): Likewise.
9984         (__wcschrnul): Likewise.
9985         (fnmatch): Likewise.
9986         * posix/fnmatch_loop.c (FCT): Likewise.
9987         * posix/glob.c (globfree): Likewise.
9988         (__glob_pattern_type): Likewise.
9989         (__glob_pattern_p): Likewise.
9990         * posix/regcomp.c (re_compile_pattern): Likewise.
9991         (re_set_syntax): Likewise.
9992         (re_compile_fastmap): Likewise.
9993         (regcomp): Likewise.
9994         (regerror): Likewise.
9995         (regfree): Likewise.
9996         * posix/regexec.c (regexec): Likewise.
9997         (re_match): Likewise.
9998         (re_search): Likewise.
9999         (re_match_2): Likewise.
10000         (re_search_2): Likewise.
10001         (re_search_stub): Likewise.  Use internal_function
10002         (re_copy_regs): Likewise.
10003         (re_set_registers): Convert to prototype-style function
10004         definition.
10005         (prune_impossible_nodes): Likewise.  Use internal_function.
10006         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10007         prototype-style function definition.
10008         (inet_net_pton_ipv4): Likewise.
10009         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10010         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10011         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10012         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10013         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10014         Make variadic.
10015         * time/strptime_l.c (localtime_r): Convert to prototype-style
10016         function definition.
10017         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10018         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10019         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10020         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10022         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10023         definition.
10024         (_ufc_doit_r): Likewise.
10025         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10026         (_ufc_output_conversion_r): Likewise.
10027         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10028         * inet/rcmd.c (rcmd_af): Likewise.
10029         (rcmd): Likewise.
10030         (ruserok_af): Likewise.
10031         (ruserok): Likewise.
10032         (ruserok2_sa): Likewise.
10033         (ruserok_sa): Likewise.
10034         (iruserok_af): Likewise.
10035         (iruserok): Likewise.
10036         (__ivaliduser): Likewise.
10037         (__validuser2_sa): Likewise.
10038         * inet/rexec.c (rexec_af): Likewise.
10039         (rexec): Likewise.
10040         * inet/ruserpass.c (ruserpass): Likewise.
10041         * locale/programs/xmalloc.c (xcalloc): Likewise.
10042         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10043         * math/w_drem.c (__drem): Likewise.
10044         * math/w_dremf.c (__dremf): Likewise.
10045         * math/w_dreml.c (__dreml): Likewise.
10046         * misc/daemon.c (daemon): Likewise.
10047         * resolv/res_debug.c (p_fqnname): Likewise.
10048         * stdlib/div.c (div): Likewise.
10049         * string/memcmp.c (memcmp_bytes): Likewise.
10050         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10051         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10053         * crypt/cert.c (main): Convert to prototype-style function
10054         definition.
10055         * io/pipe.c (__pipe): Likewise.
10056         * io/pipe2.c (__pipe2): Likewise.
10057         * misc/futimesat.c (futimesat): Likewise.
10058         * misc/utimes.c (__utimes): Likewise.
10059         * posix/execve.c (__execve): Likewise.
10060         * posix/execvp.c (execvp): Likewise.
10061         * posix/execvpe.c (__execvpe): Likewise.
10062         * posix/fexecve.c (fexecve): Likewise.
10063         * socket/socketpair.c (socketpair): Likewise.
10064         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10065         * stdlib/erand48.c (erand48): Likewise.
10066         * stdlib/erand48_r.c (__erand48_r): Likewise.
10067         * stdlib/jrand48.c (jrand48): Likewise.
10068         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10069         * stdlib/lcong48.c (lcong48): Likewise.
10070         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10071         * stdlib/nrand48.c (nrand48): Likewise.
10072         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10073         * stdlib/seed48.c (seed48): Likewise.
10074         * stdlib/seed48_r.c (__seed48_r): Likewise.
10075         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10076         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10077         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10079 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10081         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10082         * configure: Regenerated.
10083         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10084         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10085         unconditional.
10086         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10087         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10088         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10089         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10090         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10091         unconditional.
10092         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10094         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10095         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10097         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10098         function definition.
10099         * crypt/crypt_util.c (__encrypt_r): Likewise.
10100         * libio/genops.c (_IO_no_init): Likewise.
10101         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10102         (_IO_old_fopencookie): Likewise.
10103         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10104         * libio/iogetline.c (_IO_getline): Likewise.
10105         (_IO_getline_info): Likewise.
10106         * libio/iogetwline.c (_IO_getwline): Likewise.
10107         (_IO_getwline_info): Likewise.
10108         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10109         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10110         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10111         (find_entry): Likewise.
10112         (iterate_table): Likewise.
10113         (lookup): Likewise.
10114         * login/forkpty.c (forkpty): Likewise.
10115         * misc/hsearch_r.c (__hsearch_r): Likewise.
10116         * misc/select.c (__select): Likewise.
10117         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10118         Likewise.
10119         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10120         Likewise.
10121         * nptl/old_pthread_cond_timedwait.c
10122         (__pthread_cond_timedwait_2_0): Likewise.
10123         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10124         * nptl/pthread_barrierattr_getpshared.c
10125         (pthread_barrierattr_getpshared): Likewise.
10126         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10127         Likewise.
10128         * nptl/pthread_mutex_setprioceiling.c
10129         (pthread_mutex_setprioceiling): Likewise.
10130         * nptl/pthread_mutexattr_getprioceiling.c
10131         (pthread_mutexattr_getprioceiling): Likewise.
10132         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10133         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10134         Likewise.
10135         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10136         Likewise.
10137         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10138         Likewise.
10139         * socket/recvfrom.c (__recvfrom): Likewise.
10140         * socket/sendto.c (__sendto): Likewise.
10141         * socket/setsockopt.c (__setsockopt): Likewise.
10142         * stdio-common/_itoa.c (_itoa): Likewise.
10143         * stdio-common/_itowa.c (_itowa): Likewise.
10144         * stdio-common/reg-printf.c (__register_printf_specifier):
10145         Likewise.
10146         (__register_printf_function): Likewise.
10147         * stdio-common/tempname.c (__path_search): Likewise.
10148         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10149         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10150         * stdlib/random_r.c (__initstate_r): Likewise.
10151         * stdlib/setenv.c (__add_to_environ): Likewise.
10152         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10153         * streams/getpmsg.c (getpmsg): Likewise.
10154         * streams/putmsg.c (putmsg): Likewise.
10155         * streams/putpmsg.c (putpmsg): Likewise.
10156         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10157         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10158         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10159         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10160         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10161         * sunrpc/svc_udp.c (cache_get): Likewise.
10162         * sunrpc/xdr_array.c (xdr_vector): Likewise.
10163         * sysdeps/mach/hurd/getcwd.c
10164         (__canonicalize_directory_name_internal): Likewise.
10165         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
10166         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
10167         * sysdeps/mach/hurd/select.c (__select): Likewise.
10168         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
10169         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
10170         * sysdeps/sparc/nptl/pthread_barrier_init.c
10171         (__pthread_barrier_init): Likewise.
10172         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
10173         (__pthread_cond_timedwait): Likewise.
10174         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
10175         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
10176         Likewise.
10177         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
10178         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
10179         Likewise.
10180         * sysvipc/semtimedop.c (semtimedop): Likewise.
10181         * time/setitimer.c (__setitimer): Likewise.
10182         * time/strftime_l.c (emacs_strftime): Likewise.
10184 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10186         * config.make.in (have-ssp): Delete.
10187         (stack-protector): New variable.
10188         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
10189         cache test for -fstack-protector-strong.  Export stack_protector to
10190         the best ssp flag.
10191         * configure: Regenerated.
10192         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
10193         * nscd/Makefile (CFLAGS-nscd): Likewise.
10194         * resolv/Makefile (CFLAGS-libresolv): Likewise.
10196 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
10198         [BZ #19122]
10199         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
10200         attribute_hidden.
10202 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10204         [BZ #18743]
10205         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
10206         code to...
10207         (ELIDE_LOCK): ...here.
10208         (__get_new_count): New function with part of the code from
10209         __elide_lock that updates the value of adapt_count after a
10210         transaction abort.
10211         (__elided_trylock): Moved this code to...
10212         (ELIDE_TRYLOCK): ...here.
10214 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
10216         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
10217         * configure: Regenerate.
10218         * INSTALL: Regenerate.
10219         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
10220         and tweak grammar.
10222 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
10224         * login/programs/pt_chown.c: Include signal.h
10225         (main): Clear any signal mask from the parent process.
10227 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10229         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
10230         * configure: Regenerated.
10231         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
10232         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
10233         $(gnu89-inline-CFLAGS).
10235         * configure.ac (libc_cv_asm_weak_directive): Remove configure
10236         test.
10237         (libc_cv_asm_weakext_directive): Likewise.
10238         * configure: Regenerated.
10239         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
10240         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
10241         * include/libc-symbols.h
10242         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
10243         #error.
10244         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
10245         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
10247         * sysdeps/arm/backtrace.c (__backtrace): Convert to
10248         prototype-style function definition.
10249         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
10250         * sysdeps/i386/ffs.c (__ffs): Likewise.
10251         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10252         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
10253         Likewise.
10254         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10255         Likewise.
10256         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
10257         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10258         Likewise.
10259         * sysdeps/m68k/ffs.c (__ffs): Likewise.
10260         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
10261         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
10262         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
10263         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
10264         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
10265         * sysdeps/mach/hurd/access.c (__access): Likewise.
10266         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
10267         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
10268         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
10269         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
10270         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
10271         (cthread_getspecific): Likewise.
10272         (cthread_setspecific): Likewise.
10273         (__libc_getspecific): Likewise.
10274         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
10275         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
10276         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
10277         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
10278         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
10279         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
10280         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
10281         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
10282         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
10283         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
10284         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
10285         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
10286         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
10287         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
10288         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
10289         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
10290         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
10291         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
10292         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
10293         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
10294         * sysdeps/mach/hurd/link.c (__link): Likewise.
10295         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
10296         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
10297         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
10298         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
10299         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
10300         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
10301         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
10302         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
10303         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
10304         * sysdeps/mach/hurd/rename.c (rename): Likewise.
10305         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
10306         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
10307         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
10308         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
10309         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
10310         * sysdeps/mach/hurd/send.c (__send): Likewise.
10311         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
10312         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
10313         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
10314         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
10315         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
10316         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
10317         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
10318         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
10319         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
10320         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
10321         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
10322         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
10323         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
10324         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
10325         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
10326         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
10327         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
10328         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
10329         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
10330         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
10331         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
10332         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
10333         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
10334         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
10335         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
10336         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
10337         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
10338         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
10339         * sysdeps/posix/alarm.c (alarm): Likewise.
10340         * sysdeps/posix/cuserid.c (cuserid): Likewise.
10341         * sysdeps/posix/dirfd.c (dirfd): Likewise.
10342         * sysdeps/posix/dup.c (__dup): Likewise.
10343         * sysdeps/posix/dup2.c (__dup2): Likewise.
10344         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
10345         (main): Likewise.
10346         * sysdeps/posix/flock.c (__flock): Likewise.
10347         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
10348         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
10349         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
10350         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
10351         * sysdeps/posix/isatty.c (__isatty): Likewise.
10352         * sysdeps/posix/killpg.c (killpg): Likewise.
10353         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
10354         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
10355         * sysdeps/posix/raise.c (raise): Likewise.
10356         * sysdeps/posix/remove.c (remove): Likewise.
10357         * sysdeps/posix/rename.c (rename): Likewise.
10358         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
10359         * sysdeps/posix/seekdir.c (seekdir): Likewise.
10360         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
10361         * sysdeps/posix/sigignore.c (sigignore): Likewise.
10362         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
10363         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
10364         * sysdeps/posix/sigset.c (sigset): Likewise.
10365         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
10366         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
10367         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
10368         * sysdeps/posix/time.c (time): Likewise.
10369         * sysdeps/posix/ttyname.c (getttyname): Likewise.
10370         (ttyname): Likewise.
10371         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
10372         * sysdeps/posix/utime.c (utime): Likewise.
10373         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
10374         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
10375         Likewise.
10376         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
10377         (pthread_spin_trylock): Likewise.
10378         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
10379         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
10380         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
10381         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
10382         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
10383         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
10384         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
10385         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
10386         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
10387         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
10388         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
10389         * sysdeps/s390/ffs.c (__ffs): Likewise.
10390         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
10391         Likewise.
10392         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
10393         Likewise.
10394         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
10395         Likewise.
10396         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
10397         (pthread_barrier_destroy): Likewise.
10398         * sysdeps/sparc/nptl/pthread_barrier_wait.c
10399         (__pthread_barrier_wait): Likewise.
10400         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
10401         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
10402         (__pthread_barrier_wait): Likewise.
10403         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
10404         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
10405         (memcmp_not_common_alignment): Likewise.
10406         (MEMCMP): Likewise.
10407         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
10408         (_wordcopy_fwd_dest_aligned): Likewise.
10409         (_wordcopy_bwd_aligned): Likewise.
10410         (_wordcopy_bwd_dest_aligned): Likewise.
10411         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
10412         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
10413         * sysdeps/unix/bsd/stty.c (stty): Likewise.
10414         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
10415         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
10416         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
10417         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
10418         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
10419         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
10420         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
10421         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
10422         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
10423         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
10424         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
10425         * sysdeps/unix/stime.c (stime): Likewise.
10426         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
10427         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
10428         Likewise.  Use internal_function.
10429         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
10430         Convert to prototype-style function definition.
10431         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
10432         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
10433         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
10434         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10435         Likewise.  Use internal_function.
10436         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
10437         prototype-style function definition
10438         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10439         Likewise.
10440         (__getlogin_r): Likewise.
10441         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
10442         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
10443         (__pthread_cond_broadcast): Likewise.
10444         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
10445         (__pthread_cond_destroy): Likewise.
10446         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
10447         (__pthread_cond_init): Likewise.
10448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
10449         (__pthread_cond_signal): Likewise.
10450         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
10451         (__pthread_cond_wait): Likewise.
10452         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
10453         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
10454         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
10455         Likewise.
10456         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
10457         Likewise.
10458         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
10459         Likewise.
10460         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
10463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
10464         (__ftruncate64): Likewise.
10465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
10466         (truncate64): Likewise.
10467         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
10468         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
10469         (pthread_getcpuclockid): Likewise.
10470         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
10473         Likewise.
10474         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
10477         Likewise.
10478         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
10479         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
10480         (__libc_sigaction): Likewise.
10481         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
10482         Likewise.
10483         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
10484         (__sigprocmask): Likewise.
10485         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
10486         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
10487         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
10488         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
10489         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10490         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
10491         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10492         Likewise.
10493         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
10494         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
10495         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10496         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
10497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
10498         Likewise.
10499         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
10500         (__sigprocmask): Likewise.
10501         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
10502         (cfgetispeed): Likewise.
10503         (cfsetospeed): Likewise.
10504         (cfsetispeed): Likewise.
10505         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
10506         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
10507         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
10508         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
10509         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
10510         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
10511         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
10512         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
10515         Likewise.
10516         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
10517         Likewise.
10518         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
10519         Likewise.
10520         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
10522 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10524         sunrpc: Rewrite with explicit TLS access using __thread.
10525         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
10526         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
10527         directly.
10528         (__rpc_thread_variables): Access thread_rpc_vars directly.
10529         Eliminate redundant assignment of the tvp variable.
10531 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10533         malloc: Rewrite with explicit TLS access using __thread.
10534         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
10535         (tsd_setspecific, tsd_getspecific): Remove.
10536         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
10537         (tsd_setspecific, tsd_getspecific): Likewise.
10538         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
10539         (tsd_setspecific, tsd_getspecific): Likewise.
10540         * malloc/arena.c (thread_arena): New TLS variable.
10541         (arena_key): Remove variable.
10542         (arena_get): Use thread_arena.
10543         (arena_lookup): Remove macro.
10544         (malloc_atfork, free_atfork, ptmalloc_lock_all)
10545         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
10546         (_int_new_arena, get_free_list, reused_arena)
10547         (arena_thread_freeres): Use thread_arena.
10548         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
10549         tsd_getspecific, tsd_setspecific from safety annotations.
10550         (Allocating Cleared Space): Remove arena_lookup from safety
10551         annotations.
10553 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10555         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
10556         struct scratch_buffer instead of extend_alloca.
10558 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10560         * sysdeps/unix/sysv/linux/kernel-features.h
10561         (__ASSUME_SOCK_CLOEXEC): Remove.
10562         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
10563         (__have_paccept): Remove unused macro.
10564         * include/unistd.h (__have_sock_cloexec): Remove declaration.
10565         * misc/syslog.c (openlog_internal): Remove fallback code for
10566         !__ASSUME_SOCK_CLOEXEC.
10567         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
10568         missing SOCK_CLOEXEC.
10569         * nscd/connections.c (have_sock_cloexec): Remove definition.
10570         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10571         * nscd/nscd_helper.c (open_socket): Remove fallback code for
10572         !__ASSUME_SOCK_CLOEXEC.
10573         * resolv/res_send.c (__have_o_nonblock): Remove definition.
10574         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
10575         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
10576         definition.
10577         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
10578         code for !__ASSUME_SOCK_CLOEXEC.
10580 2015-10-17  Florian Weimer  <fweimer@redhat.com>
10582         [BZ #18982]
10583         * manual/stdio.texi (Variable Arguments Output): Add portability
10584         note, explaining that vfprintf clobbers the va_list pointer.
10586 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10588         * math/libm-test.inc (fabs_test_data): Add more tests.
10589         (fdim_test_data): Likewise.
10590         (fma_test_data): Likewise.
10591         (fmax_test_data): Likewise.
10592         (fmin_test_data): Likewise.
10593         (fmod_test_data): Likewise.
10595 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
10597         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
10598         data.
10600 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
10602         * math/libm-test.inc (ceil_test_data): Add more tests and more
10603         expectations for "inexact".
10604         (floor_test_data): Add more tests.
10605         (round_test_data): Likewise.
10606         (trunc_test_data): Likewise.
10608         * crypt/cert.c (good_bye): Convert to prototype-style function
10609         definition.
10610         (get8): Likewise.
10611         (put8): Likewise.
10612         * crypt/crypt-entry.c (crypt): Likewise.
10613         (__fcrypt): Likewise.
10614         * crypt/crypt_util.c (_ufc_prbits): Likewise.
10615         (_ufc_set_bits): Likewise.
10616         (_ufc_clearmem): Likewise.
10617         (__init_des_r): Likewise.
10618         (shuffle_sb): Likewise.
10619         (shuffle_sb): Likewise.
10620         (_ufc_setup_salt_r): Likewise.
10621         (_ufc_mk_keytab_r): Likewise.
10622         (_ufc_dofinalperm_r): Likewise.
10623         (encrypt): Likewise.
10624         (__setkey_r): Likewise.
10625         (setkey): Likewise.
10626         * crypt/md5.c (md5_init_ctx): Likewise.
10627         (md5_read_ctx): Likewise.
10628         (md5_finish_ctx): Likewise.
10629         (md5_stream): Likewise.
10630         (md5_buffer): Likewise.
10631         (md5_process_bytes): Likewise.
10632         * crypt/sha256.c (__sha256_init_ctx): Likewise.
10633         (__sha256_finish_ctx): Likewise.
10634         (__sha256_process_bytes): Likewise.
10635         * crypt/sha512.c (__sha512_init_ctx): Likewise.
10636         (__sha512_finish_ctx): Likewise.
10637         (__sha512_process_bytes): Likewise.
10638         * ctype/isctype.c (__isctype): Likewise.
10639         * debug/backtrace.c (__backtrace): Likewise.
10640         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
10641         * debug/fgets_chk.c (__fgets_chk): Likewise.
10642         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
10643         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
10644         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
10645         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
10646         * debug/memset_chk.c (__memset_chk): Likewise.
10647         * debug/strcat_chk.c (__strcat_chk): Likewise.
10648         * debug/strncat_chk.c (__strncat_chk): Likewise.
10649         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
10650         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
10651         * dirent/dirfd.c (dirfd): Likewise.
10652         * dirent/getdents.c (__getdirentries): Likewise.
10653         * dirent/getdents64.c (getdirentries64): Likewise.
10654         * dirent/rewinddir.c (__rewinddir): Likewise.
10655         * dirent/seekdir.c (seekdir): Likewise.
10656         * dirent/telldir.c (telldir): Likewise.
10657         * elf/sln.c (makesymlinks): Likewise.
10658         (makesymlink): Likewise.
10659         * gmon/gmon.c (__moncontrol): Likewise.
10660         (__monstartup): Likewise.
10661         (write_hist): Likewise.
10662         (write_call_graph): Likewise.
10663         (write_bb_counts): Likewise.
10664         * grp/setgroups.c (setgroups): Likewise.
10665         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10666         * inet/inet_net.c (inet_network): Likewise.
10667         * inet/inet_netof.c (inet_netof): Likewise.
10668         * inet/rcmd.c (rresvport_af): Likewise.
10669         (rresvport): Likewise.
10670         * io/access.c (__access): Likewise.
10671         * io/chdir.c (__chdir): Likewise.
10672         * io/chmod.c (__chmod): Likewise.
10673         * io/chown.c (__chown): Likewise.
10674         * io/close.c (__close): Likewise.
10675         * io/creat.c (creat): Likewise.
10676         * io/creat64.c (creat64): Likewise.
10677         * io/dup.c (__dup): Likewise.
10678         * io/dup2.c (__dup2): Likewise.
10679         * io/dup3.c (__dup3): Likewise.
10680         * io/euidaccess.c (__euidaccess): Likewise.
10681         * io/faccessat.c (faccessat): Likewise.
10682         * io/fchmod.c (__fchmod): Likewise.
10683         * io/fchmodat.c (fchmodat): Likewise.
10684         * io/fchown.c (__fchown): Likewise.
10685         * io/fchownat.c (fchownat): Likewise.
10686         * io/fcntl.c (__fcntl): Likewise.
10687         * io/flock.c (__flock): Likewise.
10688         * io/fts.c (fts_load): Likewise.
10689         (fts_close): Likewise.
10690         (fts_read): Likewise.
10691         (fts_set): Likewise.
10692         (fts_children): Likewise.
10693         (fts_build): Likewise.
10694         (fts_stat): Likewise.
10695         (fts_sort): Likewise.
10696         (fts_alloc): Likewise.
10697         (fts_lfree): Likewise.
10698         (fts_palloc): Likewise.
10699         (fts_padjust): Likewise.
10700         (fts_maxarglen): Likewise.
10701         (fts_safe_changedir): Likewise.
10702         * io/getwd.c (getwd): Likewise.
10703         * io/isatty.c (__isatty): Likewise.
10704         * io/lchown.c (__lchown): Likewise.
10705         * io/link.c (__link): Likewise.
10706         * io/linkat.c (linkat): Likewise.
10707         * io/lseek.c (__libc_lseek): Likewise.
10708         * io/mkdir.c (__mkdir): Likewise.
10709         * io/mkdirat.c (mkdirat): Likewise.
10710         * io/mkfifo.c (mkfifo): Likewise.
10711         * io/mkfifoat.c (mkfifoat): Likewise.
10712         * io/open.c (__libc_open): Likewise.
10713         * io/open64.c (__libc_open64): Likewise.
10714         * io/readlink.c (__readlink): Likewise.
10715         * io/readlinkat.c (readlinkat): Likewise.
10716         * io/rmdir.c (__rmdir): Likewise.
10717         * io/symlink.c (__symlink): Likewise.
10718         * io/symlinkat.c (symlinkat): Likewise.
10719         * io/ttyname.c (ttyname): Likewise.
10720         * io/ttyname_r.c (__ttyname_r): Likewise.
10721         * io/umask.c (__umask): Likewise.
10722         * io/unlink.c (__unlink): Likewise.
10723         * io/unlinkat.c (unlinkat): Likewise.
10724         * io/utime.c (utime): Likewise.
10725         * libio/clearerr.c (clearerr): Likewise.
10726         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
10727         * libio/feof.c (_IO_feof): Likewise.
10728         * libio/feof_u.c (feof_unlocked): Likewise.
10729         * libio/ferror.c (_IO_ferror): Likewise.
10730         * libio/ferror_u.c (ferror_unlocked): Likewise.
10731         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
10732         * libio/fileno.c (__fileno): Likewise.
10733         * libio/fputc.c (fputc): Likewise.
10734         * libio/fputc_u.c (fputc_unlocked): Likewise.
10735         * libio/fputwc.c (fputwc): Likewise.
10736         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
10737         * libio/freopen.c (freopen): Likewise.
10738         * libio/freopen64.c (freopen64): Likewise.
10739         * libio/fseek.c (fseek): Likewise.
10740         * libio/fseeko.c (fseeko): Likewise.
10741         * libio/fseeko64.c (fseeko64): Likewise.
10742         * libio/ftello.c (__ftello): Likewise.
10743         * libio/ftello64.c (ftello64): Likewise.
10744         * libio/fwide.c (fwide): Likewise.
10745         * libio/genops.c (_IO_un_link): Likewise.
10746         (_IO_link_in): Likewise.
10747         (_IO_least_marker): Likewise.
10748         (_IO_switch_to_main_get_area): Likewise.
10749         (_IO_switch_to_backup_area): Likewise.
10750         (_IO_switch_to_get_mode): Likewise.
10751         (_IO_free_backup_area): Likewise.
10752         (_IO_switch_to_put_mode): Likewise.
10753         (__overflow): Likewise.
10754         (__underflow): Likewise.
10755         (__uflow): Likewise.
10756         (_IO_setb): Likewise.
10757         (_IO_doallocbuf): Likewise.
10758         (_IO_default_underflow): Likewise.
10759         (_IO_default_uflow): Likewise.
10760         (_IO_default_xsputn): Likewise.
10761         (_IO_sgetn): Likewise.
10762         (_IO_default_xsgetn): Likewise.
10763         (_IO_sync): Likewise.
10764         (_IO_default_setbuf): Likewise.
10765         (_IO_default_seekpos): Likewise.
10766         (_IO_default_doallocate): Likewise.
10767         (_IO_init): Likewise.
10768         (_IO_old_init): Likewise.
10769         (_IO_default_sync): Likewise.
10770         (_IO_default_finish): Likewise.
10771         (_IO_default_seekoff): Likewise.
10772         (_IO_sputbackc): Likewise.
10773         (_IO_sungetc): Likewise.
10774         (_IO_set_column): Likewise.
10775         (_IO_set_column): Likewise.
10776         (_IO_adjust_column): Likewise.
10777         (_IO_get_column): Likewise.
10778         (_IO_init_marker): Likewise.
10779         (_IO_remove_marker): Likewise.
10780         (_IO_marker_difference): Likewise.
10781         (_IO_marker_delta): Likewise.
10782         (_IO_seekmark): Likewise.
10783         (_IO_unsave_markers): Likewise.
10784         (_IO_nobackup_pbackfail): Likewise.
10785         (_IO_default_pbackfail): Likewise.
10786         (_IO_default_seek): Likewise.
10787         (_IO_default_stat): Likewise.
10788         (_IO_default_read): Likewise.
10789         (_IO_default_write): Likewise.
10790         (_IO_default_showmanyc): Likewise.
10791         (_IO_default_imbue): Likewise.
10792         (_IO_iter_next): Likewise.
10793         (_IO_iter_file): Likewise.
10794         * libio/getc.c (_IO_getc): Likewise.
10795         * libio/getwc.c (_IO_getwc): Likewise.
10796         * libio/iofclose.c (_IO_new_fclose): Likewise.
10797         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10798         * libio/iofflush.c (_IO_fflush): Likewise.
10799         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
10800         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
10801         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
10802         * libio/iofgets.c (_IO_fgets): Likewise.
10803         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
10804         * libio/iofgetws.c (fgetws): Likewise.
10805         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
10806         * libio/iofopen64.c (_IO_fopen64): Likewise.
10807         * libio/iofopncook.c (_IO_cookie_read): Likewise.
10808         (_IO_cookie_write): Likewise.
10809         (_IO_cookie_seek): Likewise.
10810         (_IO_cookie_close): Likewise.
10811         (_IO_cookie_seekoff): Likewise.
10812         (_IO_old_cookie_seek): Likewise.
10813         * libio/iofputs.c (_IO_fputs): Likewise.
10814         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
10815         * libio/iofputws.c (fputws): Likewise.
10816         * libio/iofputws_u.c (fputws_unlocked): Likewise.
10817         * libio/iofread.c (_IO_fread): Likewise.
10818         * libio/iofread_u.c (__fread_unlocked): Likewise.
10819         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
10820         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
10821         * libio/ioftell.c (_IO_ftell): Likewise.
10822         * libio/iofwrite.c (_IO_fwrite): Likewise.
10823         * libio/iogetdelim.c (_IO_getdelim): Likewise.
10824         * libio/iogets.c (_IO_gets): Likewise.
10825         * libio/iopadn.c (_IO_padn): Likewise.
10826         * libio/iopopen.c (_IO_new_proc_open): Likewise.
10827         (_IO_new_popen): Likewise.
10828         (_IO_new_proc_close): Likewise.
10829         * libio/ioputs.c (_IO_puts): Likewise.
10830         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
10831         (_IO_seekoff): Likewise.
10832         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
10833         (_IO_seekpos): Likewise.
10834         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
10835         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
10836         * libio/ioungetc.c (_IO_ungetc): Likewise.
10837         * libio/ioungetwc.c (ungetwc): Likewise.
10838         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10839         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
10840         * libio/iowpadn.c (_IO_wpadn): Likewise.
10841         * libio/libc_fatal.c (__libc_fatal): Likewise.
10842         * libio/memstream.c (__open_memstream): Likewise.
10843         (_IO_mem_sync): Likewise.
10844         (_IO_mem_finish): Likewise.
10845         * libio/oldfileops.c (_IO_old_file_init): Likewise.
10846         (_IO_old_file_close_it): Likewise.
10847         (_IO_old_file_finish): Likewise.
10848         (_IO_old_file_fopen): Likewise.
10849         (_IO_old_file_attach): Likewise.
10850         (_IO_old_file_setbuf): Likewise.
10851         (_IO_old_do_write): Likewise.
10852         (old_do_write): Likewise.
10853         (_IO_old_file_underflow): Likewise.
10854         (_IO_old_file_overflow): Likewise.
10855         (_IO_old_file_sync): Likewise.
10856         (_IO_old_file_seekoff): Likewise.
10857         (_IO_old_file_write): Likewise.
10858         (_IO_old_file_xsputn): Likewise.
10859         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
10860         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10861         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
10862         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
10863         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
10864         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
10865         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
10866         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
10867         (_IO_old_popen): Likewise.
10868         (_IO_old_proc_close): Likewise.
10869         * libio/oldpclose.c (__old_pclose): Likewise.
10870         * libio/pclose.c (__new_pclose): Likewise.
10871         * libio/peekc.c (_IO_peekc_locked): Likewise.
10872         * libio/putc.c (_IO_putc): Likewise.
10873         * libio/putc_u.c (putc_unlocked): Likewise.
10874         * libio/putchar.c (putchar): Likewise.
10875         * libio/putchar_u.c (putchar_unlocked): Likewise.
10876         * libio/putwc.c (putwc): Likewise.
10877         * libio/putwc_u.c (putwc_unlocked): Likewise.
10878         * libio/putwchar.c (putwchar): Likewise.
10879         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
10880         * libio/rewind.c (rewind): Likewise.
10881         * libio/setbuf.c (setbuf): Likewise.
10882         * libio/setlinebuf.c (setlinebuf): Likewise.
10883         * libio/vasprintf.c (_IO_vasprintf): Likewise.
10884         * libio/vscanf.c (_IO_vscanf): Likewise.
10885         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
10886         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
10887         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
10888         * libio/wgenops.c (_IO_least_wmarker): Likewise.
10889         (_IO_switch_to_main_wget_area): Likewise.
10890         (_IO_switch_to_wbackup_area): Likewise.
10891         (_IO_wsetb): Likewise.
10892         (_IO_wdefault_pbackfail): Likewise.
10893         (_IO_wdefault_finish): Likewise.
10894         (_IO_wdefault_uflow): Likewise.
10895         (__woverflow): Likewise.
10896         (__wuflow): Likewise.
10897         (__wunderflow): Likewise.
10898         (_IO_wdefault_xsputn): Likewise.
10899         (_IO_wdefault_xsgetn): Likewise.
10900         (_IO_wdoallocbuf): Likewise.
10901         (_IO_wdefault_doallocate): Likewise.
10902         (_IO_switch_to_wget_mode): Likewise.
10903         (_IO_free_wbackup_area): Likewise.
10904         (_IO_switch_to_wput_mode): Likewise.
10905         (_IO_sputbackwc): Likewise.
10906         (_IO_sungetwc): Likewise.
10907         (_IO_adjust_wcolumn): Likewise.
10908         (_IO_init_wmarker): Likewise.
10909         (_IO_wmarker_delta): Likewise.
10910         (_IO_seekwmark): Likewise.
10911         (_IO_unsave_wmarkers): Likewise.
10912         * libio/wmemstream.c (open_wmemstream): Likewise.
10913         (_IO_wmem_sync): Likewise.
10914         (_IO_wmem_finish): Likewise.
10915         * locale/nl_langinfo.c (nl_langinfo): Likewise.
10916         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
10917         * locale/programs/simple-hash.c (init_hash): Likewise.
10918         (delete_hash): Likewise.
10919         (insert_entry): Likewise.
10920         (set_entry): Likewise.
10921         (next_prime): Likewise.
10922         (is_prime): Likewise.
10923         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
10924         (xmalloc): Likewise.
10925         (xrealloc): Likewise.
10926         * locale/programs/xstrdup.c (xstrdup): Likewise.
10927         * localedata/collate-test.c (xstrcoll): Likewise.
10928         * localedata/xfrm-test.c (xstrcmp): Likewise.
10929         * login/getlogin_r.c (__getlogin_r): Likewise.
10930         * login/getpt.c (__posix_openpt): Likewise.
10931         * login/login_tty.c (login_tty): Likewise.
10932         * login/setlogin.c (setlogin): Likewise.
10933         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
10934         (mach_msg_destroy_port): Likewise.
10935         (mach_msg_destroy_memory): Likewise.
10936         * malloc/mcheck.c (flood): Likewise.
10937         * misc/acct.c (acct): Likewise.
10938         * misc/brk.c (__brk): Likewise.
10939         * misc/chflags.c (chflags): Likewise.
10940         * misc/chroot.c (chroot): Likewise.
10941         * misc/fchflags.c (fchflags): Likewise.
10942         * misc/fstab.c (getfsspec): Likewise.
10943         (getfsfile): Likewise.
10944         * misc/fsync.c (fsync): Likewise.
10945         * misc/ftruncate.c (__ftruncate): Likewise.
10946         * misc/ftruncate64.c (__ftruncate64): Likewise.
10947         * misc/getdomain.c (getdomainname): Likewise.
10948         (getdomainname): Likewise.
10949         * misc/gethostname.c (__gethostname): Likewise.
10950         * misc/getpass.c (getpass): Likewise.
10951         * misc/getttyent.c (skip): Likewise.
10952         (value): Likewise.
10953         * misc/gtty.c (gtty): Likewise.
10954         * misc/hsearch.c (hsearch): Likewise.
10955         (hcreate): Likewise.
10956         * misc/hsearch_r.c (__hcreate_r): Likewise.
10957         (__hdestroy_r): Likewise.
10958         * misc/ioctl.c (__ioctl): Likewise.
10959         * misc/mkdtemp.c (mkdtemp): Likewise.
10960         * misc/mkostemp.c (mkostemp): Likewise.
10961         * misc/mkostemp64.c (mkostemp64): Likewise.
10962         * misc/mkostemps.c (mkostemps): Likewise.
10963         * misc/mkostemps64.c (mkostemps64): Likewise.
10964         * misc/mkstemp.c (mkstemp): Likewise.
10965         * misc/mkstemp64.c (mkstemp64): Likewise.
10966         * misc/mkstemps.c (mkstemps): Likewise.
10967         * misc/mkstemps64.c (mkstemps64): Likewise.
10968         * misc/mktemp.c (__mktemp): Likewise.
10969         * misc/preadv.c (preadv): Likewise.
10970         * misc/preadv64.c (preadv64): Likewise.
10971         * misc/pwritev.c (pwritev): Likewise.
10972         * misc/pwritev64.c (pwritev64): Likewise.
10973         * misc/readv.c (__readv): Likewise.
10974         * misc/revoke.c (revoke): Likewise.
10975         * misc/setdomain.c (setdomainname): Likewise.
10976         * misc/setegid.c (setegid): Likewise.
10977         * misc/seteuid.c (seteuid): Likewise.
10978         * misc/sethostid.c (sethostid): Likewise.
10979         * misc/sethostname.c (sethostname): Likewise.
10980         * misc/setregid.c (__setregid): Likewise.
10981         * misc/setreuid.c (__setreuid): Likewise.
10982         * misc/sstk.c (sstk): Likewise.
10983         * misc/stty.c (stty): Likewise.
10984         * misc/syscall.c (syscall): Likewise.
10985         * misc/syslog.c (setlogmask): Likewise.
10986         * misc/truncate.c (__truncate): Likewise.
10987         * misc/truncate64.c (truncate64): Likewise.
10988         * misc/ualarm.c (ualarm): Likewise.
10989         * misc/usleep.c (usleep): Likewise.
10990         * misc/ustat.c (ustat): Likewise.
10991         * misc/writev.c (__writev): Likewise.
10992         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
10993         * nptl/old_pthread_cond_broadcast.c
10994         (__pthread_cond_broadcast_2_0): Likewise.
10995         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
10996         Likewise.
10997         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
10998         Likewise.
10999         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11000         Likewise.
11001         * nptl/pt-raise.c (raise): Likewise.
11002         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11003         Likewise.
11004         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11005         * nptl/pthread_barrierattr_destroy.c
11006         (pthread_barrierattr_destroy): Likewise.
11007         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11008         Likewise.
11009         * nptl/pthread_barrierattr_setpshared.c
11010         (pthread_barrierattr_setpshared): Likewise.
11011         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11012         Likewise.
11013         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11014         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11015         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11016         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11017         Likewise.
11018         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11019         Likewise.
11020         * nptl/pthread_condattr_getpshared.c
11021         (pthread_condattr_getpshared): Likewise.
11022         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11023         Likewise.
11024         * nptl/pthread_condattr_setpshared.c
11025         (pthread_condattr_setpshared): Likewise.
11026         * nptl/pthread_detach.c (pthread_detach): Likewise.
11027         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11028         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11029         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11030         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11031         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11032         Likewise.
11033         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11034         Likewise.
11035         * nptl/pthread_mutex_getprioceiling.c
11036         (pthread_mutex_getprioceiling): Likewise.
11037         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11038         Likewise.
11039         * nptl/pthread_mutexattr_getprotocol.c
11040         (pthread_mutexattr_getprotocol): Likewise.
11041         * nptl/pthread_mutexattr_getpshared.c
11042         (pthread_mutexattr_getpshared): Likewise.
11043         * nptl/pthread_mutexattr_getrobust.c
11044         (pthread_mutexattr_getrobust): Likewise.
11045         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11046         Likewise.
11047         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11048         Likewise.
11049         * nptl/pthread_mutexattr_setprioceiling.c
11050         (pthread_mutexattr_setprioceiling): Likewise.
11051         * nptl/pthread_mutexattr_setprotocol.c
11052         (pthread_mutexattr_setprotocol): Likewise.
11053         * nptl/pthread_mutexattr_setpshared.c
11054         (pthread_mutexattr_setpshared): Likewise.
11055         * nptl/pthread_mutexattr_setrobust.c
11056         (pthread_mutexattr_setrobust): Likewise.
11057         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11058         Likewise.
11059         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11060         Likewise.
11061         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11062         Likewise.
11063         * nptl/pthread_rwlockattr_getkind_np.c
11064         (pthread_rwlockattr_getkind_np): Likewise.
11065         * nptl/pthread_rwlockattr_getpshared.c
11066         (pthread_rwlockattr_getpshared): Likewise.
11067         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11068         Likewise.
11069         * nptl/pthread_rwlockattr_setkind_np.c
11070         (pthread_rwlockattr_setkind_np): Likewise.
11071         * nptl/pthread_rwlockattr_setpshared.c
11072         (pthread_rwlockattr_setpshared): Likewise.
11073         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11074         Likewise.
11075         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11076         Likewise.
11077         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11078         Likewise.
11079         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11080         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11081         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11082         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11083         * nptl/sem_close.c (sem_close): Likewise.
11084         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11085         * nptl/sem_init.c (__old_sem_init): Likewise.
11086         * nptl/sigaction.c (__sigaction): Likewise.
11087         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11088         * posix/_exit.c (_exit): Likewise.
11089         * posix/alarm.c (alarm): Likewise.
11090         * posix/confstr.c (confstr): Likewise.
11091         * posix/fpathconf.c (__fpathconf): Likewise.
11092         * posix/getgroups.c (__getgroups): Likewise.
11093         * posix/getpgid.c (__getpgid): Likewise.
11094         * posix/group_member.c (__group_member): Likewise.
11095         * posix/pathconf.c (__pathconf): Likewise.
11096         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11097         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11098         * posix/setgid.c (__setgid): Likewise.
11099         * posix/setpgid.c (__setpgid): Likewise.
11100         * posix/setuid.c (__setuid): Likewise.
11101         * posix/sleep.c (__sleep): Likewise.
11102         * posix/sysconf.c (__sysconf): Likewise.
11103         * posix/times.c (__times): Likewise.
11104         * posix/uname.c (__uname): Likewise.
11105         * posix/waitid.c (__waitid): Likewise.
11106         * pwd/getpw.c (__getpw): Likewise.
11107         * resolv/base64.c (b64_pton): Likewise.
11108         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11109         * resolv/gethnamaddr.c (Dprintf): Likewise.
11110         (gethostbyname): Likewise.
11111         (gethostbyname2): Likewise.
11112         (gethostbyaddr): Likewise.
11113         (_sethtent): Likewise.
11114         (_gethtbyname): Likewise.
11115         (_gethtbyname2): Likewise.
11116         (_gethtbyaddr): Likewise.
11117         (map_v4v6_address): Likewise.
11118         (map_v4v6_hostent): Likewise.
11119         (addrsort): Likewise.
11120         (ht_sethostent): Likewise.
11121         (ht_gethostbyname): Likewise.
11122         (ht_gethostbyaddr): Likewise.
11123         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11124         (inet_net_ntop_ipv4): Likewise.
11125         * resolv/inet_neta.c (inet_neta): Likewise.
11126         * resolv/inet_ntop.c (inet_ntop): Likewise.
11127         (inet_ntop4): Likewise.
11128         (inet_ntop6): Likewise.
11129         * resolv/inet_pton.c (__inet_pton): Likewise.
11130         (inet_pton4): Likewise.
11131         (inet_pton6): Likewise.
11132         * resolv/res_debug.c (loc_aton): Likewise.
11133         (loc_ntoa): Likewise.
11134         * resource/getpriority.c (__getpriority): Likewise.
11135         * resource/getrusage.c (__getrusage): Likewise.
11136         * resource/nice.c (nice): Likewise.
11137         * resource/setpriority.c (__setpriority): Likewise.
11138         * resource/setrlimit64.c (setrlimit64): Likewise.
11139         * resource/vlimit.c (vlimit): Likewise.
11140         * resource/vtimes.c (vtimes): Likewise.
11141         * rt/aio_error.c (aio_error): Likewise.
11142         * rt/aio_return.c (aio_return): Likewise.
11143         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11144         * signal/kill.c (__kill): Likewise.
11145         * signal/killpg.c (killpg): Likewise.
11146         * signal/raise.c (raise): Likewise.
11147         * signal/sigaction.c (__sigaction): Likewise.
11148         * signal/sigaddset.c (sigaddset): Likewise.
11149         * signal/sigaltstack.c (sigaltstack): Likewise.
11150         * signal/sigandset.c (sigandset): Likewise.
11151         * signal/sigblock.c (__sigblock): Likewise.
11152         * signal/sigdelset.c (sigdelset): Likewise.
11153         * signal/sigempty.c (sigemptyset): Likewise.
11154         * signal/sigfillset.c (sigfillset): Likewise.
11155         * signal/sighold.c (sighold): Likewise.
11156         * signal/sigignore.c (sigignore): Likewise.
11157         * signal/sigintr.c (siginterrupt): Likewise.
11158         * signal/sigisempty.c (sigisemptyset): Likewise.
11159         * signal/sigismem.c (sigismember): Likewise.
11160         * signal/signal.c (signal): Likewise.
11161         * signal/sigorset.c (sigorset): Likewise.
11162         * signal/sigpause.c (__sigpause): Likewise.
11163         * signal/sigpending.c (sigpending): Likewise.
11164         * signal/sigprocmask.c (__sigprocmask): Likewise.
11165         * signal/sigrelse.c (sigrelse): Likewise.
11166         * signal/sigreturn.c (__sigreturn): Likewise.
11167         * signal/sigset.c (sigset): Likewise.
11168         * signal/sigsetmask.c (__sigsetmask): Likewise.
11169         * signal/sigstack.c (sigstack): Likewise.
11170         * signal/sigsuspend.c (__sigsuspend): Likewise.
11171         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
11172         * signal/sysv_signal.c (__sysv_signal): Likewise.
11173         * socket/accept.c (accept): Likewise.
11174         * socket/accept4.c (__libc_accept4): Likewise.
11175         * socket/bind.c (__bind): Likewise.
11176         * socket/connect.c (__connect): Likewise.
11177         * socket/getpeername.c (getpeername): Likewise.
11178         * socket/getsockname.c (__getsockname): Likewise.
11179         * socket/getsockopt.c (getsockopt): Likewise.
11180         * socket/listen.c (__listen): Likewise.
11181         * socket/recv.c (__recv): Likewise.
11182         * socket/recvmsg.c (__recvmsg): Likewise.
11183         * socket/send.c (__send): Likewise.
11184         * socket/sendmsg.c (__sendmsg): Likewise.
11185         * socket/shutdown.c (shutdown): Likewise.
11186         * socket/sockatmark.c (sockatmark): Likewise.
11187         * socket/socket.c (__socket): Likewise.
11188         * stdio-common/ctermid.c (ctermid): Likewise.
11189         * stdio-common/cuserid.c (cuserid): Likewise.
11190         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
11191         * stdio-common/remove.c (remove): Likewise.
11192         * stdio-common/rename.c (rename): Likewise.
11193         * stdio-common/renameat.c (renameat): Likewise.
11194         * stdio-common/tempname.c (__gen_tempname): Likewise.
11195         * stdio-common/xbug.c (InitBuffer): Likewise.
11196         (AppendToBuffer): Likewise.
11197         (ReadFile): Likewise.
11198         * stdlib/a64l.c (a64l): Likewise.
11199         * stdlib/drand48_r.c (drand48_r): Likewise.
11200         * stdlib/getcontext.c (getcontext): Likewise.
11201         * stdlib/getenv.c (getenv): Likewise.
11202         * stdlib/l64a.c (l64a): Likewise.
11203         * stdlib/llabs.c (llabs): Likewise.
11204         * stdlib/lldiv.c (lldiv): Likewise.
11205         * stdlib/lrand48_r.c (lrand48_r): Likewise.
11206         * stdlib/mrand48_r.c (mrand48_r): Likewise.
11207         * stdlib/putenv.c (putenv): Likewise.
11208         * stdlib/random.c (__srandom): Likewise.
11209         (__initstate): Likewise.
11210         (__setstate): Likewise.
11211         * stdlib/random_r.c (__srandom_r): Likewise.
11212         (__setstate_r): Likewise.
11213         (__random_r): Likewise.
11214         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
11215         * stdlib/setcontext.c (setcontext): Likewise.
11216         * stdlib/setenv.c (setenv): Likewise.
11217         (unsetenv): Likewise.
11218         * stdlib/srand48.c (srand48): Likewise.
11219         * stdlib/srand48_r.c (__srand48_r): Likewise.
11220         * stdlib/swapcontext.c (swapcontext): Likewise.
11221         * stdlib/system.c (__libc_system): Likewise.
11222         * stdlib/tst-strtod.c (expand): Likewise.
11223         * stdlib/tst-strtol.c (expand): Likewise.
11224         * stdlib/tst-strtoll.c (expand): Likewise.
11225         * streams/fattach.c (fattach): Likewise.
11226         * streams/fdetach.c (fdetach): Likewise.
11227         * streams/getmsg.c (getmsg): Likewise.
11228         * streams/isastream.c (isastream): Likewise.
11229         * string/ffs.c (__ffs): Likewise.
11230         * string/ffsll.c (ffsll): Likewise.
11231         * string/memcmp.c (memcmp_common_alignment): Likewise.
11232         (memcmp_not_common_alignment): Likewise.
11233         (MEMCMP): Likewise.
11234         * string/memcpy.c (memcpy): Likewise.
11235         * string/memmove.c (MEMMOVE): Likewise.
11236         * string/memset.c (memset): Likewise.
11237         * string/rawmemchr.c (RAWMEMCHR): Likewise.
11238         * string/strchrnul.c (STRCHRNUL): Likewise.
11239         * string/strerror.c (strerror): Likewise.
11240         * string/strndup.c (__strndup): Likewise.
11241         * string/strverscmp.c (__strverscmp): Likewise.
11242         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
11243         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
11244         (clnttcp_freeres): Likewise.
11245         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
11246         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
11247         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
11248         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
11249         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
11250         (xdr_callhdr): Likewise.
11251         * sunrpc/rpcinfo.c (udpping): Likewise.
11252         (tcpping): Likewise.
11253         (pstatus): Likewise.
11254         (pmapdump): Likewise.
11255         (brdcst): Likewise.
11256         (deletereg): Likewise.
11257         (getprognum): Likewise.
11258         (getvers): Likewise.
11259         (get_inet_address): Likewise.
11260         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
11261         * sunrpc/svc_udp.c (svcudp_create): Likewise.
11262         (svcudp_stat): Likewise.
11263         (svcudp_recv): Likewise.
11264         (svcudp_reply): Likewise.
11265         (svcudp_getargs): Likewise.
11266         (svcudp_freeargs): Likewise.
11267         (svcudp_destroy): Likewise.
11268         * sunrpc/xdr.c (xdr_bytes): Likewise.
11269         (xdr_netobj): Likewise.
11270         (xdr_string): Likewise.
11271         (xdr_wrapstring): Likewise.
11272         * sunrpc/xdr_float.c (xdr_float): Likewise.
11273         (xdr_double): Likewise.
11274         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
11275         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
11276         * sysvipc/ftok.c (ftok): Likewise.
11277         * sysvipc/msgctl.c (msgctl): Likewise.
11278         * sysvipc/msgget.c (msgget): Likewise.
11279         * sysvipc/msgrcv.c (msgrcv): Likewise.
11280         * sysvipc/msgsnd.c (msgsnd): Likewise.
11281         * sysvipc/semget.c (semget): Likewise.
11282         * sysvipc/semop.c (semop): Likewise.
11283         * sysvipc/shmat.c (shmat): Likewise.
11284         * sysvipc/shmctl.c (shmctl): Likewise.
11285         * sysvipc/shmdt.c (shmdt): Likewise.
11286         * sysvipc/shmget.c (shmget): Likewise.
11287         * termios/cfmakeraw.c (cfmakeraw): Likewise.
11288         * termios/speed.c (cfgetospeed): Likewise.
11289         (cfgetispeed): Likewise.
11290         (cfsetospeed): Likewise.
11291         (cfsetispeed): Likewise.
11292         * termios/tcflow.c (tcflow): Likewise.
11293         * termios/tcflush.c (tcflush): Likewise.
11294         * termios/tcgetattr.c (__tcgetattr): Likewise.
11295         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
11296         * termios/tcgetsid.c (tcgetsid): Likewise.
11297         * termios/tcsendbrk.c (tcsendbreak): Likewise.
11298         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
11299         * time/adjtime.c (__adjtime): Likewise.
11300         * time/dysize.c (dysize): Likewise.
11301         * time/ftime.c (ftime): Likewise.
11302         * time/getitimer.c (__getitimer): Likewise.
11303         * time/gettimeofday.c (__gettimeofday): Likewise.
11304         * time/gmtime.c (__gmtime_r): Likewise.
11305         (gmtime): Likewise.
11306         * time/localtime.c (__localtime_r): Likewise.
11307         (localtime): Likewise.
11308         * time/offtime.c (__offtime): Likewise.
11309         * time/settimeofday.c (__settimeofday): Likewise.
11310         * time/stime.c (stime): Likewise.
11311         * time/strftime_l.c (tm_diff): Likewise.
11312         (iso_week_days): Likewise.
11313         * time/strptime.c (strptime): Likewise.
11314         * time/time.c (time): Likewise.
11315         * time/timespec_get.c (timespec_get): Likewise.
11316         * time/tzset.c (tzset_internal): Likewise.
11317         (compute_change): Likewise.
11318         (__tz_compute): Likewise.
11319         * wcsmbs/btowc.c (__btowc): Likewise.
11320         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
11321         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
11322         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
11323         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
11324         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
11325         * wcsmbs/wcscat.c (__wcscat): Likewise.
11326         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11327         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
11328         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
11329         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11330         * wcsmbs/wcsdup.c (wcsdup): Likewise.
11331         * wcsmbs/wcslen.c (__wcslen): Likewise.
11332         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
11333         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
11334         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
11335         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
11336         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11337         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
11338         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11339         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11340         * wcsmbs/wcstok.c (wcstok): Likewise.
11341         * wcsmbs/wctob.c (wctob): Likewise.
11342         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
11343         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11344         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
11345         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
11346         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
11347         * wcsmbs/wmemset.c (__wmemset): Likewise.
11348         * wctype/wcfuncs.c (__towlower): Likewise.
11349         (__towupper): Likewise.
11351         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
11352         (lll_unlock_elision): Add adapt_count parameter.
11354 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11356         * sysdeps/nptl/configure.ac: Do not give errors based on the
11357         results of top-level configure tests.
11358         * sysdeps/nptl/configure: Regenerated.
11360         * configure.ac (libc_cv_Bgroup): Remove configure test.
11361         * configure: Regenerated.
11362         * config.make.in (have-Bgroup): Remove variable.
11364         * configure.ac (sizeof_long_double): Remove configure test.
11365         * configure: Regenerated.
11366         * config.make.in (sizeof-long-double): Remove variable.
11368         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
11369         * configure: Regenerated.
11370         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
11371         variable.
11372         (exceptions): Likewise.
11373         * sysdeps/arm/configure: Regenerated.
11374         * config.make.in (exceptions): Remove variable.
11375         * Makeconfig (uses-callbacks): Use -fexceptions instead of
11376         $(exceptions).
11377         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
11378         (CFLAGS-vdprintf_chk.c): Likewise.
11379         (CFLAGS-printf_chk.c): Likewise.
11380         (CFLAGS-fprintf_chk.c): Likewise.
11381         (CFLAGS-vprintf_chk.c): Likewise.
11382         (CFLAGS-vfprintf_chk.c): Likewise.
11383         (CFLAGS-gets_chk.c): Likewise.
11384         (CFLAGS-fgets_chk.c): Likewise.
11385         (CFLAGS-fgets_u_chk.c): Likewise.
11386         (CFLAGS-fread_chk.c): Likewise.
11387         (CFLAGS-fread_u_chk.c): Likewise.
11388         (CFLAGS-wprintf_chk.c): Likewise.
11389         (CFLAGS-fwprintf_chk.c): Likewise.
11390         (CFLAGS-vwprintf_chk.c): Likewise.
11391         (CFLAGS-vfwprintf_chk.c): Likewise.
11392         (CFLAGS-fgetws_chk.c): Likewise.
11393         (CFLAGS-fgetws_u_chk.c): Likewise.
11394         * libio/Makefile (CFLAGS-fileops.c): Likewise.
11395         (CFLAGS-fputc.c): Likewise.
11396         (CFLAGS-fputwc.c): Likewise.
11397         (CFLAGS-freopen64.c): Likewise.
11398         (CFLAGS-freopen.c): Likewise.
11399         (CFLAGS-fseek.c): Likewise.
11400         (CFLAGS-fseeko64.c): Likewise.
11401         (CFLAGS-fseeko.c): Likewise.
11402         (CFLAGS-ftello64.c): Likewise.
11403         (CFLAGS-ftello.c): Likewise.
11404         (CFLAGS-fwide.c): Likewise.
11405         (CFLAGS-genops.c): Likewise.
11406         (CFLAGS-getc.c): Likewise.
11407         (CFLAGS-getchar.c): Likewise.
11408         (CFLAGS-getwc.c): Likewise.
11409         (CFLAGS-getwchar.c): Likewise.
11410         (CFLAGS-iofclose.c): Likewise.
11411         (CFLAGS-iofflush.c): Likewise.
11412         (CFLAGS-iofgetpos64.c): Likewise.
11413         (CFLAGS-iofgetpos.c): Likewise.
11414         (CFLAGS-iofgets.c): Likewise.
11415         (CFLAGS-iofgetws.c): Likewise.
11416         (CFLAGS-iofputs.c): Likewise.
11417         (CFLAGS-iofputws.c): Likewise.
11418         (CFLAGS-iofread.c): Likewise.
11419         (CFLAGS-iofsetpos64.c): Likewise.
11420         (CFLAGS-iofsetpos.c): Likewise.
11421         (CFLAGS-ioftell.c): Likewise.
11422         (CFLAGS-iofwrite.c): Likewise.
11423         (CFLAGS-iogetdelim.c): Likewise.
11424         (CFLAGS-iogetline.c): Likewise.
11425         (CFLAGS-iogets.c): Likewise.
11426         (CFLAGS-iogetwline.c): Likewise.
11427         (CFLAGS-ioputs.c): Likewise.
11428         (CFLAGS-ioseekoff.c): Likewise.
11429         (CFLAGS-ioseekpos.c): Likewise.
11430         (CFLAGS-iosetbuffer.c): Likewise.
11431         (CFLAGS-iosetvbuf.c): Likewise.
11432         (CFLAGS-ioungetc.c): Likewise.
11433         (CFLAGS-ioungetwc.c): Likewise.
11434         (CFLAGS-oldfileops.c): Likewise.
11435         (CFLAGS-oldiofclose.c): Likewise.
11436         (CFLAGS-oldiofgetpos64.c): Likewise.
11437         (CFLAGS-oldiofgetpos.c): Likewise.
11438         (CFLAGS-oldiofsetpos64.c): Likewise.
11439         (CFLAGS-oldiofsetpos.c): Likewise.
11440         (CFLAGS-peekc.c): Likewise.
11441         (CFLAGS-putc.c): Likewise.
11442         (CFLAGS-putchar.c): Likewise.
11443         (CFLAGS-putwc.c): Likewise.
11444         (CFLAGS-putwchar.c): Likewise.
11445         (CFLAGS-rewind.c): Likewise.
11446         (CFLAGS-wfileops.c): Likewise.
11447         (CFLAGS-wgenops.c): Likewise.
11448         (CFLAGS-oldiofopen.c): Likewise.
11449         (CFLAGS-iofopen.c): Likewise.
11450         (CFLAGS-iofopen64.c): Likewise.
11451         (CFLAGS-oldtmpfile.c): Likewise.
11452         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
11453         (CFLAGS-fprintf.c): Likewise.
11454         (CFLAGS-printf.c): Likewise.
11455         (CFLAGS-vfwprintf.c): Likewise.
11456         (CFLAGS-vfscanf.c): Likewise.
11457         (CFLAGS-vfwscanf.c): Likewise.
11458         (CFLAGS-fscanf.c): Likewise.
11459         (CFLAGS-scanf.c): Likewise.
11460         (CFLAGS-isoc99_vfscanf.c): Likewise.
11461         (CFLAGS-isoc99_vscanf.c): Likewise.
11462         (CFLAGS-isoc99_fscanf.c): Likewise.
11463         (CFLAGS-isoc99_scanf.c): Likewise.
11464         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
11465         (CFLAGS-isoc99_fwscanf.c): Likewise.
11466         (CFLAGS-isoc99_vwscanf.c): Likewise.
11467         (CFLAGS-isoc99_vfwscanf.c): Likewise.
11469         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
11470         after mkstemp64.
11471         * login/tst-utmp.c (do_prepare): Likewise.
11472         * rt/tst-aio.c (do_prepare): Likewise.
11473         * rt/tst-aio64.c (do_prepare): Likewise.
11475 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11477         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11478         (__lll_lock_elision): Remove adapt_count decrement...
11479         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11480         (__lll_trylock_elision): Likewise.
11481         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11482         (__lll_unlock_elision): ... to here. And utilize
11483         new adapt_count parameter.
11484         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11485         (__lll_unlock_elision): Update to include adapt_count
11486         parameter.
11487         (lll_unlock_elision): Pass pointer to adapt_count
11488         variable.
11490 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11492         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
11493         Add elision adapt_count parameter to list of arguments.
11494         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
11495         (lll_unlock_elision): Update with new parameter list
11496         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
11497         (lll_unlock_elision): Likewise.
11498         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
11499         (lll_unlock_elision): Likewise.
11501 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11503         [BZ #19122]
11504         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
11505         attribute_hidden.
11507         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
11508         attribute_hidden.
11509         [IS_IN (rtld)] (__strdup): Likewise.
11510         [IS_IN (rtld)] (__strerror_r): Likewise.
11511         [IS_IN (rtld)] (__strsep_g): Likewise.
11512         [IS_IN (rtld)] (memchr): Likewise.
11513         [IS_IN (rtld)] (memcmp): Likewise.
11514         [IS_IN (rtld)] (memcpy): Likewise.
11515         [IS_IN (rtld)] (memmove): Likewise.
11516         [IS_IN (rtld)] (memset): Likewise.
11517         [IS_IN (rtld)] (rawmemchr): Likewise.
11518         [IS_IN (rtld)] (stpcpy): Likewise.
11519         [IS_IN (rtld)] (strchr): Likewise.
11520         [IS_IN (rtld)] (strcmp): Likewise.
11521         [IS_IN (rtld)] (strlen): Likewise.
11522         [IS_IN (rtld)] (strnlen): Likewise.
11523         [IS_IN (rtld)] (strsep): Likewise.
11525         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
11526         attribute_hidden.
11527         [IS_IN (rtld)] (__strtoul_internal): Likewise.
11529         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
11530         attribute_hidden.
11531         [IS_IN (rtld)] (__libc_sigaction): Likewise.
11533         * include/setjmp.h (__longjmp): Add attribute_hidden.
11534         [IS_IN (rtld)] (__sigsetjmp): Likewise.
11536         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
11537         Add attribute_hidden.
11539         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
11540         [IS_IN (rtld)] (__open): Likewise.
11541         [IS_IN (rtld)] (__fcntl): Likewise.
11543         * include/dirent.h (__opendirat): Add attribute_hidden.
11544         (__getdents): Likewise.
11545         (__getdents64): Likewise.
11546         (__alloc_dir): Likewise.
11547         [IS_IN (rtld)] (__closedir): Likewise.
11548         [IS_IN (rtld)] (__fdopendir): Likewise.
11549         [IS_IN (rtld)] (__readdir): Likewise.
11550         [IS_IN (rtld)] (__readdir64): Likewise.
11551         [IS_IN (rtld)] (__rewinddir): Likewise.
11553         * include/dlfcn.h (_dl_catch_error): Moved to ...
11554         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
11555         attribute_hidden.
11557         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
11558         (_itoa_word): Likewise.
11560         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
11561         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
11562         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
11563         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
11564         (_dl_higher_prime_number): Likewise.
11565         (_dl_debug_printf_c): Likewise.
11566         (_dl_signal_cerror): Likewise.
11567         (_dl_receive_error): Likewise.
11568         (_dl_reloc_bad_type): Likewise.
11569         (_dl_resolve_conflicts): Likewise.
11570         (_dl_check_all_versions): Likewise.
11571         (_dl_check_map_versions): Likewise.
11572         (_dl_sort_fini): Likewise.
11573         (_dl_debug_initialize): Likewise.
11574         (_dl_init_paths): Likewise.
11575         (_dl_show_auxv): Likewise.
11576         (_dl_next_ld_env_entry): Likewise.
11577         (_dl_important_hwcaps): Likewise.
11578         (_dl_load_cache_lookup): Likewise.
11579         (_dl_update_slotinfo): Likewise.
11580         (_dl_show_scope): Likewise.
11582         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
11583         attribute_hidden.
11584         (_wordcopy_fwd_dest_aligned): Likewise.
11585         (_wordcopy_bwd_aligned): Likewise.
11586         (_wordcopy_bwd_dest_aligned): Likewise.
11588         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
11589         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11590         Likewise.
11591         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
11592         Likewise.
11593         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
11595 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11597         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
11598         GCC 5 requirement.
11600 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
11602         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
11603         test.
11604         * sysdeps/i386/configure: Regenerated.
11605         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
11606         code unconditional.
11608         * configure.ac (libc_cv_asm_previous_directive): Remove configure
11609         test.
11610         (libc_cv_asm_popsection_directive): Likewise.
11611         * configure: Regenerated.
11612         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
11613         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
11614         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
11615         (__make_section_unallocated): Make definition unconditional.
11616         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
11617         Remove conditional definition.
11618         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
11619         (__make_section_unallocated): Likewise.
11621         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
11622         * configure: Regenerated.
11623         * config.make.in (static-libgcc): Remove variable.
11624         * Makerules (build-shlib-helper): Use -static-libgcc instead of
11625         $(static-libgcc).
11626         (build-module-helper): Likewise.
11628         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
11629         * configure: Regenerated.
11631 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11633         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
11634         (struct char_buffer): New type.
11635         (char_buffer_start, char_buffer_size, char_buffer_error)
11636         (char_buffer_rewind, char_buffer_add): New functions.
11637         (ADDW): Remove macro, replaced by the char_buffer_add function.
11638         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
11639         of extend_alloca.  Make control flow more explicit.
11641 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11643         [BZ #19137]
11644         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
11645         Add -fomit-frame-pointer.
11646         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
11648 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11650         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
11651         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
11652         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
11653         only if !__GNUC_PREREQ (5,0).
11654         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
11655         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
11656         (INTERNAL_SYSCALL_NCS): Likewise.
11657         (LOADREGS_0): New macro for GCC 5.
11658         (ASMARGS_0): Likewise.
11659         (LOADREGS_1): Likewise.
11660         (ASMARGS_1): Likewise.
11661         (LOADREGS_2): Likewise.
11662         (ASMARGS_2): Likewise.
11663         (LOADREGS_3): Likewise.
11664         (ASMARGS_3): Likewise.
11665         (LOADREGS_4): Likewise.
11666         (ASMARGS_4): Likewise.
11667         (LOADREGS_5): Likewise.
11668         (ASMARGS_5): Likewise.
11669         (LOADREGS_6): Likewise.
11670         (ASMARGS_6): Likewise.
11672 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
11674         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
11675         -fomit-frame-pointer.
11676         (CFLAGS-mmap64.c): Likewise.
11677         (CFLAGS-semtimedop.c): Likewise.
11678         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
11679         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
11680         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
11681         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11683 2015-10-15  Florian Weimer  <fweimer@redhat.com>
11685         [BZ #18928]
11686         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
11687         _dl_pointer_guard member.
11688         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
11689         initializer.
11690         (security_init): Always set up pointer guard.
11691         (process_envvars): Do not process LD_POINTER_GUARD.
11693 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
11695         [BZ #19134]
11696         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
11697         (.LC2): Likewise.
11698         (.LC3): Likewise.
11699         (__lround): Do not add 0.5 to integer or out-of-range arguments.
11701 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11703         [BZ #19129]
11704         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
11705         r0 and r1.
11707 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
11709         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
11711 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
11713         * include/stap-probe.h: Fix macro definition formatting.
11715 2015-10-14  Florian Weimer  <fweimer@redhat.com>
11717         [BZ #19074]
11718         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
11719         load and store num_ifs.
11721 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11723         [BZ #18822]
11724         * sysdeps/unix/sysv/linux/sched_getaffinity.c
11725         (__sched_getaffinity_new): Add libc_hidden_proto and
11726         libc_hidden_def.
11728 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11730         [BZ #19007]
11731         * scripts/localplt.awk: Also allow GOT references.
11732         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
11733         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
11734         with "+ REL R_386_GLOB_DAT".
11735         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
11736         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
11738 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
11740         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
11741         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11742         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
11743         Likewise.
11744         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11745         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
11746         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
11747         INTERNAL_SYSCALLINTERNAL_SYSCALL and
11748         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11749         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
11750         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11751         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
11752         Likewise.
11753         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11755 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11757         [BZ #19125]
11758         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
11759         <math_private.h> and <stdint.h>.
11760         (__llround): Avoid conversions to and from long long int, and
11761         subtractions, where those might raise spurious exceptions.
11762         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
11763         <math_private.h> and <stdint.h>.
11764         (__llroundf): Avoid conversions to and from long long int, and
11765         subtractions, where those might raise spurious exceptions.
11767 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11769         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
11770         INLINE_SYSCALL_ERROR_RETURN_VALUE.
11771         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
11772         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
11773         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11774         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11775         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
11776         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
11777         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
11778         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11779         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11780         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11781         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
11782         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11783         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11784         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
11785         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
11786         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
11787         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
11788         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
11789         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11790         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
11791         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
11792         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11793         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
11794         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11795         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
11796         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
11797         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11798         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
11799         (__xstat64_conv): Likewise.
11800         (__xstat32_conv): Likewise.
11802 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11804         * sysdeps/unix/sysv/linux/sysdep.h: New file.
11805         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
11806         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
11807         <sysdeps/unix/sysv/linux/sysdep.h>.
11808         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
11809         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
11810         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
11811         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11812         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
11813         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
11814         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
11815         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
11816         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
11817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11819         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11820         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11821         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11822         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
11823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11824         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
11825         (sysdep-dl-routines): Add sysdep.
11826         [$(subdir) == nptl] (libpthread-routines): Likewise.
11827         [$(subdir) == rt] (librt-routines): Likewise.
11828         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
11829         PIC when branching to SYSCALL_ERROR_LABEL.
11830         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
11831         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
11832         <sysdeps/unix/sysv/linux/sysdep.h>.
11833         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
11834         (SYSCALL_ERROR_ERRNO): Removed.
11835         (SYSCALL_ERROR_HANDLER): Changed to empty.
11836         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
11837         (__syscall_error): New prototype.
11838         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
11839         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
11841 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
11843         [BZ #19124]
11844         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
11845         (_dl_runtime_resolve_avx512): Make it a hidden alias of
11846         _dl_runtime_resolve_avx.
11847         (_dl_runtime_profile_avx512): Make it a hidden alias of
11848         _dl_runtime_profile_avx.
11850 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
11852         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
11853         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
11854         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
11855         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
11857         [BZ #16422]
11858         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
11859         New configure test.
11860         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
11861         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
11862         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
11863         <math_private.h> and <stdint.h>.
11864         (__llrint): Avoid conversions to long long int where those might
11865         raise spurious exceptions.
11866         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
11867         <math_private.h> and <stdint.h>.
11868         (__llrintf): Avoid conversions to long long int where those might
11869         raise spurious exceptions.
11871 2015-10-12  Andreas Schwab  <schwab@suse.de>
11873         [BZ #18969]
11874         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
11875         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
11876         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
11877         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
11878         $(gen-locales).
11879         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
11880         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
11881         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
11882         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
11883         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
11884         $(gen-locales).
11885         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
11886         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
11887         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
11888         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
11889         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
11890         ($(objpfx)tst-ftell-active-handler.out)
11891         ($(objpfx)tst-ftell-append.out)
11892         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
11893         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
11894         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
11895         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
11896         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
11897         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
11898         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
11899         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
11900         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
11901         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
11902         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
11903         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
11904         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
11905         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
11906         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
11907         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
11908         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
11909         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
11910         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
11911         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
11912         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
11913         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
11914         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
11915         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
11916         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
11917         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
11918         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
11919         $(gen-locales).
11920         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
11921         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
11922         $(gen-locales).
11923         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
11924         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
11925         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
11926         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
11927         $(gen-locales).
11928         * libio/tst_wprintf2.c (main): Use explicit locale.
11929         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
11931 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11933         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
11934         __msg_sig_post.
11935         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
11937 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
11939         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11940         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11942         * sysdeps/arm/libm-test-ulps: Regenerated.
11944         [BZ #15470]
11945         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
11947         [BZ #16399]
11948         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
11949         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
11950         and <fix-fp-int-convert-overflow.h>.
11951         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11952         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11953         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
11954         and <fix-fp-int-convert-overflow.h>.
11955         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
11956         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11957         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
11958         <fix-fp-int-convert-overflow.h>.
11959         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
11960         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11961         * sysdeps/ieee754/dbl-64/s_lround.c: Include
11962         <fix-fp-int-convert-overflow.h>.
11963         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
11964         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11965         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
11966         and <fix-fp-int-convert-overflow.h>.
11967         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11968         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11969         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
11970         <limits.h> and <fix-fp-int-convert-overflow.h>.
11971         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11972         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11973         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
11974         and <fix-fp-int-convert-overflow.h>.
11975         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
11976         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11977         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
11978         and <fix-fp-int-convert-overflow.h>.
11979         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
11980         FIX_DBL_LLONG_CONVERT_OVERFLOW.
11981         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
11983 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
11985         [BZ #18589]
11986         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
11987         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
11988         $(gen-locales).
11990 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11991             Phil Blundell <pb@pbcl.net>
11993         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
11994         * nptl/tst-cancel26.c: New file.
11995         * nptl/tst-cancel27.c: Likewise.
11997 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
11999         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12000         __ILP32__ isn't defined.
12001         (lrint): Likewise.
12002         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12003         (lrintf): Likewise.
12004         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12005         (lrintl): Likewise.
12006         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12007         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12008         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12010 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12012         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12013         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12015         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12016         file.
12017         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12018         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12020 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12022         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12023         configure test.
12024         * sysdeps/i386/configure: Regenerated.
12025         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12026         configure test.
12027         * sysdeps/x86_64/configure: Regenerated.
12028         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12029         Make code unconditional.
12031         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12032         test.
12033         * sysdeps/i386/configure: Regenerated.
12034         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12035         test.
12036         * sysdeps/x86_64/configure: Regenerated.
12037         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12038         Make code unconditional.
12039         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12040         Likewise.
12041         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12042         Likewise.
12043         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12044         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12045         code unconditional.
12046         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12047         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12048         code unconditional.
12049         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12050         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12051         code unconditional.
12052         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12053         code unconditional.
12054         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12055         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12056         code unconditional.
12057         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12058         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12059         code unconditional.
12060         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12061         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12062         code unconditional.
12063         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12064         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12065         code unconditional.
12066         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12067         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12069         [BZ #19095]
12070         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12071         mantissa to long int before shifting left.
12073 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12075         [BZ #19094]
12076         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12077         <limits.h>.
12078         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12079         when result overflows but exception would not result from cast.
12080         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12081         <limits.h>.
12082         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12083         when result overflows but exception would not result from cast.
12084         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12085         <limits.h>.
12086         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12087         when result overflows but exception would not result from cast.
12088         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12089         <limits.h>.
12090         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12091         when result overflows but exception would not result from cast.
12092         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12093         <limits.h>.
12094         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12095         when result overflows but exception would not result from cast.
12096         * math/libm-test.inc (lrint_test_data): Add more tests.
12097         (llrint_test_data): Likewise.
12099 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12101         [BZ #18872]
12102         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12103         Move out from under [$(run-built-tests) = yes] conditional.
12104         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12105         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12107 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12109         [BZ #18589]
12110         * string/Makefile (tests): Add bug-strcoll2.
12111         (LOCALES): Add cs_CZ.UTF-8.
12112         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12114         [BZ #18589]
12115         * string/bug-strcoll2.c: New file.
12116         * locale/categories.def: Revert commit
12117         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12118         * locale/langinfo.h: Likewise.
12119         * locale/localeinfo.h: Likewise.
12120         * locale/C-collate.c: Likewise.
12121         * locale/programs/ld-collate.c (collate_output): Likewise.
12122         * string/strcoll_l.c (STRDIFF): Likewise.
12123         (STRCOLL): Likewise.
12124         * wcsmbs/wcscoll_l.c: Likewise.
12126 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12128         * math/libm-test.inc (lround_test_data): Do not expect the absence
12129         of "inexact" for some tests with non-integer arguments.
12130         (llround_test_data): Likewise.
12132         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12133         test.
12134         (libc_cv_cc_sse2avx): Likewise.
12135         * sysdeps/i386/configure: Regenerated.
12136         * sysdeps/i386/i686/multiarch/Makefile
12137         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12138         [$(subdir) = math].
12139         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12140         code unconditional.
12141         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12142         Likewise.
12143         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12144         Likewise.
12145         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12146         Likewise.
12147         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12148         test.
12149         (libc_cv_cc_sse2avx): Likewise.
12150         * sysdeps/x86_64/configure: Regenerated.
12151         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12152         unconditional.
12153         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12154         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12155         unconditional.
12156         (_dl_runtime_profile)
12157         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12158         conditional code.
12159         * sysdeps/x86_64/fpu/multiarch/Makefile
12160         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12161         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12162         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12163         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12164         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12165         * sysdeps/x86_64/fpu/multiarch/e_log.c
12166         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12167         * sysdeps/x86_64/fpu/multiarch/s_atan.c
12168         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12169         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12170         Likewise.
12171         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12172         Likewise.
12173         * sysdeps/x86_64/fpu/multiarch/s_sin.c
12174         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12175         * sysdeps/x86_64/fpu/multiarch/s_tan.c
12176         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12177         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
12178         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
12179         (HAVE_SSE2AVX_SUPPORT): Likewise.
12181 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
12183         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
12184         instead of #pragma optimize.
12186 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12188         [BZ #17195]
12189         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
12190         as is similarly done in systrim and _int_free already.
12192 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12194         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
12196 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12198         [BZ #19088]
12199         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
12200         <limits.h>.
12201         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12202         overflows but exception would not result from cast.
12203         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
12204         and <limits.h>.
12205         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
12206         overflows but exception would not result from cast.
12207         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
12208         <limits.h>.
12209         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12210         overflows but exception would not result from cast.
12211         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
12212         <limits.h>.
12213         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12214         overflows but exception would not result from cast.
12215         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
12216         <limits.h>.
12217         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
12218         overflows but exception would not result from cast.
12219         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
12220         <limits.h>.
12221         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
12222         overflows but exception would not result from cast.
12223         * math/libm-test.inc (lround_test_data): Add more tests.
12224         (llround_test_data): Likewise.
12226 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
12228         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
12229         (CFLAGS-ialloc.c): Ditto.
12230         (CFLAGS-scheck.c): Ditto.
12232 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
12234         [BZ #19086]
12235         * manual/filesys.texi (Storage Allocation): Fix argument order for
12236         posix_fallocate64.
12238 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12240         [BZ #19085]
12241         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
12242         exponent below 48 inside case for non-overflowing exponent.
12243         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
12245 2015-10-07  Florian Weimer  <fweimer@redhat.com>
12247         * iconvdata/cp737.h (from_idx): Add const.
12248         * iconvdata/cp775.h (from_idx): Likewise.
12250 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
12252         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
12253         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
12254         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
12256         [BZ #19079]
12257         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
12258         file, conditioned on [!_LP64].
12259         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
12260         [!_LP64] (__lround): Do not define as function or alias.
12261         [!_LP64] (lround): Likewise.
12262         [!_LP64] (__lroundl): Likewise.
12263         [!_LP64] (lroundl): Likewise.
12264         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
12265         macro.
12266         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
12267         Likewise.
12269 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12271         * math/libm-test.inc (lrint_test_data): Add more tests.
12272         (llrint_test_data): Likewise.
12273         (lround_test_data): Likewise.
12274         (llround_test_data): Likewise.
12276         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
12277         (llrint_test_data): Add tests used for lrint.
12279         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
12280         test.
12281         * sysdeps/i386/configure: Regenerated.
12282         * sysdeps/i386/i686/multiarch/Makefile
12283         [$(config-cflags-sse4) = yes]: Make code unconditional.
12284         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12285         Likewise.
12286         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
12287         Likewise.
12288         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
12289         test.
12290         * sysdeps/x86_64/configure: Regenerated.
12291         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
12292         Make code unconditional.
12293         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
12294         Likewise.
12295         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
12296         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
12298         * scripts/rpm2dynsym.sh: Remove file.
12300 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12302         * configure.ac (libc_cv_cxx_thread_local): Define.
12303         * configure: Regenerate.
12304         * config.make.in (have-cxx-thread_local): Define.
12305         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
12306         (LDLIBS-tst-thread_local1): Define.
12307         (tests): Add tst-thread_local1.
12308         [have-cxx-thread_local != yes] (tests-unsupported): Add
12309         tst-thread_local1.
12310         * nptl/tst-thread_local1.cc: New file.
12312 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
12314         [BZ #19078]
12315         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
12316         (u_thres): Likewise.
12317         (__expl): Determine whether to call __kernel_standard_l based on
12318         value of result, not argument.
12320         * math/libm-test.inc (scalb_test_data): Add more expectations for
12321         the "inexact" exception.
12323         [BZ #19077]
12324         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
12325         0.0L for argument 1.0L.
12327         [BZ #19076]
12328         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
12329         constant 0.0L when computing infinite result.
12331 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12333         [BZ #10432]
12334         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
12335         malloc_usable_size.
12337 2015-10-06  Florian Weimer  <fweimer@redhat.com>
12339         [BZ #19018]
12340         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
12341         Mangle function pointer before storing it.
12342         (__call_tls_dtors): Demangle function pointer before calling it.
12344 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
12346         [BZ #19012]
12347         * iconv/gconv_db.c (gen_steps): Check for additional errors.
12348         Clean up on failure.
12350 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
12352         [BZ #19071]
12353         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
12354         long int variable to store possibly incremented high part of
12355         mantissa.
12356         * math/libm-test.inc (lround_test_data): Add tests used for
12357         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
12358         for tests requiring 64-bit long.  Do not condition tests on
12359         [TEST_FLOAT] unnecessarily.
12360         (llround_test_data): Add tests used for lround.  Add another
12361         expectation for the "inexact" exception.  Do not condition tests
12362         on [TEST_FLOAT] unnecessarily.
12364         [BZ #887]
12365         [BZ #19049]
12366         [BZ #19050]
12367         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
12368         * sysdeps/ieee754/dbl-64/e_log10.c: Include
12369         <fix-int-fp-convert-zero.h>.
12370         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12371         * sysdeps/ieee754/dbl-64/e_log2.c: Include
12372         <fix-int-fp-convert-zero.h>.
12373         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12374         * sysdeps/ieee754/dbl-64/s_erf.c: Include
12375         <fix-int-fp-convert-zero.h>.
12376         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12377         * sysdeps/ieee754/dbl-64/s_logb.c: Include
12378         <fix-int-fp-convert-zero.h>.
12379         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12380         * sysdeps/ieee754/flt-32/e_log10f.c: Include
12381         <fix-int-fp-convert-zero.h>.
12382         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12383         * sysdeps/ieee754/flt-32/e_log2f.c: Include
12384         <fix-int-fp-convert-zero.h>.
12385         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12386         * sysdeps/ieee754/flt-32/s_erff.c: Include
12387         <fix-int-fp-convert-zero.h>.
12388         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12389         * sysdeps/ieee754/flt-32/s_logbf.c: Include
12390         <fix-int-fp-convert-zero.h>.
12391         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12392         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
12393         <fix-int-fp-convert-zero.h>.
12394         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12395         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
12396         <fix-int-fp-convert-zero.h>.
12397         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
12398         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
12399         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
12400         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
12401         file.
12402         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
12404 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
12406         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12408 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
12410         [BZ #19059]
12411         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
12412         overflowing computation.
12413         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
12414         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
12415         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
12416         Likewise.
12417         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
12418         Likewise.
12419         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
12420         Likewise.
12421         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
12422         Likewise.
12423         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
12424         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
12425         Likewise.
12426         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
12427         Likewise.
12428         * math/libm-test.inc (nexttoward_test_data): Add more tests.
12430         * nss/rewrite_field.c (__nss_rewrite_field): Use
12431         internal_function.
12432         * nss/valid_field.c (__nss_valid_field): Likewise.
12433         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
12435 2015-10-02  Florian Weimer  <fweimer@redhat.com>
12437         [BZ #18724]
12438         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
12439         (__nss_invalid_field_characters, __nss_valid_field)
12440         (__nss_valid_list_field, __nss_rewrite_field): Declare.
12441         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
12442         tst-field.c: New file.
12443         * nss/Makefile (routines): Add valid_field, rewrite_field.
12444         (tests-static): Define unconditionally.
12445         (tests): Include tests-static.
12446         [build-static-nss] (tests-static): Use append.
12447         [build-static-nss] (tests): Remove modification.
12448         * nss/getent.c (print_group): Call putgrent.  Report error.
12449         (print_gshadow): Call putsgent.  Report error.
12450         (print_passwd): Call putpwent.  Report error.
12451         (print_shadow): Call putspent.  Report error.
12452         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
12453         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
12454         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
12455         name, password, directory, shell fields for valid syntax.  Rewrite
12456         GECOS field to match syntax.
12457         * pwd/Makefile (tests): Add tst-putpwent.
12458         * pwd/tst-putpwent.c: New file.
12459         * grp/putgrent.c (putgrent): Convert to ISO function definition.
12460         Check grName, grpasswd, gr_mem fields for valid syntax.
12461         Change loop variable i to size_t.
12462         * grp/Makefile (tests): Add tst-putgrent.
12463         * grp/tst-putgrent.c: New file.
12464         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
12465         valid syntax.
12466         * shadow/Makefile (tests): Add tst-putspent.
12467         * shadow/tst-putspent.c: New file.
12468         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
12469         sg_mem fields for valid syntax.
12470         * gshadow/Makefile (tests): Add tst-putsgent.
12471         * gshadow/tst-putsgent.c: New file.
12473 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12475         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
12476         assembly instructions.
12478 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12480         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
12481         prefix from operands.
12483 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
12485         [BZ #16347]
12486         [BZ #19046]
12487         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
12488         <libc-internal.h>.
12489         (MAXLGM): Do not use diagnostic control macros.
12490         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
12491         threshold for ldbl-128ibm.
12492         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
12493         instead of multiplying by log then subtracting.
12494         * math/auto-libm-test-in: Add more tests of lgamma.
12495         * math/auto-libm-test-out: Regenerated.
12497         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
12498         (TYPE_HEX_DIG): Likewise.
12499         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
12500         precisions when printing floating-point numbers.
12501         (check_float_internal): Likewise.
12503 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12505         [BZ #16620]
12506         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
12507         of log (10) rounded downward to 48 bits.
12508         (log10_low): Use corresponding low part of log (10).
12510         [BZ #19032]
12511         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
12512         compute result as (x - x) / (x - x) not as 0 / 0.
12513         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12514         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
12516         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
12517         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
12518         and expm1.
12519         * math/auto-libm-test-out: Regenerated.
12520         * math/libm-test.inc (acos_test_data): Add more tests.
12521         (asin_test_data): Likewise.
12522         (asinh_test_data): Likewise.
12523         (atan_test_data): Likewise.
12524         (atanh_test_data): Likewise.
12525         (atan2_test_data): Likewise.
12526         (cbrt_test_data): Likewise.
12527         (ceil_test_data): Likewise.
12528         (copysign_test_data): Likewise.
12529         (cos_test_data): Likewise.
12530         (cosh_test_data): Likewise.
12531         (erf_test_data): Likewise.
12532         (erfc_test_data): Likewise.
12533         (exp_test_data): Likewise.
12534         (exp10_test_data): Likewise.
12535         (exp2_test_data): Likewise.
12536         (expm1_test_data): Likewise.
12537         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12539 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
12541         [BZ #19006]
12542         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
12543         to ...
12544         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
12545         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
12546         to ...
12547         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
12548         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
12549         to ...
12550         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
12551         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
12552         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
12553         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
12554         to ...
12555         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
12556         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12557         Moved to ...
12558         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
12559         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12560         Moved to ...
12561         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
12562         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
12563         to ...
12564         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
12565         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12566         Moved to ...
12567         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
12568         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
12569         to ...
12570         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
12571         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
12572         Removed.
12573         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
12574         Likewise.
12575         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
12576         Likewise.
12577         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
12578         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
12579         Likewise.
12580         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12581         Likewise.
12582         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12583         Likewise.
12584         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12585         Likewise.
12586         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12587         Likewise.
12588         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
12589         Likewise.
12590         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
12591         Likewise.
12592         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
12593         Likewise.
12594         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
12595         Likewise.
12596         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
12597         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
12598         Likewise.
12599         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12602         Likewise.
12603         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12604         Likewise.
12605         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
12606         Likewise.
12607         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12608         Replace ../i486/pthread_cond_timedwait.S with
12609         ../pthread_cond_timedwait.S.
12611 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
12613         * math/libm-test.inc (acos_test_data): Refine expectations for
12614         errno and "inexact" exceptions.
12615         (acosh_test_data): Likewise.
12616         (asin_test_data): Likewise.
12617         (asinh_test_data): Likewise.
12618         (atan_test_data): Likewise.
12619         (atanh_test_data): Likewise.
12620         (atan2_test_data): Likewise.
12621         (cbrt_test_data): Likewise.
12622         (ceil_test_data): Likewise.
12623         (copysign_test_data): Likewise.
12624         (cosh_test_data): Likewise.
12625         (erf_test_data): Likewise.
12626         (erfc_test_data): Likewise.
12627         (exp_test_data): Likewise.
12628         (exp10_test_data): Likewise.
12629         (exp2_test_data): Likewise.
12630         (expm1_test_data): Likewise.
12631         (fabs_test_data): Likewise.
12632         (floor_test_data): Likewise.
12633         (fma_test_data): Likewise.
12634         (fmax_test_data): Likewise.
12635         (fmin_test_data): Likewise.
12636         (fmod_test_data): Likewise.
12637         (fpclassify_test_data): Likewise.
12638         (frexp_test_data): Likewise.
12639         (hypot_test_data): Likewise.
12640         (ilogb_test_data): Likewise.
12641         (isgreater_test_data): Likewise.
12642         (isgreaterequal_test_data): Likewise.
12643         (isinf_test_data): Likewise.
12644         (isless_test_data): Likewise.
12645         (islessequal_test_data): Likewise.
12646         (islessgreater_test_data): Likewise.
12647         (isnan_test_data): Likewise.
12648         (isnormal_test_data): Likewise.
12649         (issignaling_test_data): Likewise.
12650         (isunordered_test_data): Likewise.
12651         (j0_test_data): Likewise.
12652         (j1_test_data): Likewise.
12653         (jn_test_data): Likewise.
12654         (lgamma_test_data): Likewise.
12655         (lrint_test_data): Likewise.
12656         (llrint_test_data): Likewise.
12657         (log_test_data): Likewise.
12658         (log10_test_data): Likewise.
12659         (log1p_test_data): Likewise.
12660         (log2_test_data): Likewise.
12661         (logb_test_data): Likewise.
12662         (lround_test_data): Likewise.
12663         (llround_test_data): Likewise.
12664         (modf_test_data): Likewise.
12665         (nearbyint_test_data): Likewise.
12666         (nextafter_test_data): Likewise.
12667         (nexttoward_test_data): Likewise.
12668         (pow_test_data): Likewise.
12669         (remainder_test_data): Likewise.
12670         (remquo_test_data): Likewise.
12671         (rint_test_data): Likewise.
12672         (round_test_data): Likewise.
12673         (signbit_test_data): Likewise.
12674         (sinh_test_data): Likewise.
12675         (sqrt_test_data): Likewise.
12676         (tanh_test_data): Likewise.
12677         (tgamma_test_data): Likewise.
12678         (trunc_test_data): Likewise.
12679         (y0_test_data): Likewise.
12680         (y1_test_data): Likewise.
12681         (yn_test_data): Likewise.
12682         (significand_test_data): Likewise.
12684 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
12686         * manual/filesys.texi (Storage Allocation): Document that
12687         posix_fallocate emulation fails when fd is open with O_WRONLY.
12689 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
12691         [BZ #19016]
12692         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
12693         allow more cases with X^2 + Y^2 >= 0.5.
12694         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
12695         normal element in sum instead of special-casing based on values of
12696         arguments.
12697         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
12698         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
12699         -1 as normal element in sum instead of special-casing based on
12700         values of arguments.
12701         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
12702         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
12703         (__x2y2m1): Update comment.
12704         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
12705         as normal element in sum instead of special-casing based on values
12706         of arguments.
12707         * math/s_clog.c (__clog): Handle more cases using log1p without
12708         hypot.
12709         * math/s_clog10.c (__clog10): Likewise.
12710         * math/s_clog10f.c (__clog10f): Likewise.
12711         * math/s_clog10l.c (__clog10l): Likewise.
12712         * math/s_clogf.c (__clogf): Likewise.
12713         * math/s_clogl.c (__clogl): Likewise.
12714         * math/auto-libm-test-in: Add more tests of clog and clog10.
12715         * math/auto-libm-test-out: Regenerated.
12716         * sysdeps/i386/fpu/libm-test-ulps: Update.
12717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12719 2015-09-28  Martin Sebor  <msebor@redhat.com>
12721         [BZ #18969]
12722         * string/Makefile (LOCALES): Define.
12723         (gen-locales.mk): Include.
12724         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
12725         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
12726         * string/tst-strxfrm2.c (do_test): Print the name of the locale
12727         on setlocale failure.
12729 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12731         [BZ #18985]
12732         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
12733         (__strftime_internal): Likewise.
12734         * time/tst-strftime.c (do_bz18985): New test.
12735         (do_test): Call it.
12737 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
12739         [BZ #18956]
12740         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
12741         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
12742         extracting high part.
12743         * math/auto-libm-test-in: Add another test of pow.
12744         * math/auto-libm-test-out: Regenerated.
12745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12747 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12749         [BZ #18825]
12750         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
12751         New macro.
12752         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
12753         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12754         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
12755         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
12756         DBL_NARROW_EVAL, reloading the PIC register as needed.
12757         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
12758         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
12759         FLT_NARROW_EVAL.  Use separate return path for case when first
12760         argument is NaN.
12761         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
12762         DEFINE_LDBL_MIN.
12763         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
12764         PIC register.
12765         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
12766         math_check_force_underflow_nonneg.
12767         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
12768         underflow for subnormal result.
12769         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12770         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
12771         math_check_force_underflow_nonneg.
12772         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
12773         math_check_force_underflow.
12774         * sysdeps/x86_64/fpu/x86_64-math-asm.h
12775         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
12776         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
12777         DEFINE_LDBL_MIN.
12778         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
12779         * math/auto-libm-test-in: Add more tests of pow.
12780         * math/auto-libm-test-out: Regenerated.
12782 2015-09-25  Florian Weimer  <fweimer@redhat.com>
12784         * nss/bug17079.c (init_test_items): Add diagnostic for
12785         inconsistent entries.
12786         (test_buffer_size): Skip inconsistent entries.
12788 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
12790         [BZ #13304]
12791         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
12792         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
12793         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
12795         [BZ #13304]
12796         * sysdeps/microblaze/s_fma.c: New file.
12797         * sysdeps/microblaze/s_fmaf.c: Likewise.
12798         * sysdeps/microblaze/sfp-machine.h: Likewise.
12800 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
12802         [BZ #17250]
12803         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
12804         member.
12806 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12808         [BZ #18803]
12809         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
12810         (MO): New macro.
12811         (__ieee754_hypot) [PIC]: Load PIC register.
12812         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
12813         DBL_NARROW_EVAL.
12814         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
12815         math_check_force_underflow_nonneg in case where result might be
12816         tiny.
12817         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12818         Likewise.
12819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12820         Likewise.
12821         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12822         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
12823         * math/auto-libm-test-in: Add more tests of hypot.
12824         * math/auto-libm-test-out: Regenerated.
12826 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
12828         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
12830 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
12832         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
12833         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
12834         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12835         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12836         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
12837         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12838         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12840         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
12841         LOAD_PIC_REG.
12843         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
12844         (FLT_CHECK_FORCE_UFLOW): Likewise.
12845         (DBL_CHECK_FORCE_UFLOW): Likewise.
12846         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
12847         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
12848         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
12849         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12850         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
12851         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12852         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12853         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
12854         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
12855         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12856         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
12857         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
12858         (flt_min): Replace with use of DEFINE_FLT_MIN.
12859         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
12860         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
12861         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12862         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
12863         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
12864         (flt_min): Replace with use of DEFINE_FLT_MIN.
12865         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
12866         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
12867         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12868         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
12869         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
12870         (flt_min): Replace with use of DEFINE_FLT_MIN.
12871         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
12872         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
12873         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
12874         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
12875         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
12876         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
12877         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
12878         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
12879         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12880         (__atan): Use DBL_CHECK_FORCE_UFLOW.
12881         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
12882         (flt_min): Replace with use of DEFINE_FLT_MIN.
12883         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
12884         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
12885         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12886         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
12887         main computation.
12888         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
12889         (flt_min): Replace with use of DEFINE_FLT_MIN.
12890         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
12891         main computation.
12892         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
12893         (dbl_min): Replace with use of DEFINE_DBL_MIN.
12894         (MO): New macro.
12895         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
12896         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
12897         (flt_min): Replace with use of DEFINE_FLT_MIN.
12898         (MO): New macro.
12899         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
12900         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
12901         (__log1pl): Use MO.
12903         [BZ #19003]
12904         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
12905         $(config-cflags-nofma).
12907 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12909         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12911 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
12913         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
12914         (TWO127): Likewise.
12916         * sysdeps/generic/math_private.h (fabs_tg): New macro.
12917         (min_of_type): Likewise.
12918         (math_check_force_underflow): Likewise.
12919         (math_check_force_underflow_nonneg): Likewise.
12920         (math_check_force_underflow_complex): Likewise.
12921         * math/e_exp2l.c (__ieee754_exp2l): Use
12922         math_check_force_underflow_nonneg.
12923         * math/k_casinh.c (__kernel_casinh): Likewise.
12924         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12925         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12926         * math/s_catan.c (__catan): Use
12927         math_check_force_underflow_complex.
12928         * math/s_catanf.c (__catanf): Likewise.
12929         * math/s_catanh.c (__catanh): Likewise.
12930         * math/s_catanhf.c (__catanhf): Likewise.
12931         * math/s_catanhl.c (__catanhl): Likewise.
12932         * math/s_catanl.c (__catanl): Likewise.
12933         * math/s_ccosh.c (__ccosh): Likewise.
12934         * math/s_ccoshf.c (__ccoshf): Likewise.
12935         * math/s_ccoshl.c (__ccoshl): Likewise.
12936         * math/s_cexp.c (__cexp): Likewise.
12937         * math/s_cexpf.c (__cexpf): Likewise.
12938         * math/s_cexpl.c (__cexpl): Likewise.
12939         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
12940         * math/s_clog10.c (__clog10): Likewise.
12941         * math/s_clog10f.c (__clog10f): Likewise.
12942         * math/s_clog10l.c (__clog10l): Likewise.
12943         * math/s_clogf.c (__clogf): Likewise.
12944         * math/s_clogl.c (__clogl): Likewise.
12945         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
12946         * math/s_csinf.c (__csinf): Likewise.
12947         * math/s_csinh.c (__csinh): Likewise.
12948         * math/s_csinhf.c (__csinhf): Likewise.
12949         * math/s_csinhl.c (__csinhl): Likewise.
12950         * math/s_csinl.c (__csinl): Likewise.
12951         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
12952         * math/s_csqrtf.c (__csqrtf): Likewise.
12953         * math/s_csqrtl.c (__csqrtl): Likewise.
12954         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
12955         * math/s_ctanf.c (__ctanf): Likewise.
12956         * math/s_ctanh.c (__ctanh): Likewise.
12957         * math/s_ctanhf.c (__ctanhf): Likewise.
12958         * math/s_ctanhl.c (__ctanhl): Likewise.
12959         * math/s_ctanl.c (__ctanl): Likewise.
12960         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
12961         instead of volatile.
12962         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
12963         math_check_force_underflow.
12964         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
12965         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
12966         volatile when forcing underflow.
12967         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
12968         math_check_force_underflow_nonneg.
12969         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
12970         Likewise.
12971         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
12972         math_check_force_underflow.
12973         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12974         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
12975         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
12976         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
12977         math_check_force_underflow_nonneg.
12978         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
12979         math_check_force_underflow.
12980         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
12981         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
12982         instead of volatile.
12983         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
12984         math_check_force_underflow.
12985         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
12986         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
12987         math_check_force_underflow_nonneg.
12988         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
12989         math_check_force_underflow.
12990         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
12991         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
12992         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
12993         math_check_force_underflow_nonneg.
12994         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
12995         Likewise.
12996         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
12997         math_check_force_underflow.
12998         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12999         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13000         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13001         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13002         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13003         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13004         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13005         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13006         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13007         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13008         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13009         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13010         Likewise.
13011         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13012         math_check_force_underflow_nonneg.
13013         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13014         Likewise.
13015         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13016         math_check_force_underflow.
13017         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13018         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13019         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13020         Likewise.
13021         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13022         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13023         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13024         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13025         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13026         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13027         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13028         instead of volatile.
13029         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13030         math_check_force_underflow.
13031         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13032         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13033         math_check_force_underflow.
13034         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13035         Likewise.
13036         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13037         Use math_check_force_underflow_nonneg.
13038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13039         math_check_force_underflow.
13040         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13041         Likewise.
13042         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13043         Likewise.
13044         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13045         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13046         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13047         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13048         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13049         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13050         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13051         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13052         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13053         math_check_force_underflow_nonneg.
13054         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13055         math_check_force_underflow.
13056         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13057         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13058         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13059         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13060         math_check_force_underflow_nonneg.
13061         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13062         math_check_force_underflow.
13063         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13065         instead of volatile.
13066         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13067         math_check_force_underflow.
13069         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13070         * stdlib/strtod_l.c: Include <math_private.h>.
13071         (overflow_value): Use math_narrow_eval.
13072         (underflow_value): Likewise.
13073         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13074         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13075         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13076         (__ieee754_gamma_r): Likewise.
13077         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13078         Likewise.
13079         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13080         Likewise.
13081         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13082         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13083         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13084         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13085         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13086         (__ieee754_gammaf_r): Likewise.
13087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13088         Likewise.
13089         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13090         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13091         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13092         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13093         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13094         volatile.
13095         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13096         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13097         math_narrow_eval.
13098         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13099         Likewise.
13100         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13101         Likewise.
13102         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13103         Likewise.
13104         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13105         volatile.
13106         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13107         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13108         math_narrow_eval.
13109         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13110         Likewise.
13111         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13112         Likewise.
13114 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13116         * nptl/Versions: Remove ignored symbols.
13118 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13120         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13121         * nss/Makefile (tests): Update.
13123 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13125         * nss/bug18287.c: New file.
13126         * nss/Makefile (tests): Add bug18287.
13128 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13130         * mach/Versions (__mach_host_self_): Add symbol.
13132 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13134         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13135         vm_page_size.
13137 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13139         Really fix sysdeps/i386/fpu/s_scalbn.S build
13141         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13142         (libc: GLIBC_2_22): Remove unused version set.
13144 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13146         * config.make.in (enable-timezone-tools): New variable.
13147         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13148         (enable_timezone_tools): Export to generated files.
13149         * configure: Regenerate.
13150         * INSTALL: Regenerate.
13151         * manual/install.texi (--disable-timezone-tools): Document new flag.
13152         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13153         ifeq ($(enable-timezone-tools),yes) check.
13155 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13157         * timezone/Makefile: Revert previous change.
13159         [BZ #18980]
13160         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13161         (DEFINE_DBL_MIN): Likewise.
13162         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13163         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
13164         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13165         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
13166         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
13167         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13168         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13169         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
13170         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
13171         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13172         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13173         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
13174         (flt_min): Replace with use of DEFINE_FLT_MIN.
13175         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13176         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
13177         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13178         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
13179         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
13180         (flt_min): Replace with use of DEFINE_FLT_MIN.
13181         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13182         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
13183         (flt_min): Replace with use of DEFINE_FLT_MIN.
13184         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
13185         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
13186         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
13187         (__ieee754_hypot): Use DBL_NARROW_EVAL.
13188         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
13189         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
13190         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
13191         (__ieee754_pow): Use DBL_NARROW_EVAL.
13192         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
13193         (__ieee754_powf): Use FLT_NARROW_EVAL.
13194         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
13195         (__ieee754_expf_sse2): Convert double-precision result to single
13196         precision.
13197         * sysdeps/i386/fpu/libm-test-ulps: Update.
13199 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13201         * timezone/Makefile: Ignore unused variable errors due to private.h
13202         (time_t_min) and (time_t_max).
13203         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
13204         Likewise.
13206 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13208         [BZ #18981]
13209         * sysdeps/i386/fpu/i386-math-asm.h: New file.
13210         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
13211         (__ieee754_scalb): Use DBL_NARROW_EVAL.
13212         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
13213         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
13214         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
13215         (__scalbn): Use DBL_NARROW_EVAL.
13216         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
13217         (__scalbnf): Use FLT_NARROW_EVAL.
13219 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13221         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
13222         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
13223         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
13224         * stdio-common/printf_fp.c (___printf_fp):
13225         Use signbit to get the sign. Use isinf macro to allow inlining.
13226         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
13227         * stdio-common/printf_size.c (__printf_size): Likewise.
13229 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13231         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
13233 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13235         [BZ #18980]
13236         * sysdeps/generic/math_private.h: Include <float.h>.
13237         (math_narrow_eval): New macro.
13238         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
13239         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
13240         math_narrow_eval on overflowing return value.
13241         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
13242         Likewise.
13243         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13244         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
13245         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
13246         Likewise.
13247         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13249 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13251         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
13252         * math/Makefile: Remove isinf_ns.c.
13253         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
13254         * math/multc3.c (__multc3): Likewise.
13255         * math/s_casin.c (__casin): Likewise.
13256         * math/s_casinf.c (__casinf): Likewise.
13257         * math/s_casinl.c (__casinl): Likewise.
13258         * math/s_cproj.c (__cproj): Likewise.
13259         * math/s_cprojf.c (__cprojf): Likewise.
13260         * math/s_cprojl.c (__cprofl): Likewise.
13261         * math/s_ctan.c (__ctan): Likewise.
13262         * math/s_ctanf.c (__ctanf): Likewise.
13263         * math/s_ctanh.c (__ctanh): Likewise.
13264         * math/s_ctanhf.c (__ctanhf): Likewise.
13265         * math/s_ctanhl.c (__ctanhl): Likewise.
13266         * math/s_ctanl.c (__ctanl): Likewise.
13267         * math/w_fmod.c (__fmod): Likewise.
13268         * math/w_fmodf.c (__fmodf): Likewise.
13269         * math/w_fmodl.c (_fmodl): Likewise.
13270         * math/w_remainder.c (__remainder): Likewise.
13271         * math/w_remainderf.c (__remainderf): Likewise.
13272         * math/w_remainderl.c (__remainderl): Likewise.
13273         * math/w_scalb.c (__scalb): Likewise.
13274         * math/w_scalbf.c (__scalbf): Likewise.
13275         * math/w_scalbl.c (__scalbl): Likewise.
13276         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
13277         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
13278         with isinf.
13279         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
13280         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
13281         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
13282         __isinf_nsf with isinf.
13283         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
13284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
13285         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
13286         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
13287         with isinf.
13288         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
13289         __isinf_nsl with isinf.
13290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
13291         with isinf.
13292         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
13293         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
13294         __isinf_nsl with isinf.
13295         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
13296         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
13297         with isinf.
13299 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13301         * resolv/base64.c (rcsid): Remove unused static.
13302         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
13303         static.  (tqpi1): Likewise.
13304         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
13305         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
13306         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
13307         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
13308         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
13309         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
13310         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
13311         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
13312         Likewise.
13314 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
13316         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
13317         <nptl/pthreadP.h>.
13318         (_longjmp_unwind): Use __libc_ptf_call.
13319         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
13321 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
13323         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
13324         * sysdeps/arm/__longjmp.S: Likewise.
13326 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13328         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
13329         Use __builtin_signbit.
13330         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
13331         Use __builtin_signbitf.
13332         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
13333         Use __builtin_signbitl.
13334         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13335         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
13337 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13339         [BZ #15367]
13340         [BZ #17441]
13342         * math/Makefile: Build test-snan.c with -fsignaling-nans.
13343         * math/math.h (fpclassify): Use __builtin_fpclassify when
13344         available.  (signbit): Use __builtin_signbit(f/l).
13345         (isfinite): Use__builtin_isfinite.  (isnormal): Use
13346         __builtin_isnormal.  (isnan): Use __builtin_isnan.
13347         (isinf): Use __builtin_isinf_sign.
13349 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
13351         * benchtests/Makefile: Add bench-math-inlines, link with libm.
13352         * benchtests/bench-math-inlines.c: New benchmark.
13353         * benchtests/bench-util.h: New file.
13354         * benchtests/bench-util.c: New file.
13355         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
13357 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
13359         * elf/tst-dlmopen1.c: Define TEST_SO.
13360         (do_test): Use TEST_SO.
13362         * elf/dl-load.c: Include libc-internal.h.
13363         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
13365 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13367         [BZ #17887]
13368         * time/strptime_l.c (__strptime_internal): Make %z accept
13369         [+-]HH:MM time zones.
13371 2015-09-18  Vincent Bernat  <vincent@bernat.im>
13373         [BZ #17886]
13374         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
13375         valid time zone.
13377 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
13379         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
13380         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
13381         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13382         (__ASSUME_FDATASYNC): Delete.
13384 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13386         * conform/linknamespace.pl: Require weak undefined symbols to be
13387         in the standard namespace.
13388         (%strong_syms): Rename to %seen_syms.
13389         (%strong_seen): Rename to %seen_where.
13391 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
13393         [BZ #18970]
13394         * misc/error.c (error): Replace pthread_setcancelstate with
13395         __pthread_setcancelstate.
13396         (error_at_line): Likewise.
13397         * posix/wordexp.c (parse_comm): Likewise.
13398         * stdlib/fmtmsg.c (fmtmsg): Likewise.
13399         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
13400         (__pthread_setcancelstate): This.
13401         (pthread_setcancelstate): Add an alias.
13402         * nptl/nptl-init.c (pthread_functions): Replace
13403         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
13404         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
13405         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
13406         hidden_proto.
13407         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
13408         it with hidden_def.
13409         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
13410         (pthread_setcancelstate): Renamed to ...
13411         (__pthread_setcancelstate): This.
13412         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
13413         __libc_ptf_call with __pthread_setcancelstate.
13415 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13416             Andreas Schwab  <schwab@suse.de>
13418         [BZ #17118]
13419         * math/s_ctan.c (__ctan): Determine sign of zero real part of
13420         result when imaginary part of argument is infinite using sine and
13421         cosine.
13422         * math/s_ctanf.c (__ctanf): Likewise.
13423         * math/s_ctanl.c (__ctanl): Likewise.
13424         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
13425         of result when real part of argument is infinite using sine and
13426         cosine.
13427         * math/s_ctanhf.c (__ctanhf): Likewise.
13428         * math/s_ctanhl.c (__ctanhl): Likewise.
13429         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
13430         (ctanh_test_data): Add more tests of ctanh.
13432 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
13434         [BZ #15384]
13435         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
13436         bit-mask as in subtraction.
13437         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
13438         Likewise.
13439         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
13440         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
13441         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
13443         [BZ #18951]
13444         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
13445         underflow exception for small results.
13446         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13447         Likewise.
13448         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13449         Likewise.
13450         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13451         Likewise.
13452         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
13453         Likewise.
13454         * math/auto-libm-test-in: Add more tests of tgamma.
13455         * math/auto-libm-test-out: Regenerated.
13457 2015-09-17  Andreas Schwab  <schwab@suse.de>
13459         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
13461 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13463         [BZ #18977]
13464         * math/bits/mathcalls.h
13465         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
13466         not declare.
13467         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
13468         Likewise.
13469         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
13470         Likewise.
13471         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
13472         Likewise.
13473         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
13474         Likewise.
13475         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
13476         Likewise.
13477         * conform/data/math.h-data
13478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
13479         function.
13480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
13481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
13482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
13483         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
13484         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
13485         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
13486         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
13487         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
13488         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
13489         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
13490         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
13492         [BZ #6803]
13493         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
13494         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
13495         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
13496         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
13497         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
13498         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
13499         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
13500         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
13501         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13502         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
13503         Likewise.
13504         [NO_LONG_DOUBLE] (scalbnl): Likewise.
13505         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
13506         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
13507         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
13508         long_double_symbol calls.
13509         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
13510         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
13511         strong alias of __ldexpl.
13512         (scalbnl): Define using long_double_symbol.
13513         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
13514         Remove alias.
13515         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
13516         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
13517         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
13518         (scalbln_test_data): Add more errno expectations.
13520 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
13522         Cache the host port like we cache the task port.  This way we do not
13523         need to call the kernel just to get the port.  Furthermore, we no
13524         longer increase the reference count on every invocation of
13525         `mach_host_self'.
13527         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
13528         Protect declarations against the macro expansion.
13529         * mach/mach_init.c (__mach_host_self_): New variable.
13530         (mach_init): Initialize `__mach_host_self_'.
13531         * mach/mach_init.h (__mach_host_self_): New declaration.
13532         (__mach_host_self, mach_host_self): New macros.
13533         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
13534         Release reference.
13536 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
13538         [BZ #4404]
13539         * po/de.po: Update from Translation Project.
13541         [BZ #16415]
13542         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
13543         (__expm1l): Remove code to handle positive infinity and overflow.
13544         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
13545         variable.
13546         (__expm1l): Remove code to handle positive infinity and overflow.
13548 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
13549             Paul Pluzhnikov  <ppluzhnikov@google.com>
13551         [BZ #18872]
13552         * stdio-common/Makefile (tst-printf-bz18872): New test.
13553         (tst-printf-bz18872-mem.out): Likewise.
13554         * stdio-common/tst-printf-bz18872.sh: Generate new test.
13555         * stdio-common/vfprintf.c: Fix memory leaks.
13557 2015-09-16  Andreas Schwab  <schwab@suse.de>
13559         [BZ #17244]
13560         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
13561         Remove extra va_start/va_end calls.
13563         [BZ #17243]
13564         * posix/execl.c (execl): Add missing va_end.
13565         * posix/execle.c (execle): Likewise.
13566         * posix/execlp.c (execlp): Likewise.
13568 2015-09-15  Roland McGrath  <roland@hack.frob.com>
13570         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
13571         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
13573 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
13575         [BZ #18967]
13576         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
13577         undefine around includes of <bits/mathcalls.h>.
13578         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
13579         not declare function.
13580         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
13581         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
13582         (scalb): Likewise.
13583         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
13584         not define macro.
13585         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
13586         variable.
13587         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13588         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13589         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13591         [BZ #18857]
13592         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
13593         return non-finite argument without doing ordered comparisons on
13594         it.
13596         [BZ #16296]
13597         * math/fenv.h (fegetround): Use __attribute_pure__.
13598         * include/fenv.h (__fegetround): Likewise.
13600         [BZ #18595]
13601         * math/s_ctan.c (__ctan): Force underflow exception for results
13602         whose real or imaginary part has small absolute value.
13603         * math/s_ctanf.c (__ctanf): Likewise.
13604         * math/s_ctanh.c (__ctanh): Likewise.
13605         * math/s_ctanhf.c (__ctanhf): Likewise.
13606         * math/s_ctanhl.c (__ctanhl): Likewise.
13607         * math/s_ctanl.c (__ctanl): Likewise.
13608         * math/auto-libm-test-in: Do not allow missing underflow for ctan
13609         and ctanh.  Add more tests of ctan and ctanh.
13611         [BZ #15918]
13612         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
13613         handling of cases where one argument is an infinity.
13615         [BZ #18875]
13616         [BZ #18966]
13617         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
13618         (MO): New macro.
13619         (__ieee754_exp10): For small results, force underflow exception
13620         and remove excess range and precision from return value.
13621         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
13622         (MO): New macro.
13623         (__ieee754_exp10f): For small results, force underflow exception
13624         and remove excess range and precision from return value.
13625         * math/auto-libm-test-in: Add more tests of exp10.
13626         * math/auto-libm-test-out: Regenerated.
13628 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
13630         [BZ #18875]
13631         [BZ #18961]
13632         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
13633         (MO): New macro.
13634         (__ieee754_exp): For small results, force underflow exception and
13635         remove excess range and precision from return value.
13636         (__exp_finite): Likewise.
13637         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
13638         (MO): New macro.
13639         (__ieee754_expf): For small results, force underflow exception and
13640         remove excess range and precision from return value.
13641         (__expf_finite): Likewise.
13642         * math/auto-libm-test-in: Add more tests of exp.
13643         * math/auto-libm-test-out: Regenerated.
13645         [BZ #16521]
13646         [BZ #18875]
13647         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
13648         small results.
13649         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
13650         (MO): New macro.
13651         (__ieee754_exp2): For small results, force underflow exception and
13652         remove excess range and precision from return value.
13653         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
13654         (MO): New macro.
13655         (__ieee754_exp2f): For small results, force underflow exception
13656         and remove excess range and precision from return value.
13657         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
13658         (MO): New macro.
13659         (__ieee754_exp2l): Force underflow exception for small results.
13660         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
13661         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
13662         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
13663         (MO): New macro.
13664         (__ieee754_exp2l): Force underflow exception for small results.
13665         * math/auto-libm-test-in: Add more tests or exp2.
13666         * math/auto-libm-test-out: Regenerated.
13668 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
13670         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
13672         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
13673         /dev/null.
13675 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13677         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
13678         io fs process)): Drop spurious backslash.
13680 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
13682         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
13683         Use sysinfo system call instead of parsing /proc/meminfo.
13684         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
13685         Likewise.
13687 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
13689         [BZ #16985]
13690         * programs/localedef.c (main): Display argv[remaining] when
13691         output_path is NULL.
13693 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13695         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13696         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
13697         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
13698         tanh.
13699         * math/auto-libm-test-out: Regenerated.
13700         * sysdeps/i386/fpu/libm-test-ulps: Update.
13701         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
13702         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13705 2015-09-11  Roland McGrath  <roland@hack.frob.com>
13707         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
13708         Use 'override' keyword to freeze the value here, preventing
13709         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
13711 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #14912]
13714         * sysdeps/aarch64/bits/atomic.h: Move to ...
13715         * sysdeps/aarch64/atomic-machine.h: ...here.
13716         (_AARCH64_BITS_ATOMIC_H): Rename macro to
13717         _AARCH64_ATOMIC_MACHINE_H.
13718         * sysdeps/alpha/bits/atomic.h: Move to ...
13719         * sysdeps/alpha/atomic-machine.h: ...here.
13720         * sysdeps/arm/bits/atomic.h: Move to ...
13721         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
13722         * bits/atomic.h: Move to ...
13723         * sysdeps/generic/atomic-machine.h: ...here.
13724         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13725         * sysdeps/i386/bits/atomic.h: Move to ...
13726         * sysdeps/i386/atomic-machine.h: ...here.
13727         * sysdeps/ia64/bits/atomic.h: Move to ...
13728         * sysdeps/ia64/atomic-machine.h: ...here.
13729         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
13730         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
13731         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13732         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
13733         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
13734         * sysdeps/microblaze/bits/atomic.h: Move to ...
13735         * sysdeps/microblaze/atomic-machine.h: ...here.
13736         * sysdeps/mips/bits/atomic.h: Move to ...
13737         * sysdeps/mips/atomic-machine.h: ...here.
13738         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
13739         * sysdeps/powerpc/bits/atomic.h: Move to ...
13740         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
13741         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
13742         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
13743         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
13744         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
13745         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
13746         <atomic-machine.h> instead of <bits/atomic.h>.
13747         * sysdeps/s390/bits/atomic.h: Move to ...
13748         * sysdeps/s390/atomic-machine.h: ...here.
13749         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
13750         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
13751         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13752         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
13753         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
13754         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
13755         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
13756         * sysdeps/tile/bits/atomic.h: Move to ...
13757         * sysdeps/tile/atomic-machine.h: ...here.
13758         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
13759         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
13760         <sysdeps/tile/atomic-machine.h> instead of
13761         <sysdeps/tile/bits/atomic.h>.
13762         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13763         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
13764         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
13765         <sysdeps/tile/atomic-machine.h> instead of
13766         <sysdeps/tile/bits/atomic.h>.
13767         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13768         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
13769         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
13770         <sysdeps/arm/atomic-machine.h> instead of
13771         <sysdeps/arm/bits/atomic.h>.
13772         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
13773         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
13774         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13775         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
13776         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
13777         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
13778         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
13779         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
13780         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
13781         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
13782         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
13783         * sysdeps/x86_64/bits/atomic.h: Move to ...
13784         * sysdeps/x86_64/atomic-machine.h: ...here.
13785         * include/atomic.h: Include <atomic-machine.h> instead of
13786         <bits/atomic.h>.
13788         * sysdeps/mips/mips32/libm-test-ulps: Update.
13789         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13791         [BZ #18952]
13792         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
13793         not convert non-integer negative arguments to int to determine the
13794         value of signgam.
13795         * math/auto-libm-test-in: Add more tests of lgamma.
13796         * math/auto-libm-test-out: Regenerated.
13798         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
13799         cosh, csqrt, erfc, expm1 and lgamma.
13800         * math/auto-libm-test-out: Regenerated.
13801         * sysdeps/i386/fpu/libm-test-ulps: Update.
13802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13804 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
13806         [BZ #2542]
13807         [BZ #2543]
13808         [BZ #2558]
13809         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
13810         __lgamma_neg for arguments from -28.0 to -2.0.
13811         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
13812         __lgamma_negf for arguments from -15.0 to -2.0.
13813         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
13814         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
13815         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
13816         Call __lgamma_negl for arguments from -33.0 to -2.0.
13817         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
13818         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
13819         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
13820         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
13821         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
13822         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
13823         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
13824         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
13825         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
13826         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
13827         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
13828         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
13829         (__lgamma_neg): Likewise.
13830         (__lgamma_negl): Likewise.
13831         (__lgamma_product): Likewise.
13832         (__lgamma_productl): Likewise.
13833         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
13834         * math/auto-libm-test-in: Add more tests of lgamma.
13835         * math/auto-libm-test-out: Regenerated.
13836         * sysdeps/i386/fpu/libm-test-ulps: Update.
13837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13839 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
13841         [BZ #18675]
13842         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
13844 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
13846         [BZ #14912]
13847         * bits/libc-lock.h: Move to ...
13848         * sysdeps/generic/libc-lock.h: ...here.
13849         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13850         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
13851         * sysdeps/mach/hurd/libc-lock.h: ...here.
13852         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13853         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
13854         * sysdeps/mach/bits/libc-lock.h: Move to ...
13855         * sysdeps/mach/libc-lock.h: ...here.
13856         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13857         * sysdeps/nptl/bits/libc-lock.h: Move to ...
13858         * sysdeps/nptl/libc-lock.h: ...here.
13859         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
13860         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
13861         * sysdeps/nptl/libc-lockP.h: ...here.
13862         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
13863         * crypt/crypt_util.c: Include <libc-lock.h> instead of
13864         <bits/libc-lock.h>.
13865         * dirent/scandir-tail.c: Likewise.
13866         * dlfcn/dlerror.c: Likewise.
13867         * elf/dl-close.c: Likewise.
13868         * elf/dl-iteratephdr.c: Likewise.
13869         * elf/dl-lookup.c: Likewise.
13870         * elf/dl-open.c: Likewise.
13871         * elf/dl-support.c: Likewise.
13872         * elf/dl-writev.h: Likewise.
13873         * elf/rtld.c: Likewise.
13874         * grp/fgetgrent.c: Likewise.
13875         * gshadow/fgetsgent.c: Likewise.
13876         * gshadow/sgetsgent.c: Likewise.
13877         * iconv/gconv_conf.c: Likewise.
13878         * iconv/gconv_db.c: Likewise.
13879         * iconv/gconv_dl.c: Likewise.
13880         * iconv/gconv_int.h: Likewise.
13881         * iconv/gconv_trans.c: Likewise.
13882         * include/link.h: Likewise.
13883         * inet/getnameinfo.c: Likewise.
13884         * inet/getnetgrent.c: Likewise.
13885         * inet/getnetgrent_r.c: Likewise.
13886         * intl/bindtextdom.c: Likewise.
13887         * intl/dcigettext.c: Likewise.
13888         * intl/finddomain.c: Likewise.
13889         * intl/gettextP.h: Likewise.
13890         * intl/loadmsgcat.c: Likewise.
13891         * intl/localealias.c: Likewise.
13892         * intl/textdomain.c: Likewise.
13893         * libidn/idn-stub.c: Likewise.
13894         * libio/libioP.h: Likewise.
13895         * locale/duplocale.c: Likewise.
13896         * locale/freelocale.c: Likewise.
13897         * locale/newlocale.c: Likewise.
13898         * locale/setlocale.c: Likewise.
13899         * login/getutent_r.c: Likewise.
13900         * login/getutid_r.c: Likewise.
13901         * login/getutline_r.c: Likewise.
13902         * login/utmp-private.h: Likewise.
13903         * login/utmpname.c: Likewise.
13904         * malloc/mtrace.c: Likewise.
13905         * misc/efgcvt.c: Likewise.
13906         * misc/error.c: Likewise.
13907         * misc/fstab.c: Likewise.
13908         * misc/getpass.c: Likewise.
13909         * misc/mntent.c: Likewise.
13910         * misc/syslog.c: Likewise.
13911         * nis/nis_call.c: Likewise.
13912         * nis/nis_callback.c: Likewise.
13913         * nis/nss-default.c: Likewise.
13914         * nis/nss_compat/compat-grp.c: Likewise.
13915         * nis/nss_compat/compat-initgroups.c: Likewise.
13916         * nis/nss_compat/compat-pwd.c: Likewise.
13917         * nis/nss_compat/compat-spwd.c: Likewise.
13918         * nis/nss_nis/nis-alias.c: Likewise.
13919         * nis/nss_nis/nis-ethers.c: Likewise.
13920         * nis/nss_nis/nis-grp.c: Likewise.
13921         * nis/nss_nis/nis-hosts.c: Likewise.
13922         * nis/nss_nis/nis-network.c: Likewise.
13923         * nis/nss_nis/nis-proto.c: Likewise.
13924         * nis/nss_nis/nis-pwd.c: Likewise.
13925         * nis/nss_nis/nis-rpc.c: Likewise.
13926         * nis/nss_nis/nis-service.c: Likewise.
13927         * nis/nss_nis/nis-spwd.c: Likewise.
13928         * nis/nss_nisplus/nisplus-alias.c: Likewise.
13929         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
13930         * nis/nss_nisplus/nisplus-grp.c: Likewise.
13931         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
13932         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
13933         * nis/nss_nisplus/nisplus-network.c: Likewise.
13934         * nis/nss_nisplus/nisplus-proto.c: Likewise.
13935         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
13936         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
13937         * nis/nss_nisplus/nisplus-service.c: Likewise.
13938         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
13939         * nis/ypclnt.c: Likewise.
13940         * nptl/libc_pthread_init.c: Likewise.
13941         * nss/getXXbyYY.c: Likewise.
13942         * nss/getXXent.c: Likewise.
13943         * nss/getXXent_r.c: Likewise.
13944         * nss/nss_db/db-XXX.c: Likewise.
13945         * nss/nss_db/db-netgrp.c: Likewise.
13946         * nss/nss_db/nss_db.h: Likewise.
13947         * nss/nss_files/files-XXX.c: Likewise.
13948         * nss/nss_files/files-alias.c: Likewise.
13949         * nss/nsswitch.c: Likewise.
13950         * posix/regex_internal.h: Likewise.
13951         * posix/wordexp.c: Likewise.
13952         * pwd/fgetpwent.c: Likewise.
13953         * resolv/res_hconf.c: Likewise.
13954         * resolv/res_libc.c: Likewise.
13955         * shadow/fgetspent.c: Likewise.
13956         * shadow/lckpwdf.c: Likewise.
13957         * shadow/sgetspent.c: Likewise.
13958         * socket/opensock.c: Likewise.
13959         * stdio-common/reg-modifier.c: Likewise.
13960         * stdio-common/reg-printf.c: Likewise.
13961         * stdio-common/reg-type.c: Likewise.
13962         * stdio-common/vfprintf.c: Likewise.
13963         * stdio-common/vfscanf.c: Likewise.
13964         * stdlib/abort.c: Likewise.
13965         * stdlib/cxa_atexit.c: Likewise.
13966         * stdlib/fmtmsg.c: Likewise.
13967         * stdlib/random.c: Likewise.
13968         * stdlib/setenv.c: Likewise.
13969         * string/strsignal.c: Likewise.
13970         * sunrpc/auth_none.c: Likewise.
13971         * sunrpc/bindrsvprt.c: Likewise.
13972         * sunrpc/create_xid.c: Likewise.
13973         * sunrpc/key_call.c: Likewise.
13974         * sunrpc/rpc_thread.c: Likewise.
13975         * sysdeps/arm/backtrace.c: Likewise.
13976         * sysdeps/generic/ldsodefs.h: Likewise.
13977         * sysdeps/generic/stdio-lock.h: Likewise.
13978         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
13979         * sysdeps/i386/backtrace.c: Likewise.
13980         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
13981         * sysdeps/m68k/backtrace.c: Likewise.
13982         * sysdeps/mach/hurd/cthreads.c: Likewise.
13983         * sysdeps/mach/hurd/dirstream.h: Likewise.
13984         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
13985         * sysdeps/nptl/malloc-machine.h: Likewise.
13986         * sysdeps/nptl/stdio-lock.h: Likewise.
13987         * sysdeps/posix/dirstream.h: Likewise.
13988         * sysdeps/posix/getaddrinfo.c: Likewise.
13989         * sysdeps/posix/system.c: Likewise.
13990         * sysdeps/pthread/aio_suspend.c: Likewise.
13991         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13992         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13993         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13994         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13995         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
13996         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
13997         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
13998         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
13999         * sysdeps/unix/sysv/linux/system.c: Likewise.
14000         * sysdeps/x86_64/backtrace.c: Likewise.
14001         * time/alt_digit.c: Likewise.
14002         * time/era.c: Likewise.
14003         * time/tzset.c: Likewise.
14004         * wcsmbs/wcsmbsload.c: Likewise.
14005         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14006         instead of <bits/libc-lock.h> in comment.
14008 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14010         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14011         Only use .set mips2 if the current ISA is below mips2.
14012         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14013         Likewise.
14014         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14015         mips32r2 if the current ISA is below mips32r2.
14016         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14017         (TLS_IE): Updated to use the TLD_RDHWR macro.
14018         (TLS_LE): Likewise.
14019         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14020         __ASSEMBLER__ condition.
14022 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14024         Fix parallel build of before-compile targets.
14026         * sysdeps/mach/Makefile ($(patsubst
14027         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14028         mach-before-compile target.
14029         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14030         io fs process)): Move rule to dedicated hurd-before-compile target.
14032 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14034         Fix rules generating headers in hurd/ and mach/ when initial make call
14035         has subdir= explicitly set.
14037         * sysdeps/mach/Makefile ($(patsubst
14038         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14039         calling $(MAKE).
14040         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14041         io fs process)): Force subdir to hurd when calling $(MAKE).
14042         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14043         subdir to mach when calling $(MAKE).
14045 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14047         Check sysheaders when looking for Mach and Hurd headers
14049         * sysdeps/mach/configure.ac: Add sysheaders check.
14050         * sysdeps/mach/configure: Regenerate.
14051         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14052         * sysdeps/mach/hurd/configure: Regenerate.
14054 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14056         [BZ #18921]
14057         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14058         Fix inverted sense of test of 'o_directory_works' value.
14059         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14060         Bernhard Voelker <mail@bernhard-voelker.de>.
14062 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14064         [BZ #14912]
14065         * bits/linkmap.h: Move to ...
14066         * sysdeps/generic/linkmap.h: ...here.
14067         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14068         * sysdeps/aarch64/linkmap.h: ...here.
14069         * sysdeps/arm/bits/linkmap.h: Move to ...
14070         * sysdeps/arm/linkmap.h: ...here.
14071         * sysdeps/hppa/bits/linkmap.h: Move to ...
14072         * sysdeps/hppa/linkmap.h: ...here.
14073         * sysdeps/ia64/bits/linkmap.h: Move to ...
14074         * sysdeps/ia64/linkmap.h: ...here.
14075         * sysdeps/mips/bits/linkmap.h: Move to ...
14076         * sysdeps/mips/linkmap.h: ...here.
14077         * sysdeps/s390/bits/linkmap.h: Move to ...
14078         * sysdeps/s390/linkmap.h: ...here.
14079         * sysdeps/sh/bits/linkmap.h: Move to ...
14080         * sysdeps/sh/linkmap.h: ...here.
14081         * sysdeps/x86/bits/linkmap.h: Move to ...
14082         * sysdeps/x86/linkmap.h: ...here.
14083         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14085 2015-09-04  Andreas Schwab  <schwab@suse.de>
14087         [BZ #18635]
14088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14089         (__makecontext): Terminate FDE before return label.
14090         (__novec_makecontext): Likewise.
14092 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14094         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14095         first member of struct sv in syscall macro.
14097 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14099         [BZ #14912]
14100         * bits/stdio-lock.h: Move to ...
14101         * sysdeps/generic/stdio-lock.h: ...here.
14102         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14103         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14104         * sysdeps/nptl/stdio-lock.h: ...here.
14105         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14106         * include/libio.h: Include <stdio-lock.h> instead of
14107         <bits/stdio-lock.h>.
14108         * sysdeps/nptl/fork.c: Likewise.
14109         * sysdeps/pthread/flockfile.c: Likewise.
14110         * sysdeps/pthread/ftrylockfile.c: Likewise.
14111         * sysdeps/pthread/funlockfile.c: Likewise.
14113         [BZ #14912]
14114         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14115         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14116         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14117         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14118         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14119         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14120         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14122 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14124         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14125         (test-xfail-tst-protected1b): New variable.
14127 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14129         [BZ #14912]
14130         * bits/libc-tsd.h: Move to ...
14131         * sysdeps/generic/libc-tsd.h: ...here.
14132         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14133         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14134         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14135         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14136         * include/ctype.h: Include <libc-tsd.h> instead of
14137         <bits/libc-tsd.h>.
14138         * include/rpc/rpc.h: Likewise.
14139         * locale/localeinfo.h: Likewise.
14140         * sunrpc/rpc_thread.c: Likewise.
14141         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14142         * sysdeps/nptl/malloc-machine.h: Likewise.
14144         * Makefile (headers): Remove bits/libc-lock.h.
14145         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14147         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14148         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14149         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14150         <bits/stdio-lock.h>.
14151         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14152         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14154 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14156         [BZ #18757]
14157         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14158         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14159         BZ #18757.
14161 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14163         * malloc/mtrace.pl: Filter out NULL entries.
14165 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
14167         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
14168         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
14169         macro.
14171         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
14172         (TCP_CC_INFO): Likewise.
14173         (TCP_SAVE_SYN): Likewise.
14174         (TCP_SAVED_SYN): Likewise.
14176 2015-08-31  Brett Neumeier <brett@neumeier.us>
14178         [BZ #18870]
14179         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
14181 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
14183         [BZ #18873]
14184         Fix broken overflow check in posix_fallocate
14185         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
14186         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
14187         Fix parenthesization typo.
14189 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
14191         [BZ #18887]
14192         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
14193         tst-mntent-blank-passno.
14194         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
14195         * misc/tst-mntent-blank-corrupt.c: New test.
14196         * misc/tst-mntent-blank-passno.c: New test ripped from ...
14197         * misc/tst-mntent.c (do_test): ... here.
14199 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
14201         [BZ #4404]
14202         * po/de.po: Fix SIGALRM typo.
14204 2015-08-28  James Perkins  <james@loowit.net>
14206         * time/tst-strptime2.c (tests): Replace short list of test
14207         strings for strptime %z specifier with code which exhaustively
14208         tests every combination of sign and 0 to 5 digits. Tests for
14209         rejection of invalid strings.
14211 2015-08-28  James Perkins  <james@loowit.net>
14213         [BZ #16141]
14214         * time/strptime_l.c (__strptime_internal): Fix %z minutes
14215         calculation, removing incorrect decimal time rounding, so that
14216         all minute values result in a valid seconds value.
14217         * time/strptime_l.c (__strptime_internal): Extend %z time zone
14218         offset range limits to UTC-99:59 through UTC+99:59 to parse
14219         current and historical use cases.
14220         * time/tst-strptime2.c (tests): Modify and add tests for the
14221         strptime %z input field descriptor, specifically conversion of
14222         minutes to seconds and validating an offset range of -9959 to
14223         +9959.
14225 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14226             Dmitry V. Levin  <ldv@altlinux.org>
14228         [BZ #18877]
14229         * posix/Makefile (tests): Add tst-mmap-offset.
14230         * posix/tst-mmap.c: New file.
14231         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
14232         offset calculation for negative values.
14234 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14236         * sysdeps/i386/init-arch.h: New file.
14237         * sysdeps/i386/i586/init-arch.h: Likewise.
14238         * sysdeps/i386/i686/init-arch.h: Likewise.
14239         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
14240         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
14241         * sysdeps/x86/cpu-features.h (bit_I586): New.
14242         (bit_I686): Likewise.
14243         (bit_CX8): Likewise.
14244         (bit_CMOV): Likewise.
14245         (index_CX8): Likewise.
14246         (index_CMOV): Likewise.
14247         (index_I586): Likewise.
14248         (index_I686): Likewise.
14249         (reg_CX8): Likewise.
14250         (reg_CMOV): Likewise.
14251         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
14252         available at compile-time.
14253         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
14254         available at compile-time.
14255         * sysdeps/x86/init-arch.h (USE_I586): New macro.
14256         (USE_I686): Likewise.
14258 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14260         * sysdeps/i386/bcopy.S: New file.
14261         * sysdeps/i386/bzero.S: Likewise.
14262         * sysdeps/i386/memcpy.S: Likewise.
14263         * sysdeps/i386/memmove.S: Likewise.
14264         * sysdeps/i386/mempcpy.S: Likewise.
14265         * sysdeps/i386/memset.S: Likewise.
14266         * sysdeps/i386/bzero.c: Removed.
14267         * sysdeps/i386/memset.c: Likewise.
14268         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
14269         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
14270         * sysdeps/i386/i586/memset_chk.S: Likewise.
14271         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
14272         * sysdeps/i386/memcpy_chk.S: Here.
14273         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
14274         * sysdeps/i386/memmove_chk.S: Here.
14275         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
14276         * sysdeps/i386/mempcpy_chk.S: Likewise.
14277         * sysdeps/i386/i686/memset_chk.S: Moved to ...
14278         * sysdeps/i386/memset_chk.S: Likewise.
14280 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
14282         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
14283         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
14284         file, move DIAG_POP_NEEDS_COMMENT to end of file.
14285         * soft-fp/fmadf4.c: Ditto.
14286         * soft-fp/fmatf4.c: Ditto.
14288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14290         * sysdeps/i386/i586/Implies: Removed.
14291         * sysdeps/i386/i686/Implies: Likewise.
14293 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14295         * sysdeps/i386/i486/strlen.S: Moved to ...
14296         * sysdeps/i386/strlen.S: Here.
14298 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14300         * sysdeps/i386/i486/strcat.S: Moved to ...
14301         * sysdeps/i386/strcat.S: Here.
14303 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14305         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
14306         * sysdeps/i386/pthread_spin_trylock.S: Here.
14307         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
14308         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
14310 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14312         * sysdeps/i386/i486/string-inlines.c: Moved to ...
14313         * sysdeps/i386/string-inlines.c: Here.
14315 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14317         * sysdeps/i386/i486/htonl.S: Moved ...
14318         * sysdeps/i386/htonl.S: here.
14320 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14322         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
14323         * sysdeps/i386/bits/atomic.h: Here.
14325 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
14327         * sysdeps/i386/i486/Versions: Removed.
14329 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
14331         [BZ #2898]
14332         * misc/mktemp.c: Add mkdtemp to the link_warning message.
14333         Based on patch by Aurelien Jarno.
14335 2015-08-26  Stan Shebs  <stanshebs@google.com>
14337         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
14338         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
14340 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14342         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
14343         * sysdeps/powerpc/dl-procinfo.c:
14344         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
14345         feature so it shows when LD_SHOW_AUXV=1.
14347 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14349         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14350         (__arch_compare_and_exchange_val_32_acq): Remove and use common
14351         definition.  ISA 2.07B no longer requires full sync.
14353 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
14355         [BZ #18863]
14356         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
14357         (si_call_addr): Define.
14358         (si_syscall): Define.
14359         (si_arch): Define.
14361 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14363         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
14364         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
14365         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
14366         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14367         (__memset_zero_constant_len_parameter): New.
14368         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
14369         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
14370         (__memset_zero_constant_len_parameter): Don't define if
14371         __memset_chk or USE_AS_BZERO are defined.
14373         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
14374         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
14375         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
14377         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
14378         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
14379         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
14380         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
14381         comments.
14382         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
14383         -mno-mmx for $(all-rtld-routines).
14384         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
14385         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
14386         i386.
14388 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
14390         * sysdeps/generic/unwind.h
14391         (_Unwind_Word): Use __mode__(__unwind_word__)
14392         instead of __mode__(__word__).
14393         (_Unwind_Sword): Likewise.
14395         * sysdeps/s390/s390-64/utf8-utf16-z9.c
14396         (MAX_NEEDED_INPUT): New define.
14397         (MAX_NEEDED_OUTPUT): New define.
14399         * NEWS: New item for IBM z13 string optimizations.
14401         * sysdeps/s390/multiarch/memrchr-c.c: New File.
14402         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
14403         * sysdeps/s390/multiarch/memrchr.c: Likewise.
14404         * sysdeps/s390/multiarch/Makefile
14405         (sysdep_routines): Add memrchr functions.
14406         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14407         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
14409         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
14410         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
14411         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
14412         * sysdeps/s390/multiarch/Makefile
14413         (sysdep_routines): Add wmemcmp functions.
14414         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14415         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
14416         * benchtests/bench-wmemcmp.c: New File.
14417         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
14419         * sysdeps/s390/multiarch/wmemset-c.c: New File.
14420         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
14421         * sysdeps/s390/multiarch/wmemset.c: Likewise.
14422         * sysdeps/s390/multiarch/Makefile
14423         (sysdep_routines): Add wmemset functions.
14424         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14425         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
14426         * wcsmbs/wmemset.c: Use WMEMSET if defined.
14427         * string/test-memset.c: Add wmemset support.
14428         * wcsmbs/test-wmemset.c: New File.
14429         * wcsmbs/Makefile (strop-tests): Add wmemset.
14430         * benchtests/bench-memset.c: Add wmemset support.
14431         * benchtests/bench-wmemset.c: New File.
14432         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
14434         * sysdeps/s390/multiarch/memccpy-c.c: New File.
14435         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
14436         * sysdeps/s390/multiarch/memccpy.c: Likewise.
14437         * sysdeps/s390/multiarch/Makefile
14438         (sysdep_routines): Add memccpy functions.
14439         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14440         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
14441         * string/memccpy.c: Use MEMCCPY if defined.
14443         * sysdeps/s390/multiarch/memchr-vx.S: New File.
14444         * sysdeps/s390/multiarch/memchr.c: Likewise.
14445         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
14446         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
14447         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
14448         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
14449         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
14450         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
14451         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
14452         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
14453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
14454         and rawmemchr functions.
14455         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
14456         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
14457         and wmemchr.
14458         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
14459         * string/test-memchr.c: Add wmemchr support.
14460         * wcsmbs/test-wmemchr.c: New File.
14461         * wcsmbs/Makefile (strop-tests): Add wmemchr.
14462         * benchtests/bench-memchr.c: Add wmemchr support.
14463         * benchtests/bench-wmemchr.c: New File.
14464         * benchtests/Makefile (wcsmbs-bench): wmemchr.
14466         * sysdeps/s390/multiarch/strcspn-c.c: New File.
14467         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
14468         * sysdeps/s390/multiarch/strcspn.c: Likewise.
14469         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
14470         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
14471         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
14472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
14473         wcscspn functions.
14474         * sysdeps/s390/multiarch/ifunc-impl-list.c
14475         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
14476         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
14477         * string/test-strcspn.c: Add wcscspn support.
14478         * wcsmbs/test-wcscspn.c: New File.
14479         * wcsmbs/Makefile (strop-tests): Add wcscspn.
14480         * benchtests/bench-strcspn.c: Add wcscspn support.
14481         * benchtests/bench-wcscspn.c: New File.
14482         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
14484         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
14485         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
14486         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
14487         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
14488         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
14489         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
14490         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
14491         wcspbrk functions.
14492         * sysdeps/s390/multiarch/ifunc-impl-list.c
14493         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
14494         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
14495         * string/test-strpbrk.c: Add wcspbrk support.
14496         * wcsmbs/test-wcspbrk.c: New File.
14497         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
14498         * benchtests/bench-strpbrk.c: Add wcspbrk support.
14499         * benchtests/bench-wcspbrk.c: New File.
14500         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
14502         * sysdeps/s390/multiarch/strspn-c.c: New File.
14503         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
14504         * sysdeps/s390/multiarch/strspn.c: Likewise.
14505         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
14506         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
14507         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
14508         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
14509         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
14510         wcsspn functions.
14511         * sysdeps/s390/multiarch/ifunc-impl-list.c
14512         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
14513         * string/test-strspn.c: Add wcsspn support.
14514         * wcsmbs/test-wcsspn.c: New File.
14515         * wcsmbs/Makefile (strop-tests): Add wcsspn.
14516         * benchtests/bench-strspn.c: Add wcsspn support.
14517         * benchtests/bench-wcsspn.c: New File.
14518         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
14520         * sysdeps/s390/multiarch/strrchr-c.c: New File.
14521         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
14522         * sysdeps/s390/multiarch/strrchr.c: Likewise.
14523         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
14524         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
14525         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
14526         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
14527         wcsrchr functions.
14528         * sysdeps/s390/multiarch/ifunc-impl-list.c
14529         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
14530         * benchtests/bench-wcsrchr.c: New File.
14531         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
14533         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
14534         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
14535         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
14536         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
14537         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
14538         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
14539         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
14540         wcschrnul functions.
14541         * sysdeps/s390/multiarch/ifunc-impl-list.c
14542         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
14543         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
14544         * string/test-strchr.c: Add wcschrnul support.
14545         * wcsmbs/test-wcschrnul.c: New File.
14546         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
14547         * benchtests/bench-strchr.c: Add wcschrnul support.
14548         * benchtests/bench-wcschrnul.c: New File.
14549         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
14551         * sysdeps/s390/multiarch/strchr-c.c: New File.
14552         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
14553         * sysdeps/s390/multiarch/strchr.c: Likewise.
14554         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
14555         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
14556         * sysdeps/s390/multiarch/wcschr.c: Likewise.
14557         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
14558         wcschr functions.
14559         * sysdeps/s390/multiarch/ifunc-impl-list.c
14560         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
14561         * string/strchr.c (STRCHR): Define and use macro.
14562         * benchtests/bench-wcschr.c: New File.
14563         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
14565         * sysdeps/s390/multiarch/strncmp-c.c: New File.
14566         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
14567         * sysdeps/s390/multiarch/strncmp.c: Likewise.
14568         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
14569         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
14570         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
14571         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
14572         wcsncmp functions.
14573         * sysdeps/s390/multiarch/ifunc-impl-list.c
14574         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
14575         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
14576         * benchtests/bench-strncmp.c: Add wcsncmp support.
14577         * benchtests/bench-wcsncmp.c: New File.
14578         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
14580         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
14581         * sysdeps/s390/multiarch/strcmp.c: Likewise.
14582         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
14583         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
14584         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
14585         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
14586         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
14587         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
14588         wcscmp functions.
14589         * sysdeps/s390/multiarch/ifunc-impl-list.c
14590         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
14591         * string/strcmp.c (STRCMP): Define and use macro.
14592         * benchtests/bench-wcscmp.c: New File.
14593         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
14594         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
14595         instead of _HAVE_STRING_ARCH_memchr.
14597         * sysdeps/s390/multiarch/strncat-c.c: New File.
14598         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
14599         * sysdeps/s390/multiarch/strncat.c: Likewise.
14600         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
14601         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
14602         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
14603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
14604         wcsncat functions.
14605         * sysdeps/s390/multiarch/ifunc-impl-list.c
14606         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
14607         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
14608         * string/test-strncat.c: Add wcsncat support.
14609         * wcsmbs/test-wcsncat.c: New File.
14610         * wcsmbs/Makefile (strop-tests): Add wcsncat.
14611         * benchtests/bench-strncat.c: Add wcsncat support.
14612         * benchtests/bench-wcsncat.c: New File.
14613         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
14615         * sysdeps/s390/multiarch/strcat-c.c: New File.
14616         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
14617         * sysdeps/s390/multiarch/strcat.c: Likewise.
14618         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
14619         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
14620         * sysdeps/s390/multiarch/wcscat.c: Likewise.
14621         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
14622         wcscat functions.
14623         * sysdeps/s390/multiarch/ifunc-impl-list.c
14624         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
14625         * string/strcat.c (STRCAT): Define and use macro.
14626         * wcsmbs/wcscat.c: Use WCSCAT if defined.
14627         * string/test-strcat.c: Add wcscat support.
14628         * wcsmbs/test-wcscat.c: New File.
14629         * wcsmbs/Makefile (strop-tests): Add wcscat.
14630         * benchtests/bench-strcat.c: Add wcscat support.
14631         * benchtests/bench-wcscat.c: New File.
14632         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
14634         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
14635         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
14636         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
14637         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
14638         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
14639         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
14640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
14641         wcpncpy functions.
14642         * sysdeps/s390/multiarch/ifunc-impl-list.c
14643         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
14644         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
14645         * string/test-stpncpy.c: Add wcpncpy support.
14646         * wcsmbs/test-wcpncpy.c: New File.
14647         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
14648         * benchtests/bench-stpncpy.c: Add wcpncpy support.
14649         * benchtests/bench-wcpncpy.c: New File.
14650         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
14652         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
14653         * sysdeps/s390/multiarch/strncpy.c: Likewise.
14654         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
14655         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
14656         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
14657         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
14658         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
14659         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
14660         wcsncpy functions.
14661         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
14662         * sysdeps/s390/multiarch/ifunc-impl-list.c
14663         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
14664         * string/test-strncpy.c: Add wcsncpy support.
14665         * wcsmbs/test-wcsncpy.c: New File.
14666         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
14667         * benchtests/bench-strncpy.c: Add wcsncpy support.
14668         * benchtests/bench-wcsncpy.c: New File.
14669         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
14671         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
14672         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
14673         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
14674         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
14675         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
14676         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
14677         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
14678         wcpcpy functions.
14679         * string/stpcpy.c: Use STPCPY if defined.
14680         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
14681         * sysdeps/s390/multiarch/ifunc-impl-list.c
14682         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
14683         * string/test-stpcpy.c: Add wcpcpy support.
14684         * wcsmbs/test-wcpcpy.c: New File.
14685         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
14686         * benchtests/bench-stpcpy.c: Add wcpcpy support.
14687         * benchtests/bench-wcpcpy.c: New File.
14688         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
14690         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
14691         * sysdeps/s390/multiarch/strcpy.c: Likewise.
14692         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
14693         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
14694         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
14695         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
14696         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
14697         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
14698         wcscpy functions.
14699         * sysdeps/s390/multiarch/ifunc-impl-list.c
14700         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
14701         * benchtests/bench-wcscpy.c: New File.
14702         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
14704         * sysdeps/s390/multiarch/strnlen-c.c: New File.
14705         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
14706         * sysdeps/s390/multiarch/strnlen.c: Likewise.
14707         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
14708         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
14709         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
14710         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
14711         wcsnlen functions.
14712         * sysdeps/s390/multiarch/ifunc-impl-list.c
14713         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
14714         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
14715         * string/test-strnlen.c: Add wcsnlen support.
14716         * wcsmbs/test-wcsnlen.c: New File.
14717         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
14718         * benchtests/bench-strnlen.c: Add wcsnlen support.
14719         * benchtests/bench-wcsnlen.c: New File.
14720         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
14722         * sysdeps/s390/multiarch/Makefile: New File.
14723         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
14724         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
14725         * sysdeps/s390/multiarch/strlen.c: Likewise.
14726         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
14727         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
14728         * sysdeps/s390/multiarch/wcslen.c: Likewise.
14729         * string/strlen.c (STRLEN): Define and use macro.
14730         * sysdeps/s390/multiarch/ifunc-impl-list.c
14731         (IFUNC_VX_IMPL): New macro function.
14732         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
14733         * benchtests/Makefile (wcsmbs-bench): New variable.
14734         (string-bench-all): Added wcsmbs-bench.
14735         * benchtests/bench-wcslen.c: New File.
14737         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
14738         s390_vx_libc_ifunc2): New macro function.
14740         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
14741         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
14742         assembler support.
14743         * sysdeps/s390/configure: Regenerated.
14745         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
14746         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
14748         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
14749         * sysdeps/s390/dl-procinfo.h: Add vector capability.
14750         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
14752         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
14753         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
14754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
14755         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
14756         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
14757         (memcmp, bcmp): Use __memcmp_default as alias source.
14758         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
14759         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
14760         Rename to __memcmp_default.
14761         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
14762         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
14763         (memcpy): Use __memcpy_default as alias source.
14764         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
14765         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
14766         Rename to __memcpy_default.
14767         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
14768         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
14769         (memset): Use __memset_default as alias source.
14770         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
14771         * sysdeps/s390/s390-32/memset.S (__memset_g5):
14772         Rename to __memset_default.
14773         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
14774         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
14775         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
14776         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
14777         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
14778         (memcmp, bcmp): Use __memcmp_default as alias source.
14779         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
14780         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
14781         Rename to __memcmp_default.
14782         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
14783         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
14784         (memcpy): Use __memcpy_default as alias source.
14785         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
14786         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
14787         Rename to __memcpy_default.
14788         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
14789         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
14790         (memset): Use __memset_default as alias source.
14791         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
14792         * sysdeps/s390/s390-64/memset.S (__memset_z900):
14793         Rename to __memset_default.
14794         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
14795         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
14797         [BZ #18610]
14798         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
14799         __ieee_instruction_pointer to __unused.
14800         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
14801         __ieee_instruction_pointer.
14802         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
14803         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
14804         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
14805         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
14806         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
14807         Mark dxc-field as reserved.
14809 2015-08-25  Roland McGrath  <roland@hack.frob.com>
14811         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
14812         if the weak reference is not null.
14814 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14816         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
14818         [BZ #11214]
14819         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
14821 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14823         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
14824         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
14825         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
14826         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
14827         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
14828         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
14829         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
14830         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
14831         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
14832         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
14833         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
14834         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
14835         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
14836         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
14837         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
14838         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
14839         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
14840         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
14842 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14844         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
14845         register other than r0 for tabort, it has special meaning.
14846         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
14847         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
14848         transaction before starting syscall.
14850 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14852         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
14854 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14856         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
14858         * sysdeps/x86_64/rtld-memcmp.c: Removed.
14859         * sysdeps/x86_64/rtld-memset.S: Likewise.
14860         * sysdeps/x86_64/rtld-strchr.S: Likewise.
14861         * sysdeps/x86_64/rtld-strlen.S: Likewise.
14862         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
14863         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14865         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
14867 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
14869         * debug/strcpy_chk.c: Improve performance.
14870         * debug/stpcpy_chk.c: Likewise.
14871         * sysdeps/x86_64/strcpy_chk.S: Remove.
14872         * sysdeps/x86_64/stpcpy_chk.S: Remove.
14874         [BZ #18240]
14875         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
14877 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
14879         [BZ #15128]
14880         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
14881         ifuncmain8.
14882         (modules-names): Add ifuncmod8.
14883         ($(objpfx)ifuncmain8): New rule.
14884         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
14885         <cpuid.h>.
14886         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
14887         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
14888         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
14889         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
14890         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
14891         * sysdeps/x86_64/dl-trampoline.h: Likewise.
14892         * sysdeps/x86_64/ifuncmain8.c: New file.
14893         * sysdeps/x86_64/ifuncmod8.c: Likewise.
14894         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
14895         Removed.
14896         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
14897         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
14898         Change rtld_savespace_sse to __glibc_unused2.
14899         (RTLD_CHECK_FOREIGN_CALL): Removed.
14900         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
14901         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
14902         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
14904 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14906         * sysdeps/aarch64/bzero.S (__bzero): Remove.
14908 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
14910         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
14911         Unconditionally set __fpcr to avoid uninialized warning.
14912         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
14914 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14916         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
14917         is corrupt.
14919         * malloc/arena.c (arena_get2): Drop unused argument.
14920         (arena_lock): Adjust.
14921         (arena_get_retry): Likewise.
14923 2015-08-24  Andreas Schwab  <schwab@suse.de>
14925         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
14926         Don't define.
14927         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14928         (__ASSUME_IPC64): Don't undef.
14929         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
14930         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
14931         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
14932         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
14933         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
14934         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
14935         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
14936         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
14937         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
14938         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
14939         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
14940         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
14941         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
14942         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
14943         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
14944         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
14945         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
14946         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
14947         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
14948         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
14949         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
14951 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
14953         * manual/Makefile (install): Only build manual when perl is available.
14955 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14957         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
14958         '#undef memcpy' by '#undef memchr'.
14960 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14962         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
14963         memchr not point to the internal __GI_memchr implementation.
14965 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14967         * timezone/Makefile (CFLAGS-zdump.c): Remove
14968         -Wno-strict-prototypes.
14969         (CFLAGS-zic.c): Likewise.
14970         (CFLAGS-ialloc.c): Likewise.
14971         (CFLAGS-scheck.c): Likewise.
14973         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
14974         -Wno-error=undef.
14976 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14978         * i386/i686/multiarch/strcasestr-c.c: Removed.
14979         * x86_64/multiarch/strcasestr.c: Likewise.
14980         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14981         Remove strcasestr.
14983 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
14985         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
14987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
14988         variables for high and low parts before possibly modifying them.
14990 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
14992         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
14993         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
14994         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
14995         of "multiarch/init-arch.h".
14996         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
14997         * sysdeps/x86/init-arch.h: This.
14999 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15001         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15002         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15004 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15006         [BZ #17787]
15007         * manual/macros.texi: Add twoexp macro.
15008         * manual/filesys.texi: Fix exponents.
15009         * manual/llio.texi: Likewise.
15010         * manual/stdio.texi: Likewise.
15012 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15014         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15015         incorrect use.
15017 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15019         [BZ #18370]
15020         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15021         whose real or imaginary part has small absolute value.
15022         * math/s_csqrtf.c (__csqrtf): Likewise.
15023         * math/s_csqrtl.c (__csqrtl): Likewise.
15024         * math/auto-libm-test-in: Add more tests of csqrt.
15025         * math/auto-libm-test-out: Regenerated.
15026         * sysdeps/i386/fpu/libm-test-ulps: Update.
15028 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15030         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15031         __ppc_set_ppr_very_low): New functions.
15032         * manual/platform.texi: Add documentation about
15033         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15035 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15037         * string/stpncpy.c (stpncpy): Improve performance using
15038         __strnlen/memcpy/memset.
15040 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15042         [BZ #18796]
15043         * scripts/test-installation.pl: Don't add -lmvec to build options if
15044         libmvec wasn't built.
15046 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15048         [BZ #14341]
15049         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15050         case when there is a gap between DT_REL and DT_JMPREL sections.
15051         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15052         (LDFLAGS-tst-split-dynreloc): New.
15053         (tst-split-dynreloc-ENV): Likewise.
15054         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15055         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15057 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15059         [BZ #18822]
15060         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15061         attribute_hidden.
15062         (__xstat64_conv): Likewise.
15063         (__xstat32_conv): Likewise.
15065 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15067         [BZ #18822]
15068         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15069         Don't load %ebx when calling __setcontext.  Call __setcontext
15070         with HIDDEN_JUMPTARGET.
15071         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15072         libc_hidden_def.
15074 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15076         * sysdeps/i386/i686/Makefile
15077         [$(subdir) == string] (sysdep_routines): Moved to ...
15078         * sysdeps/i386/Makefile: Here.
15079         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15080         * sysdeps/i386/cacheinfo.c: Here.
15081         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15082         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15083         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15084         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15086 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15088         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15089         __i586__ is defined.
15090         (HAS_I686): Defined to 1 if __i686__ is defined.
15092 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15094         * elf/Makefile [$(have-z-execstack) = yes]
15095         (CPPFLAGS-tst-execstack.c): New variable.
15097         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15098         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15099         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15100         UTMPX || _HAVE_UT_TV].
15101         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15102         UTMPX || _HAVE_UT_TV - 0].
15104 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15106         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15107         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15108         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15110 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15112         * sysdeps/powerpc/dl-procinfo.c:
15113         (_dl_powerpc_cap_flags): Added missing strings for some
15114         hwcap features.
15115         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15117 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15119         Port the 0x7efe...feff pattern to GCC 6.
15120         See Steve Ellcey's bug report in:
15121         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15122         * string/memrchr.c (MEMRCHR):
15123         * string/rawmemchr.c (RAWMEMCHR):
15124         * string/strchr.c (strchr):
15125         * string/strchrnul.c (STRCHRNUL):
15126         Rewrite code to avoid issues with signed shift overflow.
15128 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15130         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15131         whether cpuid is available only if HAS_CPUID is 0.
15132         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15133         (HAS_I586): Likewise.
15134         (HAS_I686): Likewise.
15136 2015-08-18  Zack Weinberg  <zackw@panix.com>
15138         * misc/Versions (libc): Add GLIBC_2.23.
15140 2015-08-18  Alan Modra  <amodra@gmail.com>
15142         [BZ #18421]
15143         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15144         .Lp__global.
15145         (_start): Load %dp via .Lp__global.
15146         [!SHARED]: Use .section .rodata.
15148 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15150         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15151         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15153 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15155         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15156         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15158 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15160         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15161         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
15163 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15165         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
15166         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
15168 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15170         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
15171         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
15173 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15175         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
15176         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
15178 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15180         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
15182 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15184         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
15185         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
15186         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
15187         (__ASSUME_LWS_CAS): Delete.
15189 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15191         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
15192         * sysdeps/hppa/configure: Regenerated.
15193         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
15194         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
15195         * sysdeps/hppa/nptl/tls.h: Likewise.
15197 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
15199         [BZ #18823]
15200         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
15201         for scaling up small arguments.
15202         * math/s_csqrtf.c (__csqrtf): Likewise.
15203         * math/s_csqrtl.c (__csqrtl): Likewise.
15204         * math/auto-libm-test-in: Add more tests of csqrt.
15205         * math/auto-libm-test-out: Regenerated.
15207 2015-08-17  Andreas Schwab  <schwab@suse.de>
15209         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
15210         version set GLIBC_2.19.
15212 2015-08-16  Zack Weinberg  <zackw@panix.com>
15214         [BZ #18681]
15215         * misc/regexp.h: This interface is no longer supported.
15216         Remove all contents, leaving only an #error directive.
15217         * misc/regexp.c (loc1, loc2, locs, step, advance):
15218         Demote to compatibility symbols.
15220 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
15222         [BZ #18084]
15223         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
15224         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
15225         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
15226         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
15227         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
15228         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
15229         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
15230         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
15231         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
15233 2015-08-15  Zack Weinberg  <zackw@panix.com>
15235         [BZ #18795]
15236         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
15237         buffer length is known to be too large, not if it's known to be
15238         small enough.
15239         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
15240         overflow at runtime, involving a length parameter, twice: once
15241         with a compile-time constant length parameter, once without.
15243 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #18824]
15246         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
15247         scaling x * y up instead of down.
15248         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15249         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15250         * math/auto-libm-test-in: Add more tests of fma.
15251         * math/auto-libm-test-out: Regenerated.
15253 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
15255         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15257 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15259         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
15260         unnecessary movq.
15261         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
15262         Likewise.
15264 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
15266         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15267         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
15268         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
15269         and tgamma.
15270         * math/auto-libm-test-out: Regenerated.
15271         * sysdeps/i386/fpu/libm-test-ulps: Update.
15272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15274         [BZ #16520]
15275         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
15276         (__tanh): Force underflow exception for arguments with small
15277         absolute value.
15278         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
15279         (__tanhf): Force underflow exception for arguments with small
15280         absolute value.
15281         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
15282         (__tanhl): Force underflow exception for arguments with small
15283         absolute value.
15284         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
15285         (__tanhl): Force underflow exception for arguments with small
15286         absolute value.
15287         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
15288         (__tanhl): Force underflow exception for arguments with small
15289         absolute value.
15290         * math/auto-libm-test-in: Add more tests of tanh.
15291         * math/auto-libm-test-out: Regenerated.
15292         * sysdeps/i386/fpu/libm-test-ulps: Update.
15294 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15296         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
15297         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
15299 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15301         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
15302         <cpuid.h>.
15304 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15306         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
15307         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
15309 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15311         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
15312         Remove $(objpfx)init-arch.o.
15313         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
15314         init-arch.
15315         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
15316         (INIT_ARCH_EXT): Defined as empty.
15317         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
15318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
15319         __init_cpu_features call.  Replace HAS_XXX with
15320         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
15322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
15323         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
15324         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
15325         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
15326         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
15327         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
15328         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
15329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
15330         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
15331         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
15332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
15333         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
15334         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
15335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
15336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
15337         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
15338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
15339         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
15340         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
15341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
15342         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
15343         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
15344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
15345         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
15346         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
15347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
15348         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
15349         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
15350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
15351         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
15352         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
15353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
15354         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
15355         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
15357 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15359         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
15360         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15361         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15362         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
15363         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
15364         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
15365         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
15366         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
15367         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
15368         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
15369         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
15370         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
15371         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15372         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
15373         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
15374         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
15375         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
15376         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
15377         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
15378         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
15379         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
15380         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
15381         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
15382         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
15383         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
15384         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
15385         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15386         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
15387         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
15388         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
15389         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
15390         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
15391         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
15392         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15393         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
15394         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
15395         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
15396         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
15397         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
15398         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
15399         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
15400         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
15401         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
15403 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15405         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
15406         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15407         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
15408         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
15409         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
15410         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
15411         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
15412         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
15413         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
15414         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
15415         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
15416         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
15417         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
15418         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
15419         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
15420         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
15421         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
15422         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
15423         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
15424         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
15425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
15426         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
15427         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
15428         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15429         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15430         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
15431         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
15432         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
15433         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
15434         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15435         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15436         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15437         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15438         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15439         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15440         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15441         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15442         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15443         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15444         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15445         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15446         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
15447         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
15449 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
15451         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
15452         (dl_platform_init): Call init_cpu_features.
15453         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
15454         * sysdeps/i386/i686/cacheinfo.c
15455         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
15456         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
15457         * sysdeps/i386/i686/multiarch/Versions: Removed.
15458         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
15459         Removed.
15460         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
15461         * sysdeps/unix/sysv/linux/x86/Makefile
15462         (libpthread-sysdep_routines): Remove init-arch.
15463         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
15464         <sysdeps/x86_64/dl-procinfo.c> instead of
15465         sysdeps/generic/dl-procinfo.c>.
15466         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
15467         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
15468         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
15469         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
15470         [$(subdir) == elf] (tests-static): Add
15471         tst-get-cpu-features-static.
15472         * sysdeps/x86/Versions: New file.
15473         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
15474         * sysdeps/x86/cpu-features.c: Likewise.
15475         * sysdeps/x86/cpu-features.h: Likewise.
15476         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
15477         * sysdeps/x86/libc-start.c: Likewise.
15478         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
15479         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
15480         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
15481         * sysdeps/x86_64/dl-procinfo.c: Likewise.
15482         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
15483         Assume USE_MULTIARCH is defined and don't check it.
15484         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
15485         (is_amd): Likewise.
15486         (max_cpuid): Likewise.
15487         (intel_check_word): Likewise.
15488         (__cache_sysconf): Don't call __init_cpu_features.
15489         (__x86_preferred_memory_instruction): Removed.
15490         (init_cacheinfo): Don't call __init_cpu_features. Replace
15491         __cpu_features with GLRO(dl_x86_cpu_features).
15492         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
15493         (dl_platform_init): Call init_cpu_features.
15494         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
15495         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
15496         * sysdeps/x86_64/multiarch/Versions: Removed.
15497         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
15498         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
15499         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
15500         Removed.
15501         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
15503 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15505         [BZ #18820]
15506         * libio/Makefile (test-fmemopen-mem): New test.
15507         * libio/test-fmemopen.c (do_bz18820): New test.
15508         * libio/fmemopen.c (__fmemopen): Fix memory leak.
15509         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
15511 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15513         [BZ #16734]
15514         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
15515         (FREE_BUF): Delete.
15516         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
15517         * libio/genops.c (_IO_setb): Use malloc and free directly.
15518         (_IO_default_doallocate, _IO_default_finish): Likewise.
15519         ( _IO_unbuffer_all): Likewise.
15520         ( libc_freeres_fn): Likewise.
15521         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15522         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15523         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
15524         (_IO_wdefault_doallocate): Likewise.
15526 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
15528         [BZ #18086]
15529         * sysdeps/posix/nice.c (nice): Restore old errno.
15530         * posix/tst-nice.c (do_test): Add test for BZ #18086.
15532 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
15534         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
15536 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15538         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
15539         __bcopy and add a weak_alias to bcopy.
15540         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
15541         for static build.
15543         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
15544         cleanup macro usage.
15545         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
15546         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
15547         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
15548         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
15549         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
15550         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
15551         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
15552         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15553         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
15554         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
15555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15556         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
15557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
15558         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
15559         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
15560         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
15561         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
15562         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
15563         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
15565         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
15566         libc_hidden_def.
15567         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
15569         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
15570         (sysdep_routines): Add strstr-ppc64.
15571         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
15573 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
15575         [BZ #18778]
15576         * elf/Makefile (tests): Add Add tst-nodelete2.
15577         (modules-names): Add tst-nodelete2mod.
15578         (tst-nodelete2mod.so-no-z-defs): New.
15579         ($(objpfx)tst-nodelete2): Likewise.
15580         ($(objpfx)tst-nodelete2.out): Likewise.
15581         (LDFLAGS-tst-nodelete2): Likewise.
15582         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
15583         out of loop through all loaded libraries.
15584         * elf/tst-nodelete2.c: New file.
15585         * elf/tst-nodelete2mod.c: Likewise.
15586         * elf/tst-znodelete-zlib.cc: Delete.
15588 2015-08-11  Andreas Schwab  <schwab@suse.de>
15590         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
15591         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
15592         (__openat64_nocancel): Likewise.
15594 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
15596         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
15597         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
15598         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
15599         * math/auto-libm-test-out: Regenerated.
15600         * sysdeps/i386/fpu/libm-test-ulps: Update.
15601         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15603 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15605         [BZ #18790]
15606         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
15607         threshold for returning +/- 1.
15608         * math/auto-libm-test-in: Add more tests of tanh.
15609         * math/auto-libm-test-out: Regenerated.
15610         * sysdeps/i386/fpu/libm-test-ulps: Update.
15612 2015-08-10  Andreas Schwab  <schwab@suse.de>
15614         [BZ #18781]
15615         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
15616         MORE_OFLAGS to oflag.
15617         * io/test-lfs.c (do_test): Test openat64.
15619 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
15621         [BZ #18789]
15622         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
15623         smaller threshold for returning the argument.
15624         * math/auto-libm-test-in: Add more tests of sinh.
15625         * math/auto-libm-test-out: Regenerated.
15626         * sysdeps/i386/fpu/libm-test-ulps: Update.
15628 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
15630         [BZ #18674]
15631         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
15632         break.
15634 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
15636         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
15637         (generated): Don't add $(addprefix z.,$(tzfiles)).
15639 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15641         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
15642         * scripts/sysd-rules.awk: Likewise.
15644 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15646         * iconvdata/tst-tables.sh: Change echo -n to printf.
15647         * nss/db-Makefile: Likewise.
15648         * posix/tst-getconf.sh: Likewise.
15649         * stdio-common/tst-unbputc.sh: Likewise.
15651 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
15653         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
15654         MADV_*_PAGES defines behind this feature check.
15656 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
15658         [BZ #18480]
15659         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
15660         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
15661         Define.
15662         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
15663         LOAD_REGS_5, LOAD_REGS_6): Update.
15664         (INTERNAL_SYSCALL): Update using new LOAD defines.
15665         (INTERNAL_SYSCALL_NCS): Likewise.
15666         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
15668 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15670         [BZ #16734]
15671         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
15673 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15675         [BZ #17905]
15676         * catgets/Makefile (tst-catgets-mem): New test.
15677         * catgets/catgets.c (catopen): Don't use unbounded alloca.
15678         * catgets/open_catalog.c (__open_catalog): Likewise.
15679         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
15681 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
15683         [BZ #18787]
15684         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
15685         clobber registers.
15686         (atomic_compare_and_exchange_val_acq): Use register asms to assign
15687         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
15688         Cast return to __typeof (oldval).
15690 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
15692         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
15693         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
15694         and delete sys/syscall.h include.
15696 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
15698         [BZ #16517]
15699         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
15700         (tan): Force underflow exception for arguments with small absolute
15701         value.
15702         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
15703         (__kernel_tanf): Force underflow exception for arguments with
15704         small absolute value.
15705         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
15706         (__kernel_tanl): Force underflow exception for arguments with
15707         small absolute value.
15708         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
15709         (__kernel_tanl): Force underflow exception for arguments with
15710         small absolute value.
15711         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
15712         (__kernel_tanl): Force underflow exception for arguments with
15713         small absolute value.
15714         * math/auto-libm-test-in: Add more tests of tan.
15715         * math/auto-libm-test-out: Regenerated.
15717 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15719         Fix sysdeps/i386/fpu/s_scalbn.S build
15721         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
15723 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
15725         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
15727 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15729         Fix gcrt0.o compilation
15731         When static-start-installed-name is different from
15732         start-installed-name, we must not use the shared objects.
15734         * csu/Makefile
15735         (extra-objs): Add gmon-start.o when building shared library and
15736         $(static-start-installed-name) is different from
15737         $(start-installed-name).
15738         $(objpfx)g$(static-start-installed-name): When building shared
15739         library and $(static-start-installed-name) is different from
15740         $(static-start-installed-name), revert to non-shared rule,
15741         i.e. using $(objpfx)% and gmon-start.o.
15743 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
15745         [BZ #16519]
15746         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
15747         (__ieee754_sinh): Force underflow exception for arguments with
15748         small absolute value.
15749         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
15750         (__ieee754_sinhf): Force underflow exception for arguments with
15751         small absolute value.
15752         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
15753         (__ieee754_sinhl): Force underflow exception for arguments with
15754         small absolute value.
15755         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
15756         (__ieee754_sinhl): Force underflow exception for arguments with
15757         small absolute value.
15758         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
15759         (__ieee754_sinhl): Force underflow exception for arguments with
15760         small absolute value.
15761         * math/auto-libm-test-in: Add more tests of sinh.
15762         * math/auto-libm-test-out: Regenerated.
15763         * sysdeps/i386/fpu/libm-test-ulps: Update.
15765 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15767         * libio/oldfileops.c: Include unistd.h.
15769 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
15771         * stdlib/isomac.c: Include ctype.h.
15773 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
15775         * dirent/tst-seekdir.c (main): Converted to ...
15776         (do_test): ... this.
15777         (TEST_FUNCTION): New macro.
15778         Include test-skeleton.c.
15779         * elf/tst-dlmodcount.c (main): Converted to ...
15780         (do_test): ... this.
15781         (TEST_FUNCTION): New macro.
15782         Include test-skeleton.c.
15783         * elf/tst-order-main.c (main): Converted to ...
15784         (do_test): ... this.
15785         (TEST_FUNCTION): New macro.
15786         Include test-skeleton.c.
15787         * elf/tst-pie2.c (main): Converted to ...
15788         (do_test): ... this.
15789         (TEST_FUNCTION): New macro.
15790         Include test-skeleton.c.
15791         * inet/tst-ether_aton.c (main): Converted to ...
15792         (do_test): ... this.
15793         (TEST_FUNCTION): New macro.
15794         Include test-skeleton.c.
15795         * misc/tst-mntent.c (main): Converted to ...
15796         (do_test): ... this.
15797         (TEST_FUNCTION): New macro.
15798         Include test-skeleton.c.
15799         * misc/tst-tsearch.c (main): Converted to ...
15800         (do_test): ... this.
15801         (TEST_FUNCTION): New macro.
15802         Include test-skeleton.c.
15803         * posix/tst-regexloc.c (main): Converted to ...
15804         (do_test): ... this.
15805         (TEST_FUNCTION): New macro.
15806         Include test-skeleton.c.
15807         * resolv/tst-aton.c (main): Converted to ...
15808         (do_test): ... this.
15809         (TEST_FUNCTION): New macro.
15810         Include test-skeleton.c.
15811         * stdio-common/test-fwrite.c (main): Converted to ...
15812         (do_test): ... this.
15813         (TEST_FUNCTION): New macro.
15814         Include test-skeleton.c.
15815         * stdio-common/tst-ferror.c (main): Converted to ...
15816         (do_test): ... this.
15817         (TEST_FUNCTION): New macro.
15818         Include test-skeleton.c.
15819         * stdio-common/tst-printf.c (main): Converted to ...
15820         (do_test): ... this.
15821         (TEST_FUNCTION): New macro.
15822         Include test-skeleton.c.
15823         * stdio-common/tst-printfsz.c (main): Converted to ...
15824         (do_test): ... this.
15825         (TEST_FUNCTION): New macro.
15826         Include test-skeleton.c.
15827         * stdlib/tst-strtod.c (main): Converted to ...
15828         (do_test): ... this.
15829         (TEST_FUNCTION): New macro.
15830         Include test-skeleton.c.
15831         * string/tst-strlen.c (main): Converted to ...
15832         (do_test): ... this.
15833         (TEST_FUNCTION): New macro.
15834         Include test-skeleton.c.
15835         * string/tst-svc.c (main): Converted to ...
15836         (do_test): ... this.
15837         (TEST_FUNCTION): New macro.
15838         Include test-skeleton.c.
15839         * time/tst-strptime.c (main): Converted to ...
15840         (do_test): ... this.
15841         (TEST_FUNCTION): New macro.
15842         Include test-skeleton.c.
15843         * timezone/tst-timezone.c (main): Converted to ...
15844         (do_test): ... this.
15845         (TEST_FUNCTION): New macro.
15846         Include test-skeleton.c.
15848 2015-08-05  Zack Weinberg  <zackw@panix.com>
15850         * misc/regexp.h: Update comments.
15852 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
15854         [BZ #18635]
15855         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
15856         before return label.
15858 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15860         [BZ #18661]
15861         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
15862         when calling __errno_location.
15863         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
15864         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
15866 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15868         [BZ #18661]
15869         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
15870         (__lll_timedwait_tid): Align stack to 16 bytes when calling
15871         __gettimeofday.
15873 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15875         [BZ #18661]
15876         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15877         (__start_context): Don't use pop to restore %rdi so that stack
15878         is aligned to 16 bytes when calling __setcontext.
15880 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15882         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
15883         only for libc.
15884         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
15886 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15888         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
15889         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
15890         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
15892 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15894         * string/memccpy.c (memccpy):
15895         Improve performance by using memchr/memcpy/__mempcpy.
15897 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15899         * string/strncpy.c (strncpy):
15900         Improve performance by using __strnlen/memcpy.
15902 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15904         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15905         Optimize to avoid an unnecessary FPCR read.
15907 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
15909         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
15910         Optimize to reduce FPCR/FPSR accesses.
15912 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
15914         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
15915         dead->data[category] != NULL.
15917 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
15919         [BZ #18647]
15920         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
15921         and |x| close to 1, use absolute value of x when computing log.
15922         * math/auto-libm-test-in: Add more tests of pow.
15923         * math/auto-libm-test-out: Regenerated.
15925 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15927         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
15928         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
15929         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
15931 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
15933         [BZ #18525]
15934         * locales/km_KH: Remove timezone definition.
15935         * locales/lo_LA: Likewise.
15936         * locales/my_MM: Likewise.
15937         * locales/nan_TW@latin: Likewise.
15938         * locales/th_TH: Likewise.
15939         * locales/uk_UA: Likewise.
15941 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
15943         [BZ #18265]
15944         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
15945         (wcsncat): Likewise.
15946         (wcscmp): Likewise.
15947         (wcsncmp): Likewise.
15949 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15951         * test-skeleton.c (usage): New function.
15952         (main): Call usage when opt is '?'.
15954 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15956         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
15957         before first use.
15959 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
15961         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
15962         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
15963         in there too.
15965 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
15967         * version.h (RELEASE): Set to "development".
15968         (VERSION): Set to "2.22.90"
15970         * version.h (RELEASE): Set to "stable".
15971         (VERSION): Set to "2.22"
15972         * include/features.h (__GLIBC_MINOR__): Set to 22.
15974 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
15976         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
15977         Restructure macro to avoid "value computed is not used" warning.
15978         (atomic_compare_and_exchange_val_acq): Likewise.
15980 2015-08-04  Andreas Schwab  <schwab@suse.de>
15982         [BZ #18635]
15983         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
15984         ret.
15985         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
15987 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
15989         * po/pl.po: Updated translation.
15990         * po/uk.po: Likewise.
15991         * po/fi.po: Likewise.
15992         * po/ko.po: Likewise.
15993         * po/ru.po: Likewise.
15994         * po/vi.po: Likewise.
15996 2015-07-31  Zack Weinberg  <zackw@panix.com>
15998         [BZ #18681]
15999         * regexp.h: Add unconditional #warning stating that this header
16000         will be removed soon.  Revise banner comment to match.
16001         (compile): Consistently use ERROR instead of RETURN to report
16002         errors (partial fix for bz#18681).
16003         * regexp.c: Don't include regexp.h. Remove some unnecessary
16004         declarations.
16006 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16008         * po/libc.pot: Regenerated.
16010 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16012         [BZ #18740]
16013         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16014         float-vlen4-arch-ext-cflags): Removed.
16015         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16016         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16018 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16020         [BZ #14113]
16021         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16022         aligned to __aligned__.
16023         (pthread_cond_t, pthread_rwlock_t): Likewise.
16025 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16027         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16029 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16031         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16032         (struct sigaction): Change sa_flags from a long to an int, and add
16033         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16035 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16037         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16038         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16039         sysdeps/generic/sysdep.h include.
16040         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16041         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16042         sysdeps/hppa/sysdep.h.
16043         (ENTRY, PSEUDO): Undefine before defining.
16045 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16047         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16048         from scratch to use INTERNAL_SYSCALL.
16050 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16052         [BZ #18078]
16053         * scripts/check-localplt.awk: Support alternate relocations.
16054         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16055         sections.
16056         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16057         malloc entries with + REL R_386_GLOB_DAT.
16058         * sysdeps/x86_64/localplt.data: New file.
16060 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16062         [BZ #18731]
16063         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16064         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16065         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16067 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16069         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16071 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16073         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16074         directly in terms of __sync_fetch_and_add and delete (int) cast.
16076 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16078         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16079         the -D_ASM_IA64_CURRENT_H flag.
16081 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16083         [BZ #18641]
16084         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16086 2015-07-27  Andreas Schwab  <schwab@suse.de>
16088         * conform/conformtest.pl (checknamespace): Filter out string
16089         literals while tokenizing.
16091 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16093         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16094         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16095         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16097 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16099         * nptl/tst-join7mod.c: Add #include <string.h>.
16101 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16103         * sysdeps/nios2/libm-test-ulps: Update.
16105 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16107         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16108         Fix order of arguments to the rt_sigprocmask syscall.
16109         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16110         Likewise.
16112 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16114         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16116 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16118         [BZ #18457]
16119         * nptl/Makefile (tests): New test case tst-join7.
16120         (modules-names): New test case module tst-join7mod.
16121         * nptl/tst-join7.c: New file.
16122         * nptl/tst-join7mod.c: New file.
16123         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16124         all translation units in libc.so, libpthread.so and rtld.
16126 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16130 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16132         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16133         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16134         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16135         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16136         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16137         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16138         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16139         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16140         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16141         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16142         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16143         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16144         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16145         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16146         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16147         implementation.
16149 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16151         [BZ #17711]
16152         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16153         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16154         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16155         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16156         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16157         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16159 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16161         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16162         instead of just saying load lock in the comments.
16164 2015-07-23  Roland McGrath  <roland@hack.frob.com>
16166         * sysdeps/unix/Subdirs: Moved ...
16167         * sysdeps/posix/Subdirs: ... here.
16168         * login/pty.h (struct termios, struct winsize): Add forward decls.
16169         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
16170         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
16171         * sysdeps/arm/nacl/libc.abilist: Updated.
16172         * sysdeps/nacl/libutil.abilist: New file.
16174         * bits/signum.h: Update comments to mention 1003.1-2013 too.
16175         (SIGWINCH): New macro.
16177         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
16178         * sysdeps/arm/nacl/libc.abilist: Add it.
16180 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16182         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
16184 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
16186         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16187         Swap __glibc_reserved0 and sa_flags order.
16189 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16191         [BZ #18657]
16192         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
16193         are pending TLS destructor calls.
16194         * include/link.h (struct link_map): Add concurrency note for
16195         L_TLS_DTOR_COUNT.
16196         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16197         Don't touch the link map flag.  Atomically increment
16198         l_tls_dtor_count.
16199         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
16200         Avoid taking the load lock and don't touch the link map flag.
16201         * stdlib/tst-tls-atexit-nodelete.c: New test case.
16202         * stdlib/Makefile (tests): Use it.
16203         * stdlib/tst-tls-atexit.c (do_test): dlopen
16204         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
16205         to allow tst-tls-atexit-nodelete test case to use it.
16207 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16209         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
16210         to bits/types.h.
16211         (msgqnum_t): New typedef.
16212         (msglen_t): Likewise.
16213         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
16214         and msg_qbytes type to msglen_t.
16216 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16218         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
16219         pad0 to __glibc_reserved0.
16220         (struct stat64): Likewise.
16222 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16224         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
16225         Change sa_flags from a long to an int and add __glibc_reserved0 before
16226         it for padding.
16228 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
16230         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
16231         anonymous by deleting "siginfo" name.
16233 2015-07-21  Roland McGrath  <roland@hack.frob.com>
16235         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
16236         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
16237         rather than __nacl_irt_filename.
16238         * sysdeps/nacl/xstat.c (__xstat): Likewise.
16240         * NEWS: New item for arm-nacl port.
16241         * sysdeps/arm/nacl/libc.abilist: New file.
16242         * sysdeps/nacl/ld.abilist: New file.
16243         * sysdeps/nacl/libBrokenLocale.abilist: New file.
16244         * sysdeps/nacl/libanl.abilist: New file.
16245         * sysdeps/nacl/libcrypt.abilist: New file.
16246         * sysdeps/nacl/libdl.abilist: New file.
16247         * sysdeps/nacl/libm.abilist: New file.
16248         * sysdeps/nacl/libpthread.abilist: New file.
16249         * sysdeps/nacl/libresolv.abilist: New file.
16250         * sysdeps/nacl/librt.abilist: New file.
16252 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
16254         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
16255         __startcontext to initialize the new context.
16256         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
16257         up CFI directive to forbid further backtracing.
16259 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
16261         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
16262         reference.
16263         * charmaps/ANSI_X3.4-1968: Likewise.
16264         * charmaps/BS_4730: Likewise.
16265         * charmaps/BS_VIEWDATA: Likewise.
16266         * charmaps/CP1250: Likewise.
16267         * charmaps/CP1251: Likewise.
16268         * charmaps/CP1252: Likewise.
16269         * charmaps/CP1253: Likewise.
16270         * charmaps/CP1254: Likewise.
16271         * charmaps/CP1255: Likewise.
16272         * charmaps/CP1256: Likewise.
16273         * charmaps/CSN_369103: Likewise.
16274         * charmaps/EBCDIC-DK-NO: Likewise.
16275         * charmaps/GB_1988-80: Likewise.
16276         * charmaps/GREEK-CCITT: Likewise.
16277         * charmaps/GREEK7: Likewise.
16278         * charmaps/INIS-8: Likewise.
16279         * charmaps/ISIRI-3342: Likewise.
16280         * charmaps/ISO_2033-1983: Likewise.
16281         * charmaps/ISO_5427-EXT: Likewise.
16282         * locales/POSIX: Likewise.
16283         * locales/ar_SA: Likewise.
16284         * locales/be_BY: Likewise.
16285         * locales/be_BY@latin: Likewise.
16286         * locales/ca_ES: Likewise.
16287         * locales/cs_CZ: Likewise.
16288         * locales/da_DK: Likewise.
16289         * locales/de_BE: Likewise.
16290         * locales/de_CH: Likewise.
16291         * locales/de_LU: Likewise.
16292         * locales/en_AU: Likewise.
16293         * locales/en_BW: Likewise.
16294         * locales/en_CA: Likewise.
16295         * locales/en_DK: Likewise.
16296         * locales/en_GB: Likewise.
16297         * locales/en_IE: Likewise.
16298         * locales/en_NZ: Likewise.
16299         * locales/en_ZA: Likewise.
16300         * locales/en_ZW: Likewise.
16301         * locales/es_AR: Likewise.
16302         * locales/es_BO: Likewise.
16303         * locales/es_CL: Likewise.
16304         * locales/es_CO: Likewise.
16305         * locales/es_DO: Likewise.
16306         * locales/es_EC: Likewise.
16307         * locales/es_ES: Likewise.
16308         * locales/es_HN: Likewise.
16309         * locales/es_MX: Likewise.
16310         * locales/es_PA: Likewise.
16311         * locales/es_PE: Likewise.
16312         * locales/es_PY: Likewise.
16313         * locales/es_SV: Likewise.
16314         * locales/es_US: Likewise.
16315         * locales/es_UY: Likewise.
16316         * locales/es_VE: Likewise.
16317         * locales/et_EE: Likewise.
16318         * locales/fa_IR: Likewise.
16319         * locales/fo_FO: Likewise.
16320         * locales/fr_CA: Likewise.
16321         * locales/fr_CH: Likewise.
16322         * locales/gv_GB: Likewise.
16323         * locales/he_IL: Likewise.
16324         * locales/hr_HR: Likewise.
16325         * locales/id_ID: Likewise.
16326         * locales/is_IS: Likewise.
16327         * locales/it_CH: Likewise.
16328         * locales/iw_IL: Likewise.
16329         * locales/kl_GL: Likewise.
16330         * locales/ko_KR: Likewise.
16331         * locales/kw_GB: Likewise.
16332         * locales/lg_UG: Likewise.
16333         * locales/lt_LT: Likewise.
16334         * locales/lv_LV: Likewise.
16335         * locales/mi_NZ: Likewise.
16336         * locales/nhn_MX: Likewise.
16337         * locales/nl_BE: Likewise.
16338         * locales/pl_PL: Likewise.
16339         * locales/sk_SK: Likewise.
16340         * locales/sl_SI: Likewise.
16341         * locales/sv_FI: Likewise.
16342         * locales/tl_PH: Likewise.
16343         * locales/tr_TR: Likewise.
16344         * locales/vi_VN: Likewise.
16346 2015-07-21  Khem Raj  <raj.khem@gmail.com>
16348         [BZ #17475]
16349         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
16350         of tu_IN and bh_IN.
16352 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
16354         [BZ #18694]
16355         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
16356         bits/wordsize.h.
16357         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
16359 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16361         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
16362         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
16363         (spawn_thread): New function.
16364         (load): Rename to reg_dtor_and_close.  Move dlopen to...
16365         (do_test): ... here.  Use IS_LOADED to test for its
16366         availability.
16368 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
16370         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
16372 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
16374         [BZ #18696]
16375         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
16376         si_addr_bnd.
16377         (si_lower): New.
16378         (si_upper): Likewise.
16380 2015-07-16  David S. Miller  <davem@davemloft.net>
16382         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
16384 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16386         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
16387         buffer.
16388         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
16389         fail output information.
16391 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16393         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
16394         and strstr-ppc64..
16395         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16396         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
16397         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
16398         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
16399         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
16401 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16403         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16404         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16405         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
16406         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
16408 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
16410         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16411         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
16412         rtld_hidden_proto.
16413         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
16415 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16417         * tst-nodelete-opened.c (do_test): Add comment to clarify how
16418         the test can fail.
16420         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
16422         [BZ #18676]
16423         * elf/tst-nodelete-opened.c: New test case.
16424         * elf/tst-nodelete-opened-lib.c: New test case module.
16425         * elf/Makefile (tests, modules-names): Use them.
16426         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
16427         early.
16429 2015-07-15  David S. Miller  <davem@davemloft.net>
16431         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
16432         futex-intenal.h
16433         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
16434         * sysdeps/sparc/sparc64/Makefile: Likewise.
16435         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16436         Remove space from macro define.
16437         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
16439 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
16441         [BZ #17475]
16442         * locale/iso-639.def: Update Bhili and Tulu language codes as
16443         per iso639-3.
16445 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
16447         * elf/tst-leaks1.c (main): Converted to ...
16448         (do_test): ... this.
16449         (TEST_FUNCTION): New macro.
16450         Include test-skeleton.c.
16451         * localedata/tst-langinfo.c (main): Converted to ...
16452         (do_test): ... this.
16453         (TEST_FUNCTION): New macro.
16454         Include test-skeleton.c.
16455         * math/test-fpucw.c (main): Converted to ...
16456         (do_test): ... this.
16457         (TEST_FUNCTION): New macro.
16458         Include test-skeleton.c.
16459         * math/test-tgmath.c (main): Converted to ...
16460         (do_test): ... this.
16461         (TEST_FUNCTION): New macro.
16462         Include test-skeleton.c.
16463         * math/test-tgmath2.c (main): Converted to ...
16464         (do_test): ... this.
16465         (TEST_FUNCTION): New macro.
16466         Include test-skeleton.c.
16467         * setjmp/tst-setjmp.c (main): Converted to ...
16468         (do_test): ... this.
16469         (TEST_FUNCTION): New macro.
16470         Include test-skeleton.c.
16471         * stdio-common/tst-sscanf.c (main): Converted to ...
16472         (do_test): ... this.
16473         (TEST_FUNCTION): New macro.
16474         Include test-skeleton.c.
16475         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
16476         (do_test): ... this.
16477         (TEST_FUNCTION): New macro.
16478         Include test-skeleton.c.
16480         * elf/tst-audit9.c (main): Converted to ...
16481         (do_test): ... this.
16482         (TEST_FUNCTION): New macro.
16483         Include test-skeleton.c.
16485 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
16487         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
16489 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16491         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
16492         New variable.
16494 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
16496         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16498 2015-07-14  Roland McGrath  <roland@hack.frob.com>
16500         * sysdeps/generic/dl-fileid.h: New file.
16501         * sysdeps/posix/dl-fileid.h: New file.
16502         * sysdeps/nacl/dl-fileid.h: New file.
16503         * include/link.h: Include <dl-fileid.h>.
16504         (struct link_map): Replace l_dev and l_ino with l_file_id.
16505         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
16506         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
16507         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
16509 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16511         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
16513 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16515         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
16516         Add iff $CXX is set.
16517         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
16518         Likewise.
16519         (tst-nodelete-zmodiff): Likewise.
16520         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
16522 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16524         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
16526 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16528         * sysdeps/aarch64/fpu/math_private.h
16529         (define math_opt_barrier): Add AArch64 version.
16530         (math_force_eval): Likewise.
16532 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
16534         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
16536 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16538         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
16539         %ld with %jd and cast to intmax_t.
16540         (do_test_length_zero): Likewise.
16542 2015-07-10  Roland McGrath  <roland@hack.frob.com>
16544         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
16546 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
16548         * sysdeps/tile/libm-test-ulps: Regenerated.
16550         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
16551         Comment out the whole function, not just its body.
16553 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16555         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
16556         locks.
16558         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
16560 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16562         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
16563         (sem_assume_only_signals_cause_futex_EINTR): Remove.
16565 2015-07-10  Torvald Riegel  <triegel@redhat.com>
16567         * sysdeps/nptl/futex-internal.h: New file.
16568         * sysdeps/nacl/futex-internal.h: New file.
16569         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
16570         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
16571         error checking.
16572         (setxid_unmark_thread): Likewise.
16573         (__nptl_setxid): Likewise.
16574         (__wait_lookup_done): Likewise.
16575         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
16576         * nptl/nptl-init.c (sighandler_setxid): Likewise.
16577         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
16578         * nptl/pthread_once.c (clear_once_control): Likewise.
16579         (__pthread_once_slow): Likewise.
16580         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
16581         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
16582         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
16583         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
16584         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
16585         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
16586         Likewise.
16587         (__pthread_rwlock_rdlock): Likewise.
16588         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
16589         Likewise.
16590         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
16591         Likewise.
16592         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
16593         Likewise.
16594         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
16595         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
16596         Likewise.
16597         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
16598         __ASSUME_PRIVATE_FUTEX check.
16599         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
16600         Check that shared futexes are supported.
16601         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
16602         wrappers with error checking.
16603         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
16604         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
16605         * nptl/pthread_barrierattr_setpshared.c
16606         (pthread_barrierattr_setpshared): Check that shared futexes are
16607         supported.
16608         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
16609         Likewise.
16610         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
16611         Likewise.
16612         * nptl/sem_init.c (futex_private_if_supported): Remove.
16613         (__new_sem_init): Adapt and check that shared futexes are supported.
16614         * nptl/sem_open.c (sem_open): Likewise.
16615         * nptl/sem_post.c (futex_wake): Remove.
16616         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
16617         (do_futex_wait): Use futex wrappers with error checking.
16618         * nptl/sem_wait.c: Include lowlevellock.h.
16619         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
16620         Use futex_supports_pshared.
16621         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
16622         Use futex wrappers with error checking.
16623         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
16624         Likewise.
16625         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
16626         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
16627         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
16628         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
16629         (futex_wake): Likewise.
16630         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
16631         (do_futex_wait): Use futex wrappers with error checking.
16632         (__new_sem_wait_slow): Update EINTR handling.
16633         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
16635 2015-07-09  Martin Sebor  <msebor@redhat.com>
16637         [BZ #18435]
16638         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16639         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
16640         * nptl/Makefile (test-xfail-tst-once5): Define.
16642 2015-07-09  Roland McGrath  <roland@hack.frob.com>
16644         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
16645         * elf/dl-minimal.c: For readability, reorder some definitions and
16646         introduce more page breaks.  Include <stdio.h>.
16647         (__libc_fatal): New function.
16649         * include/unistd.h: Add rtld_hidden_proto for _exit.
16650         * posix/_exit.c: Add rtld_hidden_def.
16651         * sysdeps/mach/hurd/_exit.c: Likewise.
16652         * sysdeps/nacl/_exit.c: Likewise.
16653         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
16654         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
16656 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
16658         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
16659         bndmov encoding with zero displacement.
16661 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
16662             H.J. Lu  <hongjiu.lu@intel.com>
16664         [BZ #18134]
16665         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
16666         * sysdeps/i386/configure: Regenerated.
16667         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
16668         (_dl_runtime_profile): Save and restore Intel MPX return bound
16669         registers when calling _dl_call_pltexit.  Add
16670         PRESERVE_BND_REGS_PREFIX before return.
16671         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
16672         (LRV_BND1_OFFSET): Likewise.
16673         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
16674         lrv_bnd1.
16675         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
16676         typo in bndmov encoding.
16677         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
16678         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
16679         branch instructions to preserve bounds.
16681 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
16684         [GLIBC_2.22]: Add fmemopen.
16686 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16688         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
16689         returns an error, also try to use host port from __mach_host_self for
16690         the __vm_wire call.
16691         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
16693 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16695         [BZ #18400]
16696         [BZ #18648]
16697         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
16698         Fix pr_uid and pr_gid members.
16699         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
16700         definition to elf_greg_t.
16702 2015-07-08  Roland McGrath  <roland@hack.frob.com>
16704         [BZ #18383]
16705         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
16706         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
16707         * sysdeps/arm/configure: Regenerated.
16708         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
16709         (test-xfail-tst-tlsalign-static): Variable removed.
16711         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
16712         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
16713         rather than explicit 'ln -s'.
16715         * resolv/rpc/netdb.h: New file.
16716         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
16718 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16720         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
16721         length buffers.
16722         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
16723         test-skeleton.c.
16725         [BZ #6544]
16726         [BZ #11216]
16727         [BZ #12836]
16728         [BZ #13151]
16729         [BZ #13152]
16730         [BZ #14292]
16731         * include/stdio.h (fmemopen): Remove hidden prototype.
16732         (__fmemopen): Add new hidden prototype.
16733         * libio/Makefile: Add oldfmemopen object.
16734         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
16735         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
16736         compliance.
16737         * libio/oldfmemopen.c: New file: old fmemopen implementation for
16738         symbol compatibility.
16739         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
16740         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
16741         fmemopen.
16742         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
16743         on append and read mode.
16744         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
16745         fmemopen.
16746         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
16747         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
16748         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
16749         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
16750         Likewise.
16751         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
16752         [GLIBC_2.22]: Likewise.
16753         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
16754         Likewise.
16755         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
16756         Likewise.
16757         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
16758         [GLIBC_2.22]: Likewise.
16759         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
16760         [GLIBC_2.22]: Likewise.
16761         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
16762         [GLIBC_2.22]: Likewise.
16763         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
16764         [GLIBC_2.22]: Likewise.
16765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
16766         [GLIBC_2.22]: Likewise.
16767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
16768         [GLIBC_2.22]: Likewise.
16769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
16770         [GLIBC_2.22]: Likewise.
16771         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
16772         Likewise.
16773         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
16774         Likewise.
16775         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
16776         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
16777         [GLIBC_2.22]: Likewise.
16778         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
16779         [GLIBC_2.22]: Likewise.
16780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
16781         [GLIBC_2.22]: Likewise.
16782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
16783         [GLIBC_2.22]: Likewise.
16784         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
16785         Likewise.
16786         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
16787         Likewise.
16788         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
16789         Likewise.
16790         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
16791         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
16793 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16795         [BZ #18643]
16796         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
16797         IPV6_PATHMTU, and IPV6_DONTFRAG.
16799 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
16801         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
16802         and _IO_UNBUFFERED.
16803         * libio/oldfileops.c: Likewise.
16804         * libio/wfileops.c: Likewise.
16806 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16808         * nscd/selinux.c: Delete selinux/flask.h include.
16810 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
16812         [BZ #18641]
16813         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
16814         (putpwent): Likewise.
16815         (getpwnam): Likewise.
16816         (getpwent_r): Likewise.
16817         (getpwuid_r): Likewise.
16818         (getpwnam_r): Likewise.
16819         (fgetpwent_r): Likewise.
16821 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
16823         [BZ #18557]
16824         * inet/rcmd.c (__validuser2_sa): Check user first to
16825         short-circuit host check.
16827 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
16828             Mikhail Ilin  <m.ilin@samsung.com>
16830         [BZ #17833]
16831         * elf/Makefile (tests): Add tst-nodelete.
16832         (modules-names): Add tst-nodelete-uniquemod.
16833         (tst-nodelete-uniquemod.so-no-z-defs): New.
16834         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
16835         (tst-nodelete-zmod.so-no-z-defs): Likewise.
16836         ($(objpfx)tst-nodelete): Likewise.
16837         ($(objpfx)tst-nodelete.out): Likewise.
16838         (LDFLAGS-tst-nodelete): Likewise.
16839         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
16840         * elf/dl-close.c (_dl_close_worker): Add a parameter to
16841         implement forced object deletion.
16842         (_dl_close): Pass false to _dl_close_worker.
16843         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
16844         * elf/tst-nodelete.cc: New file.
16845         * elf/tst-nodeletelib.cc: Likewise.
16846         * elf/tst-znodeletelib.cc: Likewise.
16847         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
16849 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16851         [BZ #18508]
16852         * stdlib/Makefile ($(objpfx)tst-makecontext3):
16853         Depend on $(libdl).
16854         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
16855         is not called infinitely times.
16856         (backtrace_helper): New function.
16857         (trace_arg): New struct.
16858         (st1): Enlarge stack size.
16859         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
16860         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
16861         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
16862         Likewise.
16864 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16866         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16868 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16870         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
16871         Include sys/types.h instead of bits/types.h.
16872         Remove inclusion of bits/wordsize.h.
16874 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16876         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
16877         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
16878         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
16879         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
16880         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
16881         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
16883 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16885         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
16886         link-defines.sym.
16887         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
16888         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
16889         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
16890         and LR_SIZE.
16891         * sysdeps/i386/link-defines.sym: New file.
16893 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
16895         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
16896         (modules-names): Add tst-auditmod3a tst-auditmod3b.
16897         ($(objpfx)tst-audit3): New rule.
16898         ($(objpfx)tst-audit3.out): Likewise.
16899         * sysdeps/i386/tst-audit3.c: New file.
16900         * sysdeps/i386/tst-audit3.h: Likewise.
16901         * sysdeps/i386/tst-auditmod3a.c: Likewise.
16902         * sysdeps/i386/tst-auditmod3b.c: Likewise.
16904 2015-07-07  Torvald Riegel  <triegel@redhat.com>
16906         [BZ #18633]
16907         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
16908         pointer in C code.
16909         (__strcat_c): Likewise.
16910         (__strcat_g): Likewise.
16912 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
16914         [BZ #18592]
16915         * misc/sbrk.c: Set errno to ENOMEM on overflow.
16917 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16919         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
16920         New function.  (__ieee754_sqrtf): New function.
16921         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
16922         New function.
16923         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
16924         New function.
16926 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
16928         * sysdeps/ieee754/support.c: Remove unused file.
16930 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16932         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
16933         registers instead of d ones so the layout is kernel abi compatible.
16934         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
16935         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
16936         Likewise.
16938 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16940         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16942 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16944         [BZ #18619]
16945         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
16946         and return argument in case of subnormal argument.
16948 2015-07-01  Martin Sebor  <msebor@redhat.com>
16950         [BZ #18435]
16951         * nptl/Makefile: Add tst-once5.cc.
16952         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
16953         Remove macro redefinitions.
16954         * nptl/tst-once5.cc: New test.
16956 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
16958         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16960         * sysdeps/arm/libm-test-ulps: Regenerated.
16962         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16963         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16965 2015-06-30  Torvald Riegel  <triegel@redhat.com>
16967         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
16968         lll_lock_wait_private and lll_futex_wake probes.
16970         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16971         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
16972         Likewise.
16973         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
16974         atomic_spin_nop.
16975         * sysdeps/x86_64/bits/atomic.h: Likewise.
16976         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
16977         to atomic_spin_nop and move ...
16978         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
16979         ... here and ...
16980         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
16981         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
16982         atomic_spin_nop instead of BUSY_WAIT_NOP.
16983         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
16984         Likewise.
16985         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
16986         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
16987         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
16988         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
16989         instead of atomic_delay.
16991 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
16993         [BZ #18613]
16994         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
16995         X_ADJ not X when adjusting exponent.
16996         (__ieee754_gamma_r): Do intermediate computations in
16997         round-to-nearest then adjust overflowing and underflowing results
16998         as needed.
16999         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17000         of X_ADJ not X when adjusting exponent.
17001         (__ieee754_gammaf_r): Do intermediate computations in
17002         round-to-nearest then adjust overflowing and underflowing results
17003         as needed.
17004         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17005         log of X_ADJ not X when adjusting exponent.
17006         (__ieee754_gammal_r): Do intermediate computations in
17007         round-to-nearest then adjust overflowing and underflowing results
17008         as needed.  Use 1.0L not 1.0f as numerator of division.
17009         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17010         log of X_ADJ not X when adjusting exponent.
17011         (__ieee754_gammal_r): Do intermediate computations in
17012         round-to-nearest then adjust overflowing and underflowing results
17013         as needed.  Use 1.0L not 1.0f as numerator of division.
17014         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17015         of X_ADJ not X when adjusting exponent.
17016         (__ieee754_gammal_r): Do intermediate computations in
17017         round-to-nearest then adjust overflowing and underflowing results
17018         as needed.  Use 1.0L not 1.0f as numerator of division.
17019         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17020         to auto-libm-test-in.
17021         (tgamma_test): Use ALL_RM_TEST.
17022         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17023         tests of tgamma with spurious-overflow.
17024         * math/auto-libm-test-out: Regenerated.
17025         * math/gen-libm-have-vector-test.sh: Do not check for START.
17026         * sysdeps/i386/fpu/libm-test-ulps: Update.
17027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17029         [BZ #18612]
17030         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17031         arguments, just return 0.5 times the argument, with underflow
17032         forced as needed.
17033         * math/auto-libm-test-in: Add more tests of j1.
17034         * math/auto-libm-test-out: Regenerated.
17036         [BZ #16559]
17037         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17038         (__ieee754_j1): Force underflow exception for small results.
17039         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17040         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17041         (__ieee754_j1f): Force underflow exception for small results.
17042         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17043         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17044         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17045         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17046         (__ieee754_j1l): Force underflow exception for small results.
17047         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17048         * math/auto-libm-test-in: Add more tests of j1 and jn.
17049         * math/auto-libm-test-out: Regenerated.
17051         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17052         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17053         (PF_MPLS): Likewise.
17054         (AF_IB): Likewise.
17055         (AF_MPLS): Likewise.
17056         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17057         value and macro.
17058         (MS_RMT_MASK): Include MS_LAZYTIME.
17060 2015-06-26  Mel Gorman  <mgorman@suse.de>
17062         [BZ #18502]
17063         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17064         already minimal.
17066 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17068         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17069         (DT_MIPS_NUM): Update.
17070         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17071         DT_MIPS_RLD_MAP_REL.
17073 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17075         [BZ #16559]
17076         [BZ #18602]
17077         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17078         round-to-nearest internally then recompute results that
17079         underflowed to zero in the original rounding mode.
17080         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17081         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17083         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17084         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17085         * sysdeps/i386/fpu/libm-test-ulps: Update.
17086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17088 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17090         * NEWS: Fixed description of link with vector math library.
17092 2015-06-25  Andreas Schwab  <schwab@suse.de>
17094         [BZ #18549]
17095         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17096         * libio/test-fmemopen.c (do_test): Add test for it.
17098 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17100         [BZ #17841]
17101         * Makeconfig (no-pie-ldflag): New.
17102         (+link): Set to $(+link-pie) if default to PIE.
17103         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17104         * config.make.in (build-pie-default): New.
17105         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17106         is default.  AC_SUBST.
17107         * configure: Regenerated.
17108         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17110 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17112         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17113         to 'unsigned int'.
17115         * resolv/gai_misc.h (struct waitlist): Change type of field
17116         counterp to 'volatile unsigned int *'.
17117         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17118         FUTEXADDR and OLDVAL.
17119         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17120         Give local variable TOTAL type 'volatile unsigned int'.
17121         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17122         * resolv/gai_suspend.c (gai_suspend):
17123         Give local variable CNTR type 'unsigned int'.
17125         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17126         counterp to 'volatile unsigned int *'.
17127         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17128         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17129         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17130         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17131         Give local variable TOTAL type 'volatile unsigned int'.
17132         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17134 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17136         [BZ #18383]
17137         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17138         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17139         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17140         comment for i386/x86-64.
17141         (test-xfail-tst-tlsalign-extern-static): Removed.
17143 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17145         * math/test-double.h: New file.
17146         * math/test-float.h: Likewise.
17147         * math/test-ldouble.h: Likewise.
17148         * math/test-math-inline.h: Likewise.
17149         * math/test-math-no-inline.h: Likewise.
17150         * math/test-math-scalar.h: Likewise.
17151         * math/test-math-vector.h: Likewise.
17152         * math/test-vec-loop.h: Remove file.  Contents moved into
17153         test-math-vector.h.
17154         * math/libm-test.inc (MATHCONST): Do not document macro.
17155         * math/test-double.c: Include test-double.h, test-math-no-inline.h
17156         and test-math-scalar.h.
17157         (FUNC): Remove macro.
17158         (FUNC_TEST): Likewise.
17159         (FLOAT): Likewise.
17160         (MATHCONST): Likewise.
17161         (PRINTF_EXPR): Likewise.
17162         (PRINTF_XEXPR): Likewise.
17163         (PRINTF_NEXPR): Likewise.
17164         (TEST_DOUBLE): Likewise.
17165         (TEST_MATHVEC): Likewise.
17166         (__NO_MATH_INLINES): Likewise.
17167         * math/test-float.c: Include test-float.h, test-math-no-inline.h
17168         and test-math-scalar.h.
17169         (FUNC): Remove macro.
17170         (FUNC_TEST): Likewise.
17171         (FLOAT): Likewise.
17172         (MATHCONST): Likewise.
17173         (PRINTF_EXPR): Likewise.
17174         (PRINTF_XEXPR): Likewise.
17175         (PRINTF_NEXPR): Likewise.
17176         (TEST_FLOAT): Likewise.
17177         (TEST_MATHVEC): Likewise.
17178         (__NO_MATH_INLINES): Likewise.
17179         * math/test-idouble.c: Include test-double.h, test-math-inline.h
17180         and test-math-scalar.h.
17181         (FUNC): Remove macro.
17182         (FUNC_TEST): Likewise.
17183         (FLOAT): Likewise.
17184         (MATHCONST): Likewise.
17185         (PRINTF_EXPR): Likewise.
17186         (PRINTF_XEXPR): Likewise.
17187         (PRINTF_NEXPR): Likewise.
17188         (TEST_DOUBLE): Likewise.
17189         (TEST_MATHVEC): Likewise.
17190         (TEST_INLINE): Likewise.
17191         (__NO_MATH_INLINES): Likewise.
17192         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
17193         test-math-scalar.h.
17194         (FUNC): Remove macro.
17195         (FUNC_TEST): Likewise.
17196         (FLOAT): Likewise.
17197         (MATHCONST): Likewise.
17198         (PRINTF_EXPR): Likewise.
17199         (PRINTF_XEXPR): Likewise.
17200         (PRINTF_NEXPR): Likewise.
17201         (TEST_FLOAT): Likewise.
17202         (TEST_MATHVEC): Likewise.
17203         (TEST_INLINE): Likewise.
17204         (__NO_MATH_INLINES): Likewise.
17205         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
17206         and test-math-scalar.h.
17207         (FUNC): Remove macro.
17208         (FUNC_TEST): Likewise.
17209         (FLOAT): Likewise.
17210         (MATHCONST): Likewise.
17211         (PRINTF_EXPR): Likewise.
17212         (PRINTF_XEXPR): Likewise.
17213         (PRINTF_NEXPR): Likewise.
17214         (TEST_LDOUBLE): Likewise.
17215         (TEST_MATHVEC): Likewise.
17216         (TEST_INLINE): Likewise.
17217         (__NO_MATH_INLINES): Likewise.
17218         * math/test-ldouble.c: Include test-ldouble.h,
17219         test-math-no-inline.h and test-math-scalar.h.
17220         (FUNC): Remove macro.
17221         (FUNC_TEST): Likewise.
17222         (FLOAT): Likewise.
17223         (MATHCONST): Likewise.
17224         (PRINTF_EXPR): Likewise.
17225         (PRINTF_XEXPR): Likewise.
17226         (PRINTF_NEXPR): Likewise.
17227         (TEST_LDOUBLE): Likewise.
17228         (TEST_MATHVEC): Likewise.
17229         (__NO_MATH_INLINES): Likewise.
17230         * math/test-double-vlen2.h: Include test-double.h,
17231         test-math-no-inline.h and test-math-vector.h.
17232         (FLOAT): Remove macro.
17233         (FUNC): Likewise.
17234         (MATHCONST): Likewise.
17235         (PRINTF_EXPR): Likewise.
17236         (PRINTF_XEXPR): Likewise.
17237         (PRINTF_NEXPR): Likewise.
17238         (TEST_DOUBLE): Likewise.
17239         (TEST_MATHVEC): Likewise.
17240         (__NO_MATH_INLINES): Likewise.
17241         (CNCT): Likewise.
17242         (CONCAT): Likewise.
17243         (WRAPPER_NAME): Likewise.
17244         (WRAPPER_DECL): Likewise.
17245         (WRAPPER_DECL_ff): Likewise.
17246         (WRAPPER_DECL_fFF): Likewise.
17247         (VECTOR_WRAPPER): Likewise.
17248         (VECTOR_WRAPPER_ff): Likewise.
17249         (VECTOR_WRAPPER_fFF): Likewise.
17250         (VEC_LEN): New macro.
17251         * math/test-double-vlen4.h: Include test-double.h,
17252         test-math-no-inline.h and test-math-vector.h.
17253         (FLOAT): Remove macro.
17254         (FUNC): Likewise.
17255         (MATHCONST): Likewise.
17256         (PRINTF_EXPR): Likewise.
17257         (PRINTF_XEXPR): Likewise.
17258         (PRINTF_NEXPR): Likewise.
17259         (TEST_DOUBLE): Likewise.
17260         (TEST_MATHVEC): Likewise.
17261         (__NO_MATH_INLINES): Likewise.
17262         (CNCT): Likewise.
17263         (CONCAT): Likewise.
17264         (WRAPPER_NAME): Likewise.
17265         (WRAPPER_DECL): Likewise.
17266         (WRAPPER_DECL_ff): Likewise.
17267         (WRAPPER_DECL_fFF): Likewise.
17268         (VECTOR_WRAPPER): Likewise.
17269         (VECTOR_WRAPPER_ff): Likewise.
17270         (VECTOR_WRAPPER_fFF): Likewise.
17271         (VEC_LEN): New macro.
17272         * math/test-double-vlen8.h: Include test-double.h,
17273         test-math-no-inline.h and test-math-vector.h.
17274         (FLOAT): Remove macro.
17275         (FUNC): Likewise.
17276         (MATHCONST): Likewise.
17277         (PRINTF_EXPR): Likewise.
17278         (PRINTF_XEXPR): Likewise.
17279         (PRINTF_NEXPR): Likewise.
17280         (TEST_DOUBLE): Likewise.
17281         (TEST_MATHVEC): Likewise.
17282         (__NO_MATH_INLINES): Likewise.
17283         (CNCT): Likewise.
17284         (CONCAT): Likewise.
17285         (WRAPPER_NAME): Likewise.
17286         (WRAPPER_DECL): Likewise.
17287         (WRAPPER_DECL_ff): Likewise.
17288         (WRAPPER_DECL_fFF): Likewise.
17289         (VECTOR_WRAPPER): Likewise.
17290         (VECTOR_WRAPPER_ff): Likewise.
17291         (VECTOR_WRAPPER_fFF): Likewise.
17292         (VEC_LEN): New macro.
17293         * math/test-float-vlen4.h: Include test-float.h,
17294         test-math-no-inline.h and test-math-vector.h.
17295         (FLOAT): Remove macro.
17296         (FUNC): Likewise.
17297         (MATHCONST): Likewise.
17298         (PRINTF_EXPR): Likewise.
17299         (PRINTF_XEXPR): Likewise.
17300         (PRINTF_NEXPR): Likewise.
17301         (TEST_FLOAT): Likewise.
17302         (TEST_MATHVEC): Likewise.
17303         (__NO_MATH_INLINES): Likewise.
17304         (CNCT): Likewise.
17305         (CONCAT): Likewise.
17306         (WRAPPER_NAME): Likewise.
17307         (WRAPPER_DECL): Likewise.
17308         (WRAPPER_DECL_ff): Likewise.
17309         (WRAPPER_DECL_fFF): Likewise.
17310         (VECTOR_WRAPPER): Likewise.
17311         (VECTOR_WRAPPER_ff): Likewise.
17312         (VECTOR_WRAPPER_fFF): Likewise.
17313         (VEC_LEN): New macro.
17314         * math/test-float-vlen8.h: Include test-float.h,
17315         test-math-no-inline.h and test-math-vector.h.
17316         (FLOAT): Remove macro.
17317         (FUNC): Likewise.
17318         (MATHCONST): Likewise.
17319         (PRINTF_EXPR): Likewise.
17320         (PRINTF_XEXPR): Likewise.
17321         (PRINTF_NEXPR): Likewise.
17322         (TEST_FLOAT): Likewise.
17323         (TEST_MATHVEC): Likewise.
17324         (__NO_MATH_INLINES): Likewise.
17325         (CNCT): Likewise.
17326         (CONCAT): Likewise.
17327         (WRAPPER_NAME): Likewise.
17328         (WRAPPER_DECL): Likewise.
17329         (WRAPPER_DECL_ff): Likewise.
17330         (WRAPPER_DECL_fFF): Likewise.
17331         (VECTOR_WRAPPER): Likewise.
17332         (VECTOR_WRAPPER_ff): Likewise.
17333         (VECTOR_WRAPPER_fFF): Likewise.
17334         (VEC_LEN): New macro.
17335         * math/test-float-vlen16.h: Include test-float.h,
17336         test-math-no-inline.h and test-math-vector.h.
17337         (FLOAT): Remove macro.
17338         (FUNC): Likewise.
17339         (MATHCONST): Likewise.
17340         (PRINTF_EXPR): Likewise.
17341         (PRINTF_XEXPR): Likewise.
17342         (PRINTF_NEXPR): Likewise.
17343         (TEST_FLOAT): Likewise.
17344         (TEST_MATHVEC): Likewise.
17345         (__NO_MATH_INLINES): Likewise.
17346         (CNCT): Likewise.
17347         (CONCAT): Likewise.
17348         (WRAPPER_NAME): Likewise.
17349         (WRAPPER_DECL): Likewise.
17350         (WRAPPER_DECL_ff): Likewise.
17351         (WRAPPER_DECL_fFF): Likewise.
17352         (VECTOR_WRAPPER): Likewise.
17353         (VECTOR_WRAPPER_ff): Likewise.
17354         (VECTOR_WRAPPER_fFF): Likewise.
17355         (VEC_LEN): New macro.
17356         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
17357         test-vec-loop.h.
17358         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17359         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17360         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17361         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17362         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17363         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17364         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17366 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17368         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
17369         (__getlogin_r): ... this.
17371 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17373         [BZ #18594]
17374         * math/s_ccosh.c (__ccosh): Compare with least normal value
17375         instead of comparing class with FP_SUBNORMAL.
17376         * math/s_ccoshf.c (__ccoshf): Likewise.
17377         * math/s_ccoshl.c (__ccoshl): Likewise.
17378         * math/s_cexp.c (__cexp): Likewise.
17379         * math/s_cexpf.c (__cexpf): Likewise.
17380         * math/s_cexpl.c (__cexpl): Likewise.
17381         * math/s_csin.c (__csin): Likewise.
17382         * math/s_csinf.c (__csinf): Likewise.
17383         * math/s_csinh.c (__csinh): Likewise.
17384         * math/s_csinhf.c (__csinhf): Likewise.
17385         * math/s_csinhl.c (__csinhl): Likewise.
17386         * math/s_csinl.c (__csinl): Likewise.
17387         * math/s_ctan.c (__ctan): Likewise.
17388         * math/s_ctanf.c (__ctanf): Likewise.
17389         * math/s_ctanh.c (__ctanh): Likewise.
17390         * math/s_ctanhf.c (__ctanhf): Likewise.
17391         * math/s_ctanhl.c (__ctanhl): Likewise.
17392         * math/s_ctanl.c (__ctanl): Likewise.
17393         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
17394         csin, csinh, ctan and ctanh.
17395         * math/auto-libm-test-out: Regenerated.
17396         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
17397         * sysdeps/i386/fpu/libm-test-ulps: Update.
17398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17400 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17402         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
17403         return value is wrong, print the expected value too.
17405 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17407         [BZ #18585]
17408         * elf/readlib.c (is_gdb_python_file): New.
17409         (process_file): Don't issue errors on filenames with -gdb.py
17410         suffix.
17412 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17414         * math/auto-libm-test-in: Add more tests of csin and csinh.
17415         * math/auto-libm-test-out: Regenerated.
17416         * math/libm-test.inc (csin_test_data): Remove tests moved to
17417         auto-libm-test-in.
17418         (csinh_test_data): Likewise.
17420         [BZ #18593]
17421         * math/s_csin.c (__csin): Negate before rather than after possibly
17422         overflowing multiplication.
17423         * math/s_csinf.c (__csinf): Likewise.
17424         * math/s_csinh.c (__csinh): Likewise.
17425         * math/s_csinhf.c (__csinhf): Likewise.
17426         * math/s_csinhl.c (__csinhl): Likewise.
17427         * math/s_csinl.c (__csinl): Likewise.
17428         * math/auto-libm-test-in: Add some tests of csin and csinh.
17429         * math/auto-libm-test-out: Regenerated.
17430         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
17431         (csinh_test_data): Likewise.
17432         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17434         [BZ #18586]
17435         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
17436         underflow exception for small results.
17438 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
17440         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
17442         variable and included header.
17443         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
17444         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
17445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
17446         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
17447         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
17448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
17449         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
17450         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
17451         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
17452         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
17453         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
17454         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
17455         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
17456         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
17457         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
17458         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
17460 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17462         [BZ #16526]
17463         [BZ #16538]
17464         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
17465         (__sin): Force underflow exception for arguments with small
17466         absolute value.
17467         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
17468         (__kernel_sinf): Force underflow exception for arguments with
17469         small absolute value.
17470         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
17471         (__kernel_sincosl): Force underflow exception for arguments with
17472         small absolute value.
17473         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
17474         (__kernel_sinl): Force underflow exception for arguments with
17475         small absolute value.
17476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
17477         (__kernel_sincosl): Force underflow exception for arguments with
17478         small absolute value.
17479         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
17480         (__kernel_sinl): Force underflow exception for arguments with
17481         small absolute value.
17482         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
17483         (__kernel_sinl): Force underflow exception for arguments with
17484         small absolute value.
17485         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
17486         (__kernel_sinf): Force underflow exception for arguments with
17487         small absolute value.
17488         * math/auto-libm-test-in: Add more tests of sin and sincos.
17489         * math/auto-libm-test-out: Regenerated.
17491         [BZ #18245]
17492         [BZ #18583]
17493         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
17494         (__kernel_standard_l): Use feholdexcept and fesetenv around
17495         conversion to double instead of special-casing overflow and
17496         underflow.
17497         * math/libm-test.inc (fmod_test_data): Add more tests.
17498         (remainder_test_data): Likewise.
17499         (sqrt_test_data): Likewise.
17501 2015-06-23  Torvald Riegel  <triegel@redhat.com>
17503         [BZ #17403]
17504         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
17505         atomic_read_barrier, atomic_write_barrier): Define.
17506         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
17507         atomic_read_barrier, atomic_write_barrier): Define.
17509 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17511         * math/Makefile [$(PERL) != no]
17512         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
17513         dependency on libm-test.stmp below the inclusion of Rules.
17515 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
17517         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
17518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
17519         and included header.
17520         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
17521         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
17522         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
17523         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
17524         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
17525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
17526         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
17527         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
17528         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
17529         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
17530         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
17531         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
17532         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
17533         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
17534         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
17535         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
17536         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
17537         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
17538         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
17540 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
17542         [BZ #18371]
17543         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
17544         intermediate but not final result might underflow.
17545         * math/s_csqrtf.c (__csqrtf): Likewise.
17546         * math/s_csqrtl.c (__csqrtl): Likewise.
17547         * math/auto-libm-test-in: Add more tests of csqrt.
17548         * math/auto-libm-test-out: Regenerated.
17549         * sysdeps/i386/fpu/libm-test-ulps: Update.
17551         [BZ #18219]
17552         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
17553         threshold on absolute value of exponent for which scaling is used.
17554         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
17555         * math/auto-libm-test-in: Add more tests of exp2.
17556         * math/auto-libm-test-out: Regenerated.
17558 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
17560         [BZ #17977]
17561         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
17562         when initializing interface list, based on the bug analysis
17563         and the patch proposed by Eric Newton.
17564         * resolv/tst-res_hconf_reorder.c: New test.
17565         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
17566         tst-res_hconf_reorder.
17567         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
17568         and $(shared-thread-library).
17569         (tst-res_hconf_reorder-ENV): New variable.
17571         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
17572         in comment.
17574 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
17576         [BZ #16353]
17577         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
17578         (__expm1): Force underflow exception for arguments with small
17579         absolute value.
17580         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
17581         (__expm1f): Force underflow exception for arguments with small
17582         absolute value.
17583         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
17584         (__expm1): Force underflow exception for arguments with small
17585         absolute value.
17586         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
17587         (__expm1f): Force underflow exception for arguments with small
17588         absolute value.
17589         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
17590         Check for small arguments before calling __expm1.
17591         * math/auto-libm-test-in: Do not mark underflow exceptions as
17592         possibly missing for bug 16353.
17593         * math/auto-libm-test-out: Regenerated.
17595 2015-06-22  Andreas Schwab  <schwab@suse.de>
17597         [BZ #18513]
17598         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
17599         PTR queries.
17601 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
17603         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
17605         * string/strcoll_l.c: Remove unused struct element idxnow.
17607 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
17609         [BZ #18569]
17610         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
17611         underflow and return argument in case of subnormal argument.
17612         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17613         Likewise.
17614         * math/auto-libm-test-in: Add more tests of expm1.
17615         * math/auto-libm-test-out: Regenerated.
17617         [BZ #16361]
17618         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17619         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17620         tiny results.
17621         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
17622         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
17623         tiny results.
17624         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
17625         mark underflow exceptions as possibly missing for bug 16361.
17626         * math/auto-libm-test-out: Regenerated.
17628 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
17630         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
17631         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
17632         Remove variable.
17633         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17634         (test-xfail-XOPEN2K8/utmpx.h/conform).
17636         * conform/conformtest.pl ($xerrors): New variable.
17637         (note_error): New function.
17638         (compiletest): New argument $xfail.  Use not_error.
17639         (runtest): Likewise.
17640         (top level): Handle xfail- lines.  Update calls to compiletest and
17641         runtest.  Handle xfail- and optional- in headers listed with
17642         allow-header.
17643         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
17644         (O_EXEC): Likewise.
17645         (O_SEARCH): Likewise.
17646         * conform/data/stropts.h-data (ioctl): Likewise.
17647         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
17648         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
17649         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
17650         (msghdr.msg_controllen): Likewise.
17651         (cmsghdr.cmsg_len): Likewise.
17652         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
17653         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
17654         variable.
17655         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17656         (test-xfail-XPG4/stropts.h/conform): Likewise.
17657         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17658         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17659         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17660         (test-xfail-UNIX98/stropts.h/conform): Likewise.
17661         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17662         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17663         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17664         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17665         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17666         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17667         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17668         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17669         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17670         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17671         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17672         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17673         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17674         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17675         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17677 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
17679         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
17680         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
17681         definitions for proper unfolding of __MATHDECL_VEC.
17683 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17685         * benchtests/bench-strcoll.c:
17686         Include string.h.
17687         (main): Remove unused variable res.
17689 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17691         * timezone/Makefile (%/UTC %/Universal):
17692         Generate test-result files for UTC and Universal.
17694 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
17696         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17698 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
17700         [BZ #16350]
17701         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
17702         for arguments with small absolute value.
17703         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
17704         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
17705         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
17706         (__asinh): Force underflow exception for arguments with small
17707         absolute value.
17708         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
17709         (__asinhf): Force underflow exception for arguments with small
17710         absolute value.
17711         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
17712         (__asinhl): Force underflow exception for arguments with small
17713         absolute value.
17714         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
17715         (__asinhl): Force underflow exception for arguments with small
17716         absolute value.
17717         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
17718         (__asinhl): Force underflow exception for arguments with small
17719         absolute value.
17720         * math/auto-libm-test-in: Do not mark underflow exceptions as
17721         possibly missing for bug 16350.
17722         * math/auto-libm-test-out: Regenerated.
17724         * include/bits/ipc.h: Remove file.
17725         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
17726         variable.
17727         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17728         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17729         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17730         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17731         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17732         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17733         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17734         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17735         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17737         * math/auto-libm-test-in: Remove spurious underflow allowance for
17738         tests of cexp.
17739         * math/auto-libm-test-out: Regenerated.
17741         [BZ #18558]
17742         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
17743         unconditional definition.
17744         (MCAST_BLOCK_SOURCE): Likewise.
17745         (MCAST_UNBLOCK_SOURCE): Likewise.
17746         (MCAST_LEAVE_GROUP): Likewise.
17747         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17748         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17749         (MCAST_MSFILTER): Likewise.
17750         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17751         Remove variable.
17752         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17753         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17754         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17755         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17756         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17758 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
17760         * NEWS: Mention addition of x86_64 vector sincosf.
17761         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
17762         * math/test-float-vlen4.h: Likewise.
17763         * math/test-float-vlen8.h: Likewise.
17764         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17765         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
17766         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17767         * sysdeps/x86_64/fpu/Versions: New versions added.
17768         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17769         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17770         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
17772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
17773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
17774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
17775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
17776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
17777         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
17778         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
17779         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
17780         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
17781         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
17782         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
17783         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
17784         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
17785         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
17786         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17787         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17788         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17789         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17790         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17791         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17793         * NEWS: Mention addition of x86_64 vector sincos.
17794         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
17795         * math/math.h (__MATHDECL_VEC): New macro.
17796         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
17797         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
17798         declaration under condition.
17799         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
17800         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
17801         TEST_VEC_LOOP change.
17802         * math/test-double-vlen4.h: Likewise.
17803         * math/test-double-vlen8.h: Likewise.
17804         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
17805         * math/test-float-vlen4.h: Likewise.
17806         * math/test-float-vlen8.h: Likewise.
17807         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17808         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
17809         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17810         * sysdeps/x86_64/fpu/Versions: New versions added.
17811         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17812         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17813         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
17815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
17816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
17817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
17818         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
17819         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
17820         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
17821         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
17822         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
17823         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
17824         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
17825         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
17826         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
17827         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
17828         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
17829         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
17830         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
17831         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
17832         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
17833         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
17834         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
17836         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
17837         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
17838         redirections for powf.
17839         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
17840         * sysdeps/x86_64/fpu/Versions: New versions added.
17841         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17842         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
17843         Added build of SSE, AVX2 and AVX512 IFUNC versions.
17844         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
17845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
17846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
17847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
17848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
17849         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
17850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
17851         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
17852         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
17853         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
17854         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
17855         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
17856         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
17857         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
17858         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
17859         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
17860         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
17861         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
17862         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
17863         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
17864         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
17865         * math/test-float-vlen16.h: Fixed 2 argument macro.
17866         * math/test-float-vlen4.h: Likewise.
17867         * math/test-float-vlen8.h: Likewise.
17868         * NEWS: Mention addition of x86_64 vector powf.
17870 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
17872         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17873         and redefine.
17874         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
17875         and redefine.
17876         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
17877         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17880         [BZ #18553]
17881         * resource/getpriority.c (getpriority): Rename to __getpriority
17882         and define as weak alias of __getpriority.
17883         * resource/setpriority.c (setpriority): Rename to __setpriority
17884         and define as weak alias of __setpriority.
17885         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17886         __getpriority and define as weak alias of __getpriority.
17887         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
17888         __setpriority and define as weak alias of __setpriority.
17889         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
17890         strong name.
17891         (setpriority): Use __setpriority as strong name.
17892         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
17893         __getpriority and define as weak alias of __getpriority.
17894         * include/sys/resource.h (__getpriority): Declare.  Use
17895         libc_hidden_proto.
17896         (__setpriority): Likewise.
17897         (getpriority): Don't use libc_hidden_proto.
17898         (setpriority): Likewise.
17899         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
17900         getpriority.  Call __setpriority instead of setpriority.
17901         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
17902         Remove variable.
17904         [BZ #18547]
17905         * misc/getttyent.c (getttynam): Rename to __getttynam and define
17906         as weak alias of __getttynam.  Use prototype function definition.
17907         Call __setttyent, __getttyent and __endttyent instead of
17908         setttyent, getttyent and endttyent.
17909         (getttyent): Rename to __getttyent and define as weak alias of
17910         __getttyent.  Call __setttyent instead of setttyent.  Call
17911         __fgets_unlocked instead of fgets_unlocked.
17912         (setttyent): Rename to __setttyent and define as weak alias of
17913         __setttyent.
17914         (endttyent): Rename to __endttyent and define as weak alias of
17915         __endttyent.
17916         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
17917         (__setttyent): Likewise.
17918         (__endttyent): Likewise.
17919         (getttyent): Don't use libc_hidden_proto.
17920         (setttyent): Likewise.
17921         (endttyent): Likewise.
17922         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
17923         __endttyent instead of setttyent, getttyent and endttyent.
17924         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
17925         Remove variable.
17927         [BZ #18546]
17928         * socket/recv.c (__recv): Use libc_hidden_def.
17929         * socket/socket.c (__socket): Likewise.
17930         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17931         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17932         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
17933         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
17934         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
17935         libc_hidden_def.
17936         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
17937         libc_hidden_weak.
17938         * include/sys/socket.h (__socket): Do not use attribute_hidden.
17939         Use libc_hidden_proto.
17940         (__recv): Likewise.
17941         * socket/Versions (libc): Export __recv and __socket at version
17942         GLIBC_PRIVATE.
17943         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
17944         instead of recv.
17945         (init_mq_netlink): Call __socket instead of socket.
17946         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
17947         Remove variable.
17949         [BZ #18545]
17950         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
17951         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
17952         hidden_weak.
17953         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
17954         define as alias of __mq_timedsend.  Use hidden_weak.
17955         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
17956         __mq_timedsend as strong name.
17957         (mq_timedreceive): Use __mq_timedreceive as strong name.
17958         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
17959         (__mq_timedreceive): Likewise.
17960         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
17961         __mq_timedreceive instead of mq_timedreceive.
17962         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
17963         instead of mq_timedsend.
17964         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
17965         Remove variable.
17967         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
17968         hidden_def and hidden_weak instead of libc_hidden_def and
17969         libc_hidden_weak.
17970         (top level): Refer to hidden_def in comment.
17971         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
17972         macro.  Use it instead of libc_hidden_def.
17973         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
17974         specify __GI_* name explicitly.
17975         (mq_timedreceive): Likewise.
17976         (mq_setattr): Likewise.
17978         [BZ #18544]
17979         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
17980         __pthread_barrier_init and define as weak alias of
17981         __pthread_barrier_init.
17982         * sysdeps/sparc/nptl/pthread_barrier_init.c
17983         (pthread_barrier_init): Likewise.
17984         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
17985         __pthread_barrier_wait and define as weak alias of
17986         __pthread_barrier_wait.
17987         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17988         (pthread_barrier_wait): Likewise.
17989         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17990         (pthread_barrier_wait): Likewise.
17991         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
17992         (pthread_barrier_wait): Likewise.
17993         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
17994         (pthread_barrier_wait): Likewise.
17995         * nptl/Versions (libpthread): Export __pthread_barrier_init and
17996         __pthread_barrier_wait at version GLIBC_PRIVATE.
17997         * include/pthread.h (__pthread_barrier_init): Declare.
17998         (__pthread_barrier_wait): Likewise.
17999         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18000         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18001         (helper_thread): Likewise.
18002         (init_mq_netlink): Call __pthread_barrier_init instead of
18003         pthread_barrier_init.
18005         [BZ #18542]
18006         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18007         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18008         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18009         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18010         vswscanf.
18011         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18012         Remove variable.
18014         [BZ #18540]
18015         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18016         strong alias of _IO_fflush.  Use libc_hidden_def.
18017         * libio/iofflush_u.c (fflush_unlocked): Rename to
18018         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18019         Use libc_hidden_weak.
18020         * include/stdio.h (__fflush_unlocked): Declare.  Use
18021         libc_hidden_proto.
18022         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18023         fflush_unlocked.
18024         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18025         Remove variable.
18027         [BZ #18539]
18028         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18029         define as weak alias of __addseverity.
18030         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18031         Remove variable.
18032         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18033         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18034         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18036         [BZ #18536]
18037         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18038         (__tfind): Likewise.
18039         (__tdelete): Likewise.
18040         (__twalk): Likewise.
18041         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18042         __twalk to GLIBC_PRIVATE.
18043         * include/search.h (__tsearch): Use libc_hidden_proto.
18044         (__tfind): Likewise.
18045         (__tdelete): Likewise.
18046         (__twalk): Likewise.
18047         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18048         Call __tdelete instead of tdelete.
18049         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18050         tfind.  Call __tsearch instead of tsearch.
18051         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18052         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18053         Remove variable.
18054         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18056         [BZ #18534]
18057         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18058         (dprintf): Define as a weak alias of __dprintf, not a strong
18059         alias.
18060         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18061         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18062         dprintf.
18063         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18064         Remove variable.
18065         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18066         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18068         [BZ #18533]
18069         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18070         not a strong alias.
18071         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18072         Remove variable.
18074         [BZ #18532]
18075         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18076         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18077         (in6addr_loopback): Rename to __in6addr_loopback and define as
18078         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18079         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18080         libc_hidden_proto.
18081         (__in6addr_any): Likewise.
18082         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18083         in6addr_any.
18084         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18085         variable.
18086         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18088 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18090         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18091         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18092         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18093         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18094         redirections for pow.
18095         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18096         * sysdeps/x86_64/fpu/Versions: New versions added.
18097         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18098         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18099         build of SSE, AVX2 and AVX512 IFUNC versions.
18100         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18102         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18103         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18104         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18105         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18106         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18107         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18108         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18109         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18110         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18111         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18112         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18113         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18114         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18115         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18116         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18117         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18118         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18119         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18120         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18121         * NEWS: Mention addition of x86_64 vector pow.
18123         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18124         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18125         redirections for expf.
18126         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18127         * sysdeps/x86_64/fpu/Versions: New versions added.
18128         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18129         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18130         build of SSE, AVX2 and AVX512 IFUNC versions.
18131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18135         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18137         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18138         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18139         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18140         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18141         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18142         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18143         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18144         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18145         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18146         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18147         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18148         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18149         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18150         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18151         * NEWS: Mention addition of x86_64 vector expf.
18153         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18154         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18155         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18156         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18157         redirections for exp.
18158         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18159         * sysdeps/x86_64/fpu/Versions: New versions added.
18160         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18161         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18162         build of SSE, AVX2 and AVX512 IFUNC versions.
18163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
18164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
18165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
18166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
18167         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
18168         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
18169         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
18170         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
18171         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
18172         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
18173         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
18174         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
18175         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
18176         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18177         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18178         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18179         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18180         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18181         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18182         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18183         * NEWS: Mention addition of x86_64 vector exp.
18185         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18186         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18187         redirections for logf.
18188         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18189         * sysdeps/x86_64/fpu/Versions: New versions added.
18190         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18191         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18192         build of SSE, AVX2 and AVX512 IFUNC versions.
18193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
18194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
18195         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
18196         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
18197         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
18198         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
18199         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
18200         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
18201         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
18202         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
18203         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
18204         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
18205         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
18206         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18207         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18208         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18209         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18210         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18211         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18212         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18213         * NEWS: Mention addition of x86_64 vector logf.
18215         * bits/libm-simd-decl-stubs.h: Added stubs for log.
18216         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
18217         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18218         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18219         redirections for log.
18220         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18221         * sysdeps/x86_64/fpu/Versions: New versions added.
18222         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18223         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18224         build of SSE, AVX2 and AVX512 IFUNC versions.
18225         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
18226         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
18227         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
18228         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
18229         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
18230         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
18231         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
18232         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
18233         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
18234         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
18235         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
18236         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
18237         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
18238         test.
18239         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18240         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18241         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18242         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18243         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18244         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18245         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18246         * NEWS: Mention addition of x86_64 vector log.
18248 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18250         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
18251         cfi_adjust_cfa_offset argument.
18252         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
18253         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
18255         [BZ #18034]
18256         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
18257         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
18258         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
18259         ordering using ldar.
18260         (_dl_tlsdesc_dynamic): Likewise.
18261         (_dl_tlsdesc_return_lazy): Likewise.
18262         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
18263         relaxed atomics instead of volatile and synchronize with release store.
18264         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
18265         volatile.
18266         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18268 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
18270         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18271         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
18272         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18273         * sysdeps/x86_64/fpu/Versions: New versions added.
18274         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18275         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18276         build of SSE, AVX2 and AVX512 IFUNC versions.
18277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
18278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
18279         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
18280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
18281         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
18282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
18283         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
18284         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
18285         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
18286         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
18287         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
18288         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
18289         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
18290         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18291         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18292         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18293         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18294         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18295         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18296         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18297         * NEWS: Mention addition of x86_64 vector sinf.
18299 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
18301         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
18302         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
18303         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
18304         Remove variable.
18305         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
18306         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
18308 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18310         [BZ #18530]
18311         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
18312         strong alias of _IO_fputs.  Use libc_hidden_def.
18313         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
18314         and define as weak alias of __fputs_unlocked.  Use
18315         libc_hidden_weak.
18316         * include/stdio.h (__fputs_unlocked): Declare.  Use
18317         libc_hidden_proto.
18318         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
18319         fputs_unlocked.
18321         [BZ #18529]
18322         * resolv/netdb.h [__USE_POSIX]: Change condition to
18323         [__USE_XOPEN2K].
18324         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
18325         not expect.
18326         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
18327         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
18328         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
18329         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
18330         [XPG4 || UNIX98] (AI_ALL): Likewise.
18331         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
18332         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
18333         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
18334         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
18335         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
18336         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
18337         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
18338         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
18339         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
18340         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
18341         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
18342         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
18343         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
18344         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
18345         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
18346         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18347         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
18348         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
18349         [XPG4 || UNIX98] (gai_strerror): Likewise.
18350         [XPG4 || UNIX98] (getaddrinfo): Likewise.
18351         [XPG4 || UNIX98] (getnameinfo): Likewise.
18353         [BZ #18528]
18354         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
18355         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
18356         __USE_XOPEN2K8].
18357         (getgrent): Likewise.
18358         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
18359         expect.
18360         [XPG3 || POSIX2008] (endgrent): Likewise.
18361         [XPG3] (setgrent): Likewise.
18362         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
18363         variable.
18364         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
18366         [BZ #18527]
18367         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
18368         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
18369         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
18370         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
18371         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
18372         * include/unistd.h (__getlogin_r): Declare.  Use
18373         libc_hidden_proto.
18374         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
18375         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
18376         variable.
18377         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
18378         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
18379         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
18381 2015-06-12  Martin Sebor  <msebor@redhat.com>
18383         [BZ #18512]
18384         * Makerules (check-install-supported): New target.
18385         (install): Add check-install-supported as a dependency.
18386         * manual/install.texi (Installing the C Library): Document
18387         that overriding prefix and exec_prefix is not supported.
18388         Mention DESTDIR.
18389         * INSTALL: Regenerate from the above.
18391 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
18393         [BZ #18519]
18394         * posix/Versions (libc): Export __libc_pread at version
18395         GLIBC_PRIVATE.
18396         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
18397         instead of pread.
18398         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
18399         variable.
18401         [BZ #18522]
18402         * misc/efgcvt_r.c
18403         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
18404         (cvt_symbol): Use weak_alias instead of strong_alias.
18405         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
18406         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
18407         Remove variable.
18408         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
18409         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
18411         [BZ #18520]
18412         * inet/herrno.c (h_errno): Rename to __h_errno.
18413         (__libc_h_errno): Define as alias of __h_errno not h_errno.
18414         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
18415         to __h_errno instead of h_errno.
18416         * nptl/herrno.c (h_errno): Rename to __h_errno.
18417         (__h_errno_location): Refer to __h_errno not h_errno.
18418         * resolv/Versions (h_errno): Rename to __h_errno.
18419         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
18420         Remove variable.
18421         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
18423 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
18425         * configure.ac: More strict check for AVX512 assembler support.
18426         * configure: Regenerated.
18428         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
18429         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
18430         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18431         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
18432         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18433         * sysdeps/x86_64/fpu/Versions: New versions added.
18434         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18435         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18436         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
18438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
18439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
18440         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
18441         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
18442         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
18443         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
18444         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
18445         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
18446         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
18447         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
18448         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
18449         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
18450         test.
18451         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18452         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18453         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18454         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18455         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18456         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18457         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18458         * NEWS: Mention addition of x86_64 vector sin.
18460 2015-06-11  Florian Weimer  <fweimer@redhat.com>
18462         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
18463         comment.
18465 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18467         [BZ #18479]
18468         * nptl/pt-interp.c: New file.
18469         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
18470         Add pt-interp.
18471         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
18472         $(common-objpfx)runtime-linker.h.
18474 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
18476         * Makeconfig (+interp): Remove unused variable.
18477         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
18478         only.  Depend on $(common-objpfx)runtime-linker.h instead of
18479         $(elf-objpfx)runtime-linker.h.
18480         ($(elf-objpfx)runtime-linker.h): Rename to
18481         $(common-objpfx)runtime-linker.h and move ...
18482         * Makerules [$(build-shared) = yes]: ... here.
18483         * elf/interp.c: Include <runtime-linker.h> instead of
18484         <elf/runtime-linker.h>.
18486 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18488         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
18489         (__gettimeofday_syscall): Remove vsyscall fallback.
18490         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
18491         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
18492         Add syscall fallback function.
18493         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
18494         if vDSO is not present.
18495         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
18496         fallback function.
18497         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
18498         present.
18499         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
18500         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
18502 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
18504         [BZ #18497]
18505         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
18506         of wcscmp.
18507         (wcscmp): Define as weak alias of WCSCMP.
18508         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
18509         wcscoll.
18510         (USE_HIDDEN_DEF): Define.
18511         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
18512         __wcscoll.  Don't use libc_hidden_weak.
18513         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
18514         wcscmp.
18515         * sysdeps/i386/i686/multiarch/wcscmp-c.c
18516         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
18517         __GI_wcscmp.
18518         (weak_alias): Undefine and redefine.
18519         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
18520         __wcscmp and define as weak alias of __wcscmp.
18521         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
18522         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
18523         (__wcscoll): Likewise.
18524         (wcscmp): Don't use libc_hidden_proto.
18525         (wcscoll): Likewise.
18526         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
18527         wcscoll.
18528         * posix/regexec.c (check_node_accept_bytes): Likewise.
18529         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
18530         variable.
18531         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
18532         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
18534         [BZ #18507]
18535         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
18536         __fstatvfs and define as weak alias of __fstatvfs.  Use
18537         libc_hidden_weak.
18538         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
18539         and define as weak alias of __statvfs.  Use libc_hidden_weak.
18540         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
18541         Define as alias of __fstatvfs, not fstatvfs.
18542         (fstatvfs64): Likewise.
18543         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
18544         Define as alias of __statvfs, not statvfs.
18545         (statvfs64): Likewise.
18546         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
18547         Remove variable.
18549 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18552         (HAVE_GETCPU_VSYSCALL): Define.
18553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18554         (HAVE_GETCPU_VSYSCALL): Likewise.
18555         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
18556         * sysdeps/unix/sysv/linux/sched_getcpu.c
18557         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
18558         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
18559         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
18560         prototype.
18561         * sysdeps/unix/sysv/linux/x86_64/init-first.c
18562         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
18563         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
18564         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
18565         Define.
18566         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
18567         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
18568         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
18569         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18571 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
18573         * sysdeps/x86_64/fpu/Makefile: New file.
18574         * sysdeps/x86_64/fpu/Versions: New file.
18575         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
18576         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
18577         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
18578         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
18579         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
18580         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
18581         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
18582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
18583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
18584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
18585         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
18586         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
18587         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
18588         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18589         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18590         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
18591         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
18592         * sysdeps/x86_64/configure.ac: Options for libmvec build.
18593         * sysdeps/x86_64/configure: Regenerated.
18594         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
18595         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
18596         * manual/install.texi (Configuring and compiling): Document
18597         --disable-mathvec.
18598         * INSTALL: Regenerated.
18599         * NEWS: Mention addition of libmvec and x86_64 vector cos.
18601         * math/Makefile: Added rules for vector tests.
18602         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
18603         declaration under condition.
18604         * math/test-double-vlen2.h: New file.
18605         * math/test-double-vlen4.h: New file.
18606         * math/test-double-vlen8.h: New file.
18607         * math/test-vec-loop.h: Added initialization macro.
18608         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
18609         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
18610         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
18611         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
18612         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
18613         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
18614         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
18615         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
18616         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
18617         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
18618         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
18620         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18621         * sysdeps/x86_64/fpu/Versions: New versions added.
18622         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
18623         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
18624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
18625         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
18626         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
18627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
18628         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
18629         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
18630         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
18631         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
18632         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
18633         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
18634         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
18635         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18636         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18637         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18638         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
18639         * NEWS: Mention addition of x86_64 vector cosf.
18641         * math/Makefile: Added CFLAGS for new tests.
18642         * math/test-float-vlen16.h: New file.
18643         * math/test-float-vlen4.h: New file.
18644         * math/test-float-vlen8.h: New file.
18645         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
18646         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
18647         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18648         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
18649         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
18650         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
18651         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
18652         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
18653         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
18654         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
18655         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
18657 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
18659         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
18660         * locale/programs/ld-ctype.c: Likewise.
18662 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
18664         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
18665         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
18666         bit_ZMM16_31_state): New macro.
18667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18668         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
18670 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
18672         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
18674 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
18676         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
18678 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
18680         [BZ #18498]
18681         * libio/memstream.c (open_memstream): Rename to __open_memstream
18682         and define as weak alias of __open_memstream.
18683         * include/stdio.h (__open_memstream): Declare.  Use
18684         libc_hidden_proto.
18685         (open_memstream): Don't use libc_hidden_proto.
18686         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
18687         open_memstream.
18688         * posix/getopt.c (_getopt_internal_r): Likewise.
18689         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
18690         variable.
18691         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
18692         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
18693         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
18695         [BZ #18496]
18696         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
18697         instead of wcrtomb.
18699         [BZ #18483]
18700         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
18701         [__USE_XOPEN2K8].  Remove redundant #endif.
18702         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
18703         Remove redundant #if.
18704         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
18705         Remove variable.
18706         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
18707         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
18709         [BZ #18495]
18710         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
18711         (__iswlower): Likewise.
18712         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
18713         (__iswlower): Likewise.
18714         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
18715         instead of towlower.
18716         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
18717         instead of iswlower.  Call __towupper instead of towupper.
18718         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
18719         instead of iswalnum.
18721 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18723         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
18724         errors to stderr.
18726 2015-06-05  Florian Weimer  <fweimer@redhat.com>
18728         [BZ #15661]
18729         [BZ #17322]
18730         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18731         Check for overflow properly.  Check for O_APPEND.  Ignore large
18732         file system block sizes.  Add comments about problems.
18733         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
18734         * manual/filesys.texi (Storage Allocation): New node.
18736 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18738         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
18739         cancellable syscalls.
18740         (SYS_ify): Add guard to no redefine it.
18741         (INLINE_SYSCALL): Likewise.
18742         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
18743         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
18744         SYSCALL_CANCEL instead.
18745         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
18746         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
18747         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
18748         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
18749         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
18750         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
18751         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
18752         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
18753         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
18754         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
18755         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
18756         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
18757         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
18758         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
18759         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
18760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
18761         Likewise.
18762         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
18763         (__libc_pread64): Likewise.
18764         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
18765         (__libc_preadv): Likewise.
18766         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
18767         (__libc_readv64): Likewise.
18768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
18769         (__libc_pwrite): Likewise.
18770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
18771         (__libc_pwrite64): Likewise.
18772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
18773         (__libc_pwritev): Likewise.
18774         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
18775         (__libc_pwritev64): Likewise.
18776         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
18777         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
18778         (sync_file_range): Likewise.
18779         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
18780         Likewise.
18781         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
18782         Likewise.
18783         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
18784         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
18785         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
18786         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
18787         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
18788         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
18789         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
18790         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
18791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
18792         Likewise.
18793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18794         (__libc_read64): Likewise.
18795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
18796         Likewise.
18797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
18798         Likewise.
18799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
18800         Likewise.
18801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
18802         Likewise.
18803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18804         (__libc_pread64): Likewise.
18805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
18806         Likewise.
18807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18808         (__libc_pwrite64): Likewise.
18809         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
18810         (sync_file_range): Likewise.
18811         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
18812         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
18813         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
18814         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
18815         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
18816         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
18817         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
18818         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
18819         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
18820         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18821         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
18822         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
18823         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
18824         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
18825         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
18826         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
18827         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
18828         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
18829         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
18830         Likewise.
18831         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
18832         Likewise.
18833         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
18834         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
18835         Likewise.
18836         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
18837         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
18838         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
18839         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
18840         Likewise.
18841         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
18842         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
18843         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
18844         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
18845         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
18847 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
18849         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
18850         Include dl-vdso.
18851         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
18852         Use VDSO routines for gettimeofday, clock_gettime if
18853         available.
18854         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
18855         Declare VDSO symbols.
18856         * sysdeps/unix/sysv/linux/arm/sysdep.h:
18857         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
18858         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
18859         * sysdeps/unix/sysv/linux/arm/Versions: Add
18860         __vdso_clock_gettime.
18862 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18864         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
18865         be an inline implementation regardless of library is built within.
18866         (open_not_cancel_2): Likewise.
18867         (__read_nocancel): Likewise.
18868         (__write_nocancel): Likewise.
18869         (openat_not_cancel): Likewise.
18870         (openat_not_cancel_3): Likewise.
18871         (openat64_not_cancel): Likewise.
18872         (openat64_not_cancel_3): Likewise.
18873         (__close_nocancel): Likewise.
18874         (pause_not_cancel): Likewise.
18875         (nanosleep_not_cancel): Likewise.
18876         (sigsuspend_not_cancel): Likewise.
18878 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18880         [BZ #14958]
18881         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
18882         wake-up.
18883         (__pthread_rwlock_rdlock_slow): Likewise.
18884         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
18885         Likewise.
18886         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
18887         Likewise.
18888         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
18889         * nptl/tst-rwlock16.c: New file.
18890         * nptl/Makefile (tests): Add new test.
18892 2015-06-04  Torvald Riegel  <triegel@redhat.com>
18894         [BZ #18324]
18895         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
18896         missing wake-up of readers.
18897         * nptl/tst-rwlock15.c: New file.
18898         * nptl/Makefile (tests): Add new test.
18900 2015-06-03  Roland McGrath  <roland@hack.frob.com>
18902         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
18903         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
18904         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
18905         and __nacl_supply_interface_rtld.
18906         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
18907         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
18908         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
18909         Add __nacl_supply_interface_rtld.
18910         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
18912 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18914         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
18915         isfinite.
18916         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18917         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
18919 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
18921         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
18922         __signbit* with standard C99 macros.
18923         * math/e_exp10l.c: Likewise.
18924         * math/e_exp2l.c: Likewise.
18925         * math/e_scalb.c: Likewise.
18926         * math/e_scalbf.c: Likewise.
18927         * math/e_scalbl.c: Likewise.
18928         * math/s_ldexp.c: Likewise.
18929         * math/s_ldexpf.c: Likewise.
18930         * math/s_ldexpl.c: Likewise.
18931         * math/w_atan2.c: Likewise.
18932         * math/w_atan2f.c: Likewise.
18933         * math/w_atan2l.c: Likewise.
18934         * math/w_cosh.c: Likewise.
18935         * math/w_coshf.c: Likewise.
18936         * math/w_coshl.c: Likewise.
18937         * math/w_exp10.c: Likewise.
18938         * math/w_exp10f.c: Likewise.
18939         * math/w_exp10l.c: Likewise.
18940         * math/w_exp2.c: Likewise.
18941         * math/w_exp2f.c: Likewise.
18942         * math/w_exp2l.c: Likewise.
18943         * math/w_fmod.c: Likewise.
18944         * math/w_fmodf.c: Likewise.
18945         * math/w_fmodl.c: Likewise.
18946         * math/w_hypot.c: Likewise.
18947         * math/w_hypotf.c: Likewise.
18948         * math/w_hypotl.c: Likewise.
18949         * math/w_jnl.c: Likewise.
18950         * math/w_lgamma.c: Likewise.
18951         * math/w_lgamma_r.c: Likewise.
18952         * math/w_lgammaf.c: Likewise.
18953         * math/w_lgammaf_r.c: Likewise.
18954         * math/w_lgammal.c: Likewise.
18955         * math/w_lgammal_r.c: Likewise.
18956         * math/w_pow.c: Likewise.
18957         * math/w_powf.c: Likewise.
18958         * math/w_powl.c: Likewise.
18959         * math/w_remainder.c: Likewise.
18960         * math/w_remainderf.c: Likewise.
18961         * math/w_remainderl.c: Likewise.
18962         * math/w_scalb.c: Likewise.
18963         * math/w_scalbf.c: Likewise.
18964         * math/w_scalbl.c: Likewise.
18965         * math/w_scalbln.c: Likewise.
18966         * math/w_scalblnf.c: Likewise.
18967         * math/w_scalblnl.c: Likewise.
18968         * math/w_sinh.c: Likewise.
18969         * math/w_sinhf.c: Likewise.
18970         * math/w_sinhl.c: Likewise.
18971         * math/w_tgamma.c: Likewise.
18972         * math/w_tgammaf.c: Likewise.
18973         * math/w_tgammal.c: Likewise.
18974         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18975         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
18976         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18977         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18978         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18979         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18980         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
18981         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
18982         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
18983         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
18984         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
18985         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
18987         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
18988         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
18989         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
18990         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
18991         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
18992         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
18993         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
18994         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
18995         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18996         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
18997         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
18998         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18999         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19000         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19001         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19002         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19003         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19004         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19005         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19006         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19007         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19008         * stdio-common/printf_fp.c: Likewise.
19009         * stdio-common/printf_fphex.c: Likewise.
19010         * stdio-common/printf_size.c: Likewise.
19012 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19014         [BZ #18470]
19015         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19016         strnlen.
19017         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19018         Remove variable.
19019         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19020         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19021         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19022         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19023         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19024         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19025         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19026         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19027         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19028         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19030         [BZ #18468]
19031         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19032         weak alias of __wmemchr.  Use libc_hidden_weak.
19033         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19034         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19035         instead of wmemchr.
19037 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19039         [BZ #18383]
19040         * elf/tst-tlsalign-extern.c: New file.
19041         * elf/tst-tlsalign-extern-static.c: New file.
19042         * elf/tst-tlsalign-vars.c: New file.
19043         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19044         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19045         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19046         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19047         (test-xfail-tst-tlsalign-extern-static): New variable.
19049 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19051         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19052         Use variable name _sc_err instead of err.
19053         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19054         instead of ret.
19055         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19056         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19057         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19058         (INLINE_SYSCALL): Likewise.
19060         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19061         * include/string.h (__strnlen): Use libc_hidden_proto.
19062         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19063         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19064         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19065         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19066         (libc_hidden_def): Undefine and redefine.
19067         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19068         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19069         __GI_strnlen.
19070         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19071         libc_hidden_def.
19072         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19074         [BZ #18469]
19075         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19076         weak alias of __towlower.  Use libc_hidden_weak.
19077         (towupper): Rename to __towupper and define as weak alias of
19078         __towupper.  Use libc_hidden_weak.
19079         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19080         (__towupper): Likewise.
19081         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19082         __towlower instead of towlower.
19084 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19086         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19087         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19089 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19091         * sysdeps/aarch64/libm-test-ulps: Update.
19093 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19095         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19096         Define.
19097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19099         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19100         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19101         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19102         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19103         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19105 2015-06-01  Martin Sebor  <msebor@redhat.com>
19107         [BZ #18116]
19108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19109         (__setcontext): Use extended four-operand version of mtsf whenever
19110         possible.
19111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19112         (__novec_swapcontext): Likewise.
19114 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19116         * benchtests/scripts/compare_bench.py: New file.
19117         * benchtests/scripts/import_bench.py (mean): New function.
19118         (split_list): Likewise.
19119         (do_for_all_timings): Likewise.
19120         (compress_timings): Likewise.
19122         * benchtests/scripts/import_bench.py: New file.
19123         * benchtests/scripts/validate_benchout.py: Import import_bench
19124         instead of jsonschema.
19125         (validate_bench): Remove function.
19126         (main): Use import_bench.
19128 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19130         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19131         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19133 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19135         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19137 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19139         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19140         set THREAD_SELF->tid to a magic value and futex-wake it.
19141         Pass its address to the thread_exit system call.
19142         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19143         bit is clear.
19144         * sysdeps/nacl/lowlevellock.h: New file.
19145         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19147         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19148         Add TIMEOUT to current time, don't subtract it.
19150 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19152         [BZ #2981]
19153         [BZ #18422]
19154         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19155         ($(objpfx)tst-audit2.out): Also depend on
19156         $(objpfx)tst-auditmod9b.so.
19157         * elf/tst-audit2.c: Include <dlfcn.h>.
19158         (calloc_called): New.
19159         (calloc): Allow to be called more than once.
19160         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19162 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
19164         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
19165         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
19167 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
19169         * stdlib/monetary.h: Fix comment.
19171 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
19173         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
19174         Avoid using variables in #defines that might cause shadowing.
19175         (INTERNAL_VSYSCALL_CALL): Likewise.
19177 2015-05-26  Roland McGrath  <roland@hack.frob.com>
19179         * sysdeps/nacl/lll_timedlock_wait.c: New file.
19181         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
19182         * nptl/lll_timedlock_wait.c: ... to this new file.
19183         * nptl/Makefile (libpthread-routines): Add it.
19184         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
19185         * nptl/lll_timedwait_tid.c: ... to this new file.
19186         * nptl/Makefile (libpthread-routines): Add it.
19187         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
19188         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
19189         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
19190         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
19191         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
19192         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
19193         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
19194         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
19195         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
19196         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
19198 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19200         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
19201         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19202         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
19203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
19204         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
19206         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
19208         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19209         * sysdeps/unix/sysv/linux/tile/sysdep.h
19210         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19211         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
19212         using vDSO syscall macro.
19214 2015-05-26  Andriy Rysin  <arysin@gmail.com>
19216         [BZ #17293]
19217         * uk_UA: Fix sorting order for Ukrainian locale
19219 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
19221         * stdlib/monetary.h: Fix comment.
19223 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19225         [BZ #18234]
19226         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
19227         st_mtim and st_ctim members.
19228         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
19229         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
19230         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
19231         (struct stat64): Likewise.
19232         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
19233         (struct stat64): Likewise.
19234         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
19235         (struct stat64): Likewise.
19237 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19239         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
19240         Define and include sysdep-vdso.h.
19241         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
19242         Likewise.
19243         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
19244         Likewise.
19245         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
19246         Define with VDSO_SYMBOL and use PTR_MANGLE.
19247         (__vdso_clock_gettime): Likewise.
19248         (__vdso_clock_getres): Likewise.
19249         (_libc_vdso_platform_setup): Likewise.
19250         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
19251         Likewise.
19252         (_libc_vdso_platform_setup): Likewise.
19253         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
19254         Likewise.
19255         (__vdso_clock_gettime): Likewise.
19256         (__vdso_clock_getres): Likewise.
19257         (__vdso_get_tbfreq): Likewise.
19258         (__vdso_getcpu): Likewise.
19259         (__vdso_time): Likewise.
19260         (__vdso_sigtramp_rt64): Likewise.
19261         (__vdso_signtramp32): Likewise.
19262         (__vdso_sigtramp_rt32): Likewise.
19263         (_libc_vdso_platform_setup): Likewise.
19264         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
19265         Likewise.
19266         (__vdso_clock_gettime): Likewise.
19267         (__vdso_clock_getres): Likewise.
19268         (_libc_vdso_platform_setup): Likewise.
19269         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
19270         Likewise.
19271         (__vdso_clock_gettime): Likewise.
19272         (_libc_vdso_platform_setup): Likewise.
19273         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
19274         Likewise.
19275         (__vdso_getcpu): Likewise.
19276         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
19277         Use VDSO_SYMBOL macro to define.
19278         (__vdso_clock_gettime): Likewise.
19279         (__vdso_clock_getres): Likewise.
19280         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
19281         Likewise.
19282         (__vdso_clock_gettime): Likewise.
19283         (__vdso_clock_getres): Likewise.
19284         (__vdso_get_tbfreq): Likewise.
19285         (__vdso_getcpu): Likewise.
19286         (__vdso_time): Likewise.
19287         (__vdso_sigtramp_rt64): Likewise.
19288         (__vdso_signtramp32): Likewise.
19289         (__vdso_sigtramp_rt32): Likewise.
19290         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
19291         Likewise.
19292         (__vdso_clock_gettime): Likewise.
19293         (__vdso_clock_getres): Likewise.
19294         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
19295         Likewise.
19296         (__vdso_clock_gettime): Likewise.
19297         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
19298         Likewise.
19299         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
19300         macro.
19301         (INTERNAL_VSYSCALL): Likewise.
19302         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
19303         Remove macro.
19304         (INTERNAL_VSYSCALL): Likewise.
19305         (INTERNAL_VSYSCALL_NCS): Likewise.
19306         (INTERNAL_VSYSCALL_CALL): New macro.
19307         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19308         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
19309         Likewise.
19310         (INTERNAL_VSYSCALL): Likewise.
19311         (INTERNAL_VSYSCALL_NCS): Likewise.
19312         (INTERNAL_VSYSCALL_CALL): New macro.
19313         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
19314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19315         (INLINE_VSYSCALL): Remove macro.
19316         (INTERNAL_VSYSCALL): Remove macro.
19317         (INTERNAL_VSYSCALL_NCS): Remove macro.
19318         (INTERNAL_VSYSCALL_CALL): New macro.
19319         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
19320         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
19321         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19322         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
19323         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19325         (INLINE_VSYSCALL): Remove macro.
19326         (INTERNAL_VSYSCALL): Likewise.
19327         (INTERNAL_VSYSCALL_NCS): Likewise.
19328         (INTERNAL_VSYSCALL_CALL): New macro.
19329         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
19330         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
19331         PTR_DEMANGLE on vDSO pointer.
19332         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
19333         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
19334         macro.
19335         (INTERNAL_SYSCALL): Likewise.
19336         (INTERNAL_VSYSCALL_NCS): Remove macro.
19337         (INTERNAL_VSYSCALL_CALL): New macro.
19338         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
19339         Remove macro.
19340         (INTERNAL_VSYSCALL): Likewise.
19341         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
19342         sysdep-vdso.h instead of libc-vdso.h.
19343         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
19344         definition.
19345         (INLINE_VSYSCALL): Likewise.
19346         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
19347         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
19348         definition.
19349         (INLINE_VSYSCALL): Likewise.
19350         (INTERNAL_VSYSCALL): Likewise.
19351         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19352         * sysdeps/unix/sysv/linux/timespec_get.c
19353         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19354         (timespec_get): Use ANSI prototype.
19355         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
19356         and definition for Linux.
19358 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
19360         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
19361         * include/libc-symbols.h: libmvec_hidden_* macro series added.
19363 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #2981]
19366         [BZ #18410]
19367         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
19368         for missing DT_PLTRELSZ.
19370 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
19372         Remove obsolete aliases that broke 'locale -a'
19373         [BZ #18412]
19374         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
19375         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
19376         breaking some applications that use 'locale -a' output.
19377         Change the encoding of this file from Latin-1 to ASCII to avoid
19378         other potential problems with people grepping this file.
19380 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19382         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
19383         -fasynchronous-unwind-tables.
19384         (CFLAGS-sendto.c): Likewise.
19385         (CFLAGS-sendmsg.c): Likewise.
19386         (CFLAGS-connect.c): Likewise.
19387         (CFLAGS-recvmsg.c): Likewise.
19388         (CFLAGS-recvfrom.c): Likewise.
19389         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
19390         (SOCKETCALL): New macro: non-cancellable socketcall.
19391         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
19392         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
19393         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
19394         * sysdeps/unix/sysv/linux/accept.c: New file.
19395         * sysdeps/unix/sysv/linux/bind.c: Likewise.
19396         * sysdeps/unix/sysv/linux/connect.c: Likewise.
19397         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
19398         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
19399         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
19400         * sysdeps/unix/sysv/linux/listen.c: Likewise.
19401         * sysdeps/unix/sysv/linux/recv.c: Likewise.
19402         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
19403         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19404         * sysdeps/unix/sysv/linux/send.c: Likewise.
19405         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19406         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
19407         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
19408         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
19409         * sysdeps/unix/sysv/linux/socket.c: Likewise.
19410         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
19411         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
19412         prototype.
19413         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
19414         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19415         instead of __internal_xxx function.
19416         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
19417         prototype.
19418         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
19419         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19420         instead of __internal_xxx function.
19421         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
19422         prototype.
19423         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
19424         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
19425         instead of __internal_xxx function.
19426         * sysdeps/unix/sysv/linux/accept.S: Remove file.
19427         * sysdeps/unix/sysv/linux/bind.S: Likewise.
19428         * sysdeps/unix/sysv/linux/connect.S: Likewise.
19429         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
19430         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
19431         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
19432         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
19433         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
19434         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
19435         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
19436         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
19437         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19438         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
19439         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
19440         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
19441         * sysdeps/unix/sysv/linux/listen.S: Likewise.
19442         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
19443         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
19444         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
19445         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
19446         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
19447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
19448         * sysdeps/unix/sysv/linux/recv.S: Likewise.
19449         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
19450         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
19451         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
19452         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
19453         * sysdeps/unix/sysv/linux/send.S: Likewise.
19454         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
19455         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
19456         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
19457         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
19458         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
19459         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
19460         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
19461         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
19462         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
19463         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
19464         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
19465         socketcall is implemented in GLIBC.
19467 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19469         * soft-fp/fmadf4.c: Include <libc-internal.h>.
19470         (__fma): Ignore uninitialized warnings around packing.
19471         * soft-fp/fmasf4.c: Include <libc-internal.h>.
19472         (__fmaf): Ignore uninitialized warnings around packing.
19473         * soft-fp/fmatf4.c: Include <libc-internal.h>.
19474         (__fmal): Ignore uninitialized warnings around packing.
19476         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
19477         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19478         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
19479         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
19481         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
19482         switch statement into default case.
19483         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
19485         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
19486         a conditional in forcing "inexact".
19487         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19488         Likewise.
19490 2015-05-22  Roland McGrath  <roland@hack.frob.com>
19492         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
19493         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
19494         for each INTERNAL_SYSCALL use.
19496 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
19498         [BZ #438]
19499         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
19500         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
19501         variable.
19503         [BZ #18444]
19504         * string/basename.c (basename): Rename to __basename and define as
19505         weak alias of __basename.  Use libc_hidden_weak.
19506         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
19507         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
19508         __basename instead of basename.
19509         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
19510         Remove variable.
19511         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
19513 2015-05-18  Florian Weimer  <fweimer@redhat.com>
19515         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
19516         (_IO_JUMPS_FILE_plus): New.
19517         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
19518         _IO_CAST_FIELD_ACCESS.
19519         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
19520         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
19521         * libio/freopen.c (freopen): Likewise.
19522         * libio/freopen64.c (freopen64): Likewise.
19523         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
19524         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
19525         * libio/iofwide.c (_IO_fwide): Likewise.
19526         * libio/memstream.c (open_memstream): Likewise.
19527         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
19528         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19529         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19531 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
19533         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
19534         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
19535         NADJ.
19536         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
19537         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
19538         NADJ.
19539         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
19540         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
19541         NADJ.
19543         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
19544         (p == 4) case.
19546         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
19547         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
19548         Remove variable.
19549         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
19550         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
19551         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
19553 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19555         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
19556         Adjust jump table label generation macros.
19558 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19560         * stdio-common/vfprintf.c (vfprintf): Move local variables
19561         args_malloced, specs, specs_malloced, and the code after
19562         do_positional to the printf_positional function.
19563         (printf_positional): New function.
19565 2015-05-21  Florian Weimer  <fweimer@redhat.com>
19567         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
19568         function.
19569         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
19570         STEP4_TABLE, process_arg): Move macro definitions
19571         out of the vfprintf function.  (Cosmetic change only.)
19573 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
19575         * benchtests/Makefile (stdio-common-bench): Define.
19576         (benchset): Add stdio-common-bench.
19577         * sprintf-inputs: New file.
19578         * sprintf-source.c: New file.
19580 2015-05-21  Andreas Schwab  <schwab@suse.de>
19582         [BZ #13028]
19583         [BZ #17053]
19584         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
19585         of struct __res_state.
19586         * resolv/res_send.c (__libc_res_nsend): Likewise.
19587         (get_nsaddr): New function.
19588         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
19589         statp directly.
19591 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
19593         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
19594         -D_POSIX_C_SOURCE=199506L.
19596         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
19598         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
19599         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
19600         Do not mention otherwise.
19601         [POSIX] (_XOPEN_VERSION): Do not expect.
19602         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
19603         [POSIX] (_POSIX2_C_BIND): Likewise.
19604         [POSIX] (_POSIX2_VERSION): Likewise.
19605         [POSIX] (_XOPEN_XPG2): Likewise.
19606         [POSIX] (_XOPEN_XPG3): Likewise.
19607         [POSIX] (_XOPEN_XPG4): Likewise.
19608         [POSIX] (_XOPEN_UNIX): Likewise.
19609         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
19610         [POSIX] (_POSIX_BARRIERS): Likewise.
19611         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
19612         [POSIX] (_POSIX_CPUTIME): Likewise.
19613         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
19614         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
19615         [POSIX] (_POSIX_SHELL): Likewise.
19616         [POSIX] (_POSIX_SPAWN): Likewise.
19617         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
19618         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
19619         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
19620         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
19621         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
19622         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
19623         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
19624         [POSIX] (_XBS5_LP64_OFF64): Likewise.
19625         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
19626         [POSIX] (_POSIX_TIMEOUTS): Likewise.
19627         [POSIX] (_POSIX2_PBS): Likewise.
19628         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
19629         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
19630         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
19631         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
19632         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
19633         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
19634         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
19635         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
19636         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
19637         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
19638         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
19639         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
19640         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
19641         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
19642         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
19643         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
19644         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
19645         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
19646         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
19647         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
19648         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
19649         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
19650         [POSIX] (_SC_2_C_BIND): Likewise.
19651         [POSIX] (_SC_2_C_VERSION): Likewise.
19652         [POSIX] (_SC_2_PBS): Likewise.
19653         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
19654         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
19655         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
19656         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
19657         [POSIX] (_SC_2_PBS_TRACK): Likewise.
19658         [POSIX] (_SC_ATEXIT_MAX): Likewise.
19659         [POSIX] (_SC_BARRIERS): Likewise.
19660         [POSIX] (_SC_BASE): Likewise.
19661         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
19662         [POSIX] (_SC_DEVICE_IO): Likewise.
19663         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
19664         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
19665         [POSIX] (_SC_FD_MGMT): Likewise.
19666         [POSIX] (_SC_FIFO): Likewise.
19667         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
19668         [POSIX] (_SC_FILE_LOCKING): Likewise.
19669         [POSIX] (_SC_FILE_SYSTEM): Likewise.
19670         [POSIX] (_SC_IOV_MAX): Likewise.
19671         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
19672         [POSIX] (_SC_NETWORKING): Likewise.
19673         [POSIX] (_SC_PAGE_SIZE): Likewise.
19674         [POSIX] (_SC_PASS_MAX): Likewise.
19675         [POSIX] (_SC_PIPE): Likewise.
19676         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
19677         [POSIX] (_SC_REGEXP): Likewise.
19678         [POSIX] (_SC_SHELL): Likewise.
19679         [POSIX] (_SC_SIGNALS): Likewise.
19680         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
19681         [POSIX] (_SC_SPIN_LOCKS): Likewise.
19682         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
19683         [POSIX] (_SC_USER_GROUPS): Likewise.
19684         [POSIX] (_SC_USER_GROUPS_R): Likewise.
19685         [POSIX] (_SC_STREAMS): Likewise.
19686         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
19687         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
19688         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
19689         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
19690         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
19691         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
19692         [POSIX] (_PC_FILESIZEBITS): Likewise.
19693         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
19694         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
19695         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
19696         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
19697         [POSIX] (uid_t): Likewise.
19698         [POSIX] (gid_t): Likewise.
19699         [POSIX] (off_t): Likewise.
19700         [POSIX] (pid_t): Likewise.
19701         [POSIX] (cuserid): Allow.
19702         (_SC_2_CHAR_TERM): Require constant.
19703         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
19704         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
19705         variable.
19707 2015-05-20  Roland McGrath  <roland@hack.frob.com>
19709         * sysdeps/nacl/pthread-pids.h: New file.
19710         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
19711         (create_thread): Use __nacl_get_tid to initialize PD->tid.
19713         * nptl/pthread-pids.h: New file.
19714         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
19715         * nptl/nptl-init.c: Include <pthread-pids.h>.
19716         (__pthread_initialize_minimal_internal):
19717         Call __pthread_initialize_pids instead of set_tid_address syscall.
19719         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
19720         * sysdeps/posix/usleep.c: ... here.
19722 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19724         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
19725         call_pselect6 object.
19726         [$(subdir) = io]: Remove call_sync_file_range object.
19727         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
19728         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
19729         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
19730         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
19732 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
19734         * math/s_cproj.c: Add include "math_private.h".
19735         * math/s_cprojf.c: Likewise.
19736         * math/s_cprojl.c: Likewise.
19738 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
19740         [BZ #18244]
19741         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
19742         high mantissa bit when testing whether P is a NaN.
19743         * math/libm-test.inc (remainder_test_data): Add more tests.
19744         (remquo_test_data): Likewise.
19746         [BZ #18049]
19747         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
19748         below -32, return the argument, with underflow if subnormal.
19749         * math/auto-libm-test-in: Add more tests of atanh.
19750         * math/auto-libm-test-out: Regenerated.
19752 2015-05-19  Roland McGrath  <roland@hack.frob.com>
19754         [BZ #18434]
19755         * nptl/tst-sem15.c: New file.
19756         * nptl/Makefile (tests): Add it.
19757         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
19758         s/<</>>/ to fix typo in EOVERFLOW check.
19759         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
19761 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19763         * manual/strings.texi (envz_remove): Fix typo in safety
19764         annotations.
19766 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
19767             Steve Ellcey  <sellcey@imgtec.com>
19769         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
19770         in order to avoid strict alias warnings.
19771         (iruserok_af): Ditto for ra.
19773 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
19775         [BZ #17581]
19776         * malloc/hooks.c
19777         (magicbyte): Convert to a function and avoid returning 0x01.
19778         (mem2mem_check): Avoid using a length byte equal to the magic byte.
19779         (mem2chunk_check): Fix unsigned comparisons to zero.
19780         Hoist defs of sz and magic.
19782 2015-05-19  Richard Henderson  <rth@redhat.com>
19784         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
19786         * sysdeps/alpha/fpu/libm-test-ulps: Update.
19788 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19790         [BZ #16159]
19791         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
19792         * malloc/arena.c (arena_lock): Check if arena is corrupt.
19793         (reused_arena): Find a non-corrupt arena.
19794         (heap_trim): Pass arena to unlink.
19795         * malloc/hooks.c (malloc_check_get_size): Pass arena to
19796         malloc_printerr.
19797         (top_check): Likewise.
19798         (free_check): Likewise.
19799         (realloc_check): Likewise.
19800         * malloc/malloc.c (malloc_printerr): Add arena argument.
19801         (unlink): Likewise.
19802         (munmap_chunk): Adjust.
19803         (ARENA_CORRUPTION_BIT): New macro.
19804         (arena_is_corrupt): Likewise.
19805         (set_arena_corrupt): Likewise.
19806         (sysmalloc): Use mmap if there are no usable arenas.
19807         (_int_malloc): Likewise.
19808         (__libc_malloc): Don't fail if arena_get returns NULL.
19809         (_mid_memalign): Likewise.
19810         (__libc_calloc): Likewise.
19811         (__libc_realloc): Adjust for additional argument to
19812         malloc_printerr.
19813         (_int_free): Likewise.
19814         (malloc_consolidate): Likewise.
19815         (_int_realloc): Likewise.
19816         (_int_memalign): Don't touch corrupt arenas.
19817         * malloc/tst-malloc-backtrace.c: New test case.
19819         * Makefile (summarize-tests): Fix return value on success.
19821         * manual/string.texi (Envz Functions): Add envz_remove.
19823 2015-05-18  Roland McGrath  <roland@hack.frob.com>
19825         * sysdeps/posix/opendir.c: Include <stdbool.h>.
19826         (invalid_name): New function, broken out of ...
19827         (__opendirat): ... here.  Call it.
19828         (need_isdir_precheck): New function, broken out of ...
19829         (__opendirat): ... here.  Call it.
19830         Use __fxstatat64, not __xstatat64.
19831         (opendir_oflags): New function, broken out of ...
19832         (__opendirat): ... here.  Call it.
19833         (opendir_tail): New function, broken out of ...
19834         (__opendirat): ... here.  Call it.
19835         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
19836         opendir_tail, rather than punting to __opendirat.
19837         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
19839 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19841         * .gitignore: Ignore generated *.pyc.
19843 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
19845         * include/stdio.h: Define __need_wint_t.
19846         * test-skeleton.c: Avoid `for' loop initial declaration.
19847         * nptl/tst-initializers1.c: Use test-skeleton.c.
19849 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19851         [BZ #18418]
19852         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
19854 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19856         [BZ #16352]
19857         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
19858         (__ieee754_atanh): Force underflow exception for results with
19859         small absolute value.
19860         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
19861         (__ieee754_atanhf): Force underflow exception for results with
19862         small absolute value.
19863         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
19864         (__ieee754_atanh): Force underflow exception for results with
19865         small absolute value.
19866         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
19867         (__ieee754_atanhf): Force underflow exception for results with
19868         small absolute value.
19869         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
19870         (__ieee754_atanhl): Force underflow exception for results with
19871         small absolute value.
19872         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
19873         (__ieee754_atanhl): Force underflow exception for results with
19874         small absolute value.
19875         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
19876         (__ieee754_atanhl): Force underflow exception for results with
19877         small absolute value.
19878         * math/auto-libm-test-in: Do not allow missing underflow
19879         exceptions from atanh.
19880         * math/auto-libm-test-out: Regenerated.
19882         [BZ #18221]
19883         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
19884         2**-28 as threshold for returning x or +/- 1/x.
19885         * math/auto-libm-test-in: Add more tests of tan.
19886         * math/auto-libm-test-out: Regenerated.
19888         [BZ #18220]
19889         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
19890         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
19891         * math/auto-libm-test-in: Add another test of lgamma.
19892         * math/auto-libm-test-out: Regenerated.
19894 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
19896         * stdio-common/printf_fp.c (___printf_fp): Use abs.
19897         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
19898         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
19899         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
19900         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
19901         (ADD2A): Use fabs.  (SUB2A): Use fabs.
19902         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
19903         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
19904         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
19905         (log1): Use fabs.  (my_log2): Use fabs.
19906         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
19907         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
19908         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
19909         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
19910         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
19911         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
19912         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
19913         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
19914         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
19915         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
19916         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
19918 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
19920         [BZ #18217]
19921         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
19922         as threshold for returning 1 - x.
19923         * math/auto-libm-test-in: Add more tests of erfc.
19924         * math/auto-libm-test-out: Regenerated.
19926 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
19928         [BZ #18196]
19929         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
19930         threshold for large arguments.
19931         * math/auto-libm-test-in: Add another test of atan.
19932         * math/auto-libm-test-out: Regenerated.
19934         [BZ #16339]
19935         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
19936         (__log1p): Force underflow exception for results with small
19937         absolute value.
19938         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
19939         (__log1pf): Force underflow exception for results with small
19940         absolute value.
19941         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
19942         (__log1p): Force underflow exception for results with small
19943         absolute value.
19944         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
19945         (__log1pf): Force underflow exception for results with small
19946         absolute value.
19947         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
19948         (__log1pl): Force underflow exception for results with small
19949         absolute value.
19950         * math/auto-libm-test-in: Do not allow missing underflow
19951         exceptions from log1p.
19952         * math/auto-libm-test-out: Regenerated.
19954 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
19955             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19957         [BZ #16704]
19958         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
19960 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
19962         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
19963         (libmvec): New variable.
19964         * configure.ac: Added option for mathvec build.
19965         * configure: Regenerated.
19966         * mathvec/Depend: New file.
19967         * mathvec/Makefile: New file.
19968         * shlib-versions: Added libmvec.
19969         * math/Makefile: Added rule for libm.so installation.
19971         * bits/math-vector.h: New file.
19972         * bits/libm-simd-decl-stubs.h: New header.
19973         * math/Makefile (headers): Added new header
19974         libm-simd-decl-stubs.h.
19975         * math/math.h (__MATHCALL_VEC): New macro.
19977         * math/gen-libm-have-vector-test.sh: Script generates series of macros
19978         for conditions in testing functions.
19979         * math/Makefile: Added call of libm-have-vector-test.sh.
19980         * math/libm-test.inc (HAVE_VECTOR): New macros.
19982         * math/libm-test.inc: START refactored.
19983         * math/test-double.c (TEST_MATHVEC): Add define.
19984         * math/test-float.c: Likewise.
19985         * math/test-idouble.c: Likewise.
19986         * math/test-ifloat.c: Likewise.
19987         * math/test-ildoubl.c: Likewise.
19988         * math/test-ldouble.c: Likewise.
19989         * sysdeps/generic/math-tests-arch.h
19990         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
19991         architecture check.
19993         * math/test-double.c (FUNC_TEST): New macro.
19994         * math/test-float.c: Likewise.
19995         * math/test-idouble.c: Likewise.
19996         * math/test-ifloat.c: Likewise.
19997         * math/test-ildoubl.c: Likewise.
19998         * math/test-ldouble.c: Likewise.
19999         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20001 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20003         * sysdeps/nacl/fdopendir.c: New file.
20005         * dirent/scandir-tail.c: New file.
20006         * dirent/scandir64-tail.c: New file.
20007         * dirent/Makefile (routines): Add them.
20008         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20009         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20010         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20011         [!SCANDIR] (SCANDIR_TAIL): New macro.
20012         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20013         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20014         (SCANDIRAT): Macro removed.
20015         (SCANDIR_TAIL): New macro.
20016         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20017         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20018         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20019         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20020         (READDIR): Macro removed.
20021         (SCANDIR_TAIL): New macro.
20022         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20023         (SCANDIR_TAIL): New macro.
20025         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20026         * dirent/scandir-cancel.c: ... to this new file.
20027         * dirent/Makefile (routines): Add it.
20028         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20029         * sysdeps/unix/sysv/linux/i386/scandir64.c
20030         (SKIP_SCANDIR_CANCEL): Macro removed.
20031         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20033         * dirent/tst-scandir.c: New file.
20034         * dirent/tst-scandir64.c: New file.
20035         * dirent/Makefile (tests): Add them.
20037 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20039         [BZ #18409]
20040         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20042 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20044         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20045         list.
20047 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20049         * benchtests/bench-strcoll.c: New benchmark.
20050         * benchtests/Makefile: Generate locales and run benchmark.
20051         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20052         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20053         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20054         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20055         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20056         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20057         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20058         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20059         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20060         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20061         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20062         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20063         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20064         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20065         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20066         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20067         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20068         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20069         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20070         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20071         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20072         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20073         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20074         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20076 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20078         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20079         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20081 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20083         * posix/uname-values.h: New file.
20084         * posix/uname.c: Include that instead of <config-name.h>.
20085         * sysdeps/nacl/uname-values.h: New file.
20086         * sysdeps/arm/nacl/uname-values.h: New file.
20088 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20090         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20091         splitting into fields.
20093 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20095         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20096         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20097         * locale/localeinfo.h: Add enum collation_encoding_type.
20098         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20099         * programs/ld-collate.c (collate_output): Add encoding type info.
20100         * string/strcoll_l.c (STRDIFF): New function.
20101         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20102         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20104 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20106         [BZ #18397]
20107         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20108         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20109         <fpu_control.h> instead of <math/fpu_control.c>.
20110         * sysdeps/mips/mips32/fpu/Makefile: New file.
20112 2015-05-11  Andreas Schwab  <schwab@suse.de>
20114         [BZ #18007]
20115         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20116         nss_endgrent.
20117         (_nss_compat_endgrent): Call nss_endgrent.
20118         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20119         nss_endpwent.
20120         (_nss_compat_endpwent): Call nss_endpwent.
20121         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20122         needent, call nss_setspent only if non-zero.
20123         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20124         (internal_endspent): Don't call nss_endspent.
20125         (_nss_compat_endspent): Call nss_endspent.
20126         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20127         Remove.  All uses removed.
20128         (internal_setent): Remove parameter stayopen, add parameter
20129         stream.  Use it instead of global variable.
20130         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20131         (internal_endent, internal_getent): Add parameter stream.  Use it
20132         instead of global variable.
20133         (CONCAT(_nss_files_end,ENTNAME))
20134         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20135         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20136         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20137         uses removed.
20138         (internal_setent, internal_endent): Add parameter stream.  Use it
20139         instead of global variable.
20140         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20141         stream.
20142         (get_next_alias): Add parameter stream.
20143         (_nss_files_getaliasent_r): Pass global stream.
20144         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20145         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20146         (_nss_files_gethostbyname4_r): Pass local stream to
20147         internal_setent, internal_getent and internal_endent.  Remove
20148         locking.
20150 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20152         * tst-strfmon1.c (tests): Update expected currency symbol.
20154 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20156         * sysdeps/nacl/gethostname.c: New file.
20158 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20160         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20161         and sinh.
20162         * math/auto-libm-test-out: Regenerated.
20163         * sysdeps/i386/fpu/libm-test-ulps: Update.
20164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20166 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
20168         [BZ #18125]
20169         * stdlib/tst-setcontext3.c: New file.
20170         * stdlib/tst-setcontext3.sh: New file.
20171         * stdlib/Makefile (tests): Add tst-setcontext3.
20172         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
20173         to verify test program created output file.
20174         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
20175         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
20176         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20177         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
20179 2015-05-06  Roland McGrath  <roland@hack.frob.com>
20181         [BZ #18383]
20182         * elf/tst-tlsalign.c: New file.
20183         * elf/tst-tlsalign-static.c: New file.
20184         * elf/tst-tlsalign-lib.c: New file.
20185         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
20186         (tests-static): Add tst-tlsalign-static.
20187         (modules-names): Add tst-tlsalign-lib.
20188         (test-xfail-tst-tlsalign): New variable.
20189         (test-xfail-tst-tlsalign-static): New variable.
20191         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
20192         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
20194 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
20196         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
20197         csqrt, erfc, sin and sincos.
20198         * math/auto-libm-test-out: Regenerated.
20199         * sysdeps/i386/fpu/libm-test-ulps: Update.
20200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20202 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20204         * sysdeps/aarch64/libm-test-ulps: Update.
20206 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
20208         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
20209         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
20210         * math/auto-libm-test-out: Regenerated.
20211         * sysdeps/i386/fpu/libm-test-ulps: Update.
20212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20214 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20216         [BZ #18265]
20217         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
20218         (wcsncpy): Likewise.
20220 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20222         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
20223         Assume __ASSUME_FALLOCATE is always true.
20224         * sysdeps/unix/sysv/linux/posix_fallocate64.c
20225         (__posix_fallocate64_l64): Likweise.
20226         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
20227         (posix_fallocate): Likewise.
20228         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
20229         (__posix_fallocate64_l64): Likewise.
20230         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
20231         [!__ASSUME_FALLOCATE]: Add comment.
20233 2015-05-05  Florian Weimer  <fweimer@redhat.com>
20235         * sysdeps/unix/sysv/linux/i386/Makefile
20236         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
20237         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
20238         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
20239         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
20240         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
20241         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
20242         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
20244 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
20246         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
20247         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
20248         tgamma.
20249         * math/auto-libm-test-out: Regenerated.
20250         * sysdeps/i386/fpu/libm-test-ulps: Update.
20251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20253 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20255         * math/auto-libm-test-in: Add more tests of tgamma.
20256         * math/auto-libm-test-out: Regenerated.
20257         * sysdeps/i386/fpu/libm-test-ulps: Update.
20258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20260         * math/auto-libm-test-in: Add more tests of tanh.
20261         * math/auto-libm-test-out: Regenerated.
20262         * sysdeps/i386/fpu/libm-test-ulps: Update.
20263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20265         * math/auto-libm-test-in: Add more tests of tan.
20266         * math/auto-libm-test-out: Regenerated.
20267         * sysdeps/i386/fpu/libm-test-ulps: Update.
20268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20270         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
20271         * math/auto-libm-test-out: Regenerated.
20272         * sysdeps/i386/fpu/libm-test-ulps: Update.
20273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20275         * math/auto-libm-test-in: Add another test of pow.
20276         * math/auto-libm-test-out: Regenerated.
20277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20279         * math/auto-libm-test-in: Add more tests of lgamma.
20280         * math/auto-libm-test-out: Regenerated.
20281         * sysdeps/i386/fpu/libm-test-ulps: Update.
20282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20284         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
20285         log1p.
20286         * math/auto-libm-test-out: Regenerated.
20287         * sysdeps/i386/fpu/libm-test-ulps: Update.
20288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20290 2015-05-01  Mark Wielaard  <mjw@redhat.com>
20292         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
20293         Elf64_Chdr structs and ELFCOMPRESS constants.
20295 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
20297         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
20298         expm1.
20299         * math/auto-libm-test-out: Regenerated.
20300         * sysdeps/i386/fpu/libm-test-ulps: Update.
20301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20303         * math/auto-libm-test-in: Add more tests of erf and erfc.
20304         * math/auto-libm-test-out: Regenerated.
20305         * sysdeps/i386/fpu/libm-test-ulps: Update.
20306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20308 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20310         * config.h.in (HAVE_AARCH64_BE): Add.
20312 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
20314         * math/auto-libm-test-in: Add more tests of csqrt.
20315         * math/auto-libm-test-out: Regenerated.
20316         * sysdeps/i386/fpu/libm-test-ulps: Update.
20317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20319         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20320         * math/auto-libm-test-out: Regenerated.
20321         * sysdeps/i386/fpu/libm-test-ulps: Update.
20322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20324         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
20326 2015-04-29  Roland McGrath  <roland@hack.frob.com>
20328         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
20329         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
20331         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
20332         (euidaccess, eaccess): Define as weak aliases.
20334         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
20335         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
20336         but __suseconds_t is often 'long int' so some sources assume that
20337         type is being used (e.g. they use %ld to print tv_usec).
20339 2015-04-29  Florian Weimer  <fweimer@redhat.com>
20341         [BZ #18007]
20342         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
20343         (CVE-2014-8121)
20344         * nss/tst-nss-getpwent.c: New file.
20345         * nss/Makefile (tests): Add new test.
20347 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
20349         [BZ #18346]
20350         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
20351         exponents less than 48 as cases where high part of mantissa needs
20352         examining to determine whether argument is integral.
20353         * math/libm-test.inc (round_test_data): Add more tests.
20355 2015-04-28  Mark Wielaard  <mjw@redhat.com>
20357         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
20359 2015-04-27  David S. Miller  <davem@davemloft.net>
20361         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
20362         __tls_get_addr.
20363         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
20365 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
20367         [BZ#18333]
20368         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
20370 2015-04-27  Florian Weimer  <fweimer@redhat.com>
20372         [BZ#18333]
20373         * time/tzset.c (parse_tzname): Return error on memory allocation
20374         failure.
20375         * test-skeleton.c (struct temp_name_list): Change type of name
20376         member to non-const.
20377         (add_temp_file): Create a copy of the file name.
20378         (delete_temp_files): Deallocate memory.
20379         (create_temp_file): Add comment.
20381 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20383         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
20384         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
20386 2015-04-24  Roland McGrath  <roland@hack.frob.com>
20388         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
20389         * sysdeps/arm/configure: Regenerated.
20391 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20393         [BZ #17715]
20394         * time/tzfile.c (__tzfile_read): Check for large values of
20395         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
20396         * time/tzset.c (__tzstring_len): New function, based on the old
20397         __tzstring function.
20398         (__tzstring): Call __tzstring_len.
20399         (parse_tzname): New helper function extracted from
20400         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
20401         the input string.
20402         (parse_offset): New helper function extracted from
20403         __tzset_parse_tz.  Replace switch with fallthrough with
20404         initialization before sscanf.
20405         (parse_rule): Likewise.
20406         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
20407         new-style function definition.
20408         * timezone/Makefile (tests): Add tst-tzset.
20409         (tst-tzset.out): Dependencies on time zone files.
20410         (tst-tzset-ENV): Set TZDIR.
20411         (testdata/XT%): Copy crafted time zone files.
20412         * timezone/README: Mention crafted time zone files.
20413         * timezone/testdata/XT1, timezone/testdata/XT2,
20414         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
20415         files.
20416         * timezone/tst-tzset.c: New test.
20418 2015-04-24  Florian Weimer  <fweimer@redhat.com>
20420         * Makeconfig (+gccwarn): Remove -Winline.
20422 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20424         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
20426 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20428         * NEWS: Mention sysconf() cache information support for s390.
20429         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
20431 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
20433         * math/k_casinh.c (__kernel_casinh): Use __copysign.
20434         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
20435         (__nearbyint): Likewise.
20436         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
20437         (copysignl): Likewise.
20439 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
20441         [BZ #18287]
20442         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
20443         based on padding.  (CVE-2015-1781)
20445 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20447         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
20448         libc-vdso.h.
20449         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
20450         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
20451         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
20452         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
20453         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
20454         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
20455         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
20456         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20457         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20458         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
20459         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20460         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
20461         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20462         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
20463         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
20464         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
20465         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
20466         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
20467         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
20468         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
20469         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
20470         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
20471         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
20473 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
20475         * stdlib/setenv.c (__add_to_environ):
20476         Dump core quickly if setenv (..., NULL, ...) is called.
20477         This time, do it the right way, and pacify GCC with a pragma.
20479 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20481         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
20482         IMAP->l_prev cannot be null, and #if out the code for the contrary
20483         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
20484         believe that NS (&_dl_ns[NSID]) could point outside the array.
20486         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
20487         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
20488         before using NSID as an index.
20490 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
20492         [BZ #17825]
20493         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
20494         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
20495         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
20497 2015-04-17  Roland McGrath  <roland@hack.frob.com>
20499         Add preliminary port to Google Native Client on ARM.
20500         * abi-tags (.*-.*-nacl.*): New entry.
20501         * sysdeps/arm/nacl: New directory.
20502         * sysdeps/nacl: New directory.
20504 2015-04-16  David S. Miller  <davem@davemloft.net>
20506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
20507         lowlevellock-futex.h
20509 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
20511         * sysdeps/tile/configure.ac: New file.
20512         * sysdeps/tile/configure: Regenerated.
20514 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20516         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
20517         conditionals for weak_alias and libc_hidden_weak.
20518         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
20519         libc_hidden_weak and weak_alias.
20520         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
20521         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
20522         and weak_alias for static one.
20524 2015-04-15  David S. Miller  <davem@davemloft.net>
20526         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
20528 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20530         [BZ #18206]
20531         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
20532           Use signed comparision instead of substraction to avoid
20533           overflow bug.
20534         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
20535           Take the sign of ret.
20536         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
20537           Do not expect precise return values. Only the sign matters.
20538         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
20539         * wcsmbs/test-wcsncmp.c: New File.
20540         * string/test-strncmp.c: Add wcsncmp support.
20542 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
20544         [BZ #6792]
20545         * math/w_log1p.c: New file.
20546         * math/w_log1pf.c: Likewise.
20547         * math/w_log1pl.c: Likewise.
20548         * math/Makefile (libm-calls): Add w_log1p.
20549         * math/s_log1pl.c (log1pl): Remove weak_alias.
20550         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
20551         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
20552         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
20553         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
20554         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
20555         [NO_LONG_DOUBLE] (log1pl): Likewise.
20556         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
20557         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
20558         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
20559         (log1p): Remove long_double_symbol.
20560         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
20561         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
20562         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
20563         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
20564         remove weak_alias for corresponding log1p function.
20565         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
20566         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
20567         * sysdeps/ia64/fpu/w_log1p.c: New file.
20568         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
20569         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
20570         * math/libm-test.inc (log1p_test_data): Add errno expectations.
20572 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
20574         [BZ #18247]
20575         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
20576         decimal exponent by 1.
20577         * stdlib/tst-strtod-round-data: Add more tests.
20578         * stdlib/tst-strtod-round.c (tests): Regenerated.
20580 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
20582         * math/auto-libm-test-in: Add more tests of clog and clog10.
20583         * math/auto-libm-test-out: Regenerated.
20584         * sysdeps/i386/fpu/libm-test-ulps: Update.
20585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20587 2015-04-09  Roland McGrath  <roland@hack.frob.com>
20589         * Makeconfig (module-cppflags): Exclude all .v.i files.
20590         (skip-module-cppflags): Variable removed.
20592         * configure.ac (libc_config_ok): Initialize before reading
20593         preconfigure scripts, not after.
20594         * configure: Regenerated.
20596         * test-skeleton.c (TIMEOUT): Move #define to top level.
20597         (main): Grok environment variable TEST_DIRECT.  If set, print
20598         test expectation details into that file and then behave as if
20599         given --direct.
20601 2015-04-09  Florian Weimer  <fweimer@redhat.com>
20603         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
20604         warning on 32-bit.
20606 2015-04-08  David S. Miller  <davem@davemloft.net>
20608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20610 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20612         * math/auto-libm-test-in: Add more tests of atanh.
20613         * math/auto-libm-test-out: Regenerated.
20614         * sysdeps/i386/fpu/libm-test-ulps: Update.
20615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20617         * math/auto-libm-test-in: Add more tests of atan.
20618         * math/auto-libm-test-out: Regenerated.
20619         * sysdeps/i386/fpu/libm-test-ulps: Update.
20620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20622 2015-04-08  Florian Weimer  <fweimer@redhat.com>
20624         * elf/pldd.c (main): Rewrite to use struct
20625         scratch_buffer instead of extend_alloca.
20626         * elf/pldd-xx.c (find_maps): Likewise.
20627         * grp/initgroups.c: Include <scratch_buffer.h> instead of
20628         <alloca.h>.
20629         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
20630         scratch_buffer instead of extend_alloca.
20631         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
20632         grp/compat-initgroups.c.
20633         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
20634         Rewrite to use struct scratch_buffer instead of extend_alloca.
20635         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
20636         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
20638 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
20640         * math/auto-libm-test-in: Add more tests of cbrt.
20641         * math/auto-libm-test-out: Regenerated.
20642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20644         * math/auto-libm-test-in: Add more tests of cabs.
20645         * math/auto-libm-test-out: Regenerated.
20646         * sysdeps/i386/fpu/libm-test-ulps: Update.
20647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649         [BZ #18210]
20650         [BZ #18211]
20651         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
20652         (__ieee754_atan2): Set FE_TONEAREST mode for internal
20653         computations.
20654         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
20655         clog10.
20656         * math/auto-libm-test-out: Regenerated.
20657         * sysdeps/i386/fpu/libm-test-ulps: Update.
20658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20660         [BZ #18197]
20661         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
20662         (atan): Set FE_TONEAREST mode for internal computations.
20663         * math/auto-libm-test-in: Add more tests of atan.
20664         * math/auto-libm-test-out: Regenerated.
20666 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
20668         [BZ #17930]
20669         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
20671 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20673         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
20675 2015-04-07  Florian Weimer  <fweimer@redhat.com>
20677         * include/scratch_buffer.h: New file.
20678         * malloc/scratch_buffer_grow.c: Likewise.
20679         * malloc/scratch_buffer_grow_preserve.c: Likewise.
20680         * malloc/scratch_buffer_set_array_size.c: Likewise.
20681         * malloc/tst-scratch_buffer.c: Likewise.
20682         * malloc/Makefile (routines): Add scratch_buffer_grow.
20683         (tests): Add test case.
20684         * malloc/Versions (GLIBC_PRIVATE): Export
20685         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
20686         __libc_scratch_buffer_set_array_size.
20688 2015-04-06  Richard Henderson  <rth@redhat.com>
20690         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
20691         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20693         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
20694         unsigned int before printing.
20696 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20698         [BZ #17596]
20699         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
20700         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
20702 2015-04-02  Florian Weimer  <fweimer@redhat.com>
20704         * include/libc-internal.h (libc_max_align_t): Define.
20706 2015-04-02  Andreas Schwab  <schwab@suse.de>
20708         [BZ #16850]
20709         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
20711 2015-04-02  Mel Gorman  <mgorman@suse.de>
20713         [BZ #17195]
20714         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
20715         as well as the main arena.
20717 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20719         [BZ #18185]
20720         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
20721         sharing L2 cache to 2 for Silvermont/Knights Landing.
20723 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20725         [BZ #17711]
20726         * config.make.in (have-protected-data): New.
20727         * configure.ac: Check linker support for protected data symbol.
20728         * configure: Regenerated.
20729         * elf/Makefile (modules-names): Add tst-protected1moda and
20730         tst-protected1modb if $(have-protected-data) is yes.
20731         (tests): Add tst-protected1a and tst-protected1b if
20732         $(have-protected-data) is yes.
20733         ($(objpfx)tst-protected1a): New.
20734         ($(objpfx)tst-protected1b): Likewise.
20735         (tst-protected1modb.so-no-z-defs): Likewise.
20736         * elf/tst-protected1a.c: New file.
20737         * elf/tst-protected1b.c: Likewise.
20738         * elf/tst-protected1mod.h: Likewise.
20739         * elf/tst-protected1moda.c: Likewise.
20740         * elf/tst-protected1modb.c: Likewise.
20742 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
20744         [BZ #17711]
20745         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
20746         indicates it is called from do_lookup_x on relocation against
20747         protected data, skip the data definion in the executable from
20748         copy reloc.
20749         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
20750         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
20751         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
20752         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
20753         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
20754         otherwise to 0.
20755         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20756         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
20757         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
20758         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
20759         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
20760         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
20762 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
20764         * sysdeps/nptl/pthread.h: Remove duplicate definition of
20765         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
20767 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
20769         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
20770         THREAD_SETMEM_NC.
20771         * sysdeps/x86_64/nptl/tls.h: Ditto.
20773 2015-03-27  Roland McGrath  <roland@hack.frob.com>
20775         * dlfcn/tststatic.c (main): Converted to ...
20776         (do_test): ... this.
20777         (TEST_FUNCTION): New macro.
20778         Include test-skeleton.c.
20780 2015-03-26  Alan Modra  <amodra@gmail.com>
20782         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
20783         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
20784         zero for undefined weak.
20785         (elf_machine_plt_conflict): Similarly.
20787 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20789         * math/auto-libm-test-in: Add more tests of acosh, asinh and
20790         atanh.
20791         * math/auto-libm-test-out: Regenerated.
20792         * sysdeps/i386/fpu/libm-test-ulps: Update.
20793         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20795         * math/auto-libm-test-in: Add another test of asin.
20796         * math/auto-libm-test-out: Regenerated.
20797         * sysdeps/i386/fpu/libm-test-ulps: Update.
20798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20800         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
20801         Remove macro.
20802         (LLL_EBX_REG): Likewise.
20803         (LLL_ENTER_KERNEL): Likewise.
20805         * math/auto-libm-test-in: Add more tests of asin.
20806         * math/auto-libm-test-out: Regenerated.
20807         * sysdeps/i386/fpu/libm-test-ulps: Update.
20808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810         [BZ #18138]
20811         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
20812         libc_do_syscall_args): New structure.
20813         (INTERNAL_SYSCALL_MAIN_0): New macro.
20814         (INTERNAL_SYSCALL_MAIN_1): Likewise.
20815         (INTERNAL_SYSCALL_MAIN_2): Likewise.
20816         (INTERNAL_SYSCALL_MAIN_3): Likewise.
20817         (INTERNAL_SYSCALL_MAIN_4): Likewise.
20818         (INTERNAL_SYSCALL_MAIN_5): Likewise.
20819         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
20820         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
20821         Replace conditional definitions by conditional definitions of ....
20822         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
20823         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
20824         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
20825         (libpthread-sysdep_routines): Add libc-do-syscall.
20826         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
20827         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
20828         to __NR_futex not 240.
20830 2015-03-25  Alan Modra  <amodra@gmail.com>
20832         * NEWS: Advertise TLS optimization.
20833         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
20834         (DT_PPC_NUM): Increment.
20835         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
20836         (CHECK_STATIC_TLS): Use here.
20837         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
20838         TLS descriptors.
20839         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20840         * sysdeps/powerpc/dl-tls.c: New file.
20841         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
20842         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
20843         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
20844         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
20845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
20846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
20847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
20849 2015-03-25  Alan Modra  <amodra@gmail.com>
20851         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
20852         for overlapping .opd entries" to "support...".
20853         * sysdeps/powerpc/powerpc64/configure: Regenerate
20855 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
20857         * math/auto-libm-test-in: Add more tests of acos.
20858         * math/auto-libm-test-out: Regenerated.
20859         * sysdeps/i386/fpu/libm-test-ulps: Update.
20860         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20862         * math/auto-libm-test-in: Add more tests of expm1.
20863         * math/auto-libm-test-out: Regenerated.
20864         * sysdeps/i386/fpu/libm-test-ulps: Update.
20865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20867 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
20869         * math/auto-libm-test-in: Add more tests of cosh and sinh.
20870         * math/auto-libm-test-out: Regenerated.
20871         * sysdeps/i386/fpu/libm-test-ulps: Update.
20872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20874         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20877         * math/auto-libm-test-in: Add more tests of log2.
20878         * math/auto-libm-test-out: Regenerated.
20879         * sysdeps/i386/fpu/libm-test-ulps: Update.
20880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20882 2015-03-23  Roland McGrath  <roland@hack.frob.com>
20884         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
20885         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
20886         _IO_IS_APPENDING bit in READ_WRITE instead.
20888 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20890         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
20891         (__determine_cpumask_size): Replace extend_alloca with a
20892         variable-length array.  Do not treat res == 0 as an error.
20894 2015-03-23  Florian Weimer  <fweimer@redhat.com>
20896         [BZ #18100]
20897         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
20898         and integer overflow.
20899         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
20900         (main): Add integer overflow tests.
20901         * manual/pattern.texi (Calling Wordexp): Document additional use
20902         for WRDE_SYNTAX.
20904 2015-03-23  Alan Modra  <amodra@gmail.com>
20906         * config.h.in: Remove HAVE_ASM_PPC_REL16.
20907         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
20908         and false branch of conditional.
20909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20910         Likewise.
20912 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
20914         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
20915         libc-modules.h
20916         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
20917         unused declaration of _hurd_intr_rpc_msg_in_trap.
20918         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
20919         defined instead of whether it is non-zero.
20920         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
20921         input constraint instead of both input and output constraint.  Use ecx
20922         clobber instead of %ecx.
20923         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
20924         mutex_unlock): Use a statement expression instead of an expression list.
20925         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
20926         type to vm_size_t instead of vm_address_t.
20927         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
20928         defined instead of whether it is non-zero.
20929         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
20930         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
20931         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
20932         comparisons with mapaddr.
20933         * nscd/nscd-client.h: Include <time.h>.
20934         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
20935         9th parameter to __vm_region instead of int.
20936         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
20937         * scripts/check-local-headers.sh (exclude): Add device/,
20938         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
20939         cthreads.h.
20941 2015-03-19  Roland McGrath  <roland@hack.frob.com>
20943         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
20944         to account for alignment padding.
20945         * sysdeps/arm/memmove.S: Likewise.
20947 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
20949         * sysdeps/unix/sysv/linux/generic/README: New file.
20951 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
20953         [BZ #18138]
20954         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
20955         (futex_abstimed_wait)
20956         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
20957         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
20958         of lll_futex_timed_wait.
20960 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
20962         [BZ #17542]
20963         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
20965 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
20967         [BZ #17090]
20968         [BZ #17620]
20969         [BZ #17621]
20970         [BZ #17628]
20971         * NEWS: Update.
20972         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
20973         entries with Static TLS too.  Skip entries past the end of the
20974         allocated DTV, from Alan Modra.
20975         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
20976         Static TLS DTV entry set up from...
20977         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
20978         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
20979         * nptl/allocatestack.c (init_one_static_tls): ... and here...
20980         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
20981         for Static TLS.
20982         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
20983         that the slot we find is associated with the given map before
20984         using its generation count.
20985         * nptl_db/db_info.c: Include ldsodefs.h.
20986         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
20987         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
20988         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
20989         (link_map::l_tls_offset): New struct field.
20990         (dtv_t::counter): Likewise.
20991         (rtld_global): New struct.
20992         (_rtld_global): New rtld variable.
20993         (dl_tls_dtv_slotinfo_list): New rtld global field.
20994         (dtv_slotinfo_list): New struct.
20995         (dtv_slotinfo): Likewise.
20996         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
20997         (td_lookup): Rename to...
20998         (td_mod_lookup): ... this.  Use new mod parameter instead of
20999         LIBPTHREAD_SO.
21000         * nptl_db/td_thr_tlsbase.c: Include link.h.
21001         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21002         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21003         addresses even if the DTV is out of date or missing them.
21004         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21005         index zero-length arrays.
21006         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21007         (td_lookup): Make it a macro implemented in terms of...
21008         (td_mod_lookup): ... this declaration.
21009         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21010         (DB_MAIN_VARIABLE): Likewise.
21012 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21014         [BZ #18134]
21015         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21017 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21019         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21021 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21023         [BZ #18128]
21024         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21025         (atomic_add, atomic_increment_and_test)
21026         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21028 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21030         * stdlib/setenv.c (__add_to_environ):
21031         Dump core quickly if setenv (..., NULL, ...) is called.
21033 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21035         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21036         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21037         all the necessary asm magic in one place.
21038         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21039         using those.
21041 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21043         [BZ #14906]
21044         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21045         traced file mtime. Use consistent log message.
21046         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21047         (register_traced_file): Call install_watches. Always set mtime.
21048         (invalidate_cache): Iterate over all trace files. Call install_watches.
21049         (inotify_check_files): Don't inline. Handle watching parent
21050         directories and configuration file movement in and out.
21051         (handle_inotify_events): New function.
21052         (main_loop_poll): Call handle_inotify_events.
21053         (main_loop_epoll): Likewise.
21054         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21055         (struct traced_file): Use array of inotify fds. Add parent directory,
21056         and basename.
21057         (struct database_dyn): Remove unused file_mtime.
21058         (init_traced_file): New inline function.
21059         (define_traced_file): New macro.
21060         * nss/nss_db/db-init.c: Use define_traced_file.
21061         (_nss_db_init): Use init_traced_file.
21062         * nss/nss_files/files-init.c: Use define_traced_file.
21063         (_nss_files_init): Use init_traced_file.
21065 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21067         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21068         [_LIBC]: Do not include <stdlib.h>.
21069         [!_LIBC] (abort): Remove declaration.
21070         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21071         _FP_STATIC_ASSERT instead of conditionally calling abort.
21072         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21073         (_FP_EXTEND_CNAN): Likewise.
21074         (FP_TRUNC): Likewise.
21075         (__FP_CLZ): Likewise.
21076         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21078 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21080         * manual/string.texi (XPG basename): Fix prototype.
21082 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21084         [BZ #18080]
21085         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21086         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21087         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21088         (__setcontext): Likewise.
21089         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21090         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21091         Call rt_sigprocmask syscall one time to set new signal mask
21092         and retrieve the current signal mask instead of two calls.
21093         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21094         (__swapcontext): Likewise.
21095         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21096         * stdlib/tst-setcontext2.c: New file.
21098 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21100         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21102 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21104         [BZ #18093]
21105         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21106         the wrong size.
21108 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21110         [BZ #18043]
21111         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21113 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21115         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21116         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21117         Remove define.
21118         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21119         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21120         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21121         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21122         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21123         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21124         define.
21125         * nptl_db/td_symbol_list.c (td_lookup): Remove
21126         HAVE_ASM_GLOBAL_DOT_NAME code.
21127         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21128         HAVE_ASM_GLOBAL_DOT_NAME check.
21129         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21130         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21131         (DOT_LABEL): Remove define.
21132         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21133         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21134         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21135         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21136         (__TLS_GET_ADDR): Likewise.
21137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21138         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21140 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21142         [BZ #18111]
21143         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21144         (_FPU_SETCW): Initialize cw from fpsr before storing.
21145         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21146         (fesetexceptflag): Rewrite using fpu_control.h.
21147         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21149 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21151         [BZ #18110]
21152         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21153         asms.
21154         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21156 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21158         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21159         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21160         abort.
21161         (_FP_FMA): Likewise.
21162         (_FP_DIV): Likewise.
21164 2015-03-10  Roland McGrath  <roland@hack.frob.com>
21166         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
21167         with 0 in that case.
21168         * Makefile (summarize-tests): New canned sequence, factored out of
21169         commands for targets tests and xtests.  Display summary lines that
21170         don't start with PASS: or XFAIL: rather than ones that do start with
21171         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
21172         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
21173         do start with ERROR: or FAIL:.
21174         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
21175         (except for [$(build-shared) = yes]).
21176         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
21177         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
21178         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
21179         * nptl/Makefile: Revert 2015-03-04 changes.
21180         [$(CXX) empty] (tests-unsupported): New variable.
21181         * debug/Makefile: Likewise.
21183         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
21184         gnulib file.  Replace __attribute with __attribute__ throughout.
21186 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
21188         * sysdeps/hppa/fpu/libm-test-ulps: Update.
21190 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21192         [BZ #18104]
21193         * math/auto-libm-test-in: Add another test of pow.
21194         * math/auto-libm-test-out: Regenerated.
21196 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21198         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
21199         $(config-cflags-nofma).
21201 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
21203         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
21204         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
21205         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
21206         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
21207         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
21208         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
21209         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
21210         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
21211         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
21212         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
21213         Add comment on closing #endif.
21215 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21217         * posix/wordexp.c (CHAR_IN_SET): New macro.
21218         (parse_param): Use it.
21220 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21222         * sysdeps/powerpc/fpu/libm-test-ulps: update.
21224 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21226         [BZ #18043]
21227         * posix/wordexp.c (parse_param): Fix buffer overflow.
21228         * posix/wordexp-test.c (test_case): Add test case.
21230 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21232         [BZ #18042]
21233         * posix/wordexp.c (parse_backtick): Fix off-by-one.
21234         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
21236 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
21238         [BZ #18043]
21239         * posix/wordexp-test.c (test_case): Add test for BZ #18043
21240         (do_bz18043): Delete.
21241         (at_page_end): New.
21242         (testit): Refactor to have words at the edge of unreadable page.
21244 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21246         [BZ #16734]
21247         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
21248         Cleanup read-only streams as well.
21249         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
21251 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21253         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
21254         <bits/libc-lockP.h>
21256 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
21258         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
21259         on [__KERNEL__].
21260         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
21261         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
21262         * soft-fp/op-common.h (_FP_DECL): Likewise.
21264 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21266         * elf/ifuncdep2.c (global): Replace
21267         __attribute__((visibility("protected"))) with
21268         asm (".protected global").
21269         * elf/ifuncmod1.c (global): Likewise.
21270         * elf/ifuncmod5.c (global): Likewise.
21272 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
21274         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
21275         <asm/sfp-machine.h> instead of <sfp-machine.h>.
21277 2015-03-06  Roland McGrath  <roland@hack.frob.com>
21279         * manual/install.texi (Configuring and compiling):
21280         Document test-wrapper-env-only.
21281         * INSTALL: Regenerated.
21283 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21285         [BZ #18043]
21286         * posix/wordexp.c (parse_param): Fix buffer overflow.
21287         * posix/wordexp-test.c (do_bz18043): Add test case.
21289 2015-03-06  Vincent Bernat  <vincent@bernat.im>
21291         * time/tst-strptime2.c (do_test): Ensure failing tests are
21292         reported correctly.
21293         * time/tst-strptime3.c (do_test): Likewise.
21295 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
21297         Fix aio_error thread-safety.
21298         * sysdeps/pthread/aio_error.c: New file
21299         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
21300         synchronization.
21302 2015-03-06  Florian Weimer  <fweimer@redhat.com>
21304         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
21305         (group_number, vfprintf): Use it.
21306         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
21307         (JUMP, REF): Use it.
21308         (WORK_BUFFER_SIZE): New enum constant.
21309         (process_arg, vfprintf): Use it.
21311 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
21313         * manual/errno.texi (Error Messages): Complete example function
21314         by adding missing #define.
21315         (program_invocation_name): Add statement indicating GNU
21316         extension and reference which header file declares the variable.
21317         (program_invocation_short_name): Likewise.
21319 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
21321         * manual/errno.texi (Error Messages): Delete strerror ISO C89
21322         compatibility note.
21324 2015-03-05  Roland McGrath  <roland@hack.frob.com>
21326         * Makeconfig (test-wrapper-env-only): New variable.
21327         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
21328         then use that with $(test-wrapper-env-only) rather than using
21329         $(test-wrapper-env) $(run-program-env) $($*-ENV).
21331 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
21333         [BZ #18082]
21334         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
21335         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
21336         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
21337         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
21338         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
21339         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
21340         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
21341         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
21342         Likewise.
21343         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
21344         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
21345         Likewise.
21346         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
21347         Likewise.
21348         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
21349         Likewise.
21350         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
21351         Likewise.
21352         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
21353         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
21354         Likewise.
21355         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
21356         Likewise.
21357         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
21358         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
21360 2015-03-04  Roland McGrath  <roland@hack.frob.com>
21362         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
21363         (ETH_ALEN): New macro.
21364         (struct ether_addr): Use it for length of ether_addr_octet.
21366         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
21367         (setdb): Don't call __nss_configure_lookup for "rpc".
21368         (do_test): Don't call test_rpc.
21369         (output_rpcent, test_rpc): Functions moved ...
21370         * sunrpc/test-rpcent.c: ... to this new file.
21371         * sunrpc/Makefile (tests): Add it.
21373         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
21374         __xpg_sigpause.
21375         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
21376         * nptl/tst-signal6.c: Likewise.
21377         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
21378         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
21380         * configure.ac (libc_cv_cxx_link_ok): New check.
21381         Reset CXX to empty if it fails to link.
21382         * configure: Regenerated.
21383         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
21384         bug-atexit3-lib only if $(CXX) is nonempty.
21385         * nptl/Makefile (tests): Likewise for tst-cancel24.
21386         (tests, tests-static): Likewise for tst-cancel24-static.
21387         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
21388         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
21389         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
21390         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
21392 2015-03-04  Andreas Schwab  <schwab@suse.de>
21394         [BZ #17631]
21395         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
21396         for non-GCC compilers.
21397         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
21398         Likewise.
21400 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21402         [BZ #17776]
21403         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
21404         integer before bitwise and assembly operations.
21405         (feclearexcept): Likewise.
21406         * math/test-fenvinline.c: New file.
21407         * math/Makefile: Add test-fenvinline test.
21409 2015-03-03  Alan Modra  <amodra@gmail.com>
21411         [BZ #16512]
21412         * scripts/localplt.awk: Strip off symbol version.
21413         * NEWS: Mention bug fix.
21415 2015-03-02  Roland McGrath  <roland@hack.frob.com>
21417         * sysdeps/pthread/timer_routines.c
21418         (timer_free_list, thread_free_list, thread_active_list): Make static.
21420 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
21422         [BZ #17779]
21423         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21424         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21425         Undefine.
21426         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21427         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21428         Likewise.
21429         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21430         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
21431         Likewise.
21433 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
21435         [BZ #18036]
21436         * posix/fnmatch_loop.c (END): Detect invalid pattern.
21437         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
21439 2015-03-02  Andreas Schwab  <schwab@suse.de>
21441         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
21442         variable name.
21444 2015-03-02  Florian Weimer  <fweimer@redhat.com>
21446         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
21447         Return error status.
21449 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
21451         [BZ #15969]
21452         * locale/findlocale.c (_nl_find_locale): Introduce const
21453         version of loc_name and drop unsafe type casts.
21455 2015-02-27  Roland McGrath  <roland@hack.frob.com>
21457         * dlfcn/tststatic2.c (main): Converted to ...
21458         (do_test): ... this.
21459         (TEST_FUNCTION): New macro.
21460         Include test-skeleton.c.
21462 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
21464         [BZ #17711]
21465         * elf/Makefile (tests): Add vismain only if PIE is enabled.
21466         (tests-pie): Add vismain.
21467         (CFLAGS-vismain.c): New.
21468         * elf/vismain.c: Add comments for PIE requirement.
21470 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21472         [BZ #18046]
21473         [BZ #18047]
21474         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21475         0x1p-56L as threshold for just returning the argument.
21476         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
21477         0x1p-32L as threshold for just returning the argument.
21478         * math/auto-libm-test-in: Add more tests of atanh.
21479         * math/auto-libm-test-out: Regenerated.
21480         * sysdeps/i386/fpu/libm-test-ulps: Update.
21481         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
21483 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21485         * string/bcopy.c (bcopy): Call memmove for performance.
21487 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
21489         * string/bzero.c (__bzero): Call memset for performance.
21491 2015-02-27  John David Anglin  <dave.anglin@bell.net>
21493         [BZ #18068]
21494         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
21495         to 00100000.
21497 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
21499         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
21501 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21503         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
21504         (__kernel_standard): Use CSTR macro when setting exc.name.
21505         * sysdeps/ieee754/Makefile [$(subdir) = math]
21506         (CFLAGS-k_standard.c): Remove variable.
21508         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
21509         setting p and q from "else if" to "else".
21510         (qzero): Likewise.
21511         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
21512         (qone): Likewise.
21513         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
21514         (qzerof): Likewise.
21515         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
21516         (qonef): Likewise.
21517         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
21518         (qzero): Likewise.
21519         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
21520         (qone): Likewise.
21522         [BZ #18038]
21523         [BZ #18039]
21524         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
21525         return pi/2 for arguments below 0x1p-113L.
21526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
21527         return pi/2 for arguments below 0x1p-106L.
21528         * math/auto-libm-test-in: Add more tests of acos.
21529         * math/auto-libm-test-out: Regenerated.
21531         [BZ #16351]
21532         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
21533         (MO): New macro.
21534         (__ieee754_asin): Force underflow exception for results with small
21535         absolute value.
21536         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
21537         (MO): New macro.
21538         (__ieee754_asinf): Force underflow exception for results with
21539         small absolute value.
21540         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
21541         (__ieee754_asin): Force underflow exception for results with small
21542         absolute value.
21543         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
21544         (__ieee754_asinf): Force underflow exception for results with
21545         small absolute value.
21546         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
21547         (__ieee754_asinl): Force underflow exception for results with
21548         small absolute value.
21549         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
21550         (__ieee754_asinl): Force underflow exception for results with
21551         small absolute value.
21552         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
21553         (__ieee754_asinl): Force underflow exception for results with
21554         small absolute value.
21555         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
21556         Include <math.h>.
21557         * math/auto-libm-test-in: Do not mark underflow exceptions as
21558         possibly missing for bug 16351.
21559         * math/auto-libm-test-out: Regenerated.
21561         [BZ #18030]
21562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
21563         of power of 2 down when low part has opposite sign.
21564         * math/libm-test.inc (logb_test_data): Add more tests.
21566 2015-02-26  Andreas Schwab  <schwab@suse.de>
21568         [BZ #18032]
21569         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
21570         over collating symbol inside a bracket expression.  Minor cleanup.
21571         * posix/tst-fnmatch3.c (do_test): Add test case.
21573 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
21575         [BZ #18029]
21576         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
21577         Adjust exponent of power of 2 down when low part has opposite
21578         sign.
21579         * math/libm-test.inc (ilogb_test_data): Add more tests.
21581 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
21583         [BZ #15969]
21584         * locale/findlocale.c (_nl_find_locale): Fix constness error in
21585         the previous change.
21587         [BZ #15969]
21588         * locale/findlocale.c (_nl_find_locale): Retry archive search
21589         after alias expansion.
21591 2015-02-25  Roland McGrath  <roland@hack.frob.com>
21593         * iconv/tst-iconv3.c (main): Converted to ...
21594         (do_test): ... this.
21595         (TEST_FUNCTION): New macro.
21596         Include test-skeleton.c.
21598         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
21599         (convert): Make function static.
21600         (test_unalign): Likewise.  Add const to argument pointee types.
21601         (main): Replace with static function do_test.
21602         Print "Succeeded." only if RET is zero.
21603         (TEST_FUNCTION): New macro.
21604         Include test-skeleton.c.
21606         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
21607         returns a null pointer.
21609 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21611         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
21612         to __memcpy_ppc only for static builds.
21614 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
21616         [BZ #18020]
21617         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
21618         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
21619         * math/auto-libm-test-in: Add more tests of asinh.
21620         * math/auto-libm-test-out: Regenerated.
21621         * sysdeps/i386/fpu/libm-test-ulps: Update.
21622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21624 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
21626         [BZ #15850]
21627         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
21628         and ip6_mtuinfo definitions here.
21629         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
21630         in this define too.  Update comment.
21632 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
21634         * elf/sprof.c (load_shobj): Tweak error message to match others.
21636 2015-02-24  Kevin Easton  <kevin@guarana.org>
21638         [BZ #16145] (partial fix)
21639         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
21640         to reduce lock contention.
21642 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
21644         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
21645         (struct timex): Update time comment.
21646         (ADJ_SETOFFSET): Define.
21648 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21650         [BZ #18019]
21651         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21652         2**56 not 2**28 as threshold for log (2x) formula.
21653         * math/auto-libm-test-in: Add more tests of acosh.
21654         * math/auto-libm-test-out: Regenerated.
21655         * sysdeps/i386/fpu/libm-test-ulps: Update.
21656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21658 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21660         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
21661         parenthesis around the buf assignment.
21662         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
21664 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
21666         [BZ #16783]
21667         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
21668         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
21669         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
21670         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21671         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
21672         * math/libm-test.inc (scalb_test_data): Add more tests.
21674 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
21676         [BZ #17916]
21677         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
21678         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
21680 2015-02-24  Eric Rannaud  <e@nanocritical.com>
21682         [BZ #17523]
21683         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
21684         * io/bits/fcntl2.h (open): Use it.
21685         (openat): Likewise.
21686         * io/open.c (__libc_open): Likewise.
21687         * io/open64.c (__libc_open64): Likewise.
21688         * io/open64_2.c (__open64_2): Likewise.
21689         * io/open_2.c (__open_2): Likewise.
21690         * io/openat.c (__openat): Likewise.
21691         * io/openat64.c (__openat64): Likewise.
21692         * io/openat64_2.c (__openat64_2): Likewise.
21693         * io/openat_2.c (__openat_2): Likewise.
21694         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
21695         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
21696         * sysdeps/posix/open64.c (__libc_open64): Likewise.
21697         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
21698         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21699         (__open_nocancel): Likewise.
21700         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21701         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21702         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
21704 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21706         [BZ #14841]
21707         * resolv/gethnamaddr.c (getanswer): Skip logging if
21708         RES_USE_DNSSEC is set.
21709         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
21711 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
21713         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
21715 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
21717         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
21718         201304L, for Unicode 7.
21720 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
21722         [BZ #17836]
21723         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
21724         shared library.  Add gmon-start.os otherwise.
21725         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
21726         $(objpfx)gmon-start.os if builing shared library.
21727         ($(objpfx)g$(static-start-installed-name)): Likewise.
21729 2015-02-23  Andreas Schwab  <schwab@suse.de>
21731         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
21733 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21735         [BZ #17269]
21736         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
21737         (enlarge_userbuf): Likewise.
21739 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
21741         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
21742         * math/atest-exp.c (TIMEOUT): Adjust to 200.
21743         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
21744         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
21746 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
21748         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
21749         expression inside statement expression.
21751 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
21753         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
21754         <sysdeps/nptl/lowlevellock.h> and remove macros and
21755         functions that are now defined there.
21756         (SYS_futex): Remove.
21757         (lll_compare_and_swap): Remove.
21758         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
21760 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
21762         [BZ #17999]
21763         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
21764         instead of scandirat.
21765         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
21766         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
21767         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
21768         __scandirat.
21769         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
21770         (__scandirat): Declare.  Use libc_hidden_proto.
21771         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
21772         Remove variable.
21773         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
21775 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21777         [BZ #15319]
21778         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
21779         (MO): New macro.
21780         (__ieee754_atan2): For results with small absolute value, force
21781         underflow exception and remove excess range and precision from
21782         return value.
21783         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
21784         (MO): New macro.
21785         (__ieee754_atan2f): For results with small absolute value, force
21786         underflow exception and remove excess range and precision from
21787         return value.
21788         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
21789         (MO): New macro.
21790         (__atan): For results with small absolute value, force underflow
21791         exception and remove excess range and precision from return value.
21792         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
21793         (MO): New macro.
21794         (__atanf): For results with small absolute value, force underflow
21795         exception and remove excess range and precision from return value.
21796         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
21797         <math.h>.
21798         (__ieee754_atan2): Force underflow exception for results with
21799         small absolute value.
21800         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
21801         <math_private.h>.
21802         (atan): Force underflow exception for results with small absolute
21803         value.
21804         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
21805         (__atanf): Force underflow exception for results with small
21806         absolute value.
21807         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
21808         <math.h>.
21809         (__atanl): Force underflow exception for results with small
21810         absolute value.
21811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
21812         (__atanl): Force underflow exception for results with small
21813         absolute value.
21814         * sysdeps/x86/fpu/bits/mathinline.h
21815         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
21816         (__ieee754_atan2): Only define inline for long double.
21817         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
21818         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
21819         * math/auto-libm-test-in: Do not mark underflow exceptions as
21820         possibly missing for bug 15319.  Add more tests of atan2.
21821         * math/auto-libm-test-out: Regenerated.
21822         * math/libm-test.inc (casin_test_data): Do not mark underflow
21823         exceptions as possibly missing for bug 15319.
21824         (casinh_test_data): Likewise.
21825         * sysdeps/i386/fpu/libm-test-ulps: Update.
21827 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
21829         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
21830         * sysdeps/mips/bits/endian.h: Fix comments.
21832 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
21834         [BZ #17996]
21835         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
21836         (hdestroy_r): Likewise.
21837         (hsearch_r): Likewise.
21838         (__hcreate_r): Declare and use libc_hidden_proto.
21839         (__hdestroy_r): Likewise.
21840         (__hsearch_r): Likewise.
21841         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
21842         (hcreate): Call __hcreate_r instead of hcreate_r.
21843         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
21844         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
21845         as weak alias of __hcreate_r.
21846         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
21847         __hdestroy_r.
21848         (hsearch_r): Rename to __hsearch_r and define as weak alias of
21849         __hsearch_r.
21850         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
21851         Remove variable.
21852         (test-xfail-XPG4/search.h/linknamespace): Likewise.
21853         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
21854         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
21855         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
21857 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21859         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
21860         arena_lock into a single arena_get.
21862 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
21864         * dl-reloc.c: Inlucde libc-internal.h.
21865         (_dl_try_allocate_static_tls): Call ALIGN_UP.
21866         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
21867         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
21868         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
21869         (grow_heap): Likewise.
21870         * malloc/malloc.c: Include libc-internal.h.
21871         (do_check_malloc): Call powerof2.
21872         (sysmalloc): Use pagesize. Call ALIGN_UP.
21873         (systrim): Use pagesize.
21874         (mremap_chunk): Use pagesize. Call ALIGN_UP.
21875         (__libc_valloc): Use pagesize.
21876         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
21878 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21880         [BZ #17991]
21881         * include/sys/resource.h (__getrlimit64): Declare.  Use
21882         libc_hidden_proto.
21883         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
21884         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
21885         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
21886         getrlimit64.
21887         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
21888         __getrlimit64.
21889         [!getrlimit64] (getrlimit64): Define as weak alias of
21890         __getrlimit64.  Use libc_hidden_weak.
21891         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
21892         using __getrlimit64 not __new_getrlimit64.
21893         (__GI_getrlimit64): Likewise.
21894         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
21895         Likewise.
21896         (__GI_getrlimit64): Likewise.
21897         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
21898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
21899         (getrlimit): Add __getrlimit64 alias.
21900         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
21901         Likewise.
21902         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
21903         Remove variable.
21904         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
21905         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
21907 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
21909         * libio/fileops.c: Add missing sys/mman.h
21910         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
21912 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
21914         * manual/math.texi (Errors in Math Functions): Clarify goals
21915         regarding inexact and underflow exceptions.
21917 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21919         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
21920         * sysdeps/mips/memset.S: Ditto.
21922 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
21924         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
21926 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21928         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
21929         (__v1longjmp): Remove versioned symbol.
21930         (__v1siglongjmp): Remove alias and versioned symbol.
21931         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
21932         (__v2siglongjmp): Likewise.
21934 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21936         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
21938 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
21940         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
21942 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21944         [BZ #17987]
21945         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
21946         zero result does not depend on the sign resulting from
21947         subtraction.
21948         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21949         Likewise.
21950         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21951         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21952         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21953         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21954         * math/libm-test.inc (remquo_test_data): Add more tests.
21956 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
21958         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
21959         Problem reported by J William Piggott.
21961 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
21963         [BZ #17978]
21964         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
21965         products 4 * y and 2 * y where those would overflow.
21966         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
21967         Likewise.
21968         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
21969         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
21970         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21971         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
21972         * math/libm-test.inc (remquo_test_data): Add more tests.
21974         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
21976         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
21977         [defined _COMPILING_NEWLIB].
21978         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
21979         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
21981         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
21982         [!defined __mips_isa_rev || __mips_isa_rev < 6].
21984 2015-02-16  Torvald Riegel  <triegel@redhat.com>
21986         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
21987         acquired.
21989 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
21991         [BZ #17792]
21992         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
21993         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
21994         HOST_STACK_END_ADDR): Likewise.
21996 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
21998         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
21999         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22000         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22002 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22004         * sysdeps/generic/c++-types.data: New file.
22005         * sysdeps/generic/ld.abilist: New file.
22006         * sysdeps/generic/libBrokenLocale.abilist: New file.
22007         * sysdeps/generic/libanl.abilist: New file.
22008         * sysdeps/generic/libc.abilist: New file.
22009         * sysdeps/generic/libcrypt.abilist: New file.
22010         * sysdeps/generic/libdl.abilist: New file.
22011         * sysdeps/generic/libm.abilist: New file.
22012         * sysdeps/generic/libpthread.abilist: New file.
22013         * sysdeps/generic/libresolv.abilist: New file.
22014         * sysdeps/generic/librt.abilist: New file.
22016 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22018         [BZ #17569]
22019         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22020         Compute absolute value of x as modified by fmod, not original
22021         value of x.
22022         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22023         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22024         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22025         RUN_TEST_ffI_f1_mod8.
22026         (remquo_test_data): Add more tests.
22028 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22030         * sysdeps/init_array/pt-crti.S: New file.
22032 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22034         [BZ #17967]
22035         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22036         __builtin_fmaf instead of relying on contraction of a * b + c.
22038 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22040         [BZ #17969]
22041         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22042         node.
22044 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22046         [BZ #17964]
22047         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22048         __builtin_fma instead of relying on contraction of a * b + c.
22050 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22052         * Makeconfig (ASFLAGS): Add -Werror=undef.
22053         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22054         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22055         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22057         * Makeconfig (after-link): New variable.
22058         (+link-pie, +link-pie-tests): Use it.
22059         (+link-static, +link-static-tests): Likewise.
22060         (+link, +link-tests): Likewise.
22061         * Makerules (build-module, build-module-asneeded): Likewise.
22062         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22063         Likewise.
22064         * elf/Makefile ($(objpfx)ld.so): Likewise.
22066 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22068         [BZ #17965]
22069         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22070         both struct timeval and struct timespec.
22072 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22074         [BZ #16560]
22075         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22076         and redefine.
22077         (__ieee754_exp2l): Do not multiply small fractional parts by
22078         M_LN2l.
22079         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22080         small argument.
22081         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22082         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22083         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22084         * math/auto-libm-test-in: Add more tests of exp2.
22085         * math/auto-libm-test-out: Regenerated.
22087 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22089         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22090         unaligned path.
22092 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22094         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22095         little endian.
22097 2015-02-12  Andreas Schwab  <schwab@suse.de>
22099         [BZ #15790]
22100         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22101         Filter out elision flags from value returned in kind.
22102         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22103         * nptl/tst-pthread-mutexattr.c: New file.
22105 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22107         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22108         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22109         into gnu-gnu, and update comment to refer to abi-tags.
22111 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22113         [BZ #15467]
22114         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22115         (__sincos): Set errno to EDOM for infinite argument.
22116         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22117         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22118         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22119         (__sincosl): Set errno to EDOM for infinite argument.
22120         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22121         (__sincosl): Set errno to EDOM for infinite argument.
22122         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22123         (__sincosl): Set errno to EDOM for infinite argument.
22124         * math/libm-test.inc (sincos_test_data): Test errno setting.
22126 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22128         * string/strxfrm_l.c: Remove #define STRCMP.
22129         * string/strcoll_l.c: Remove #define STRLEN.
22130         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22131         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22133 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22135         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22136         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22137         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22138         * sysdeps/mips/mips64/Makefile: ... here.
22139         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22140         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22141         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22142         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22143         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22144         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22145         * sysdeps/mips/mips64/n64/Implies: Likewise.
22147 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22149         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22150         <sys/time.h>, <string.h>, and <errno.h>.
22151         (dest_offset, dest_address, value, zero): Remove unused variables.
22152         (ldouble): Remove typedef.
22153         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22154         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22155         1).  Fix code style.
22156         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22157         (check): Function removed.
22158         (CHECK): New macro.
22159         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22160         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22161         Don't call set_sigaction_FP and remove_sigaction_FP here.
22162         (ldouble_test): Just use 'long double' as macro argument, no need for
22163         the 'ldouble' typedef.
22164         (do_test): Set up SIGFPE handler at start, using plain signal rather
22165         than sigaction.  Fix code style.
22167 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
22169         [BZ #17949]
22170         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
22171         jump label.
22173 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22175         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
22176         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22178         * sysdeps/powerpc/configure.ac: Remove file.
22179         * sysdeps/powerpc/configure: Likewise.
22181         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22182         [sysdep_routines]: Remove wordcopy-power6 object.
22183         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
22184         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
22185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
22186         (__memmove_ppc32): Likewise.
22187         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
22188         file.
22189         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
22190         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
22191         Remove preprocessor.
22193         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
22194         [sysdep_routines]: Remove wide chars objects.
22195         [wcsmbs]: New rule for wide char objects.
22197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22198         Remove wordcopy-power6 obejct.
22199         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
22200         Use local call for wordcopy and memcpy symbols.
22201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
22202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
22203         implementation for loader.
22204         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
22206         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22207         Remove wordcopy-power7 object.
22208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
22209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
22210         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
22211         (_wordcopy_fwd_dest_aligned): Likewise.
22212         (_wordcopy_bwd_aligned): Likewise.
22213         (_wordcopy_bwd_dest_aligned): Likewise.
22215         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
22216         Rewrite to call __memmove_ppc instead of include default
22217         implementation.
22219         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
22220         Remove wide chars objects.
22221         [wcsmbs]: New rule for wide char objects.
22223 2015-02-09  Andreas Schwab  <schwab@suse.de>
22225         [BZ #17912]
22226         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22227         in terms of __O_DIRECTORY.
22229 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22231         * time/getdate.c: Include <stdbool.h>.
22232         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
22233         call PTR_MANGLE.
22234         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
22235         PTR_DEMANGLE.
22237 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
22239         Add ersatz _Static_assert on older C hosts
22240         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
22241         pre-C11 C platform that is not known to support _Static_assert.
22243 2015-02-07  Richard Braun  <rbraun@sceen.net>
22245         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
22246         sigstate.
22247         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
22249 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22251         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
22252         priority against unexistent AIO_PRIO_DELTA_MAX.
22253         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
22254         instead of int.
22255         * misc/fchflags.c (fchflags): Likewise.
22256         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
22257         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
22258         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
22259         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
22260         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
22261         Declare macros.
22262         [__USE_MISC] (chflags, fchflags): Declare functions.
22263         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
22264         EINVAL when nfds is greater than FD_SETSIZE.
22265         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
22266         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
22267         45.
22268         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
22269         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
22270         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
22271         MACH_RCV_TIMED_OUT.
22272         * hurd/hurd/signal.h (_hurd_self_sigstate,
22273         _hurd_critical_section_lock, _hurd_critical_section_unlock):
22274         Explicit casts from void *.
22275         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
22276         * abi-tags: Rename gnu-gnu os into gnu.
22278         [BZ #4719]
22279         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
22280         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
22281         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
22282         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
22283         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
22284         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
22286         [BZ #17944]
22287         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
22288         duplicates ADDR->sun_path with sockaddr LEN limitation.
22289         * sysdeps/mach/hurd/connect.c: Include <string.h>
22290         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
22291         * sysdeps/mach/hurd/sendmsg.c: Likewise.
22292         * sysdeps/mach/hurd/sendto.c: Likewise.
22293         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
22294         implementing it by hand.
22296 2015-02-06  Roland McGrath  <roland@hack.frob.com>
22298         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
22299         Use sfi_breg on ldr.
22300         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
22301         Likewise.
22303         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
22304         it's defined.
22305         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
22306         Test SIGSETXID only if it's defined.
22308         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
22310         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
22311         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
22313         * nptl/tst-align2.c: Moved ...
22314         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
22315         * nptl/Makefile (tests): Remove tst-align2.
22316         * sysdeps/unix/sysv/linux/Makefile
22317         [$(subdir) = nptl] (tests): Add tst-align-clone.
22318         * nptl/tst-getpid1.c: Moved ...
22319         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
22320         * nptl/tst-getpid2.c: Moved ...
22321         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
22322         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
22323         * sysdeps/unix/sysv/linux/Makefile
22324         [$(subdir) = nptl] (tests): ... here.
22325         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
22326         * sysdeps/unix/sysv/linux/Makefile
22327         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
22329         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
22330         Drop trailing \n from perror argument.  Use return rather than exit.
22332         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
22333         on [SA_SIGINFO].
22334         * nptl/tst-cancel21.c (do_test): Likewise.
22335         * debug/tst-backtrace6.c: Include <signal.h> first thing.
22336         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
22337         [!SA_SIGINFO]: Make it a stub test.
22339         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
22340         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
22342         * posix/tst-getlogin.c: Move to ...
22343         * login/tst-getlogin.c: ... here.
22344         * posix/Makefile (tests): Move tst-getlogin to ...
22345         * login/Makefile (tests): ... here.
22347         * libio/tst-atime.c (do_test): Move local variables SV and E
22348         inside [ST_NOATIME] conditional.
22350         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
22352         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
22354         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
22355         (wait_code): New function replaces macro.
22356         Call nanosleep rather than syscall.
22358         * nptl/pt-system.c: Rewritten.  Put everything under
22359         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22360         Use IFUNC to redirect when possible.
22362         * nptl/pt-longjmp.c: Rewritten.  Put everything under
22363         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22364         Use IFUNC to redirect when possible.
22366         * nptl/pt-fork.c: Rewritten.  Put everything under
22367         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
22368         Use IFUNC to redirect when possible.
22369         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
22371         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
22372         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
22373         unconditionally nowadays.  This included the only reference to
22374         __vdso_clock_gettime that appears outside libc proper.
22375         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
22376         Remove version set (containing only __vdso_clock_gettime).
22377         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22378         Add attribute_hidden.
22379         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22380         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
22381         libc_hidden_data_def.
22382         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22383         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22385         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
22386         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
22387         setrpcent, and getrpcport to ...
22388         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
22389         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
22390         getrpcbynumber_r, and getrpcent_r to ...
22391         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
22392         * inet/getrpcbyname.c: Moved ...
22393         * sunrpc/getrpcbyname.c: ... here.
22394         * inet/getrpcbyname_r.c: Moved ...
22395         * sunrpc/getrpcbyname_r.c: ... here.
22396         * inet/getrpcbynumber.c: Moved ...
22397         * sunrpc/getrpcbynumber.c: ... here.
22398         * inet/getrpcbynumber_r.c: Moved ...
22399         * sunrpc/getrpcbynumber_r.c: ... here.
22400         * inet/getrpcent.c: Moved ...
22401         * sunrpc/getrpcent.c: ... here.
22402         * inet/getrpcent_r.c: Moved ...
22403         * sunrpc/getrpcent_r.c: ... here.
22404         * inet/Makefile (routines): Move those to ...
22405         * sunrpc/Makefile (routines): ... here.
22406         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
22407         the $(subdirs) list.
22408         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
22409         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
22410         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
22411         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
22413         * elf/Makefile (routines): Include $(all-dl-routines), not just
22414         $(dl-routines).
22415         (rtld-routines): Likewise.  Use = rather than :=.
22416         * sysdeps/aarch64/Makefile [$(subdir) = elf]
22417         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
22418         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
22419         * sysdeps/arm/Makefile: Likewise.
22420         * sysdeps/i386/Makefile: Likewise.
22421         * sysdeps/x86_64/Makefile: Likewise.
22422         * sysdeps/hppa/Makefile [$(subdir) = elf]
22423         (sysdep_routines, sysdep-rtld-routines): Don't add
22424         $(sysdep-dl-routines) to these.
22425         * sysdeps/ia64/Makefile: Likewise.
22426         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
22427         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
22428         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
22429         Don't add dl-static to these; sysdep-dl-routines alone is enough.
22430         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
22431         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
22432         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
22433         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
22434         * sysdeps/powerpc/Makefile [$(subdir) = elf]
22435         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
22436         these; sysdep-dl-routines alone is enough.
22438 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
22440         [BZ #17932]
22441         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
22442         where multiplication results in zero and third argument is finite
22443         and nonzero.
22444         * math/auto-libm-test-in: Add more tests of fma.
22445         * math/auto-libm-test-out: Regenerated.
22447         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
22448         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
22449         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
22450         (_FP_CMP_EQ): Likewise.
22451         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
22453         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
22454         extra argument CHECK_NAN.  Redefine as wrapper around
22455         _FP_EXTEND_CNAN.
22457 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
22459         * version.h (RELEASE): Set to "stable".
22460         (VERSION): Set to "2.21"
22461         * include/features.h (__GLIBC_MINOR__): Set to 21.
22463         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
22465 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
22466             Paul Eggert  <eggert@cs.ucla.edu>
22468         [BZ #16618]
22469         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
22470         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
22471         size in bytes. Store needed elements in wpmax. Use needed size
22472         in bytes for extend_alloca.
22474 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
22476         * manual/install.texi: Latest tested versions are GCC 4.9.2,
22477         binutls 2.25, and texinfo 5.2.
22478         * INSTALL: Regenerate.
22479         * sysdeps/nios2/configure: Regenerate.
22480         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
22481         * manual/contrib.texi: Update.
22482         * po/be.po: Update.
22483         * po/bg.po: Update.
22484         * po/ca.po: Update.
22485         * po/cs.po: Update.
22486         * po/da.po: Update.
22487         * po/de.po: Update.
22488         * po/el.po: Update.
22489         * po/eo.po: Update.
22490         * po/es.po: Update.
22491         * po/fi.po: Update.
22492         * po/fr.po: Update.
22493         * po/gl.po: Update.
22494         * po/hr.po: Update.
22495         * po/hu.po: Update.
22496         * po/ia.po: Update.
22497         * po/id.po: Update.
22498         * po/it.po: Update.
22499         * po/ja.po: Update.
22500         * po/ko.po: Update.
22501         * po/lt.po: Update.
22502         * po/nb.po: Update.
22503         * po/nl.po: Update.
22504         * po/pl.po: Update.
22505         * po/pt_BR.po: Update.
22506         * po/ru.po: Update.
22507         * po/rw.po: Update.
22508         * po/sk.po: Update.
22509         * po/sl.po: Update.
22510         * po/sv.po: Update.
22511         * po/tr.po: Update.
22512         * po/uk.po: Update.
22513         * po/vi.po: Update.
22514         * po/zh_CN.po: Update.
22515         * po/zh_TW.po: Update.
22517         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
22518         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
22519         * sysdeps/hppa/dl-irel.h: Remove #warning.
22520         * sysdeps/hppa/entry.h: Provide prototype for
22521         __canonicalize_funcptr_for_compare and cast argument.
22522         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
22523         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
22524         * sysdeps/hppa/sotruss-lib.c: New file.
22525         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
22526         (atomic_compare_and_exchange_val_acq): Use __typeof__.
22527         (atomic_compare_and_exchange_bool_acq): Likewise.
22528         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
22529         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
22531         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
22532         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
22533         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
22535 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
22537         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
22538         called function in non-PIC case.
22540 2015-01-31  David S. Miller  <davem@davemloft.net>
22542         * sysdeps/sparc/sparc32/bits/atomic.h
22543         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
22544         unlock not after it.
22545         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
22546         volatile register usage warnings from the compiler.
22548         * sysdeps/sparc/nptl/sem_init.c: Delete.
22549         * sysdeps/sparc/nptl/sem_post.c: Delete.
22550         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
22551         * sysdeps/sparc/nptl/sem_wait.c: Delete.
22552         * sysdeps/sparc/sparc32/sem_init.c: New file.
22553         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
22554         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
22555         padding explicitly initialized.
22556         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
22557         padding for in-semaphore spinlock.
22558         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
22559         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
22560         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
22561         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
22562         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
22563         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
22564         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
22565         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
22566         version.
22567         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
22568         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
22570 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
22572         [BZ #17801]
22573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22574         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
22575         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
22576         New.
22577         (index_AVX_Fast_Unaligned_Load): Likewise.
22578         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
22579         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
22580         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
22581         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
22582         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
22583         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
22584         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
22585         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
22586         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
22588 2015-01-29  Andreas Schwab  <schwab@suse.de>
22590         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
22592 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
22594         [BZ #17892]
22595         * nscd/nscd_stat.c (send_stats): Initialize DATA.
22597 2015-01-28  Martin Sebor  <msebor@redhat.com>
22599         * math/README.libm-test: Clarify. Add "How to read the test output."
22601 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
22603         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
22604         Define to 0.
22606 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
22608         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
22609         (__HAVE_64B_ATOMICS): Define to 0.
22611 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22613         [BZ #17885]
22614         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
22615         value to set as new flag.
22617         [BZ #16576]
22618         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
22619         and use _ARCH_PPCSQ instead.
22620         (__ieee754_sqrt): Likewise.
22621         (__ieee754_sqrtf): Likewise.
22622         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
22623         _ARCH_PPCSQ is defined.
22624         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
22625         fsqrt instruction.
22626         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
22627         _ARCH_PPCSQ is defined.
22628         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
22629         fsqrts instruction.
22630         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
22632 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22634         * iconv/loop.c: Suppress array out of bound warning caused by GCC
22635         bug (GCC BZ #64739).
22637 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
22639         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
22640         Mark _retval as used.
22641         (lll_futex_wake_unlock): Likewise.
22642         (lll_futex_timed_wait_requeue_pi): Likewise.
22644         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
22645         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
22646         register variables.
22648         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
22649         libm_hidden_def.
22651         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
22652         (__bswap_64): Mark as __always_inline.
22654 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
22656         [BZ #15378]
22657         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
22658         when none of the search directories exist.
22660 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22662         [BZ #17869]
22663         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
22664         power8 in .machine directive.
22666         [BZ #17868]
22667         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
22668         set dependency from opd value.
22670 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22673         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
22674         architecture.
22676 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
22678         [BZ #17870]
22679         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
22680         with uint64_t.
22681         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
22682         (uint64_t) 1.
22683         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22684         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
22685         Replace 1UL with (uint64_t) 1.
22686         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
22687         int with uint64_t.
22689 2015-01-23  Roland McGrath  <roland@hack.frob.com>
22691         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
22692         (if_freenameindex): Likewise.
22694         * resource/getrlimit64.c: Add missing libc_hidden_def.
22696 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
22698         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
22699         __label__.
22700         (_FP_FMA): Likewise.
22701         (_FP_TO_INT_ROUND): Likewise.
22702         (_FP_FROM_INT): Likewise.
22704 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22706         [BZ #16418]
22707         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
22708         Make code racy and cancel safe.
22710 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
22712         * sysdeps/arm/unwind-resume.h: Fix copyright year.
22713         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
22714         attribution.
22716         * pwd/tst-getpw.c: Rewrite.
22718         [BZ #17702]
22719         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
22720         (modules-names): Add moddummy1 and moddummy2.
22721         ($(objpfx)tst-rec-dlopen): Define.
22722         * dlfcn/moddummy1.c: New file.
22723         * dlfcn/moddummy2.c: New file.
22724         * dlfcn/tst-rec-dlopen.c: New file.
22725         * elf/dl-cache.c (_dl_load_cache_lookup):
22726         Return char*. Copy result with alloca/strcpy/strdup.
22727         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
22728         returns char*. Free cached. If not saving realname
22729         free cached.
22730         * elf/dl-open.c (dl_open_worker): Do not assert that
22731         _r_debug->r_state is RT_CONSISTENT.
22732         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
22733         returns char*.
22735 2015-01-21  Torvald Riegel  <triegel@redhat.com>
22736             Carlos O'Donell  <carlos@redhat.com>
22738         [BZ #12674]
22739         * nptl/sem_waitcommon.c: New file.
22740         * nptl/sem_wait.c: Include sem_waitcommon.c.
22741         (__sem_wait_cleanup, do_futex_wait): Remove.
22742         (__new_sem_wait): Adapt.
22743         (__new_sem_trywait): New function.
22744         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
22745         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
22746         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
22747         (sem_timedwait): Adapt.
22748         * nptl/sem_post.c (__new_sem_post): Adapt.
22749         (futex_wake): New function.
22750         (__old_sem_post): Add release MO fence.
22751         * nptl/sem_open.c (sem_open): Adapt.
22752         * nptl/sem_init.c (__new_sem_init): Adapt.
22753         (futex_private_if_supported): New function.
22754         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
22755         (__old_sem_getvalue): Add using previous code.
22756         * sysdeps/nptl/internaltypes.h: Adapt.
22757         * nptl/tst-sem13.c (do_test): Adapt.
22758         * nptl/tst-sem11.c (main): Adapt.
22759         * nptl/sem_trywait.c: Remove.
22760         * nptl/DESIGN-sem.txt: Remove.
22761         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
22762         (gen-as-const-headers): Remove structsem.sym.
22763         * nptl/structsem.sym: Remove.
22764         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
22765         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
22766         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
22767         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
22768         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
22769         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
22770         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
22771         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
22772         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
22773         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
22774         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
22775         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
22776         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
22777         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
22778         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
22779         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
22780         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
22781         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
22782         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
22783         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
22784         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
22785         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
22787 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
22789         * INSTALL: Regenerated.
22791         * po/libc.pot: Regenerated.
22793 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
22794             Sandra Loosemore  <sandra@codesourcery.com>
22795             Andrew Jenner  <andrew@codesourcery.com>
22796             Joseph Myers  <joseph@codesourcery.com>
22797             Nathan Sidwell  <nathan@codesourcery.com>
22799         * NEWS: Mention new Nios II port.
22800         * sysdeps/nios2/Implies: New file.
22801         * sysdeps/nios2/Makefile: New file.
22802         * sysdeps/nios2/Subdirs: New file.
22803         * sysdeps/nios2/Versions: New file.
22804         * sysdeps/nios2/__longjmp.S: New file.
22805         * sysdeps/nios2/abort-instr.h: New file.
22806         * sysdeps/nios2/backtrace.c: New file.
22807         * sysdeps/nios2/bits/endian.h: New file.
22808         * sysdeps/nios2/bits/fenv.h: New file.
22809         * sysdeps/nios2/bits/link.h: New file.
22810         * sysdeps/nios2/bits/setjmp.h: New file.
22811         * sysdeps/nios2/bsd-_setjmp.S: New file.
22812         * sysdeps/nios2/bsd-setjmp.S: New file.
22813         * sysdeps/nios2/configure: New generated file.
22814         * sysdeps/nios2/configure.ac: New file.
22815         * sysdeps/nios2/crti.S: New file.
22816         * sysdeps/nios2/crtn.S: New file.
22817         * sysdeps/nios2/dl-init.c: New file.
22818         * sysdeps/nios2/dl-machine.h: New file.
22819         * sysdeps/nios2/dl-sysdep.h: New file.
22820         * sysdeps/nios2/dl-tls.h: New file.
22821         * sysdeps/nios2/dl-trampoline.S: New file.
22822         * sysdeps/nios2/gccframe.h: New file.
22823         * sysdeps/nios2/gmp-mparam.h: New file.
22824         * sysdeps/nios2/jmpbuf-offsets.h: New file.
22825         * sysdeps/nios2/jmpbuf-unwind.h: New file.
22826         * sysdeps/nios2/ldsodefs.h: New file.
22827         * sysdeps/nios2/libc-tls.c: New file.
22828         * sysdeps/nios2/libm-test-ulps: New file.
22829         * sysdeps/nios2/machine-gmon.h: New file.
22830         * sysdeps/nios2/math-tests.h: New file.
22831         * sysdeps/nios2/math_private.h: New file.
22832         * sysdeps/nios2/memusage.h: New file.
22833         * sysdeps/nios2/nptl/Makefile: New file.
22834         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
22835         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
22836         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
22837         * sysdeps/nios2/nptl/pthreaddef.h: New file.
22838         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
22839         * sysdeps/nios2/nptl/tls.h: New file.
22840         * sysdeps/nios2/preconfigure: New file.
22841         * sysdeps/nios2/s_fma.c: New file.
22842         * sysdeps/nios2/s_fmaf.c: New file.
22843         * sysdeps/nios2/setjmp.S: New file.
22844         * sysdeps/nios2/sfp-machine.h: New file.
22845         * sysdeps/nios2/sotruss-lib.c: New file.
22846         * sysdeps/nios2/stackguard-macros.h: New file.
22847         * sysdeps/nios2/stackinfo.h: New file.
22848         * sysdeps/nios2/start.S: New file.
22849         * sysdeps/nios2/sysdep.h: New file.
22850         * sysdeps/nios2/tls-macros.h: New file.
22851         * sysdeps/nios2/tst-audit.h: New file.
22852         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
22853         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
22854         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
22855         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
22856         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
22857         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
22858         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
22859         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
22860         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
22861         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
22862         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
22863         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
22864         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
22865         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
22866         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
22867         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
22868         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
22869         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
22870         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
22871         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
22872         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
22873         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
22874         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
22875         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
22876         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
22877         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
22878         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
22879         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
22880         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
22881         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
22882         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
22883         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
22884         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
22885         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
22886         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
22887         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
22888         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
22889         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
22890         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
22891         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
22892         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
22893         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
22894         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
22895         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
22897 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22899         [BZ #17844]
22900         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
22901         (getutent): Use weak_alias in non SHARED case
22902         and default_symbol_version in SHARED case.
22903         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
22904         (getutent_r, pututline): Likewise.
22905         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
22906         (getutid): Likewise.
22907         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
22908         (getutid_r): Likewise.
22909         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
22910         (getutline): Likewise.
22911         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
22912         (getutline_r): Likewise.
22913         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
22914         (updwtmp): Likewise.
22916 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
22918         [BZ #17848]
22919         * sysdeps/s390/s390-32/memcmp.S
22920         (memcmp_g5): Rename to __memcmp_g5.
22921         * sysdeps/s390/s390-32/memcpy.S
22922         (memcpy_g5): Rename to __memcpy_g5.
22923         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22924         (memcpy_mvcle) Rename to __memcpy_mvcle.
22925         * sysdeps/s390/s390-32/memset.S
22926         (memset_g5): Rename to __memset_g5.
22927         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
22928         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22929         and use prefixed functions.
22930         * sysdeps/s390/s390-32/multiarch/memcmp.S
22931         (memcmp_z196): Rename to __memcmp_z196.
22932         (memcmp_z10): Rename to __memcmp_z10.
22933         (memcmp): Set alias to __memcmp_g5.
22934         (bcmp): Set alias to __memcmp_g5.
22935         * sysdeps/s390/s390-32/multiarch/memcpy.S
22936         (memcpy_z196): Rename to __memcpy_z196.
22937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22938         (memcpy_z10): Rename to __memcpy_z10.
22939         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22940         (memcpy): Set alias to __memcpy_g5.
22941         * sysdeps/s390/s390-32/multiarch/memset.S
22942         (memset_z196): Rename to __memset_z196.
22943         Jump to __memset_mvcle instead of memset_mvcle.
22944         (memset_z10): Rename to __memset_z10.
22945         Jump to __memset_mvcle instead of memset_mvcle.
22946         (memset_mvcle) Rename to __memset_mvcle.
22947         (memset): Set alias to __memset_g5.
22948         * sysdeps/s390/s390-64/memcmp.S
22949         (memcmp_z900): Rename to __memcmp_z900.
22950         * sysdeps/s390/s390-64/memcpy.S
22951         (memcpy_z900): Rename to __memcpy_z900.
22952         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22953         (memcpy_mvcle) Rename to __memcpy_mvcle.
22954         * sysdeps/s390/s390-64/memset.S
22955         (memset_z900): Rename to __memset_z900.
22956         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
22957         (IFUNC_RESOLVE): Prefix ifunc-resolve function
22958         and use prefixed functions.
22959         * sysdeps/s390/s390-64/multiarch/memcmp.S
22960         (memcmp_z196): Rename to __memcmp_z196.
22961         (memcmp_z10): Rename to __memcmp_z10.
22962         (memcmp): Set alias to __memcmp_z900.
22963         (bcmp): Set alias to __memcmp_z900.
22964         * sysdeps/s390/s390-64/multiarch/memcpy.S
22965         (memcpy_z196): Rename to __memcpy_z196.
22966         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22967         (memcpy_z10): Rename to __memcpy_z10.
22968         Jump to __memcpy_mvcle instead of memcpy_mvcle.
22969         (memcpy): Set alias to __memcpy_z900.
22970         * sysdeps/s390/s390-64/multiarch/memset.S
22971         (memset_z196): Rename to __memset_z196.
22972         Jump to __memset_mvcle instead of memset_mvcle.
22973         (memset_z10): Rename to __memset_z10.
22974         Jump to __memset_mvcle instead of memset_mvcle.
22975         (memset_mvcle) Rename to __memset_mvcle.
22976         (memset): Set alias to __memset_z900.
22978 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
22980         [BZ #17748]
22981         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
22982         __fesetenv instead of fesetenv.
22984 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22986         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
22987         macro.
22989 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22991         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
22992         regression on LE.
22994         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
22995         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
22996         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
22997         strncmp-power8 object.
22998         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
22999         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23000         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23001         * NEWS: Update.
23003 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23004             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23006         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23007         trailing byte check.
23009 2015-01-13  David S. Miller  <davem@davemloft.net>
23011         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23013 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23015         * login/logout.c (logout): Use memset rather than bzero.
23016         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23017         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23018         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23019         (_gethtbyaddr): Likewise.
23020         * locale/programs/simple-hash.c (bcopy): Macro removed.
23022 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23024         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23025         Add strcmp-power8 object.
23026         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23027         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23028         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23029         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23030         __strcmp_power8 implementation.
23031         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23032         * NEWS: Update.
23034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23035         Add strncpy-power8 and stpncpy-power8 objects.
23036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23037         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23038         implementations.
23039         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23040         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23041         __stpncpy_power8 implementation.
23042         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23043         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23044         __strncpy_power8 implementation.
23045         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23046         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23047         * NEWS: Update.
23049         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23050         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23051         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23054         strncat-power8 object.
23055         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23056         __strcat_power8 implementation.
23057         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23058         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23059         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23060         optimized strcat for power8.
23062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23063         strcpy-power8 and stpcpy-power8 objects.
23064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23065         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23066         implementations.
23067         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23068         multiarch stpcpy implementation for POWER8.
23069         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23070         multiarch strcpy implementation for POWER8.
23071         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23072         __strcpy_power8 function.
23073         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23074         stpcpy for POWER8.
23075         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23076         strcpy for POWER8.
23077         * NEWS: Update.
23079 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23081         [BZ #16009]
23082         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23083         weights and rules. Use do_xfrm_cached if data fits in cache,
23084         do_xfrm otherwise.  Moved former main loop to...
23085         * (do_xfrm_cached): New function.
23086         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23087         find_idx, find_position and stack_push.
23088         * (find_idx): New function.
23089         * (find_position): Likewise.
23090         * localedata/sort-test.sh: Added test run for do_xfrm.
23091         * localedata/xfrm-test.c (main): Added command line option
23092         -nocache to run the test with strings that are too large for
23093         the STRXFRM cache.
23095 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23097         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23098         variable to lll_futex_wake call, not the value itself.
23100 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23102         [BZ #17803]
23103         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23104         twom64.  Adjust value to 0x1p-64L.
23105         (__scalblnl): Only return standard underflowing result for K <=
23106         -64 not K <= -63; adjust exponent for underflowing result by 64
23107         not 63.
23108         * math/libm-test.inc (scalbn_test_data): Add more tests.
23109         (scalbln_test_data): Likewise.
23111         [BZ #17834]
23112         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23113         0x1p63L.
23114         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23115         not HX.
23116         * math/libm-test.inc (scalbn_test_data): Add more tests.
23117         (scalbln_test_data): Likewise.
23119 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23120             Stefani Seibold  <stefani@seibold.net>
23122         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23123         (sysdep_routines): Add dl-vdso here, ...
23124         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23125         (sysdep_routines): ... not here.
23126         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23127         fallback when vDSO is not presented.
23128         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23129         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23130         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23131         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23132         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23133         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23134         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23135         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23136         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23137         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23138         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23139         fallback configurable symbol when vDSO is not available.
23140         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23141         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23142         be able to redefine fallback symbol when vDSO is not available.
23143         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23144         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23146 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23148         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23149         (TLS_INIT_TP): Add tm_capable initialization.
23150         (TLS_DEFINE_INIT_TP): Likewise.
23151         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23152         TCB.
23153         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23154         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23155         calculation.
23156         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23157         transactoion is lock elision is built and TCB tm_capable is set.
23158         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23160         (INTERNAL_SYSCALL_NCS): Likewise.
23161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23162         (INTERNAL_SYSCALL_NCS): Likewise.
23163         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
23165         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
23166         for powerpc.
23167         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23168         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
23169         and remove it for 32 bits case.
23170         [pthread_rwlock_t] (__rwelision): New field for lock elision.
23171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
23172         initialization.
23173         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
23174         Disable lock elision with rdlocks if elision is not available.
23176         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
23177         (sysdep_routines): Add lock elision objects.
23178         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
23179         [pthread_mutex_t] (__spins): Rework to add lock elision field.
23180         [pthread_mutex_t] (__elision): Add field.
23181         [__PTHREAD_SPINS]: Adjust to init lock elision field.
23182         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
23183         elision definitions for powerpc.
23184         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
23185         implementation of lock elision for powerpc.
23186         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
23187         implementation of timed lock elision for powerpc.
23188         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
23189         implementation of trylock with lock elision for powerpc.
23190         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
23191         implementaion of unlock for lock elision for powerpc.
23192         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
23193         automatic enable lock elision for mutexes.
23194         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
23195         transaction execution definitions for powerpc.
23196         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
23197         definitions.
23198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
23199         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
23200         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
23201         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
23202         * NEWS: Update.
23204 2015-01-09  Roland McGrath  <roland@hack.frob.com>
23206         * sysdeps/posix/shm-directory.c: Use <> rather than ""
23207         for #include of <shm-directory.h>.
23209 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
23211         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
23212         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
23214 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
23216         [BZ #17791]
23217         * NEWS: Mention bug fix.
23218         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
23219         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
23220         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
23222 2015-01-09  Torvald Riegel <triegel@redhat.com>
23224         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
23226 2015-01-09  Torvald Riegel <triegel@redhat.com>
23228         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
23230 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23232         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
23233         pointer and cast to uintptr_t.
23235 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23237         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
23238         removed.
23239         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
23241 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
23243         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
23244         of 0.
23246 2015-01-08  Roland McGrath  <roland@hack.frob.com>
23248         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
23249         <nptl/pthreadP.h> instead.
23250         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
23252         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
23253         already defined.
23254         [__SIGRTMIN] (init): Function removed.
23255         [__SIGRTMIN] (initialized): Variable removed.
23256         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
23257         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
23258         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
23259         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
23260         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
23261         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
23262         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
23263         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
23264         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
23265         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
23266         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
23267         * sysdeps/nptl/allocrtsig.c: New file.
23268         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
23269         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
23270         * sysdeps/generic/testrtsig.h: File removed.
23272         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
23273         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
23275         * nptl/nptl-init.c (pthread_functions): Conditionalize
23276         .ptr__nptl_setxid initialization on [SIGSETXID].
23278         * sysdeps/nptl/sys/procfs.h: New file.
23279         * nptl_db/Makefile (headers): Add it.
23280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
23282         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
23283         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
23284         * nptl/pthread_attr_setaffinity.c: Include it.
23285         * nptl/pthread_setattr_default_np.c: Likewise.
23286         * nptl/check-cpuset.h: New file.
23288 2015-01-08  Richard Henderson  <rth@redhat.com>
23290         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
23291         (CFLAGS-tst-execstack-prog.c): Likewise.
23292         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
23294 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
23295             Sandra Loosemore  <sandra@codesourcery.com>
23296             Andrew Jenner  <andrew@codesourcery.com>
23297             Joseph Myers  <joseph@codesourcery.com>
23298             Nathan Sidwell  <nathan@codesourcery.com>
23300         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
23301         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
23302         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
23303         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
23304         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
23305         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
23306         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
23307         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
23308         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
23309         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
23310         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
23311         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
23312         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
23313         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
23314         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
23315         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
23316         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
23318 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23320         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
23321         timespec struct member in syscall macro.
23322         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
23323         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
23324         first timeval struct member in syscall macro.
23325         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
23327 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
23329         [BZ #17748]
23330         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
23331         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
23332         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
23333         __feupdateenv and define as weak alias of __feupdateenv.  Use
23334         libm_hidden_weak.
23335         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
23336         libm_hidden_def.
23337         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
23338         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
23339         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23340         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
23341         libm_hidden_def.
23342         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
23343         __feupdateenv and define as weak alias of __feupdateenv.  Use
23344         libm_hidden_weak.
23345         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
23346         libm_hidden_def.
23347         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
23348         __feupdateenv and define as weak alias of __feupdateenv.  Use
23349         libm_hidden_weak.
23350         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
23351         libm_hidden_def.
23352         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23353         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23354         (__feupdateenv): Likewise.
23355         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
23356         __feupdateenv and define as weak alias of __feupdateenv.  Use
23357         libm_hidden_weak.
23358         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23359         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
23360         libm_hidden_def.
23361         * sysdeps/tile/math_private.h (__feupdateenv): New inline
23362         function.
23363         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
23364         libm_hidden_def.
23365         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
23366         __feupdateenv instead of feupdateenv.
23367         (default_libc_feupdateenv_test): Likewise.
23368         (libc_feresetround_ctx): Likewise.
23370 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23372         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
23373         prototype.
23375 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
23377         * posix/regcomp.c (parse_bracket_exp): Initialize type to
23378         COLL_SYM in a couple of places to avoid uninitialized variable
23379         wanings on tilegx gcc 4.8.2.
23381 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23383         * sysdeps/aarch64/strcpy.S: New file.
23384         * sysdeps/aarch64/stpcpy.S: New file.
23385         * NEWS: Updated.
23387 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
23389         * sysdeps/aarch64/strrchr.S: New file.
23390         * NEWS: Updated.
23392 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
23394         [BZ #17658]
23395         * stdlib/setenv.c: Fix memory leak when setting large,
23396         duplicate string.
23398 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
23400         [BZ #17273]
23401         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
23402         and tabs from buffer before parsing fstab entry.
23403         * misc/tst-mntent.c (main): Add test for mount entry with
23404         trailing spaces and tabs.
23406 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
23408         [BZ #17748]
23409         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
23410         * math/fesetround.c (fesetround): Rename to __fesetround and
23411         define as weak alias of __fesetround.  Use libm_hidden_weak.
23412         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
23413         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
23414         * sysdeps/arm/fesetround.c (fesetround): Likewise.
23415         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
23416         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
23417         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
23418         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
23419         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
23420         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
23421         __fesetround_inline.
23422         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
23423         __fesetround_inline instead of __fesetround.
23424         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
23425         __fesetround and define as weak alias of __fesetround.  Use
23426         libm_hidden_weak.  Call __fesetround_inline instead of
23427         __fesetround.
23428         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
23429         __fesetround and define as weak alias of __fesetround.  Use
23430         libm_hidden_weak.
23431         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
23432         Likewise.
23433         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
23434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
23435         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
23436         * sysdeps/tile/math_private.h (__fesetround): New inline function.
23437         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
23438         __fesetround and define as weak alias of __fesetround.  Use
23439         libm_hidden_weak.
23440         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
23441         __fesetround instead of fesetround.
23442         (default_libc_feholdexcept_setround): Likewise.
23443         (libc_feholdsetround_ctx): Likewise.
23444         (libc_feholdsetround_noex_ctx): Likewise.
23446         [BZ #17748]
23447         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
23448         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
23449         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23450         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23451         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23452         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
23453         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23454         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
23455         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23456         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23457         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23458         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23459         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23460         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23461         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
23462         libm_hidden_def.
23463         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
23464         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
23465         Likewise.
23466         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
23467         define as weak alias of __fesetenv.  Use libm_hidden_weak.
23468         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
23469         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
23470         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
23471         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
23472         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
23473         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
23474         __fesetenv instead of fesetenv.
23475         (libc_feresetround_noex_ctx): Likewise.
23476         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
23477         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
23478         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
23479         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
23480         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
23481         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
23482         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23483         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
23484         (__feupdateenv): Likewise.
23485         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
23486         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
23487         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23488         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
23490 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23492         [BZ #17806]
23493         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
23494         addresses have been freed.
23496 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
23498         * resolv/res_init.c (__res_vinit): Improve comments about nserv
23499         and nservall.
23501 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
23503         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
23504         Clean up check_pf allocation pattern. addresses
23506 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23508         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
23509         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
23510         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
23511         * nptl/pthread_exit.c (__pthread_exit): Likewise.
23512         * nptl/pthread_join.c (pthread_join): Likewise.
23513         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
23514         * sysdeps/posix/waitid.c (__waitid): Likewise.
23515         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23516         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23517         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23518         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23520         Likewise.
23521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23522         (__libc_pread64): Likewise.
23523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23524         (__libc_pwrite): Likewise.
23525         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23526         (__libc_pwrite64): Likewsie.
23527         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23528         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23529         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23530         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23531         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23532         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23533         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
23534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23535         Likewise.
23536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23537         (__libc_pread64): Likewise.
23538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
23539         Likewise.
23540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
23541         (__libc_pwrite64): Likewise.
23542         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23543         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23544         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
23545         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
23546         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23547         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23548         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
23549         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23550         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23551         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23552         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
23553         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23554         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23555         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
23556         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23557         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23558         Likewise.
23560 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
23562         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
23563         (CFLAGS-test-double.c): Likewise.
23564         (CFLAGS-test-ldouble.c): Likewise.
23565         (CPPFLAGS-test-ifloat.c): Likewise.
23566         (CPPFLAGS-test-idouble.c): Likewise.
23567         (CPPFLAGS-test-ildoubl.c): Likewise.
23568         (CFLAGS-test-test-fenv.c): Remove variable.
23569         (CFLAGS-test-misc.c): Likewise.
23571 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
23573         [BZ #17797]
23574         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
23575         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
23576         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
23577         CLOCKS_PER_SEC == 1000000.
23578         * time/clocktest.c (main): Replace %ld with %jd and cast to
23579         intmax_t.
23581 2015-01-05  Roland McGrath  <roland@hack.frob.com>
23583         * sysdeps/generic/unwind-resume.h: New file.
23584         * sysdeps/gnu/unwind-resume.c: Include it.
23585         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
23586         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
23587         argument list.
23588         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
23589         global rather than static.
23590         (_Unwind_Resume): Update user.
23591         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
23592         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
23593         rather than static.  Add __attribute__ ((cold)).
23594         (_Unwind_Resume, __gcc_personality_v0): Update callers.
23595         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
23596         * sysdeps/arm/arm-unwind-resume.S: New file.
23597         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
23598         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
23599         * sysdeps/arm/Makefile [$(subdir) = csu]
23600         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
23601         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23602         Add rt-arm-unwind-resume.
23603         [$(subdir) = nptl]
23604         (libpthread-sysdep_routines, libpthread-shared-only-routines):
23605         Add pt-arm-unwind-resume.
23606         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
23607         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
23609 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23611         [BZ #17748]
23612         * include/fenv.h (__feholdexcept): Declare.  Use
23613         libm_hidden_proto.
23614         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
23615         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
23616         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23617         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
23618         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
23619         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
23620         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
23621         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23622         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
23623         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
23624         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23625         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
23626         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
23627         (feholdexcept): Likewise.
23628         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23629         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
23630         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23631         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
23632         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
23633         __feholdexcept instead of feholdexcept.
23634         (default_libc_feholdexcept_setround): Likewise.
23636 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23638         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
23639         to avoid using stl/str to align destination.
23641 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23643         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
23645 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23647         [BZ #17796]
23648         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
23649         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
23650         Define as weak alias not strong alias.
23652 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
23654         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
23655         bltzal with addiupc.
23656         (RTLD_START): Ditto.
23658 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
23660         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
23661         for __vdso_* functions in declarations.
23662         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
23663         definitions.
23664         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
23665         INTERNAL_VSYSCALL): Use struct return types to check for error.
23667         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
23668         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
23669         function with cast from llround().
23670         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
23671         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
23672         Define.
23674 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
23676         [BZ #17793]
23677         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
23678         Define as weak alias not strong alias.
23680         [BZ #17635]
23681         * ctype/ctype-c99.c: New file.  isblank implementation moved from
23682         ...
23683         * ctype/ctype-extn.c: ... here.
23684         (__isblank_l): Move to ...
23685         * ctype/ctype-c99_l.c: ... here.  New file.
23686         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
23687         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
23688         Remove variable.
23689         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
23690         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
23691         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
23692         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
23693         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
23695         [BZ #17777]
23696         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
23697         (posix_fadvise64): Define as weak alias not strong alias.
23698         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23699         (posix_fallocate64): Likewise.
23700         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
23701         Remove variable.
23702         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
23703         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
23704         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
23705         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
23706         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
23708 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
23710         [BZ #16191]
23711         * NEWS: Mention bug fix.
23712         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
23713         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
23714         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
23715         (HOST_STACK_END_ADDR): Likewise.
23717 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23719         [BZ #17748]
23720         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
23721         * math/fegetround.c (fegetround): Rename to __fegetround and
23722         define as weak alias of __fegetround.  Use libm_hidden_weak.
23723         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
23724         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
23725         * sysdeps/arm/fegetround.c (fegetround): Likewise.
23726         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
23727         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23728         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
23729         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
23730         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
23731         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23732         Undefine after rather than before function definition; use
23733         parentheses around function name in definition.
23734         (__fegetround): Also undefine macro after function definition.
23735         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
23736         __fegetround and define as weak alias of __fegetround.  Use
23737         libm_hidden_weak.  Do not undefine as macro.
23738         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23739         Likewise.
23740         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
23741         __fegetround and define as weak alias of __fegetround.  Use
23742         libm_hidden_weak.
23743         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23744         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23745         * sysdeps/tile/math_private.h (__fegetround): New inline function.
23746         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
23747         __fegetround and define as weak alias of __fegetround.  Use
23748         libm_hidden_weak.
23749         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
23750         __fegetround instead of fegetround.
23752         [BZ #17782]
23753         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
23754         Condition macro definition on [__USE_MISC].
23756         [BZ #17781]
23757         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
23758         (struct sigaction): Change type of sa_flags field to int.
23760         [BZ #17780]
23761         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
23762         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
23763         __glibc_reserved0.
23765         * nptl/version.c (banner): Use single year in copyright notice.
23767         * NEWS: Update copyright dates.
23768         * catgets/gencat.c (print_version): Likewise.
23769         * csu/version.c (banner): Likewise.
23770         * debug/catchsegv.sh: Likewise.
23771         * debug/pcprofiledump.c (print_version): Likewise.
23772         * debug/xtrace.sh (do_version): Likewise.
23773         * elf/ldconfig.c (print_version): Likewise.
23774         * elf/ldd.bash.in: Likewise.
23775         * elf/pldd.c (print_version): Likewise.
23776         * elf/sotruss.sh: Likewise.
23777         * elf/sprof.c (print_version): Likewise.
23778         * iconv/iconv_prog.c (print_version): Likewise.
23779         * iconv/iconvconfig.c (print_version): Likewise.
23780         * locale/programs/locale.c (print_version): Likewise.
23781         * locale/programs/localedef.c (print_version): Likewise.
23782         * login/programs/pt_chown.c (print_version): Likewise.
23783         * malloc/memusage.sh (do_version): Likewise.
23784         * malloc/memusagestat.c (print_version): Likewise.
23785         * malloc/mtrace.pl: Likewise.
23786         * manual/libc.texinfo: Likewise.
23787         * nptl/version.c (banner): Likewise.
23788         * nscd/nscd.c (print_version): Likewise.
23789         * nss/getent.c (print_version): Likewise.
23790         * nss/makedb.c (print_version): Likewise.
23791         * posix/getconf.c (main): Likewise.
23792         * scripts/test-installation.pl: Likewise.
23793         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
23795 2015-01-02  Will Newton  <will.newton@linaro.org>
23797         * sysdeps/arm/armv7/configure: Removed.
23798         * sysdeps/arm/armv7/configure.ac: Likewise.
23800 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
23802         * All files with FSF copyright notices: Update copyright dates
23803         using scripts/update-copyrights.
23804         * intl/plural.c: Regenerated.
23805         * locale/programs/charmap-kw.h: Likewise.
23806         * locale/programs/locfile-kw.h: Likewise.
23808 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23810         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
23812 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23814         [BZ #17748]
23815         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
23816         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
23817         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23818         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23819         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23820         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
23821         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23822         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
23823         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23824         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23825         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23826         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23827         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23828         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23829         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
23830         libm_hidden_def.
23831         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
23832         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
23833         Likewise.
23834         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
23835         define as weak alias of __fegetenv.  Use libm_hidden_weak.
23836         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
23837         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
23838         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
23839         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
23840         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
23841         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
23842         __fegetenv instead of fegetenv.
23843         (libc_feholdsetround_noex_ctx): Likewise.
23845 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
23847         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
23848         (Elf_MIPS_ABIFlags_v0): New structure.
23849         (EF_MIPS_FP64): Define.
23850         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
23851         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
23852         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
23853         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
23854         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
23855         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
23856         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
23857         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
23858         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
23859         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
23860         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
23861         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
23862         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
23863         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
23864         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
23865         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
23866         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
23867         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
23868         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
23869         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
23870         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
23871         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
23872         field.
23873         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
23874         EF_MIPS_FP64.
23875         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
23876         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
23877         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
23878         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
23879         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
23880         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
23881         * sysdeps/mips/tst-abi-interlink.c: Likewise.
23882         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
23883         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
23884         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
23885         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
23886         record the current FP ABI extension.
23887         (mips-mode-switch): Define to show if kernel headers support mode
23888         switching.
23889         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
23890         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
23891         supported SYSV ABI version to 3.
23892         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
23893         feature.
23895 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23896             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23898         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
23899         path.
23900         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
23902 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
23904         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
23905         __fegetround and redefine to call __fegetround.  Remove condition
23906         on [!__NO_MATH_INLINES].
23907         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
23908         function.
23909         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
23910         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23911         Remove macro.
23912         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
23913         instead of <fenv_libc.h>.
23914         (__llrintl): Call fegetround instead of __fegetround.
23915         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
23916         instead of <fenv_libc.h>.
23917         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
23918         (__lrintl): Call fegetround instead of __fegetround.
23919         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
23920         instead of <fenv_libc.h>.
23921         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
23922         (__rintl): Call fegetround instead of __fegetround.
23924 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23926         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
23927         arrays.
23929 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
23931         [BZ #17775]
23932         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
23933         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
23934         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
23936 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23938         * sysdeps/i386/tls-macros.h: Include <features.h>.
23939         (TLS_LE): Use non-PIC version for GCC >= 5.0.
23940         (TLS_IE): Likewise.
23941         (TLS_LD): Likewise.
23942         (TLS_GD): Likewise.
23943         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
23944         define for GCC >= 5.0.
23946 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
23948         * math/test-fenv.c (test_single_exception, set_single_exc,
23949         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
23950         feexcp_mask_test, feenable_test, fe_single_test): Add
23951         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
23952         case where they are not used.
23953         * math/libm-test.inc: Likewise.
23954         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
23955         unused in the absence of FP rounding/exception support.
23956         * stdio-common/tst-printf-round.c: Likewise.
23957         * stdlib/tst-strtod-round.c: Likewise.
23958         * stdlib/tst-strtod-underflow.c: Likewise.
23960 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
23962         [BZ #17723]
23963         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
23964         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
23965         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23966         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23967         libm_hidden_weak.
23968         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
23969         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23970         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
23971         libm_hidden_def.
23972         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23973         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23974         libm_hidden_weak.
23975         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
23976         Likewise.
23977         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
23978         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23979         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23980         libm_hidden_weak.
23981         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23982         libm_hidden_def.
23983         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23984         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
23985         (__feraiseexcept): Likewise.
23986         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
23987         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
23988         libm_hidden_weak.
23989         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
23990         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23991         libm_hidden_def.
23992         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
23993         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
23994         Use libm_hidden_def.
23995         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
23996         libm_hidden_def.
23997         (feraiseexcept): Define as weak not strong alias.  Use
23998         libm_hidden_weak.
23999         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24000         New inline function.  Factored out of ...
24001         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24002         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24003         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24004         feraiseexcept.
24005         * math/w_acos.c (__acos): Likewise.
24006         * math/w_asin.c (__asin): Likewise.
24007         * math/w_ilogb.c (__ilogb): Likewise.
24008         * math/w_j0.c (y0): Likewise.
24009         * math/w_j1.c (y1): Likewise.
24010         * math/w_jn.c (yn): Likewise.
24011         * math/w_log.c (__log): Likewise.
24012         * math/w_log10.c (__log10): Likewise.
24013         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24014         * sysdeps/aarch64/fpu/math_private.h
24015         (libc_feupdateenv_test_aarch64): Likewise.
24016         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24017         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24018         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24019         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24020         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24021         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24022         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24023         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24024         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24025         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24027 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24029         [BZ #17732]
24030         * io/test-utime.c (main): Replace %ld with %jd and cast to
24031         intmax_t.
24032         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24033         * nptl/tst-mutex5.c: Include <stdint.h>.
24034         (do_test): Replace %ld with %jd and cast to intmax_t.
24035         * posix/tst-regex.c (run_test): Likewise.
24036         (run_test_backwards): Likewise.
24037         * rt/tst-clock.c: Include <stdint.h>.
24038         (clock_test): Replace %ld with %jd and cast to intmax_t.
24039         * rt/tst-cpuclock1.c: Include <stdint.h>.
24040         (do_test): Replace %lu with %ju and cast to uintmax_t.
24041         * rt/tst-cpuclock2.c: Include <stdint.h>.
24042         (do_test): Replace %lu with %ju and cast to uintmax_t.
24043         * rt/tst-mqueue1.c: Include <stdint.h>.
24044         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24045         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24046         intmax_t.
24047         * rt/tst-mqueue4.c (do_test): Likewise.
24048         * rt/tst-timer4.c: Include <stdint.h>.
24049         (check_ts): Replace %ld with %jd and cast to intmax_t.
24050         (do_test): Likewise.
24051         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24052         and cast to intmax_t.
24053         * sysdeps/pthread/tst-timer.c (main): Likewise.
24054         * time/clocktest.c (main): Likewise.
24055         * time/tst-posixtz.c (do_test): Likewise.
24056         * timezone/tst-timezone.c (main): Likewise.
24058 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24059             H.J. Lu  <hongjiu.lu@intel.com>
24061         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24062         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24063         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24064         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24065         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24066         version if bit_Fast_Unaligned_Load is set.
24067         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24068         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24069         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24070         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24071         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24072         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24074         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24075         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24076         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24077         to 4.
24078         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24079         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24080         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24081         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24083 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24085         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24086         instead of #if to avoid a Wundef warning.
24087         * stdlib/tst-limits.c (do_test): Likewise.
24089         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24090         parallel other exception macros.
24091         (fegetenv): Convert from macro to extern inline so that it applies
24092         retroactively to inline functions already seen by the compiler.
24093         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24095         * posix/Makefile (before-compile): Use $(objpfx) for
24096         posix-conf-vars-def.h.
24098 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24100         * posix/getconf.c (main): Use size_t for type of I.
24101         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24102         NSPEC.
24104         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24105         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24106         * posix/posix-envs.def: Likewise.
24107         * sysdeps/posix/sysconf.c: Likewise.
24108         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24109         (specs): Remove array.
24110         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24111         array.
24113         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24114         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24115         (__sysconf): Use CONF_IS_* macros.
24117         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24118         ($(objpfx)posix-conf-vars-def.h): New target.
24119         * posix/posix-conf-vars.list: New file.
24120         * posix/posix-conf-vars.h: New file.
24121         * posix/confstr.c: Include posix-conf-vars.h.
24122         (confstr): Use CONF_IS_* macros.
24123         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24124         CONF_IS_* macros.
24125         * scripts/gen-posix-conf-vars.awk: New file.
24127 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24129         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24130         fegetround): Add no-op macros to avoid linknamespace issues.
24132         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24133         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24135         * sysdeps/unix/sysv/linux/tile/sysdep.h
24136         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24137         assembly-specific section to avoid a redefinition warning.
24139         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24140         long before casting to pointer to avoid a cast warning.
24142 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24144         * sysdeps/tile/tilegx/Implies: New file.
24146 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24148         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24150 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24152         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24154 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24156         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24157         not define.
24158         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24159         <kernel-features.h>.
24160         (__utimes) [__NR_utimes]: Make code unconditional.
24161         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24162         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
24163         (__ASSUME_UTIMES): Do not undefine.
24164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24165         (__ASSUME_UTIMES): Likewise.
24166         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24167         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
24168         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
24169         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
24171 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24173         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
24175 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
24177         [BZ #17747]
24178         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
24179         alias to weak alias for j0l, y0l.
24180         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
24181         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
24183         [BZ #17746]
24184         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
24185         conversion.
24187 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
24189         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
24190         to zero if not already defined.
24192 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24194         [BZ #17724]
24195         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
24196         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
24197         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
24198         (char *) casts added.
24199         * sysdeps/ieee754/k_standardf.c: New file.
24200         * sysdeps/ieee754/k_standardl.c: Likewise.
24201         * math/Makefile (libm-support): Remove k_standard.
24202         (libm-calls): Add k_standard.
24204 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24206         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
24207         Optimize to avoid an unnecessary FPCR read.
24209 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24211         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
24212         Optimize to reduce FPCR/FPSR accesses.
24214 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24216         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
24217         Call libc_fetestexcept_aarch64.
24219 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
24221         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
24222         Call libc_fesetround_aarch64.
24224 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24226         [BZ #17733]
24227         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
24228         (__bind): Do not define as weak alias.
24229         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
24230         define.
24231         (__getsockname): Do not define as weak alias.
24233 2014-12-22  Will Newton  <will.newton@linaro.org>
24235         * manual/install.texi: Document that we require bison 2.7
24236         or above.
24237         * INSTALL: Regenerate.
24238         * configure.ac: Use AC_CHECK_PROG_VER instead of
24239         AC_PATH_PROG when checking for bison and check for
24240         version 2.7 or above.
24241         * configure: Regenerate.
24243 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
24245         [BZ #17745]
24246         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
24247         * sysdeps/tile/ffsll.c (ffsll): To here.
24249         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
24251 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24253         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
24254         if not defined.
24255         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
24256         definition.
24257         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24258         hidden ___tls_get_addr.
24259         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
24260         hidden __tls_get_addr.
24261         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
24262         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
24263         Likewise.
24265 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
24267         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
24268         _dl_init call.
24270 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
24272         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
24273         from "call _dl_init@PLT".
24274         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
24276 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
24278         * manual/search.texi: (Array Sort Function): Clarify stable sorting
24279         guarantees.
24281 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
24283         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
24285 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24287         [BZ #17744]
24288         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
24289         strnlen.
24291 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24293         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
24294         of multu on MIPSr6.
24295         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
24296         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
24297         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
24298         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
24299         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
24301 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
24303         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
24304         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
24305         (PTR_SUBU): Use subu for mips32r6/mips64r6.
24306         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
24307         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
24308         mips32r6/mips64r6.
24309         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
24311 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
24313         * string/strncat.c (STRNCAT): Simplify implementation.
24315 2014-12-19  David S. Miller  <davem@davemloft.net>
24317         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
24318         access the quad as both a long double and as a series of 4 words.
24320         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
24321         link_map->l_info array access.
24323 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
24325         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
24327         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
24328         * math/atest-exp2.c (TIMEOUT): Likewise.
24329         * math/atest-sincos.c (TIMEOUT): Likewise.
24331 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24333         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
24334         -Wno-error with -fno-builtin-lround.
24336 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24338         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
24339         Contains futex constants and functions moved over from ...
24340         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
24341         <lowlevellock-futex.h>.
24342         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24343         (lll_timedwait_tid): Add comments and parentheses around macro
24344         arguments.
24346 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24348         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
24349         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
24350         (__lll_private_flag): Remove.
24351         (lll_futex_wait): Likewise.
24352         (lll_futex_timed_wait): Likewise.
24353         (lll_futex_wake): Likewise.
24354         (lll_futex_requeue): Likewise.
24355         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
24356         (__lll_timedwait_tid): Spell out argument names.
24357         (lll_timedwait_tid): Add comments and parentheses around macro
24358         arguments.
24359         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
24360         LLL_SHARED and LLL_PRIVATE usable from assembly code.
24362 2014-12-19  Torvald Riegel  <triegel@redhat.com>
24364         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
24365         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
24366         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
24367         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
24368         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
24369         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
24370         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
24371         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
24372         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
24373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
24374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
24375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
24376         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
24377         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
24378         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
24379         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
24380         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
24381         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
24382         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
24384 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24386         * sysdeps/x86_64/x32/Makefile: New file.
24388 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
24390         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
24391         1L with (mp_limb_t) 1.
24393 2014-12-17  Roland McGrath  <roland@hack.frob.com>
24395         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
24396         * nptl/libc_pthread_init.c: ... here.
24397         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
24398         * nptl/register-atfork.c: ... here.
24400         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
24401         Use pthread_sigmask rather than INTERNAL_SYSCALL.
24402         Use assert_perror to check its return value.
24403         (__gai_create_helper_thread): Likewise.
24405         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
24407         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
24409 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
24411         [BZ #17725]
24412         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
24413         __profil_counter.
24414         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
24415         Likewise.
24416         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
24417         Likewise.
24418         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
24419         Likewise.
24420         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
24421         (profil_counter): Likewise.
24422         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
24423         (profil_counter): Likewise.
24424         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
24425         Likewise.
24426         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
24427         Likewise.
24428         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
24429         (profil_counter): Likewise.
24430         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
24431         Likewise.
24432         [!__profil_counter] (profil_counter): Define as weak alias of
24433         __profil_counter.
24434         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
24435         (profil_counter): Rename to __profil_counter.
24436         [!__profil_counter] (profil_counter): Define as weak alias of
24437         __profil_counter.
24438         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
24439         (profil_counter): Rename to __profil_counter.
24440         [!__profil_counter] (profil_counter): Define as weak alias of
24441         __profil_counter.
24442         * sysdeps/posix/profil.c: Update comment referring to
24443         profil_counter.
24444         (__profil): Use __profil_counter instead of profil_counter.
24445         * sysdeps/posix/sprofil.c (profil_counter): Rename to
24446         __profil_counter.  Use __profil_counter_ushort and
24447         __profil_counter_uint in definitions.
24448         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
24449         instead of profil_counter_uint and profil_counter_ushort.
24451         [BZ #17722]
24452         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
24453         define as weak alias of __inet_makeaddr.
24454         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
24455         as weak alias of __inet_addr.
24456         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
24457         as weak alias of __inet_pton.  Use libc_hidden_weak.
24458         * include/arpa/inet.h (__inet_pton): Declare.  Use
24459         libc_hidden_proto.
24460         (inet_makeaddr): Don't use libc_hidden_proto.
24461         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
24462         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
24463         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
24464         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
24465         Remove variable.
24466         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
24467         (test-xfail-POSIX/time.h/linknamespace): Likewise.
24469 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
24471         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
24473 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24475         * stdio-common/bug-vfprintf-nargs.c (do_test):
24476         Cast value to intptr_t to avoid format warning
24477         for usage with PRIdPTR printing macro.
24479 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24481         * libio/tst-widetext.c (do_test):
24482         Use format type %td instead of %Zd for ptrdiff_t
24483         in order to avoid format warning.
24485 2014-12-17  Andreas Schwab  <schwab@suse.de>
24487         * nscd/mem.c (gc): Add size_t cast to match printf format.
24489 2014-12-16  Roland McGrath  <roland@hack.frob.com>
24491         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
24492         (init): Apply PTR_MANGLE to pointers before storing them.
24493         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
24494         before using them.
24496 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
24498         [BZ #17719]
24499         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
24500         define as weak alias of __memrchr.
24501         (__memrchr): Do not define as strong alias of memrchr.
24502         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
24503         Remove variable.
24504         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
24505         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
24506         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
24508         [BZ #17717]
24509         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
24510         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
24511         (if_indextoname): Rename to __if_indextoname and define as weak
24512         alias of __if_indextoname.  Use libc_hidden_weak.
24513         (if_freenameindex): Rename to __if_freenameindex and define as
24514         weak alias of __if_freenameindex.
24515         (if_nameindex): Rename to __if_nameindex and define as weak alias
24516         of __if_nameindex.
24517         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
24518         __if_nametoindex and define as weak alias of __if_nametoindex.
24519         Use libc_hidden_weak.
24520         (if_freenameindex): Rename to __if_freenameindex and define as
24521         weak alias of __if_freenameindex.
24522         (if_nameindex): Rename to __if_nameindex and define as weak alias
24523         of __if_nameindex.
24524         (if_indextoname): Rename to __if_indextoname and define as weak
24525         alias of __if_indextoname.  Use libc_hidden_weak.
24526         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
24527         __if_nametoindex and define as weak alias of __if_nametoindex.
24528         Use libc_hidden_weak.
24529         (if_freenameindex): Rename to __if_freenameindex and define as
24530         weak alias of __if_freenameindex.  Use libc_hidden_weak.
24531         (if_nameindex_netlink): Use __if_freenameindex instead of
24532         if_freenameindex.
24533         (if_nameindex): Rename to __if_nameindex and define as weak alias
24534         of __if_nameindex.  Use libc_hidden_weak.
24535         (if_indextoname): Rename to __if_indextoname and define as weak
24536         alias of __if_indextoname.  Use libc_hidden_weak.
24537         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
24538         libc_hidden_proto.
24539         [!_ISOMAC] (__if_freenameindex): Likewise.
24540         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
24541         if_nametoindex.
24542         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
24543         variable.
24544         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
24545         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
24546         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
24547         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
24548         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
24549         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
24550         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
24552         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
24553         Remove variable.
24554         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
24555         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
24557 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24559         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
24560         subscript above bounds'
24562         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
24563         bounds.
24565 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
24567         * libio/tst-fopenloc.c: Use test-skeleton.c.
24569         * stdlib/tst-bsearch.c: Use test-skeleton.c.
24570         (entry): Rename to ITEM.
24571         (do_test, comp): Adjust.
24573         * stdio-common/tst-fseek.c: Use test-skeleton.c.
24575 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24577         * string/tester.c: Include <libc-internal.h>.
24578         (test_memset): Ignore -Wmemset-transposed-args.
24580 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24582         * misc/tst-mntent2.c (do_test): Fix warning.
24584 2014-12-16  Torvald Riegel  <triegel@redhat.com>
24586         * elf/tst-unique4lib.cc(a): Mark as used.
24588 2014-12-16  Florian Weimer  <fweimer@redhat.com>
24590         [BZ #17630]
24591         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
24592         names.
24594 2014-12-16  Allan McRae  <allan@archlinux.org>
24596         * stdio-common/Makefile (tests): Re-add bug26.
24598 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
24600         [BZ #17657]
24601         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
24602         static array.
24604 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
24606         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
24607         (__lll_lock_wait): Likewise.
24608         (__lll_timedlock_wait): Likewise.
24609         (__lll_timedwait_tid): Likewise.
24610         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
24611         (__lll_robust_timedlock_wait): Likewise.
24612         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
24613         (lll_cond_trylock): Likewise.
24614         (__lll_lock): Likewise.
24615         (__lll_robust_lock): Likewise.
24616         (__lll_cond_lock): Likewise.
24617         (lll_robust_cond_lock): Likewise.
24618         (__lll_timedlock): Likewise.
24619         (__lll_robust_timedlock): Likewise.
24620         (__lll_unlock): Likewise.
24621         (__lll_robust_unlock): Likewise.
24622         (lll_wait_tid): Likewise.
24623         (lll_timedwait_tid): Likewise.
24625 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24627         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
24629 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24631         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
24633 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24635         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
24636         * stdio-common/tst-sprintf.c: Likewise.
24638 2014-12-15  Torvald Riegel  <triegel@redhat.com>
24640         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
24642 2014-12-15  Jeff Law  <law@redhat.com>
24644         [BZ #16617]
24645         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
24646         on the heap.  (CVE-2012-3406)
24647         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
24648         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
24649         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
24651 2014-12-15  Will Newton  <will.newton@linaro.org>
24653         * manual/install.texi: Bump required version of texinfo
24654         to 4.7 from 4.5.
24655         * INSTALL: Regenerated.
24656         * configure.ac: Check for makeinfo version 4.7 and above.
24657         * configure: Regenerated.
24659 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24661         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
24662         PREFIX, string constant to insert between directory and name.
24663         * sysdeps/posix/shm_open.c: Update caller.
24664         * sysdeps/posix/shm_unlink.c: Likewise.
24665         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
24666         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
24667         (SEM_SHM_PREFIX): New macro.
24668         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
24669         [$(have-thread-library) = no].
24670         * nptl/Makefile (libpthread-routines): Add shm-directory.
24671         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
24672         * sysdeps/nptl/shm-directory.h: New file.
24673         * sysdeps/posix/shm-directory.c
24674         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
24675         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
24676         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
24677         INTERNAL_SYSCALL.
24678         (__where_is_shmfs): Function removed.
24679         (mountpoint, defaultmount, defaultdir, __namedsem_once):
24680         Variables removed.
24681         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
24682         Use SHM_GET_NAME.
24683         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
24685         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
24686         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
24687         unconditional for use inside libpthread.
24688         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
24690 2014-12-12  Roland McGrath  <roland@hack.frob.com>
24692         * nptl/pthread_getaffinity.c: New file.
24693         * nptl/pthread_setaffinity.c: New file.
24694         * nptl/pthread_getname.c: New file.
24695         * nptl/pthread_setname.c: New file.
24697         * nptl/pthread_create.c (START_THREAD_DEFN)
24698         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
24700 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24701             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24703         * resolv/res_send.c (send_vc): Disable warning resplen may
24704         be used uninitialized.
24706 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24708         * nptl/tst-mutex6.c
24709         (ATTR_NULL): New define checks ATTR against NULL.
24710         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
24711         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
24713 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
24715         [BZ #17581]
24716         * malloc/hooks.c
24717         (mem2mem_check): Revert my previous change.
24718         (malloc_check_get_size): Revert my previous change.
24719         (mem2chunk_check): Revert my previous change.
24721 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24723         * sysdeps/posix/shm-directory.c: New file.
24724         * sysdeps/posix/shm-directory.h: New file.
24725         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
24726         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
24727         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
24728         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
24729         Transmute EPERM to EACCES.
24730         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
24731         from ...
24732         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
24733         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
24735 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24737         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
24738         pointer and cast to uintptr_t.
24739         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
24740         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
24741         Add cast to avoid warning.
24742         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
24744 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24746         * nptl/semaphore.h: Move to ...
24747         * sysdeps/pthread/semaphore.h: ... here.
24748         * Makefile (installed-headers): Change nptl/semaphore.h to
24749         sysdeps/pthread/semaphore.h.
24751 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24753         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
24754         generated error format strings.
24756         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
24757         -Wformat-extra-args warnings for scanf formats.
24758         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
24759         test of zero-length format (duh).
24760         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
24761         corner-case scanf format test.
24762         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
24763         generated fprintf format string.
24764         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
24765         corner-case sprintf format tests.
24766         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
24767         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
24768         -Wformat-extra-args warnings throughout.
24769         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
24770         (CFLAGS-scanf4.c): Likewise.
24771         (CFLAGS-scanf7.c): Likewise.
24772         (CFLAGS-tst-sprintf.c): Likewise.
24773         (CFLAGS-tst-printf.c): Likewise.
24774         (CFLAGS-tst-printfsz.c): Likewise.
24776 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
24778         * include/cpio.h: New file.
24779         * include/fmtmsg.h: Likewise.
24781         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
24782         corresponding format argument to size_t.
24783         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
24784         arguments.
24785         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
24786         corresponding format argument to size_t.
24787         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
24788         arguments.
24789         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
24790         corresponding format argument to size_t.
24791         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
24792         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
24793         (CFLAGS-tst-mbswcs2.c): Likewise.
24794         (CFLAGS-tst-mbswcs3.c): Likewise.
24795         (CFLAGS-tst-mbswcs4.c): Likewise.
24796         (CFLAGS-tst-mbswcs5.c): Likewise.
24797         (CFLAGS-tst-trans.c): Likewise.
24799 2014-12-11  Roland McGrath  <roland@hack.frob.com>
24801         * posix/regexbug1.c (main): Use "%s" format with regerror results,
24802         rather than assuming they won't contain any '%'s.
24804 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
24806         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
24807         inhibit_loop_to_libcall to avoid recursive calls.
24808         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
24809         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
24811 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
24813         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
24814         prototype.
24816 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24818         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
24819         integer value instead of boolean.
24821 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
24823         * malloc/malloc.c: Fix powerof2 check.
24825 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24827         * locale/programs/locfile.h (maybe_swap_uint32):
24828         Remove inline and add unused attribute.
24830 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24832         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
24833         Truncating assembler expression to a .long expression.
24835 2014-12-11  Andreas Schwab  <schwab@suse.de>
24837         * elf/rtld.c (struct map_args): Constify str member.
24838         (do_preload): Constify fname argument.
24840 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24842         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
24843         constants definition.
24845 2014-12-11  Andreas Schwab  <schwab@suse.de>
24847         [BZ #16657]
24848         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
24849         FORCE_ELISION instead of DO_ELISION.
24850         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
24851         Remove.
24852         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
24853         Likewise.
24855         * iconvdata/gconv-modules: Remove duplicate entry.
24857 2014-12-11  Will Newton  <will.newton@linaro.org>
24859         Merge gettext 0.19.3 into intl/.
24861         This involves a number of cosmetic changes to comments
24862         and ANSI function definitions and prototypes throughout
24863         all the files. The gettext copyright header is used but
24864         with the date ranges taken from the glibc copy.
24866         * NEWS: Add gettext merge to 2.21.
24867         * intl/bindtextdom.c: Switch to gettext copyright.
24868         Use ANSI definitions and prototypes.
24869         Use gl_* locking primitives rather than __libc_* ones.
24870         Use __builtin_expect rather than __glibc_likely/unlikely.
24871         * intl/dcgettext.c: Switch to gettext copyright.
24872         Use ANSI definitions and prototypes.
24873         * intl/dcigettext.c: Switch to gettext copyright.
24874         Use ANSI definitions and prototypes.
24875         (INTDIV0_RAISES_SIGFPE): New define.
24876         Use gl_* locking primitives rather than __libc_* ones.
24877         Include eval-plural.h instead of plural-eval.c.
24878         Use __builtin_expect rather than __glibc_likely/unlikely.
24879         * intl/dcngettext.c: Switch to gettext copyright.
24880         Use ANSI definitions and prototypes.
24881         * intl/dgettext.c: Likewise.
24882         * intl/dngettext.c: Likewise.
24883         * intl/plural-eval.c: Renamed to...
24884         * intl/eval-plural.h: ...this.
24885         * intl/explodename.c: Switch to gettext copyright.
24886         Use ANSI definitions and prototypes.
24887         (_nl_explode_name): Use strchr instead of __rawmemchr.
24888         * intl/finddomain.c: Switch to gettext copyright.
24889         Use ANSI definitions and prototypes.
24890         Use gl_* locking primitives rather than __libc_* ones.
24891         (_nl_find_domain): Use malloc rather than alloca for
24892         allocation of temporary locale name.
24893         * intl/gettext.c: Switch to gettext copyright.
24894         Use ANSI definitions and prototypes.
24895         * intl/gettextP.h: Switch to gettext copyright.
24896         Use ANSI definitions and prototypes.
24897         Use gl_* locking primitives rather than __libc_* ones.
24898         * intl/gmo.h: Switch to gettext copyright.
24899         (struct sysdep_string): Move struct segment_pair outside of
24900         struct definition.
24901         * intl/hash-string.c: Use ANSI definitions and prototypes.
24902         * intl/hash-string.h: Switch to gettext copyright.
24903         Use ANSI definitions and prototypes.
24904         * intl/l10nflist.c: Switch to gettext copyright.
24905         Use ANSI definitions and prototypes.
24906         (_nl_normalize_codeset): Avoid integer overflow.
24907         * intl/loadinfo.h: Switch to gettext copyright.
24908         Use ANSI definitions and prototypes.
24909         (LIBINTL_DLL_EXPORTED): New define.
24910         (PATH_SEPARATOR): New define.
24911         * intl/loadmsgcat.c: Switch to gettext copyright.
24912         * intl/localealias.c: Switch to gettext copyright.
24913         Use ANSI definitions and prototypes.
24914         (_nl_expand_alias): Use PATH_SEPARATOR.
24915         * intl/ngettext.c: Switch to gettext copyright.
24916         Use ANSI definitions and prototypes.
24917         * intl/plural-exp.c: Likewise.
24918         * intl/plural-exp.h: Switch to gettext copyright.
24919         Use ANSI definitions and prototypes.
24920         (struct expression): Move definition of enum operator outside
24921         of struct definition.
24922         * intl/plural.c: Regenerate.
24923         * intl/plural.y: Switch to gettext copyright.
24924         Use ANSI definitions and prototypes.
24925         Port to bison 3.0.
24926         * intl/textdomain.c: Switch to gettext copyright.
24927         Use ANSI definitions and prototypes.
24928         Use gl_* locking primitives rather than __libc_* ones.
24930 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
24932         * debug/warning-nop.c: Add used atrribute.
24934 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24936         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
24938         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
24939         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
24940         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
24942 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24943             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24945         [BZ #17634]
24946         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
24947         Undefine after defining function.  Define as weak alias of
24948         __wcschr.  Use libc_hidden_weak.
24949         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
24950         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
24951         (libc_hidden_def): Also define __GI___wcschr alias.
24952         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
24953         __wcschr and define as weak alias of __wcschr.
24954         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
24955         __wcschr.
24956         [!WCSCHR] (DEFAULT_WCSCHR): Define.
24957         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
24958         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
24959         libc_hidden_weak.  Do not use libc_hidden_def.
24960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
24961         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
24962         __GI___wcschr alias.
24963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
24964         [IS_IN (libc)] (wcschr): Define as macro expanding to
24965         __redirect_wcschr.
24966         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
24967         [IS_IN (libc)] (__wcschr_power6): Likewise.
24968         [IS_IN (libc)] (__wcschr_power7): Likewise.
24969         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
24970         instead of wcschr.
24971         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
24972         __libc_wcschr.
24973         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
24974         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
24975         __wcschr and define as weak alias of __wcschr.  Use
24976         libc_hidden_builtin_def.
24977         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
24978         as weak alias of __wcschr.  Use libc_hidden_weak.
24979         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
24980         wcschr.
24981         * time/era.c (_nl_init_era_entries): Likewise.
24982         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
24983         variable.
24984         (test-xfail-XPG3/time.h/linknamespace): Likewise.
24985         (test-xfail-XPG4/time.h/linknamespace): Likewise.
24987 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
24989         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
24990         format for long int variable.
24992 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
24994         [BZ #10672]
24995         * manual/search.texi: (Array Sort Function): Remove claim how to make
24996         qsort stable.
24998 2014-12-10  Andreas Schwab  <schwab@suse.de>
25000         [BZ #12847]
25001         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25002         user-controlled locks.
25004 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25006         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25007         register.
25009 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25011         * configure.ac (--disable-werror): New configure option.
25012         (enable_werror): New AC_SUBST.
25013         * configure: Regenerated.
25014         * config.make.in (enable-werror): New variable.
25015         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25016         -Wno-error=undef.
25017         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25018         * manual/install.texi (Configuring and compiling): Document
25019         --disable-werror.
25020         * INSTALL: Regenerated.
25021         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25022         (CFLAGS-tst-chk2.c): Likewise.
25023         (CFLAGS-tst-chk3.c): Likewise.
25024         (CFLAGS-tst-chk4.cc): Likewise.
25025         (CFLAGS-tst-chk5.cc): Likewise.
25026         (CFLAGS-tst-chk6.cc): Likewise.
25027         (CFLAGS-tst-lfschk1.c): Likewise.
25028         (CFLAGS-tst-lfschk2.c): Likewise.
25029         (CFLAGS-tst-lfschk3.c): Likewise.
25030         (CFLAGS-tst-lfschk4.cc): Likewise.
25031         (CFLAGS-tst-lfschk5.cc): Likewise.
25032         (CFLAGS-tst-lfschk6.cc): Likewise.
25034         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25035         (main): Disable -Wdeprecated-declarations around calls to
25036         register_printf_function.
25038         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25039         (do_test): Disable -Wdiv-by-zero around some calls to
25040         fwrite_unlocked and fread_unlocked.
25042         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25043         (DIAG_POP_NEEDS_COMMENT): Likewise.
25044         (_DIAG_STR1): Likewise.
25045         (_DIAG_STR): Likewise.
25046         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25047         * stdio-common/bug21.c: Include <libc-internal.h>.
25048         (do_test): Disable -Wformat around call to sscanf.
25049         * stdio-common/scanf14.c: Include <libc-internal.h>.
25050         (main): Disable -Wformat around some calls to scanf functions.
25052 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25054         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25056 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25058         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25059         stack variable alignment.
25061 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25063         [BZ #17682]
25064         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25065         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25066         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25067         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25068         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25069         __getrlimit instead of getrlimit.
25070         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25071         __gettimeofday instead of gettimeofday.
25072         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25073         Likewise.
25074         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25075         Likewise.
25076         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25077         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25078         Remove variable.
25079         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25080         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25082 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25084         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25085         for wide-character tests.
25087 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25089         * io/openat64.c: #include <libc-internal.h>
25090         (__openat64): Prototypify.  Use ignore_value on MODE.
25091         * io/openat.c: Likewise.
25092         * misc/reboot.c: #include <libc-internal.h>
25093         (reboot): Prototypify.  Use ignore_value on HOWTO.
25094         * misc/ptrace.c: #include <libc-internal.h>
25095         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25097 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25099         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25100         XPG4, UNIX98 and XOPEN2K.
25101         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25102         Remove variable.
25103         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25105 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25107         * libio/fileops.c: Use ISO C style for function definitions.
25108         * libio/iofopen.c: Likewise.
25109         * libio/wfileops.c: Likewise.
25111         [BZ #17653]
25112         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25113         offset on EOF.
25114         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25115         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25116         (fgets_func): Function pointer to fgets and fgetws.
25117         (do_ftell_test): Add test to verify ftell value after read
25118         EOF.
25119         (do_test): Set fgets_func.
25121         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25122         O_TRUNC flag for w and w+ modes.
25123         (do_rewind_test): Likewise.
25124         (do_ftell_test): Likewise.
25125         (do_write_test): Likewise.
25127         [BZ #17647]
25128         * libio/fileops.c (do_ftell): Seek only when there are
25129         unflushed writes.
25130         * libio/wfileops.c (do_ftell_wide): Likewise.
25131         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25132         test case.
25133         (do_one_test): Call it.
25135 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25137         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25138         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25139         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25140         Remove variable.
25141         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25142         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25143         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25145 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25147         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25148         Remove variable.
25149         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25151         [BZ #17668]
25152         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25153         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25154         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25155         __freeifaddrs.  Use libc_hidden_weak.
25156         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25157         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25158         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25159         __freeifaddrs.  Use libc_hidden_weak.
25160         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25161         __getifaddrs and define as weak alias of __getifaddrs.  Use
25162         libc_hidden_weak.
25163         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25164         __freeifaddrs.  Use libc_hidden_weak.
25165         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
25166         Remove variable.
25167         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
25168         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
25170 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
25172         [BZ #17601]
25173         * sysdeps/mips/start.S (__start): Use indirect jump to call
25174         __libc_start_main.
25176 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25178         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
25180         * nptl/tst-mutex1.c: Include <stdbool.h>.
25181         [!ATTR] (ATTR_NULL): New macro.
25182         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
25183         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
25184         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
25186         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
25187         to char *.
25189         [BZ #17665]
25190         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
25191         Change conditional to [__USE_MISC].
25193         [BZ #17664]
25194         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
25195         fgets_unlocked.
25196         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
25197         __fgets_unlocked.
25198         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
25199         fgets_unlocked.
25200         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
25201         Remove variable.
25202         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
25203         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
25204         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
25205         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
25206         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
25207         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
25208         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
25209         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
25210         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
25212         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
25214 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25217         Remove strpbrk objects.
25218         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25219         (__libc_ifunc_impl_list): Remove strpbrk implementation.
25220         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
25221         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
25222         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
25223         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
25225         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25226         Remove strcspn objects.
25227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25228         (__libc_ifunc_impl_list): Remove strcspn implementation.
25229         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
25230         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
25231         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
25232         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
25234         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25235         Remove strspn objetcs.
25236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25237         (__libc_ifunc_impl_list): Remove strspn implementation.
25238         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
25239         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25240         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
25241         * sysdeps/powerpc/powerpc64/strspn.S: New file.
25243 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
25245         [BZ #17581]
25246         * malloc/hooks.c
25247         (mem2mem_check): Add a terminator to the chain of checking blocks.
25248         (malloc_check_get_size): Use it here.
25249         (mem2chunk_check): Ditto.
25251 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25253         * sysdeps/powerpc/powerpc64/strtok.S: New file.
25254         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
25256 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
25258         * bits/ioctl-types.h: Indent preprocessor directives correctly.
25260         * nptl/nptl-init.c: Include libc-internal.h.
25261         (__pthread_initialize_minimal_internal): Use ROUND_UP.
25263         * elf/ldconfig.c (search_dir): Expand comment.
25265 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
25267         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
25268         variable.
25269         (linknamespace-symlist-stdlibs-tests): Likewise.
25270         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
25271         instead of $(objpfx)symlist-stdlibs.
25272         (linknamespace-libs-isoc): New variable.
25273         (linknamespace-libs): Use $(linknamespace-libs-isoc).
25274         (linknamespace-libs-ISO): New variable.
25275         (linknamespace-libs-ISO99): Likewise.
25276         (linknamespace-libs-ISO11): Likewise.
25277         (linknamespace-libs-XPG3): Likewise.
25278         (linknamespace-libs-XPG4): Likewise.
25279         (linknamespace-libs-POSIX): Likewise.
25280         (linknamespace-libs-UNIX98): Likewise.
25281         (linknamespace-libs-XOPEN2K): Likewise.
25282         (linknamespace-libs-POSIX2008): Likewise.
25283         (linknamespace-libs-XOPEN2K8): Likewise.
25284         ($(objpfx)symlist-stdlibs): Replace by
25285         $(linknamespace-symlist-stdlibs-tests).  Use
25286         $(linknamespace-libs-$*) as set of libraries.
25287         ($(linknamespace-header-tests)): Update dependencies.  Use
25288         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
25289         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
25290         * conform/linknamespace.pl: Remove comment about considering
25291         definitions of symbols from irrelevant libraries.
25293 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
25295         [BZ #13862]
25296         * elf/dl-tls.c: Include <atomic.h>.
25297         (oom): Remove #ifdef SHARED/#endif.
25298         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
25299         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
25300         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
25301         big enough.
25302         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
25303         * nptl/Makefile (tests): Add tst-stack4.
25304         (modules-names): Add tst-stack4mod.
25305         ($(objpfx)tst-stack4): New.
25306         (tst-stack4mod.sos): Likewise.
25307         ($(objpfx)tst-stack4.out): Likewise.
25308         ($(tst-stack4mod.sos)): Likewise.
25309         (clean): Likewise.
25310         * nptl/tst-stack4.c: New file.
25311         * nptl/tst-stack4mod.c: Likewise.
25313 2014-11-27  J. Brown  <jb999@gmx.de>
25315         * sysdeps/x86/bits/string.h: Add recent CPUs.
25317 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25319         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
25320         sigblock.
25322         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
25323         feof.
25325         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
25326         variable.
25328 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
25330         * nscd/connections.c: Include libc-internal.h because of macro
25331         usage ignore_value.
25333 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25335         * string/bits/string3.h (__warn_memset_zero_len): Don't
25336         declare for gcc newer than 5.0.
25337         (memset): Don't test for zero-length __LEN for gcc newer than
25338         5.0.
25340 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
25342         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
25343         size_t for %zu format.
25345         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
25346         difference, not %ju.
25348 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25350         * include/libc-internal.h (ignore_value): New macro.
25351         * nscd/connections.c (restart): Wrap calls to setuid and setgid
25352         with ignore_value.
25354         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
25355         definition.
25357         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
25358         pthread_cleanup_push to void *.
25360         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
25361         Undefine.
25363         [BZ #16619]
25364         [BZ #16740]
25365         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
25366         instead of 1L << 52.
25368         * libio/bug-rewind.c (do_test): Check fwscanf return values.
25369         * libio/bug-rewind2.c (do_test): Likewise.
25371         * debug/test-stpcpy_chk-ifunc.c: Remove file.
25372         * debug/test-strcpy_chk-ifunc.c: Likewise.
25373         * wcsmbs/test-wcschr-ifunc.c: Likewise.
25374         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
25375         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
25376         * wcsmbs/test-wcslen-ifunc.c: Likewise.
25377         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
25378         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
25379         * Rules [$(multi-arch) = no] (tests): Do not filter out
25380         $(tests-ifunc).
25381         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
25382         * debug/Makefile (tests-ifunc): Remove variable.
25383         (tests): Do not add $(tests-ifunc).
25384         * wcsmbs/Makefile (tests-ifunc): Remove variable.
25385         (tests): Do not add $(tests-ifunc).
25386         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
25387         [TEST_IFUNC]: Remove conditionals.
25388         * string/test-string.h (TEST_IFUNC): Remove macro.
25389         [TEST_IFUNC]: Remove conditionals.
25391         * string/test-strchr.c [!WIDE] (L): New macro.
25392         [WIDE] (L): Likewise.
25393         (check1): Use CHAR instead of char.  Use L on string and character
25394         constants.
25396 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
25398         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
25399         tests.
25400         * sysdeps/powerpc/bits/atomic.h
25401         (__arch_atomic_exchange_and_add_32_acq): Add definition.
25402         (__arch_atomic_exchange_and_add_32_rel): Likewise.
25403         (atomic_exchange_and_add_acq): Likewise.
25404         (atomic_exchange_and_add_rel): Likewise.
25405         * sysdeps/powerpc/powerpc32/bits/atomic.h
25406         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25407         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25408         * sysdeps/powerpc/powerpc64/bits/atomic.h
25409         (__arch_atomic_exchange_and_add_64_acq): Add definition.
25410         (__arch_atomic_exchange_and_add_64_rel): Likewise.
25412 2014-11-26  Torvald Riegel  <triegel@redhat.com>
25414         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
25415         Change synchronization of __sched_fifo_min_prio and
25416         __sched_fifo_max_prio.
25417         * nptl/pthread_mutexattr_getprioceiling.c
25418         (pthread_mutexattr_getprioceiling): Likewise.
25419         * nptl/pthread_mutexattr_setprioceiling.c
25420         (pthread_mutexattr_setprioceiling): Likewise.
25421         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25422         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
25423         Likewise.
25425 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
25427         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
25428         void.
25430 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25432         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
25433         third argument const.
25435 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
25437         fnmatch: work around GCC compiler warning bug with uninit var
25438         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
25439         This works around a bug with x86-64 GCC 4.9.2 and earlier
25440         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
25441         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
25442         used uninitialized in this function [-Wmaybe-uninitialized]".
25444 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
25446         * posix/bug-regex31.c (main): Return RES not 0.
25448 2014-11-25  Anton Blanchard <anton@samba.org>
25450         * sysdeps/powerpc/bits/atomic.h
25451         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
25453 2014-11-24  Sterling Augustine  <saugustine@google.com>
25455         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
25457 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
25459         [BZ #17608]
25460         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
25462 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
25464         [BZ #17633]
25465         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
25466         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
25467         variable.
25468         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
25469         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
25471 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25473         * string/strncpy.c (strncpy): Improve performance by using memset.
25475 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
25477         * string/strcpy.c (strcpy):
25478         Improve performance by using strlen and memcpy.
25480 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
25482         * string/strcoll_l.c (get_next_seq): __always_inline.
25483         * string/strcoll_l.c (do_compare): __always_inline.
25485 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25487         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
25488         defined.
25489         * include/mqueue.h: Likewise.
25490         * include/stdlib.h: Likewise.
25492         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
25493         (get_null_defines): Adjust.
25494         * sunrpc/Makefile: Adjust comment.
25495         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
25496         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
25497         (CFLAGS-interp.c): Likewise.
25498         (CFLAGS-ldconfig.c): Likewise.
25499         (CPPFLAGS-.os): Likewise.
25500         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
25501         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
25502         * extra-modules.mk (extra-modules.mk): Likewise.
25503         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
25504         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
25505         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
25506         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
25507         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
25508         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
25509         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
25510         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
25511         * iconvdata/Makefile (CPPFLAGS): Likewise.
25512         (cpp-srcs-left): Add libof for all iconvdata routines.
25513         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
25514         * include/assert.h: Likewise.
25515         * include/ctype.h: Likewise.
25516         * include/errno.h: Likewise.
25517         * include/libc-symbols.h: Likewise.
25518         * include/math.h: Likewise.
25519         * include/netdb.h: Likewise.
25520         * include/resolv.h: Likewise.
25521         * include/stdio.h: Likewise.
25522         * include/stdlib.h: Likewise.
25523         * include/string.h: Likewise.
25524         * include/sys/stat.h: Likewise.
25525         * include/wctype.h: Likewise.
25526         * intl/l10nflist.c: Likewise.
25527         * libidn/idn-stub.c: Likewise.
25528         * libio/libioP.h: Likewise.
25529         * nptl/libc_multiple_threads.c: Likewise.
25530         * nptl/pthreadP.h: Likewise.
25531         * posix/regex_internal.h: Likewise.
25532         * resolv/res_hconf.c: Likewise.
25533         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
25534         * sysdeps/arm/memmove.S: Likewise.
25535         * sysdeps/arm/sysdep.h: Likewise.
25536         * sysdeps/generic/_itoa.h: Likewise.
25537         * sysdeps/generic/symbol-hacks.h: Likewise.
25538         * sysdeps/gnu/errlist.awk: Likewise.
25539         * sysdeps/gnu/errlist.c: Likewise.
25540         * sysdeps/i386/i586/memcpy.S: Likewise.
25541         * sysdeps/i386/i586/memset.S: Likewise.
25542         * sysdeps/i386/i686/memcpy.S: Likewise.
25543         * sysdeps/i386/i686/memmove.S: Likewise.
25544         * sysdeps/i386/i686/mempcpy.S: Likewise.
25545         * sysdeps/i386/i686/memset.S: Likewise.
25546         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
25547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
25548         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
25549         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
25550         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
25551         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25552         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
25553         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
25554         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
25555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
25556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
25557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
25558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
25559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
25560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
25561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
25562         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
25563         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
25564         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
25565         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
25566         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25567         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25568         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
25569         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
25570         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
25571         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25572         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
25573         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
25574         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
25575         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
25576         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
25577         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25579         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25580         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25581         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
25582         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
25583         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
25584         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
25585         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
25586         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
25587         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
25588         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
25589         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
25590         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
25591         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
25592         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
25593         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
25594         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
25595         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
25596         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
25597         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
25598         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
25599         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
25600         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25601         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
25602         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
25603         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
25604         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
25605         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
25606         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25607         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
25608         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
25609         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25610         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25611         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
25612         * sysdeps/posix/closedir.c: Likewise.
25613         * sysdeps/posix/opendir.c: Likewise.
25614         * sysdeps/posix/readdir.c: Likewise.
25615         * sysdeps/posix/rewinddir.c: Likewise.
25616         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
25617         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
25618         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
25619         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
25620         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25621         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
25622         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
25623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
25624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
25625         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
25626         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
25627         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
25628         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
25629         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
25630         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
25631         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
25632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
25633         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
25634         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
25635         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
25636         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
25637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
25638         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
25639         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
25640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
25641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
25642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
25643         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
25644         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
25645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
25646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
25647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
25648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
25649         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
25650         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
25651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
25652         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
25653         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25654         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
25655         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
25656         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
25657         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
25658         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
25659         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25660         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
25661         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
25662         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
25663         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
25664         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
25665         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
25666         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
25667         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
25668         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
25669         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
25670         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
25671         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
25672         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
25673         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
25674         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
25675         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
25676         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25677         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
25678         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
25679         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
25680         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
25681         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25682         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
25683         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
25684         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
25685         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
25686         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
25688         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
25689         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
25690         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
25691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
25692         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
25693         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
25694         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
25695         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
25696         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
25697         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
25698         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
25699         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
25700         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
25701         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
25702         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
25703         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25704         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25705         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25706         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
25707         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
25708         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
25709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25710         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25711         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
25712         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25714         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
25715         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
25716         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25717         * sysdeps/unix/alpha/sysdep.S: Likewise.
25718         * sysdeps/unix/alpha/sysdep.h: Likewise.
25719         * sysdeps/unix/make-syscalls.sh: Likewise.
25720         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25722         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25723         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
25724         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25725         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
25726         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
25727         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25728         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25729         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
25730         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25731         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25733         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25734         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25735         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
25736         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25737         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25738         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25739         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25740         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
25741         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25742         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25743         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25744         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25745         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25746         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25749         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
25750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
25753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25754         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
25755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
25757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25758         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
25759         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25760         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25761         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25762         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25763         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25764         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25765         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25767         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25770         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25771         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25772         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25773         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25774         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
25775         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25776         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25778         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
25779         * sysdeps/x86_64/memcpy.S: Likewise.
25780         * sysdeps/x86_64/memmove.c: Likewise.
25781         * sysdeps/x86_64/memset.S: Likewise.
25782         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
25783         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
25784         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
25785         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
25786         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
25787         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
25788         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
25789         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
25790         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25791         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25792         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25793         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25794         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
25795         * sysdeps/x86_64/multiarch/memset.S: Likewise.
25796         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25797         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
25798         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
25799         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
25800         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
25801         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
25802         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
25803         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25804         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25805         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
25806         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
25807         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
25808         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
25809         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
25810         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25811         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
25812         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
25813         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
25814         * sysdeps/x86_64/strcmp.S: Likewise.
25816         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
25818         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
25819         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
25820         * elf/rtld-Rules: Likewise.
25821         * elf/setup-vdso.h: Likewise.
25822         * include/assert.h: Likewise.
25823         * include/bits/stdlib-float.h: Likewise.
25824         * include/errno.h: Likewise.
25825         * include/sys/stat.h: Likewise.
25826         * include/unistd.h: Likewise.
25827         * sysdeps/aarch64/setjmp.S: Likewise.
25828         * sysdeps/alpha/setjmp.S: Likewise.
25829         * sysdeps/arm/__longjmp.S: Likewise.
25830         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
25831         * sysdeps/arm/setjmp.S: Likewise.
25832         * sysdeps/arm/sysdep.h: Likewise.
25833         * sysdeps/generic/_itoa.h: Likewise.
25834         * sysdeps/generic/dl-sysdep.h: Likewise.
25835         * sysdeps/generic/ldsodefs.h: Likewise.
25836         * sysdeps/i386/dl-tls.h: Likewise.
25837         * sysdeps/i386/setjmp.S: Likewise.
25838         * sysdeps/m68k/setjmp.c: Likewise.
25839         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
25840         * sysdeps/mach/hurd/opendir.c: Likewise.
25841         * sysdeps/posix/getcwd.c: Likewise.
25842         * sysdeps/posix/opendir.c: Likewise.
25843         * sysdeps/posix/profil.c: Likewise.
25844         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25845         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25846         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25847         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25848         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
25849         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
25850         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
25851         * sysdeps/s390/dl-tls.h: Likewise.
25852         * sysdeps/s390/s390-32/setjmp.S: Likewise.
25853         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25854         * sysdeps/sh/sh3/setjmp.S: Likewise.
25855         * sysdeps/sh/sh4/setjmp.S: Likewise.
25856         * sysdeps/unix/alpha/sysdep.h: Likewise.
25857         * sysdeps/unix/arm/sysdep.S: Likewise.
25858         * sysdeps/unix/i386/sysdep.S: Likewise.
25859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25860         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
25861         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
25862         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
25863         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25864         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
25865         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
25866         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25867         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
25868         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
25869         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
25870         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
25871         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
25872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
25873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
25874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
25875         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25876         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25877         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25878         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
25879         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
25880         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25881         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25882         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
25883         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25884         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
25885         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
25886         * sysdeps/unix/x86_64/sysdep.S: Likewise.
25887         * sysdeps/x86_64/setjmp.S: Likewise.
25889         * include/math.h: Use IS_IN instead of IS_IN_libm.
25890         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
25891         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25892         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25893         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
25894         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25895         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25896         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25897         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25898         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25899         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25900         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
25901         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
25902         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
25903         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
25904         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
25905         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
25906         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
25907         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
25908         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
25909         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
25910         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
25911         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
25912         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
25913         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
25914         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
25915         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
25916         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
25917         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
25918         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
25919         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
25920         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
25921         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
25922         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
25924         Likewise.
25925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
25926         Likewise.
25927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
25928         Likewise.
25929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
25930         Likewise.
25931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
25932         Likewise.
25933         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
25934         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
25935         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
25936         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25937         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25938         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
25940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
25941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
25942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
25943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
25944         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
25945         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
25946         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25947         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25948         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
25949         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25950         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25951         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25952         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
25953         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
25954         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
25955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
25956         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
25957         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
25958         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25959         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
25961         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
25962         * nptl/pthreadP.h: Likewise.
25963         * nptl_db/structs.def: Likewise.
25964         * sysdeps/arm/sysdep.h: Likewise.
25965         * sysdeps/nptl/bits/libc-lock.h: Likewise.
25966         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
25967         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
25968         * sysdeps/unix/alpha/sysdep.h: Likewise.
25969         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25970         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
25971         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
25972         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
25973         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
25974         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
25975         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
25976         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
25977         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
25978         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
25979         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
25980         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
25981         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
25982         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
25983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
25984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
25985         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
25986         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
25987         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
25988         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
25989         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
25990         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
25991         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
25992         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
25993         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
25994         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
25996         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
25997         * nptl/pthreadP.h: Likewise.
25998         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
25999         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26000         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26001         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26002         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26003         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26004         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26005         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26006         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26007         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26008         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26009         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26011         Likewise.
26012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26013         Likewise.
26014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26015         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26016         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26017         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26019         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26020         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26021         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26023         * dlfcn/dladdr.c: Use IS_IN.
26024         * dlfcn/dladdr1.c: Likewise.
26025         * dlfcn/dlclose.c: Likewise.
26026         * dlfcn/dlerror.c: Likewise.
26027         * dlfcn/dlinfo.c: Likewise.
26028         * dlfcn/dlmopen.c: Likewise.
26029         * dlfcn/dlopen.c: Likewise.
26030         * dlfcn/dlsym.c: Likewise.
26031         * dlfcn/dlvsym.c: Likewise.
26033         * include/ifaddrs.h: Use IS_IN.
26034         * inet/check_pf.c: Likewise.
26035         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26036         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26038         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26039         IS_IN_ldconfig.
26040         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26041         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26043         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26044         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26045         IS_IN (libc).
26047         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26049         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26050         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26051         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26052         * include/libc-symbols.h (IS_IN_LIB): New macro.
26053         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26054         * include/netdb.h: Likewise.
26055         * include/stap-probe.h: Remove all uses of IN_LIB.
26057         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26058         instead of IN_MODULE.
26059         * include/libc-symbols.h (IN_MODULE): Define using
26060         MODULE_NAME.
26061         (PASTE_NAME, PASTE_NAME1): New macros.
26062         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26063         of IN_LIB.
26064         (STAP_PROBE_ASM): Likewise.
26066 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26068         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26069         __mach_init in dlopened libc.
26071 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26073         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26074         * sysdeps/arm/preconfigure: Regenerate.
26076 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26078         * nptl/pthread_create.c (__pthread_create_2_1): Set
26079         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26080         when copying values from IATTR into PD.
26082 2014-11-21  Will Newton  <will.newton@linaro.org>
26083             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26085         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26086         Refactor inline-asm.  Also add comment.
26088         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26089         ElfW macro instead of hardcoded Elf64 types.
26090         (la_aarch64_gnu_pltenter): Likewise.
26091         * sysdeps/aarch64/dl-machine.h
26092         (elf_machine_runtime_setup): Use ElfW(Addr).
26094         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26095         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26096         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26097         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26098         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26099         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26100         (R_AARCH64_TLS_DTPMOD): This.
26101         (R_AARCH64_TLS_DTPREL64): Rename to ...
26102         (R_AARCH64_TLS_DTPREL): This.
26103         (R_AARCH64_TLS_TPREL64): Rename to ...
26104         (R_AARCH64_TLS_TPREL): This.
26105         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26106         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26107         R_AARCH64_TLS_TPREL64.
26108         (elf_machine_rela): Likewise.
26110 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26112         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26113         by setting it to 0.  64b atomics are not supported currently.
26115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26117         [BZ #16469]
26118         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26119         search domain names.
26121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26123         [BZ #16469]
26124         * NEWS: Update.
26125         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26126         trailing dot.
26127         * posix/tst-getaddrinfo5.c: New.
26128         * posix/Makefile (tests): Add it.
26130 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26132         [BZ #14498]
26133         * NEWS: Fixed.
26134         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26135         after parsing line but before break_if_match.
26136         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26137         if there is a protocol mismatch.
26139 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26141         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26142         because the potential race is on the user-supplied stream.
26144 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26146         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26147         string literal if not passed a buffer.
26148         * manual/job.texi (ctermid): Update reasoning, note deviation
26149         from posix, suggest mtasurace when not passed a buffer, for
26150         future non-preliminary safety notes.
26152 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26154         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26155         of not passing it a buffer.
26156         Reported by Peng Haitao.
26158 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26160         * manual/Makefile ($(objpfx)stamp-summary): Require
26161         check-safety.sh to pass.
26162         * manual/check-safety.sh: Wish for verification that every
26163         @deftypefn and @deftypefun is followed by a @safety remark.
26165 2014-11-20  Roland McGrath  <roland@hack.frob.com>
26167         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
26169         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
26170         PTHREAD_CANCEL_ASYNCHRONOUS.
26171         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
26172         send SIGCANCEL.
26174         * nptl/default-sched.h: New file.
26175         * sysdeps/unix/sysv/linux/default-sched.h: New file.
26176         * nptl/pthread_create.c: Include it.
26177         (__pthread_create_2_1): Use collect_default_sched instead of making
26178         Linux syscalls here directly.
26180 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26182         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
26183         __pthread_once): Use C11 atomics.
26185 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26187         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
26189 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26191         * include/atomic.h (__atomic_link_error, __atomic_check_size,
26192         atomic_thread_fence_acquire, atomic_thread_fence_release,
26193         atomic_thread_fence_seq_cst, atomic_load_relaxed,
26194         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
26195         atomic_compare_exchange_weak_relaxed,
26196         atomic_compare_exchange_weak_acquire,
26197         atomic_compare_exchange_weak_release,
26198         atomic_exchange_acquire, atomic_exchange_release,
26199         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
26200         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
26201         atomic_fetch_and_acquire,
26202         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
26204 2014-11-20  Torvald Riegel  <triegel@redhat.com>
26206         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
26207         USE_ATOMIC_COMPILER_BUILTINS): Define.
26208         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
26209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26210         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
26211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26212         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
26213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26214         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
26215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26216         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
26217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26218         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
26219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26220         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
26221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26222         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
26223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26224         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26226         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26228         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
26229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26230         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
26231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26232         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
26233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26234         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
26235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26236         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
26237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26238         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
26239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26240         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
26241         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26242         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
26243         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26244         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
26245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26246         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
26247         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
26249 2014-11-19  Roland McGrath  <roland@hack.frob.com>
26251         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
26252         the sched_priority value here.  It was already checked when the user
26253         called pthread_attr_setschedparam.
26255         * nptl/tst-bad-schedattr.c: New file.
26256         * nptl/Makefile (tests): Add it.
26258 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
26259             Florian Weimer  <fweimer@redhat.com>
26260             Joseph Myers  <joseph@codesourcery.com>
26261             Adam Conrad  <adconrad@0c3.net>
26262             Andreas Schwab  <schwab@suse.de>
26263             Brooks  <bmoses@google.com>
26265         [BZ #17625]
26266         * wordexp-test.c (__dso_handle): Add prototype.
26267         (__register_atfork): Likewise.
26268         (__app_register_atfork): New function.
26269         (registered_forks): New global.
26270         (register_fork): New function.
26271         (test_case): Add 3 new tests for WRDE_CMDSUB.
26272         (main): Call __app_register_atfork.
26273         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
26274         fork count is non-zero fail the test.
26275         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
26276         is set.
26277         (parse_dollars): Remove check for WRDE_NOCMD.
26278         (parse_dquote): Likewise.
26280 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26282         * Makeconfig (built-modules): List non-library modules to be
26283         built.
26284         (module-cppflags): Include libc-modules.h for
26285         everything except shlib-versions.v.i.
26286         (CPPFLAGS): Use it.
26287         (before-compile): Add libc-modules.h.
26288         ($(common-objpfx)libc-modules.h,
26289         $(common-objpfx)libc-modules.stmp): New targets.
26290         (common-generated): Add libc-modules.h and libc-modules.stmp.
26291         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
26292         * include/libc-symbols.h: Don't include libc-modules.h.
26293         * include/libc-modules.h: Remove file.
26294         * scripts/gen-libc-modules.awk: New script to generate
26295         libc-modules.h.
26296         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
26297         Depend on libc-modules.stmp.
26299         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
26301         * Makeconfig (in-module): Get value of libof set for the
26302         translation unit.
26303         (CPPFLAGS): Use $(in-module).
26304         * Makerules: Don't suffix routine names for nonlib.
26305         * include/libc-modules.h: New file.
26306         * include/libc-symbols.h: Include libc-modules.h
26307         (IS_IN): New macro to replace IS_IN_* macros.
26308         * elf/Makefile: Set libof-* for each routine.
26309         * elf/rtld-Rules: Likewise.
26310         * extra-modules.mk: Likewise.
26311         * iconv/Makefile: Likewise.
26312         * iconvdata/Makefile: Likewise.
26313         * locale/Makefile: Likewise.
26314         * malloc/Makefile: Likewise.
26315         * nss/Makefile: Likewise.
26316         * sysdeps/gnu/Makefile: Likewise.
26317         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
26318         * sysdeps/unix/sysv/linux/Makefile: Likewise.
26319         * sysdeps/s390/s390-64/Makefile: Likewise.
26320         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
26321         CPPFLAGS for nscd instead of nonlib.
26323 2014-11-18  Roland McGrath  <roland@hack.frob.com>
26325         * nptl/createthread.c: New file.
26327         * nptl/createthread.c: Moved ...
26328         * sysdeps/unix/sysv/linux/createthread.c: ... here.
26330         * nptl/createthread.c: Add proper top-line comment.
26331         (do_clone): Folded into ...
26332         (create_thread): ... here.  Take new arguments STOPPED_START and
26333         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
26334         increment __nptl_threads, do event-reporting logic, do
26335         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
26336         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
26337         resource cleanup if sched_setaffinity or sched_setscheduler fails,
26338         just send SIGCANCEL.
26339         * nptl/pthread_create.c: Forward-declare create_thread before
26340         including createthread.c.
26341         (start_thread): Use new macro START_THREAD_DEFN to replace defining
26342         declaration, and new macro START_THREAD_SELF to replace argument.
26343         Remove return statement.
26344         (report_thread_creation): New function.
26345         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
26346         synchronization logic, and __nptl_nthreads increment here, around
26347         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
26348         PD->parent_cancelhandling here, before create_thread.  When
26349         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
26350         __deallocate_stack, and ENOMEM translation here.
26352 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
26354         [BZ #17616]
26355         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
26356         (mptwo): Rename to __mptwo.
26357         (__inv): Use __mptwo instead of mptwo.
26358         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
26359         (mptwo): Rename to __mptwo.
26360         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
26361         of mpone and __mptwo instead of mptwo.
26362         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
26363         instead of mpone.
26364         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
26365         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
26366         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
26367         of mpone and __mptwo instead of mptwo.
26368         (__mpranred): Use __mpone instead of mpone.
26369         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
26370         variable.
26371         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26372         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26373         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26374         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26375         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26376         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26377         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26378         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26379         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26380         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26381         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26382         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26383         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26384         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26385         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26386         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26387         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26388         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26389         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26391 2014-11-18  Tom de Vries  <tom@codesoucery.com>
26393         * manual/signal.texi (Primitives Interrupted by Signals): In section,
26394         replace BSD Handler xref with BSD Signal Handling.
26396 2014-11-17  Richard Henderson  <rth@redhat.com>
26398         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
26399         (_FP_PACK_RAW_2): Remove.
26400         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
26401         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
26402         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
26403         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
26404         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
26405         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
26406         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
26407         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
26408         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
26409         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
26410         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
26411         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
26412         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
26413         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
26414         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
26415         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
26417 2014-11-14  Roland McGrath  <roland@hack.frob.com>
26419         * signal/signal.h [__USE_MISC]
26420         (struct sigvec): Remove type.
26421         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
26422         (sigvec): Remove declaration.
26423         * sysdeps/posix/sigvec.c: Moved ...
26424         * signal/sigvec.c: ... here, replacing old file.
26425         (struct sigvec): New type, copied from old signal.h definition.
26426         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
26427         (__sigvec): Convert definition to prototype.
26428         (sigvec): Replace weak_alias with compat_symbol.
26429         * signal/Versions (libc: GLIBC_2.21): New version set.
26430         * include/signal.h: Remove __sigvec declaration.
26431         * sysdeps/unix/bsd/sigvec.c: Remove file.
26432         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
26433         * manual/signal.texi (BSD Handler): Remove subsection.
26434         Move siginterrupt up to ...
26435         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
26436         (Blocking in BSD): Fold subsection into its parent.
26437         * NEWS: Mention sigvec removal.
26439 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26441         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
26442         (DLA_FMS): Make definition conditional only on [__FMA4__].
26443         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
26444         definition.
26446         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
26447         Make definition conditional only on [PROF].
26448         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
26449         definition.
26450         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
26451         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
26453         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
26454         !__GNUC__].
26455         * include/signal.h (__sigpause): Move declaration above call to
26456         libc_hidden_proto.
26457         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
26458         variable.
26459         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26460         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26462 2014-11-14  David S. Miller  <davem@davemloft.net>
26464         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
26465         Define before including <string/memcpy.c> and <string/mempcpy.c>.
26467 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
26469         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
26470         * configure: Regenerated.
26471         * manual/install.texi (Tools for Compilation): Document a
26472         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
26473         compiler verified to work.
26474         * INSTALL: Regenerated.
26476         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
26477         redeclare with asm name.
26478         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
26479         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
26480         including <string.h>.
26481         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26482         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
26483         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26484         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
26485         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26486         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
26487         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
26489 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
26491         * stdlib/strtol.c (__strtol): Use prototype definition.
26493         [BZ #17594]
26494         * stdlib/strtol.c (SYM__): New macro.
26495         (SYM__1): Likewise.
26496         (__strtol): Likewise.
26497         (strtol): Rename to __strtol and define as weak alias of
26498         __strtol.  Use libc_hidden_weak.
26500 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26502         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
26503         Use numbered labels in inline assembly.
26505 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26507         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
26508         Add setjmp LIBC_PROBE.
26509         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
26510         Likewise.
26511         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
26512         Add longjmp, longjmp_target LIBC_PROBE.
26513         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
26514         Likewise.
26516 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26518         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26519         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
26520         to get rid of unused variable warning.
26522 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
26524         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
26525         Check for unwind_backtrace ==  NULL only in SHARED case.
26526         (__backchain_backtrace): Compile only in SHARED case.
26527         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
26528         Likewise.
26529         (__backchain_backtrace): Declare as static.
26531 2014-11-12  Roland McGrath  <roland@hack.frob.com>
26533         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
26534         (__libc_multiple_threads_ptr): Variable moved ...
26535         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
26537 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
26539         * conform/GlibcConform.pm: New file.
26540         * conform/conformtest.pl: Use GlibcConform module.
26541         * conform/linknamespace.pl: New file.
26542         * conform/list-header-symbols.pl: Likewise.
26543         * conform/Makefile (linknamespace-symlists-base): New variable.
26544         (linknamespace-symlists-tests): Likewise.
26545         (linknamespace-header-base): Likewise.
26546         (linknamespace-header-tests): Likewise.
26547         (tests-special): Add new tests.
26548         ($(linknamespace-symlists-tests)): New rule.
26549         (linknamespace-libs): New variable.
26550         ($(objpfx)symlist-stdlibs): New rule.
26551         ($(linknamespace-header-tests)): Likewise.
26552         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
26553         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
26554         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
26555         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
26556         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
26557         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
26558         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
26559         (test-xfail-ISO/math.h/linknamespace): Likewise.
26560         (test-xfail-ISO/signal.h/linknamespace): Likewise.
26561         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
26562         (test-xfail-ISO/time.h/linknamespace): Likewise.
26563         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
26564         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
26565         (test-xfail-ISO99/math.h/linknamespace): Likewise.
26566         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
26567         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26568         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
26569         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
26570         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26571         (test-xfail-ISO11/math.h/linknamespace): Likewise.
26572         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
26573         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26574         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
26575         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26576         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
26577         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
26578         (test-xfail-XPG3/math.h/linknamespace): Likewise.
26579         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
26580         (test-xfail-XPG3/search.h/linknamespace): Likewise.
26581         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
26582         (test-xfail-XPG3/time.h/linknamespace): Likewise.
26583         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
26584         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26585         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26586         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
26587         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26588         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26589         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
26590         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
26591         (test-xfail-XPG4/math.h/linknamespace): Likewise.
26592         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
26593         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
26594         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26595         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26596         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26597         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
26598         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
26599         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
26600         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
26601         (test-xfail-XPG4/time.h/linknamespace): Likewise.
26602         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
26603         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26604         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
26605         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26606         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26607         (test-xfail-POSIX/math.h/linknamespace): Likewise.
26608         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
26609         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
26610         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26611         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
26612         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
26613         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26614         (test-xfail-POSIX/time.h/linknamespace): Likewise.
26615         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
26616         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26617         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
26618         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26619         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
26620         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26621         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26622         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
26623         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
26624         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
26625         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
26626         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
26627         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
26628         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
26629         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
26630         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
26631         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26632         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
26633         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26634         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26635         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26636         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26637         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
26638         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
26639         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
26640         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
26641         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26642         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
26643         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
26644         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
26645         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
26646         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26647         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26648         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
26649         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
26650         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
26651         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26652         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
26653         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
26654         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
26655         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
26656         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26657         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26658         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
26659         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
26660         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
26661         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26662         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26663         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26664         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26665         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
26666         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
26667         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
26668         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26669         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26670         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26671         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
26672         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
26673         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26674         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
26675         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26676         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26677         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
26678         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26679         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26680         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
26681         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
26682         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26683         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
26684         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26685         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26686         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26687         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
26688         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
26689         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
26690         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
26691         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
26692         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26693         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26694         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
26695         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
26696         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
26697         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
26698         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26699         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26700         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
26701         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
26702         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26703         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26704         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26705         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
26706         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26707         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26708         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26709         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
26710         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
26711         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
26712         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26714         [BZ #17589]
26715         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
26716         of fgets_unlocked.
26718         [BZ #17585]
26719         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
26720         (memmem): Rename to __memmem and define as weak alias of
26721         __memmem.  Use libc_hidden_weak.
26722         (__memmem): Use libc_hidden_def.
26723         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
26724         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
26725         memmem.
26727         [BZ #17582]
26728         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
26729         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
26730         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
26731         and define as weak alias of __fgets_unlocked.  Use
26732         libc_hidden_weak.
26733         (__fgets_unlocked): Use libc_hidden_def.
26734         * include/stdio.h (__fgets_unlocked): Declare.  Use
26735         libc_hidden_proto.
26736         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
26737         __fgets_unlocked instead of fgets_unlocked.
26738         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
26739         (GET_NPROCS_CONF_PARSER): Likewise.
26740         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
26741         (GET_NPROCS_CONF_PARSER): Likewise.
26743         [BZ #17574]
26744         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
26745         weak alias of __wmemset.  Use libc_hidden_weak.
26746         (__wmemset): Use libc_hidden_def.
26747         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
26748         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
26749         of wmemset.
26751         [BZ #17573]
26752         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
26753         with asm name __mempcpy.
26754         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
26756         [BZ #17572]
26757         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
26758         and define as weak alias of __rawmemchr.
26759         (__rawmemchr): Do not define as strong alias of rawmemchr.
26761         [BZ #17571]
26762         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
26763         alias of __qsort_r.
26764         (qsort): Call __qsort_r instead of qsort_r.
26765         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
26766         (__qsort_r): Declare.  Call libc_hidden_proto.
26767         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
26768         instead of qsort_r.
26769         * nscd/gai.c (__qsort_r): Define to qsort_r.
26770         * posix/tst-rfc3484.c (__qsort_r): Likewise.
26771         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
26772         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
26774         [BZ #17570]
26775         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
26776         define as weak alias of __malloc_info.
26778         [BZ #17584]
26779         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
26780         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26781         (__rewinddir): Use libc_hidden_def.
26782         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
26783         as weak alias of __rewinddir.  Don't use libc_hidden_def.
26784         (__rewinddir): Use libc_hidden_def.
26785         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
26786         weak alias of __rewinddir.  Don't use libc_hidden_def.
26787         (__rewinddir): Use libc_hidden_def.
26788         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
26789         (__rewinddir): Use libc_hidden_proto.
26790         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
26791         rewinddir.
26792         (__getcwd): Use __rewinddir instead of rewinddir.
26794         [BZ #17583]
26795         * libio/fileno.c (fileno): Rename to __fileno and define as weak
26796         alias of __fileno.  Use libc_hidden_weak.
26797         (__fileno): Use libc_hidden_def.
26798         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
26799         * libio/ftello.c (ftello): Rename to __ftello and define as weak
26800         alias of __ftello.
26801         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
26802         __ftello.
26803         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
26804         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
26805         libc_hidden_def.
26806         (fread_unlocked): Don't use libc_hidden_ver.
26807         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
26808         and define as weak alias of __fread_unlocked.  Don't use
26809         libc_hidden_def.
26810         (__fread_unlocked): Use libc_hidden_def.
26811         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
26812         (ftello): Don't use libc_hidden_proto.
26813         (__ftello): Declare.  Use libc_hidden_proto.
26814         (fread_unlocked): Don't use libc_hidden_proto.
26815         (__fread_unlocked): Declare.  Use libc_hidden_proto.
26816         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
26817         and __ftello instead of fileno, fread_unlocked and ftello.
26819 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26821         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
26822         GOT12.
26823         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
26824         Likewise.
26825         (_dl_start_user): Likewise.
26826         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
26828 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
26829             Siddhesh Poyarekar  <siddhesh@redhat.com>
26831         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
26832         Move argv and envp down instead of moving argc up.
26833         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
26835 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
26837         [BZ #17506]
26838         * test-skeleton.c (main): Return successful if one of
26839         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
26840         * string/tst-strcoll-overflow.c: Define expected status.
26842 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
26844         [BZ #17475]
26845         * locale/iso-639.def: Define Bhili and Tulu language codes.
26847 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
26849         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
26851 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
26853         [BZ #17555]
26854         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
26856 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26858         * configure.ac: Updated check of minimal required version to
26859         2.22.
26860         * manual/install.texi (Tools for Compilation): Updated version
26861         number.
26862         * configure: Regenerated.
26863         * INSTALL: Likewise.
26865 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
26867         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
26868         __tls_get_addr.
26870 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
26872         * include/sys/wait.h (__libc_waitpid): Remove declaration.
26873         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
26874         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26875         libc_hidden_weak.
26876         (waitpid): Define as alias of __waitpid.
26877         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
26878         __waitpid.
26879         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26880         libc_hidden_weak.
26881         (waitpid): Define as alias of __waitpid.
26882         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
26883         __libc_waitpid alias.
26884         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
26885         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
26886         Likewise.
26887         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
26888         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
26889         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
26890         alias.
26891         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
26892         __waitpid.
26893         (__waitpid): Don't define as alias.  Use libc_hidden_def not
26894         libc_hidden_weak.
26895         (waitpid): Define as alias of __waitpid.
26897 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
26899         * manual/llio.texi: Add comment that write safety has been
26900         fixed in Linux.
26902         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
26903         (localplt-build-dso): Add elf/ld.so.
26904         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
26905         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
26906         and free for ld.so.
26907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
26908         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
26909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
26910         Likewise.
26911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
26912         Likewise.
26913         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
26914         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
26915         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
26916         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
26917         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26918         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
26919         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
26920         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
26921         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26922         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
26923         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
26925 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
26927         [BZ #14132]
26928         * include/libc-symbols.h (INTUSE): Remove macro.
26929         (INTDEF): Likewise.
26930         (INTVARDEF): Likewise.
26931         (_INTVARDEF): Likewise.
26932         (INTDEF2): Likewise.
26933         (INTVARDEF2): Likewise.
26934         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
26935         rtld_hidden_def instead of INTVARDEF.
26936         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
26937         (_dl_starting_up_internal): Remove declaration.
26938         (_dl_starting_up): Use rtld_hidden_proto.
26939         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
26940         declaration.
26941         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
26942         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
26943         _dl_starting_up.
26944         * elf/dl-writev.h (_dl_writev): Likewise.
26945         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
26946         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
26947         _dl_starting_up_internal.
26949 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26951         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
26952         test-skeleton.c.
26954 2014-11-05  Will Newton  <will.newton@linaro.org>
26956         * benchtests/Makefile: (bench-malloc): Add malloc thread
26957         scalability benchmark.
26958         * benchtests/bench-malloc-threads.c: New file.
26960 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
26962         * sysdeps/aarch64/strchrnul.S: New file.
26964 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26966         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
26967         definition.
26968         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
26969         Likwise.
26970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
26971         Likewise.
26972         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
26973         Likewise.
26974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
26975         Likewise.
26976         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
26977         Likewise.
26979 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
26981         * catgets/test-gencat.c: Use test-skeleton.c.
26982         * catgets/tst-catgets.c: Likewise.
26983         * csu/tst-empty.c: Likewise.
26984         * elf/tst-audit2.c: Likewise.
26985         * elf/tst-global1.c: Likewise.
26986         * elf/tst-pathopt.c: Likewise.
26987         * elf/tst-piemod1.c: Likewise.
26988         * elf/tst-tls10.c: Likewise.
26989         * elf/tst-tls11.c: Likewise.
26990         * elf/tst-tls12.c: Likewise.
26991         * gnulib/tst-gcc.c: Likewise.
26992         * iconvdata/tst-e2big.c: Likewise.
26993         * iconvdata/tst-loading.c: Likewise.
26994         * iconv/tst-iconv1.c: Likewise.
26995         * iconv/tst-iconv2.c: Likewise.
26996         * inet/test-inet6_opt.c: Likewise.
26997         * inet/tst-gethnm.c: Likewise.
26998         * inet/tst-network.c: Likewise.
26999         * inet/tst-ntoa.c: Likewise.
27000         * intl/tst-codeset.c: Likewise.
27001         * intl/tst-gettext2.c: Likewise.
27002         * intl/tst-gettext3.c: Likewise.
27003         * intl/tst-ngettext.c: Likewise.
27004         * intl/tst-translit.c: Likewise.
27005         * io/test-stat.c: Likewise.
27006         * libio/test-fmemopen.c: Likewise.
27007         * libio/tst-freopen.c: Likewise.
27008         * libio/tst-sscanf.c: Likewise.
27009         * libio/tst-ungetwc1.c: Likewise.
27010         * libio/tst-ungetwc2.c: Likewise.
27011         * libio/tst-widetext.c: Likewise.
27012         * localedata/tst-ctype.c: Likewise.
27013         * localedata/tst-digits.c: Likewise.
27014         * localedata/tst-leaks.c: Likewise.
27015         * localedata/tst-mbswcs1.c: Likewise.
27016         * localedata/tst-mbswcs2.c: Likewise.
27017         * localedata/tst-mbswcs3.c: Likewise.
27018         * localedata/tst-mbswcs4.c: Likewise.
27019         * localedata/tst-mbswcs5.c: Likewise.
27020         * localedata/tst-setlocale.c: Likewise.
27021         * localedata/tst-trans.c: Likewise.
27022         * localedata/tst-wctype.c: Likewise.
27023         * localedata/tst-xlocale1.c: Likewise.
27024         * login/tst-grantpt.c: Likewise.
27025         * malloc/tst-calloc.c: Likewise.
27026         * malloc/tst-malloc.c: Likewise.
27027         * malloc/tst-mallocstate.c: Likewise.
27028         * malloc/tst-mcheck.c: Likewise.
27029         * malloc/tst-mtrace.c: Likewise.
27030         * malloc/tst-obstack.c: Likewise.
27031         * math/atest-exp2.c: Likewise.
27032         * math/atest-exp.c: Likewise.
27033         * math/atest-sincos.c: Likewise.
27034         * math/test-matherr.c: Likewise.
27035         * math/test-misc.c: Likewise.
27036         * math/test-powl.c: Likewise.
27037         * math/tst-definitions.c: Likewise.
27038         * misc/tst-dirname.c: Likewise.
27039         * misc/tst-efgcvt.c: Likewise.
27040         * misc/tst-fdset.c: Likewise.
27041         * misc/tst-hsearch.c: Likewise.
27042         * misc/tst-mntent2.c: Likewise.
27043         * nptl/tst-sem7.c: Likewise.
27044         * nptl/tst-sem8.c: Likewise.
27045         * nptl/tst-sem9.c: Likewise.
27046         * nss/test-netdb.c: Likewise.
27047         * posix/tst-fnmatch.c: Likewise.
27048         * posix/tst-getlogin.c: Likewise.
27049         * posix/tst-gnuglob.c: Likewise.
27050         * posix/tst-mmap.c: Likewise.
27051         * pwd/tst-getpw.c: Likewise.
27052         * resolv/tst-inet_ntop.c: Likewise.
27053         * rt/tst-timer.c: Likewise.
27054         * stdio-common/test-fseek.c: Likewise.
27055         * stdio-common/test-popen.c: Likewise.
27056         * stdio-common/test-vfprintf.c: Likewise.
27057         * stdio-common/tst-cookie.c: Likewise.
27058         * stdio-common/tst-fileno.c: Likewise.
27059         * stdio-common/tst-gets.c: Likewise.
27060         * stdio-common/tst-obprintf.c: Likewise.
27061         * stdio-common/tst-perror.c: Likewise.
27062         * stdio-common/tst-sprintf2.c: Likewise.
27063         * stdio-common/tst-sprintf3.c: Likewise.
27064         * stdio-common/tst-sprintf.c: Likewise.
27065         * stdio-common/tst-swprintf.c: Likewise.
27066         * stdio-common/tst-tmpnam.c: Likewise.
27067         * stdio-common/tst-unbputc.c: Likewise.
27068         * stdio-common/tst-wc-printf.c: Likewise.
27069         * stdlib/tst-environ.c: Likewise.
27070         * stdlib/tst-fmtmsg.c: Likewise.
27071         * stdlib/tst-limits.c: Likewise.
27072         * stdlib/tst-rand48-2.c: Likewise.
27073         * stdlib/tst-rand48.c: Likewise.
27074         * stdlib/tst-random2.c: Likewise.
27075         * stdlib/tst-random.c: Likewise.
27076         * stdlib/tst-strtol.c: Likewise.
27077         * stdlib/tst-strtoll.c: Likewise.
27078         * stdlib/tst-tls-atexit.c: Likewise.
27079         * stdlib/tst-xpg-basename.c: Likewise.
27080         * string/test-ffs.c: Likewise.
27081         * string/tst-bswap.c: Likewise.
27082         * string/tst-inlcall.c: Likewise.
27083         * string/tst-strtok.c: Likewise.
27084         * string/tst-strxfrm.c: Likewise.
27085         * sysdeps/x86_64/tst-audit10.c: Likewise.
27086         * sysdeps/x86_64/tst-audit3.c: Likewise.
27087         * sysdeps/x86_64/tst-audit4.c: Likewise.
27088         * sysdeps/x86_64/tst-audit5.c: Likewise.
27089         * time/tst-ftime_l.c: Likewise.
27090         * time/tst-getdate.c: Likewise.
27091         * time/tst-mktime3.c: Likewise.
27092         * time/tst-mktime.c: Likewise.
27093         * time/tst-posixtz.c: Likewise.
27094         * time/tst-strptime2.c: Likewise.
27095         * time/tst-strptime3.c: Likewise.
27096         * wcsmbs/tst-btowc.c: Likewise.
27097         * wcsmbs/tst-mbrtowc.c: Likewise.
27098         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27099         * wcsmbs/tst-wchar-h.c: Likewise.
27100         * wcsmbs/tst-wcpncpy.c: Likewise.
27101         * wcsmbs/tst-wcrtomb.c: Likewise.
27102         * wcsmbs/tst-wcsnlen.c: Likewise.
27103         * wcsmbs/tst-wcstof.c: Likewise.
27105 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27107         [BZ #14132]
27108         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27109         INTDEF.
27110         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27111         declaration.
27112         (_dl_mcount): Use rtld_hidden_proto.
27113         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27114         _dl_mcount.
27115         * elf/rtld.c (_rtld_global_ro): Likewise.
27117         [BZ #14132]
27118         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27119         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27120         of _dl_init_internal.
27121         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27122         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27123         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27124         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27125         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27126         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27127         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27128         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27129         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27130         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27131         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27132         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27133         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27134         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27135         * sysdeps/tile/dl-start.S (_start): Likewise.
27136         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27137         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27139         [BZ #14132]
27140         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27141         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27142         (rtld_progname): Make macro definition unconditional.
27143         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27144         INTDEF.
27145         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27146         (dl_main): Likewise.
27147         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27148         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27149         instead of _dl_argv_internal.
27150         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27151         __GI__dl_argv instead of INTUSE(_dl_argv).
27152         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27153         __GI__dl_argv instead of _dl_argv_internal.
27155         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27156         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27157         macro.
27158         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27159         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27160         New macro.
27161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27162         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
27163         macro.
27164         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
27165         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
27167 2014-11-04  Andreas Schwab  <schwab@suse.de>
27169         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
27171 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27173         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
27174         mtvsrd instruction in binary form.
27176 2014-11-03  Andreas Schwab  <schwab@suse.de>
27178         [BZ #17522]
27179         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
27180         for less than MB_LEN_MAX use a local buffer of that size.
27181         * libio/tst-fputws.c: New file.
27182         * libio/Makefile (tests): Add tst-fputws.
27184 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
27186         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
27187         the size of the fpu_fr.fpu_dregs[] array.
27189 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
27191         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
27192         (__nanosleep): Do not define as alias.
27193         (nanosleep): Define as alias of __nanosleep.
27194         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
27195         __libc_nanosleep name.
27197 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27199         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
27200         install.texi in comment.
27202 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27204         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
27205         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
27206         ... add here and use lwsync or sync ...
27207         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
27208         ... and add here using lwsync.
27210 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
27212         * elf/dl-machine-reject-phdr.h: New file.
27213         * elf/dl-load.c: #include that.
27214         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
27215         if that returned true.
27217 2014-10-31  Roland McGrath  <roland@hack.frob.com>
27219         [BZ #17496]
27220         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
27221         gen-as-const-headers chunk.  Add a big scare comment after the last
27222         safe place to touch before-compile.
27224 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
27226         * manual/install.texi (Tools for Compilation): Update autoconf
27227         version requirements.
27228         * INSTALL: Regenerated.
27230         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
27231         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
27232         (__libc_pselect): Likewise.
27234         [BZ #14138]
27235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
27236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
27237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
27238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
27240 2014-10-31  Torvald Riegel  <triegel@redhat.com>
27242         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
27243         correct barrier instruction.
27244         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
27245         Likewise.
27246         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
27247         Likewise.
27249 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27251         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
27252         after defining inlines.  Instead, just use parens to defeat macro
27253         expansion of __isctype in its declaration.
27255 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27257         * include/sys/uio.h (__libc_readv): Remove declaration.
27258         (__libc_writev): Likewise.
27259         * misc/readv.c (__libc_readv): Rename to __readv.
27260         (__readv): Do not define as alias.
27261         (readv): Define as alias of __readv.
27262         * misc/writev.c (__libc_writev): Rename to __writev.
27263         (__writev): Do not define as alias.
27264         (writev): Define as alias of __writev.
27265         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
27266         (__readv): Do not define as alias.
27267         (readv): Define unconditionally as alias of __readv.
27268         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
27269         (__writev): Do not define as alias.
27270         (writev): Define unconditionally as alias of __writev.
27271         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
27272         name.
27273         (writev): Do not define __libc_writev name.
27275 2014-10-30  Roland McGrath  <roland@hack.frob.com>
27277         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
27278         (convert_charseq): New function, broken out of ...
27279         (use_from_charmap): ... here.  Call it.
27280         (use_to_charmap): Use convert_charseq and free instead of duplicating
27281         its code with a variable-length stack struct.
27283 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
27285         * include/fcntl.h (__libc_creat): Remove declaration.
27286         * io/creat.c (__libc_creat): Rename to creat.
27287         (creat): Do not define as alias.
27288         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
27289         of creat instead of __libc_creat.
27290         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
27291         to creat.
27292         (creat): Do not define as alias.
27293         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
27294         __libc_creat.
27295         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
27296         __libc_creat name.
27297         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
27298         Likewise.
27300 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
27302         * manual/llio.texi: Add comments discussing why write() may be
27303         considered MT-unsafe on Linux.
27305 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
27307         * dl-load.c (local_strdup): Remove.
27308         (expand_dynamic_string_token): Use __strdup.
27309         (decompose_rpath): Likewise.
27310         (_dl_map_object): Likewise.
27312 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
27314         [BZ #14132]
27315         * sysdeps/generic/unwind-dw2-fde.c
27316         (__register_frame_info_bases_internal): Do not declare.
27317         (__register_frame_info_table_bases_internal): Likewise.
27318         (__deregister_frame_info_bases_internal): Likewise.
27319         (__register_frame_info_bases): Declare and use hidden_proto before
27320         definition.  Use hidden_def instead of INTDEF.
27321         (__register_frame_info_table_bases): Likewise.
27322         (__deregister_frame_info_bases): Likewise.
27323         (__register_frame_info): Do not use INTUSE.
27324         (__register_frame): Likewise.
27325         (__register_frame_info_table): Likewise.
27326         (__register_frame_table): Likewise.
27327         (__deregister_frame_info): Likewise.
27328         (__deregister_frame): Likewise.
27330 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
27332         * sysdeps/unix/sysv/linux/arm/kernel-features.h
27333         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
27334         not undefine.
27335         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
27336         Likewise.
27337         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
27338         Likewise.
27340 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
27342         [BZ #14138]
27343         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
27344         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
27345         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
27346         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
27347         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
27348         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
27349         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
27350         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
27351         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
27352         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
27353         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
27354         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
27355         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
27356         syscall.
27357         (setfsuid): Likewise.
27358         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
27359         (setfsuid): Likewise.
27360         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
27361         (setfsuid): Likewise.
27362         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
27363         Likewise.
27364         (setfsuid): Likewise.
27365         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
27366         (setfsuid): Likewise.
27367         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
27368         Likewise.
27369         (setfsuid): Likewise.
27371 2014-10-27  Andreas Schwab  <schwab@suse.de>
27373         [BZ #17501]
27374         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
27375         check for Slow_SSE4_2 feature bit.
27376         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
27377         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
27378         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
27379         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
27381 2014-10-24  Roland McGrath  <roland@hack.frob.com>
27383         * configure.ac: Validate compiler version with a empirical test of
27384         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
27385         $CC -v output.
27386         * configure: Regenerated.
27388         * inet/htons.c (htons): Prototypify.
27389         * inet/htonl.c (htonl): Likewise.
27391 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27393         * string/strncat.c (strncat): Improve performance by using strlen.
27395 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27397         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
27399 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27401         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
27402         Call libc_fetestexcept_aarch64.
27404 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27406         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
27407         Call libc_feholdexcept_aarch64.
27409 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27411         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
27412         Call get_rounding_mode.
27414 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27416         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27417         Simplify logic.
27419 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
27421         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
27422         Simplify logic.
27424 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
27426         [BZ #14138]
27427         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
27428         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
27429         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
27430         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
27431         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
27432         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
27433         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
27434         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
27435         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
27436         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
27437         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
27438         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
27439         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
27440         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
27441         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
27442         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
27443         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
27444         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
27445         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
27446         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
27447         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
27448         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
27449         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
27450         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
27451         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
27452         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
27453         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
27454         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
27455         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
27456         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
27457         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
27458         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
27459         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
27460         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
27461         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
27462         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
27463         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
27464         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
27465         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
27466         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
27467         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
27468         syscall.
27469         (geteuid): Likewise.
27470         (getgid): Likewise.
27471         (getuid): Likewise.
27472         (getresgid): Likewise.
27473         (getresuid): Likewise.
27474         (getgroups): Likewise.
27475         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
27476         (geteuid): Likewise.
27477         (getgid): Likewise.
27478         (getuid): Likewise.
27479         (getresgid): Likewise.
27480         (getresuid): Likewise.
27481         (getgroups): Likewise.
27482         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
27483         (geteuid): Likewise.
27484         (getgid): Likewise.
27485         (getuid): Likewise.
27486         (getresgid): Likewise.
27487         (getresuid): Likewise.
27488         (getgroups): Likewise.
27489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
27490         Likewise.
27491         (geteuid): Likewise.
27492         (getgid): Likewise.
27493         (getuid): Likewise.
27494         (getresgid): Likewise.
27495         (getresuid): Likewise.
27496         (getgroups): Likewise.
27497         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
27498         (geteuid): Likewise.
27499         (getgid): Likewise.
27500         (getuid): Likewise.
27501         (getresgid): Likewise.
27502         (getresuid): Likewise.
27503         (getgroups): Likewise.
27504         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
27505         Likewise.
27506         (geteuid): Likewise.
27507         (getgid): Likewise.
27508         (getuid): Likewise.
27509         (getgroups): Likewise.
27511         [BZ #14138]
27512         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
27513         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
27514         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
27515         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
27516         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
27517         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
27518         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
27519         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
27520         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
27521         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
27522         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
27523         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
27524         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
27525         __chown.
27526         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
27527         (lchown): Likewise.
27528         (fchown): Likewise.
27529         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
27530         Likewise.
27531         (lchown): Likewise.
27532         (fchown): Likewise.
27533         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
27534         (lchown): Likewise.
27535         (fchown): Likewise.
27536         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
27537         Likewise.
27538         (lchown): Likewise.
27539         (fchown): Likewise.
27541 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27543         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
27544         Simplify logic.
27546 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27548         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27549         Cleanup logic.
27551 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27553         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
27554         Remove unused include.
27556 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
27558         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
27559         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
27560         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
27561         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
27563 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
27564             Helge Deller <deller@gmx.de>
27566         [BZ #17508]
27567         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
27568         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
27569         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
27571 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
27573         [BZ #14132]
27574         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
27575         Remove macro definition.
27576         (__ashrdi3_v_glibc20): Likewise.
27577         (__lshrdi3_v_glibc20): Likewise.
27578         (__cmpdi2_v_glibc20): Likewise.
27579         (__ucmpdi2_v_glibc20): Likewise.
27580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
27581         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
27582         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
27583         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
27584         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
27585         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
27587 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27589         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
27590         old GNU extension [0] syntax.
27591         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
27592         alloca rather than an array member with variable length.
27593         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
27594         * nscd/nscd.c (invalidate_db): New function, broken out of ...
27595         (parse_opt): ... here.  Likewise use alloca there.
27596         Validate the -i argument before checking for rootness.
27597         (send_shutdown): New function, broken out of ...
27598         (parse_opt): ... here.
27600 2014-10-22  Roland McGrath  <roland@hack.frob.com>
27602         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
27603         macro to get at the _rt_local_ro field.
27604         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
27605         ([PIC] case) or _dl_hwcap ([!PIC] case).
27606         * sysdeps/arm/setjmp.S: Likewise.
27608         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
27609         * sysdeps/arm/configure.ac: New check to define it.
27610         * sysdeps/arm/configure: Regenerated.
27611         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
27612         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
27613         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
27614         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
27615         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
27616         Use move/movt pair instead of a load.
27617         (LDST_GLOBAL): Macro removed.
27618         (LDR_GLOBAL): New macro replaces it.
27619         (LDR_HIDDEN): New macro.
27620         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
27621         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
27623         * setjmp/tst-setjmp-static.c: New file.
27624         * setjmp/Makefile (tests): Add it.
27625         (tests-static): New variable.
27627 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
27629         [BZ #17485]
27630         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
27632 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
27634         [BZ #14132]
27635         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
27637 2014-10-21  Roland McGrath  <roland@hack.frob.com>
27639         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
27641 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27643         * io/fts.c (dirent_not_directory): New function.
27644         (fts_build): Call it.
27646 2014-10-20  Roland McGrath  <roland@hack.frob.com>
27648         * nptl/version.c (__nptl_main): Use normal __write rather than
27649         INTERNAL_SYSCALL.
27650         (banner): Update copyright years.
27652         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
27653         gettimeofday.
27654         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
27655         * nptl/pthread_cond_timedwait.c: Likewise.
27656         * nptl/pthread_mutex_timedlock.c: Likewise.
27657         * nptl/sem_timedwait.c: Likewise.
27659         * sysdeps/nptl/bits/libc-lock.h
27660         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
27661         (__libc_lock_init_recursive): Return void, not 0.
27662         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
27663         (__libc_rwlock_init): Likewise.
27664         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
27666 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27668         [BZ #15215]
27669         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
27670         (__pthread_once_slow): ... here.
27671         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
27672         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
27674 2014-10-20  Torvald Riegel  <triegel@redhat.com>
27676         [BZ #15215]
27677         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
27678         __PTHREAD_ONCE_FORK_GEN_INCR): New.
27679         * sysdeps/nptl/fork.c (__libc_fork): Use them.
27680         * nptl/pthread_once.c (__pthread_once): Likewise.
27681         Update comments.
27683 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
27685         [BZ #14138]
27686         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
27687         name.
27688         (writev): Use __libc_writev as strong name.
27689         * sysdeps/unix/sysv/linux/readv.c: Remove file.
27690         * sysdeps/unix/sysv/linux/writev.c: Likewise.
27692 2014-10-17  Roland McGrath  <roland@hack.frob.com>
27694         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
27696         * sysdeps/i386/nptl/tls.h
27697         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
27698         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
27699         New macros.
27700         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
27701         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
27702         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
27703         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
27704         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
27705         Call CHECK_THREAD_SYSINFO instead of doing an assert.
27707         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27708         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
27709         on [__NR_futex].
27710         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
27711         broken out of ...
27712         (__pthread_mutex_init): ... here.  Call it.
27713         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
27714         Conditionalize PI cases on [__NR_futex].
27715         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
27716         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
27717         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
27719         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
27720         conditional on [SIGSETXID].
27721         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
27722         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
27723         is defined.  Likewise for SIGSETXID.
27724         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
27725         Conditionalize definitions on [SIGSETXID].
27726         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
27727         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
27728         unblocking on [SIGCANCEL].
27730         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
27731         [__NR_set_robust_list].
27733 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27735         * string/strcoll_l.c (get_next_seq): Fix up formatting.
27736         (do_compare): Likewise.
27738 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
27740         [BZ #15884]
27741         * string/strcoll_l.c: Don't include stdio.h.
27742         (coll_seq): Remove members idxarr and rulearr.
27743         (get_next_seq_cached): Remove function.
27744         (get_next_seq): Likewise.
27745         (get_next_seq_nocache): Rename to get_next_seq.
27746         (do_compare): Remove function.
27747         (do_compare_nocache): Rename to do_compare.
27748         (STRCOLL): Remove weight and rules cache.
27750 2014-10-16  Roland McGrath  <roland@hack.frob.com>
27752         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
27753         * sysdeps/arm/sfp-machine.h: ... to here.
27754         * sysdeps/arm/Implies: Remove arm/soft-fp.
27756 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
27758         * conform/data/sys/utsname.h-data (*_t): Allow.
27759         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
27760         [POSIX] (WEXITED): Do not expect constant.
27761         [POSIX] (WSTOPPED): Likewise.
27762         [POSIX] (WNOHANG): Likewise.
27763         [POSIX] (WNOWAIT): Likewise.
27764         [POSIX] (siginfo_t): Do not expect type or elements.
27765         [POSIX] (pid_t): Do not expect type.
27766         [POSIX] (signal.h): Do not allow header.
27767         [POSIX] (sys/resource.h): Likewise.
27768         [POSIX] (si_*): Do not allow pattern.
27769         [POSIX] (W*): Likewise.
27770         [POSIX] (P_*): Likewise.
27771         [POSIX] (BUS_*): Likewise.
27772         [POSIX] (CLD_*): Likewise.
27773         [POSIX] (FPE_*): Likewise.
27774         [POSIX] (ILL_*): Likewise.
27775         [POSIX] (POLL_*): Likewise.
27776         [POSIX] (SEGV_*): Likewise.
27777         [POSIX] (SI_*): Likewise.
27778         [POSIX] (TRAP_*): Likewise.
27779         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
27780         variable.
27782 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
27784         [BZ #12926]
27785         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
27786         infinite loop when __recvmsg returns 0.
27788 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
27790         * CANCEL-FCT-WAIVE: Remove file.
27791         * CANCEL-FILE-WAIVE: Likewise.
27793         [BZ #14132]
27794         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
27795         instead of INTVARDEF.
27796         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27797         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
27798         rtld_hidden_data_def instead of INTVARDEF.
27799         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
27800         * elf/dl-deps.c (expand_dst): Likewise.
27801         * elf/dl-load.c (_dl_dst_count): Likewise.
27802         (_dl_dst_substitute): Likewise.
27803         (decompose_rpath): Likewise.
27804         (_dl_init_paths): Likewise.
27805         (open_path): Likewise.
27806         (_dl_map_object): Likewise.
27807         * elf/rtld.c (dl_main): Likewise.
27808         (process_dl_audit): Likewise.
27809         (process_envvars): Likewise.
27810         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
27811         Remove declaration.
27812         (__libc_enable_secure): Use rtld_hidden_proto.
27814 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
27816         * elf/dl-load.c
27817         (add_path): New function broken out of _dl_rtld_di_serinfo.
27818         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
27820 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
27822         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
27823         parentheses around macro arguments.
27824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
27825         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
27826         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
27827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
27828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
27829         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27830         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
27832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
27833         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
27834         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
27835         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
27836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
27837         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
27838         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
27839         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
27840         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
27841         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
27842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
27843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
27844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
27845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
27846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
27847         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
27848         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
27849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
27850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
27851         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
27852         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
27853         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
27854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
27855         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
27856         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
27857         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
27858         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
27859         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
27860         Likewise.
27861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
27862         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27863         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
27865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
27866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
27867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
27868         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
27869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
27870         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
27871         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
27872         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
27873         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
27874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
27875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
27876         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
27877         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
27878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
27879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
27880         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
27881         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
27882         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
27883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
27884         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
27885         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
27886         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
27887         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
27888         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
27889         (_FP_FRAC_SRS_1): Likewise.
27890         (_FP_FRAC_CLZ_1): Likewise.
27891         (_FP_MUL_MEAT_1_imm): Likewise.
27892         (_FP_MUL_MEAT_1_wide): Likewise.
27893         (_FP_MUL_MEAT_1_hard): Likewise.
27894         (_FP_SQRT_MEAT_1): Likewise.
27895         (_FP_FRAC_ASSEMBLE_1): Likewise.
27896         (_FP_FRAC_DISASSEMBLE_1): Likewise.
27897         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
27898         (__FP_CLZ_2): Likewise.
27899         (_FP_MUL_MEAT_2_wide): Likewise.
27900         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
27901         (_FP_MUL_MEAT_2_gmp): Likewise.
27902         (_FP_MUL_MEAT_2_120_240_double): Likewise.
27903         (_FP_SQRT_MEAT_2): Likewise.
27904         (_FP_FRAC_ASSEMBLE_2): Likewise.
27905         (_FP_FRAC_DISASSEMBLE_2): Likewise.
27906         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
27907         (_FP_FRAC_CLZ_4): Likewise.
27908         (_FP_MUL_MEAT_4_wide): Likewise.
27909         (_FP_MUL_MEAT_4_gmp): Likewise.
27910         (_FP_SQRT_MEAT_4): Likewise.
27911         (_FP_FRAC_ASSEMBLE_4): Likewise.
27912         (_FP_FRAC_DISASSEMBLE_4): Likewise.
27913         * soft-fp/op-common.h (_FP_CMP): Likewise.
27914         (_FP_CMP_EQ): Likewise.
27915         (_FP_CMP_UNORD): Likewise.
27916         (_FP_TO_INT): Likewise.
27917         (_FP_FROM_INT): Likewise.
27918         [!__FP_CLZ] (__FP_CLZ): Likewise.
27919         (_FP_DIV_HELP_imm): Likewise.
27920         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
27921         Likewise.
27922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
27923         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
27924         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
27925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
27926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
27927         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27928         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
27930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
27931         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
27932         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
27933         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
27934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
27935         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
27936         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
27937         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
27938         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
27939         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
27940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
27941         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
27942         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
27943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
27944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
27945         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
27946         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
27947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
27948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
27949         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
27950         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
27951         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
27952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
27953         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
27954         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
27955         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
27956         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
27957         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
27958         (FP_UNPACK_RAW_SP): Likewise.
27959         (FP_PACK_RAW_S): Likewise.
27960         (FP_PACK_RAW_SP): Likewise.
27961         (FP_UNPACK_S): Likewise.
27962         (FP_UNPACK_SP): Likewise.
27963         (FP_UNPACK_SEMIRAW_S): Likewise.
27964         (FP_UNPACK_SEMIRAW_SP): Likewise.
27965         (FP_PACK_S): Likewise.
27966         (FP_PACK_SP): Likewise.
27967         (FP_PACK_SEMIRAW_S): Likewise.
27968         (FP_PACK_SEMIRAW_SP): Likewise.
27969         (_FP_SQRT_MEAT_S): Likewise.
27970         (FP_CMP_S): Likewise.
27971         (FP_CMP_EQ_S): Likewise.
27972         (FP_CMP_UNORD_S): Likewise.
27973         (FP_TO_INT_S): Likewise.
27974         (FP_FROM_INT_S): Likewise.
27976         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
27978         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
27979         (FP_EX_INVALID_IMZ): Likewise.
27980         (FP_EX_INVALID_IMZ_FMA): Likewise.
27981         (FP_EX_INVALID_ISI): Likewise.
27982         (FP_EX_INVALID_ZDZ): Likewise.
27983         (FP_EX_INVALID_IDI): Likewise.
27984         (FP_EX_INVALID_SQRT): Likewise.
27985         (FP_EX_INVALID_CVI): Likewise.
27986         (FP_EX_INVALID_VC): Likewise.
27987         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
27988         "invalid" exceptions.
27989         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
27990         (_FP_ADD_INTERNAL): Likewise.
27991         (_FP_MUL): Likewise.
27992         (_FP_FMA): Likewise.
27993         (_FP_DIV): Likewise.
27994         (_FP_CMP_CHECK_NAN): Likewise.
27995         (_FP_SQRT): Likewise.
27996         (_FP_TO_INT): Likewise.
27997         (FP_EXTEND): Likewise.
27999 2014-10-09  Allan McRae  <allan@archlinux.org>
28001         * po/fr.po: Update French translation from translation project.
28003 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28005         [BZ #14132]
28006         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28007         of INTDEF.
28008         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28009         (__cxa_atexit): Use libc_hidden_proto.
28010         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28012         [BZ #14132]
28013         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28014         declaration.
28015         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28016         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28017         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28018         [!_ISOMAC] (__iswctype_internal): Likewise.
28019         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28020         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28021         alias.
28022         (fcntl): Remove __fcntl_internal alias.
28023         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28024         __connect_internal alias.
28025         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28026         Likewise.
28028         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28029         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28030         FP_DENORM_ZERO.
28031         (_FP_CHECK_FLUSH_ZERO): New macro.
28032         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28033         (_FP_CMP): Likewise.
28034         (_FP_CMP_EQ): Likewise.
28035         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28036         FP_DENORM_ZERO.
28037         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28038         (FP_TRUNC): Likewise.
28040         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28041         treated as invalid conversion, not as normal exponent.
28043         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28044         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28045         (_FP_CMP_EQ): Likewise.
28046         (_FP_CMP_UNORD): Likewise.
28047         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28048         (FP_CMP_EQ_D): Likewise.
28049         (FP_CMP_UNORD_D): Likewise.
28050         * soft-fp/extended.h (FP_CMP_E): Likewise.
28051         (FP_CMP_EQ_E): Likewise.
28052         (FP_CMP_UNORD_E): Likewise.
28053         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28054         (FP_CMP_EQ_Q): Likewise.
28055         (FP_CMP_UNORD_Q): Likewise.
28056         * soft-fp/single.h (FP_CMP_S): Likewise.
28057         (FP_CMP_EQ_S): Likewise.
28058         (FP_CMP_UNORD_S): Likewise.
28059         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28060         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28061         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28062         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28063         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28064         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28065         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28066         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28067         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28068         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28069         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28070         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28071         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28072         to FP_CMP_Q.
28073         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28074         FP_CMP_Q.
28075         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28076         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28077         FP_CMP_EQ_Q.
28078         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28079         FP_CMP_Q.
28080         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28081         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28082         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28083         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28084         FP_CMP_EQ_Q.
28085         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28086         FP_CMP_Q.
28087         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28088         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28089         FP_CMP_EQ_Q.
28090         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28091         FP_CMP_Q.
28092         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28093         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28094         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28095         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28096         FP_CMP_EQ_Q.
28098         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28099         a subnormal result, set the underflow exception if trapping on
28100         underflow is enabled.
28101         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28102         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28103         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28104         redefine to 0.
28105         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28106         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28107         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28108         * soft-fp/extendxftf2.c (__extendxftf2): Use
28109         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28111         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28112         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28113         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28114         FP_HANDLE_EXCEPTIONS.
28115         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28116         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28117         FP_HANDLE_EXCEPTIONS.
28118         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28119         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28120         FP_HANDLE_EXCEPTIONS.
28121         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28122         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28123         FP_HANDLE_EXCEPTIONS.
28125 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28127         [BZ #14132]
28128         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28129         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28130         use INTUSE.
28131         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28132         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28133         Remove alias.
28134         (__adjtimex): Define using libc_hidden_ver.
28135         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28136         Remove declaration.
28137         (ntp_gettime): Call __adjtimex directly.
28138         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28139         Remove declaration.
28140         (ntp_gettimex): Call __adjtimex directly.
28141         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28142         __adjtimex_internal alias.
28144 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28146         [BZ #17460]
28147         * nscd/nscd.c (more_help): Rewrite list of tables collection
28148         using xstrdup and asprintf.
28150         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28152 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28153             Roland McGrath  <roland@hack.frob.com>
28155         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28156         (do_lookup_unique): ... local function 'enter' here; update callers.
28158 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28160         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28161         compat_symbol calls on [SHARED].
28162         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
28163         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
28164         Remove.
28165         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28166         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
28167         (oldsetrlimit): Remove.
28168         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28170         (lchown): New syscall entry.
28171         (oldsetrlimit): Remove.
28172         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28173         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
28174         (oldsetrlimit): Remove.
28175         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
28177         [BZ #14138]
28178         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
28179         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
28180         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
28181         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
28182         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
28183         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
28184         (fchown): Likewise.
28185         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
28186         (fchown): Likewise.
28187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
28188         Likewise.
28190 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28192         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
28193         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
28194         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
28195         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
28196         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
28197         Likewise.
28198         (__old_sem_post): Likewise.
28200 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
28202         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
28203         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
28204         HAVE_CLOCK_GETTIME_VSYSCALL macros.
28205         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
28206         Use INLINE_VSYSCALL macro.
28207         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
28208         __vdso_clock_gettime.
28209         * sysdeps/unix/sysv/linux/tile/init-first.c
28210         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
28211         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
28212         __vdso_clock_gettime.
28214         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
28215         to set up frame more cleanly.
28217         * sysdeps/tile/memcmp.c: New file.
28219         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
28221         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
28222         * sysdeps/tile/tilegx/strcasestr.c: New file.
28223         * sysdeps/tile/tilegx/strnlen.c: New file.
28224         * sysdeps/tile/tilegx/strstr.c: New file.
28226         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
28228 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
28230         * nptl/tst-setuid3.c: Write errors to stdout.
28232 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28234         * elf/dl-deps.c
28235         (preload): New functions broken out of _dl_map_object_deps.
28236         (_dl_map_object_deps):  Remove a nested function. Update call sites.
28238 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
28240         [BZ #14138]
28241         * sysdeps/unix/sysv/linux/execve.c: Remove file.
28242         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
28244 2014-10-01  Steve Ellcey  <sellcey@mips.com>
28246         * sysdeps/mips/strcmp.S: New.
28248 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
28250         [BZ #14138]
28251         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
28252         (linkat): Likewise.
28253         (mkdirat): Likewise.
28254         (readlinkat): Likewise.
28255         (renameat): Likewise.
28256         (symlinkat): Likewise.
28257         (unlinkat): Likewise.
28258         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
28259         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
28260         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
28261         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
28262         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
28263         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
28264         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
28266 2014-09-30  Will Newton  <will.newton@linaro.org>
28268         * math/math.h: Define long double math functions if
28269         _LIBC_TEST is defined.
28270         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
28272         * localedata/Makefile: Move assignment to tests-special
28273         into an ifdef testing run-built-tests.
28274         * timezone/Makefile: Likewise.
28276 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
28278         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
28279         with $(BASH) not $(SHELL).
28281 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
28282             Matthew LeGendre  <legendre1@llnl.gov>
28284         [BZ #17411]
28285         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
28286         l_reloc_result.
28288 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28290         * stdio-common/printf_fp.c
28291         (hack_digit): New function, broken out of ...
28292         (__printf_fp): ... local function here.  Update call sites.
28293         hack_digit now takes an additional parameter that is a pointer
28294         to a struct of the referenced locals.  Those locals moved inside
28295         the struct and references updated.
28297 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
28299         * aclocal.m4: Require autoconf 2.69.
28300         * configure: Regenerated.
28301         * sysdeps/aarch64/configure: Likewise.
28302         * sysdeps/alpha/configure: Likewise.
28303         * sysdeps/arm/armv7/configure: Likewise.
28304         * sysdeps/arm/configure: Likewise.
28305         * sysdeps/ia64/configure: Likewise.
28306         * sysdeps/mach/configure: Likewise.
28307         * sysdeps/mips/configure: Likewise.
28308         * sysdeps/s390/configure: Likewise.
28309         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
28310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
28312         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
28313         file.
28314         * sysdeps/ia64/configure.ac: Likewise.
28316 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
28318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
28319         specify symbol version for ld.so.  Do not include entry for
28320         libpthread.
28321         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28323         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28325         [BZ #14171]
28326         * Makeconfig [$(build-shared) = yes]
28327         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
28328         makefiles.
28329         [$(build-shared) = yes && $(soversions.mk-done) = t]
28330         ($(common-objpfx)gnu/lib-names.h): Remove rule.
28331         [$(build-shared) = yes && $(soversions.mk-done) = t]
28332         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
28333         to Makerules.
28334         [$(build-shared) = yes && $(soversions.mk-done) = t]
28335         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
28336         here.
28337         [$(build-shared) = yes && $(soversions.mk-done) = t]
28338         (common-generated): Don't append gnu/lib-names.h and
28339         gnu/lib-names.stmp here.
28340         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
28341         (lib-names-h-abi): New variable.
28342         [$(build-shared) = yes && $(soversions.mk-done) = t]
28343         (lib-names-stmp-abi): Likewise.
28344         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28345         abi-variants] (before-compile): Append
28346         $(common-objpfx)$(lib-names-h-abi).
28347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28348         abi-variants] (common-generated): Append gnu/lib-names.h.
28349         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28350         abi-variants] (install-others-nosubdir): Depend on
28351         $(inst_includedir)/$(lib-names-h-abi).
28352         [$(build-shared) = yes && $(soversions.mk-done) = t &&
28353         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
28354         [$(build-shared) = yes && $(soversions.mk-done) = t]
28355         ($(common-objpfx)$(lib-names-h-abi)): New rule.
28356         [$(build-shared) = yes && $(soversions.mk-done) = t]
28357         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
28358         [$(build-shared) = yes && $(soversions.mk-done) = t]
28359         (common-generated): Append $(lib-names-h-abi) and
28360         $(lib-names-stmp-abi).
28361         * scripts/lib-names.awk: Do not handle multi being set.
28362         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
28363         Remove variable.
28364         (abi-lp64_be-ld-soname): Likewise.
28365         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
28366         Likewise.
28367         (abi-hard-ld-soname): Likewise.
28368         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
28369         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
28370         Remove variable.
28371         (abi-o32_hard-ld-soname): Likewise.
28372         (abi-o32_soft_2008-ld-soname): Likewise.
28373         (abi-o32_hard_2008-ld-soname): Likewise.
28374         (abi-n32_soft-ld-soname): Likewise.
28375         (abi-n32_hard-ld-soname): Likewise.
28376         (abi-n32_soft_2008-ld-soname): Likewise.
28377         (abi-n32_hard_2008-ld-soname): Likewise.
28378         (abi-n64_soft-ld-soname): Likewise.
28379         (abi-n64_hard-ld-soname): Likewise.
28380         (abi-n64_soft_2008-ld-soname): Likewise.
28381         (abi-n64_hard_2008-ld-soname): Likewise.
28382         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
28383         Likewise.
28384         (abi-64-v2-ld-soname): Likewise.
28385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
28386         ld.so entries.
28387         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
28388         variable.
28389         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
28390         entry.
28391         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
28392         variable.
28393         (abi-64-ld-soname): Likewise.
28394         (abi-x32-ld-soname): Likewise.
28395         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
28396         entry.
28397         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28399 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
28401         [BZ #14138]
28402         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
28403         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
28404         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
28406         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
28407         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
28408         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
28409         syscall entry for GLIBC_2.2 symbol version.
28410         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
28411         Likewise.
28412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
28413         (setrlimit): Likewise.
28414         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
28415         Likewise.
28417 2014-09-23  Will Newton  <will.newton@linaro.org>
28419         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
28420         _LINUX_ARM_SYSDEP_H include guard too.
28421         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
28422         define.
28424 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28426         * sysdeps/unix/sysv/linux/eventfd.c:
28427         Make first argument unsigned.
28428         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
28429         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
28431 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
28433         [BZ #16852]
28434         * socket/recvmmsg.c (recvmmsg): Drop const argument.
28435         * socket/sys/socket.h: Likewise.
28436         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
28438 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28440         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
28442 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
28444         * time/tst-ftime.c: New test.
28445         * time/Makefile (tests): Add tst-ftime.
28447 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
28449         * soft-fp/extended.h: Fix comment formatting.
28450         * soft-fp/op-1.h: Likewise.
28451         * soft-fp/op-2.h: Likewise.
28452         * soft-fp/op-4.h: Likewise.
28453         * soft-fp/op-8.h: Likewise.
28454         * soft-fp/op-common.h: Likewise.
28455         * soft-fp/soft-fp.h: Likewise.
28457         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
28459 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
28461         [BZ #6652]
28462         * Makeconfig (soversions-default-setname): Remove variable.
28463         ($(common-objpfx)soversions.i): Don't pass default_setname to
28464         soversions.awk.
28465         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
28466         oldest_abi to abi-versions.awk.
28467         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
28468         * config.make.in (oldest-abi): Remove variable.
28469         * configure.ac (--enable-oldest-abi): Remove configure option.
28470         * configure: Regenerated.
28471         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
28472         text.
28473         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
28474         * scripts/soversions.awk: Do not handle default_setname variable.
28475         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
28476         variable.
28477         * sysdeps/mach/hurd/configure: Regenerated.
28478         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
28479         variable.
28480         * sysdeps/unix/sysv/linux/configure: Regenerated.
28482 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28484         * elf/Makefile (CFLAGS-interp.c): Remove.
28485         ($(elf-objpfx)runtime-linker.h): Generate header with linker
28486         path string.
28487         * elf/interp.c: Include generated runtime-linker.h
28489         * Makerules (lib%.so): Don't include $(+interp) in
28490         prerequisites.
28491         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
28492         * dlfcn/eval.c: Remove file.
28494         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
28495         macros.
28497         [BZ #17266]
28498         * misc/sys/cdefs.h: Define __extern_always_inline for clang
28499         4.2 and newer.
28501         [BZ #17370]
28502         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
28504 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28505             Jakub Jelinek  <jakub@redhat.com>
28507         [BZ #17266]
28508         * libio/stdio.h: Check definition of __fortify_function
28509         instead of __extern_always_inline to include bits/stdio2.h.
28510         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
28511         check if __extern_always_inline is defined.
28512         [__USE_MISC || __USE_XOPEN]: Likewise.
28513         [__USE_ISOC99] Likewise.
28514         * misc/sys/cdefs.h (__fortify_function): Define only if
28515         __extern_always_inline is defined.
28516         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
28517         __extern_always_inline and __extern_inline only for g++-4.3
28518         and newer or a compatible gcc.
28520 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
28522         [BZ #17371]
28523         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
28524         last change to handle zero prefix length.
28526 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28528         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
28529         _SC_REGEX_VERSION.
28531         * posix/getconf.c (vars): Add _POSIX_IPV6 and
28532         _POSIX_RAW_SOCKETS.
28534 2014-09-13  Allan McRae  <allan@archlinux.org>
28536         * po/ru.po: Update Russian translation from translation project.
28538 2014-09-12  Roland McGrath  <roland@hack.frob.com>
28540         * locale/programs/locale.c (show_locale_vars): Inline local function
28541         into its sole call site.  Clean up some style nits.
28542         (print_item): New function, broken out of ...
28543         (show_info): ... local function here.  Clean up style nits.
28545         * locale/programs/ld-ctype.c (set_one_default): New function, broken
28546         out of ...
28547         (set_class_defaults): ... local function set_default here.
28548         Define set_default as a macro locally to pass constant parameters.
28549         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
28550         rather than a shared local.
28552         * stdlib/rpmatch.c (try): New function, broken out of ...
28553         (rpmatch): ... local function here.  Also, prototypify definition.
28555 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
28557         * scripts/soversions.awk: Do not handle configuration names.
28558         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
28559         vendor and os variables to soversions.awk.
28560         * configure.ac: Do not modify gnu-* host_os.
28561         * configure: Regenerated
28562         * shlib-versions: Remove first column with configuration names.
28563         * nptl/shlib-versions: Likewise.
28564         * nptl_db/shlib-versions: Likewise.
28565         * sysdeps/hppa/shlib-versions: Likewise.
28566         * sysdeps/m68k/shlib-versions: Likewise.
28567         * sysdeps/mach/hurd/shlib-versions: Likewise.
28568         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
28569         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
28570         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
28571         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
28572         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
28573         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
28574         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
28575         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
28576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28577         Likewise.
28578         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28579         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28580         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28581         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28582         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28583         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
28584         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
28585         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
28587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
28588         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
28589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
28590         Regenerated.
28591         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
28592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
28593         Condition symbol version definitions on [HAVE_ELFV2_ABI].
28595         * shlib-versions: Remove OS-specific entries.  Moved to files in
28596         sysdeps.
28597         * sysdeps/mach/hurd/shlib-versions: New file.
28598         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
28600         * nptl/shlib-versions: Remove architecture-specific entries.
28601         Moved to files in sysdeps.
28602         * shlib-versions: Likewise.
28603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
28604         file.
28605         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
28606         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
28607         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
28608         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
28610         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
28611         (UDP_NO_CHECK6_RX): Likewise.
28613 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28615         * sysdeps/posix/sysconf.c (__sysconf): Spell
28616         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
28618 2014-08-12  Florian Weimer  <fweimer@redhat.com>
28620         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
28621         loading.
28622         * iconv/Versions (__gconv_transliterate): Export for use from
28623         gconv modules.
28624         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
28625         (struct __gconv_trans_data, __gconv_trans_fct,
28626         __gconv_trans_context_fct, __gconv_trans_query_fct,
28627         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
28628         definitions.
28629         (struct __gconv_step_data): Remove __trans member.
28630         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
28631         longer hidden.  Remove unused trans_data argument.
28632         * iconv/gconv_int.h (struct trans_struct): Remove definition.
28633         (__gconv_translit_find): Remove declaration.
28634         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
28635         prototype.
28636         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
28637         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
28638         trans_data argument.  Add hidden definition.
28639         (__gconv_translit_find): Remove.
28640         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
28641         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
28642         * iconv/skeleton.c: Remove transliteration initialization.
28643         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
28644         __gconv_step_data initialization.
28645         * libio/iofwide.c (__libio_translit_): Remove.
28646         (_IO_fwide): Adjust struct __gconv_step_data initialization.
28647         * wcsmbs/btowc.c (__btowc): Likewise.
28648         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28649         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28650         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28651         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28652         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
28653         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28654         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28655         * wcsmbs/wctob.c (wctob): Likewise.
28657 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28659         [BZ #16194]
28660         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
28661         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
28662         register usage.
28663         * sysdeps/x86/Makefile: Adjust.
28665 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28666             Roland McGrath  <roland@hack.frob.com>
28668         * locale/weight.h: Add include guard.
28669         (findidx): Make static rather than auto; take new parameters
28670         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
28671         * locale/weightwc.h: Likewise.
28672         * posix/fnmatch_loop.c
28673         (FCT): Change type of EXTRA from int32_t to wint_t.
28674         Don't include either header inside the function.
28675         Call FINDIDX rather than findidx, and pass new arguments.
28676         #undef FINDIDX at the end of the file.
28677         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
28678         FINDIDX before including fnmatch_loop.c for the non-wide version.
28679         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
28680         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
28681         for the wide version.
28682         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
28683         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
28684         Pass new arguments to findidx.
28685         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
28686         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
28687         Don't #include it inside the function.  Pass new arguments to findidx.
28688         * posix/regex_internal.h
28689         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
28690         (re_string_elem_size_at): Don't #include it inside the function.
28691         Pass new arguments to findidx.
28692         * string/strcoll_l.c: #include WEIGHT_H at top level.
28693         (get_next_seq): Don't #include it inside the function.
28694         Pass new arguments to findidx.
28695         (get_next_seq_nocache): Likewise.
28696         * string/strxfrm_l.c: #include WEIGHT_H at top level.
28697         (STRXFRM): Don't #include it inside the function.
28698         Pass new arguments to findidx.
28700 2014-09-11  Florian Weimer  <fweimer@redhat.com>
28702         [BZ #17344]
28703         * malloc/malloc.c (unlink): Turn asserts into a call to
28704         malloc_printerr.
28706 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
28708         [BZ #17370]
28709         * libio/wfileops (do_ftell_wide): Free OUT.
28711 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
28713         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
28715 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28717         [BZ #17363]
28718         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
28719         group if the current group is empty.
28721 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28723         * benchtests/bench-memset.c (test_main): Add more test from size
28724         from 32 to 512 bytes.
28725         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28726         Add POWER8 memset object.
28727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28728         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
28729         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
28730         implementation.
28731         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
28732         Likewise.
28733         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
28734         multiarch POWER8 memset optimization.
28735         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
28736         POWER8 memset optimization.
28738         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28739         Remove bzero multiarch objects.
28740         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
28741         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
28742         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
28743         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
28744         Remove define.
28745         [__bzero]: Redefine to specific name.
28746         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
28747         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
28748         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
28749         define.
28750         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28751         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
28753 2014-09-10  Florian Weimer  <fweimer@redhat.com>
28755         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
28756         warnings into errors.
28758         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
28759         __cxa_thread_atexit_impl prototype.
28761 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28763         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
28764         Fix capitalization of error message.
28766 2014-09-09  Steve Ellcey  <sellcey@mips.com>
28768         * sysdeps/mips/preconfigure: Modify ABI tests.
28770 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
28772         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
28774 2014-09-07  Roland McGrath  <roland@hack.frob.com>
28775             Carlos O'Donell  <carlos@systemhalted.org>
28777         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
28778         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
28779         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
28780         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
28781         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
28782         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
28783         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
28784         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
28785         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
28786         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
28787         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
28788         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
28789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
28790         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
28791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
28792         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
28793         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
28794         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
28795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
28796         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
28797         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
28798         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
28799         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
28800         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
28801         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
28802         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
28803         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
28804         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
28805         Deconditionalize the code that was previously under [RESET_PID].
28806         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
28807         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
28808         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
28809         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
28810         include sysdep.h.
28812 2014-09-08  Allan McRae  <allan@archlinux.org>
28814         * version.h (RELEASE): Set to "development".
28815         (VERSION): Set to "2.20.90"
28817 2014-09-07  Allan McRae  <allan@archlinux.org
28819         * version.h (RELEASE): Set to "stable".
28820         (VERSION): Set to "2.20"
28821         * include/features.h (__GLIBC_MINOR__): Set to 20.
28823         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
28824         Liebler.
28826         * po/ko.po: Update Korean translation from translation project.
28828 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
28830         [BZ #17354]
28831         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
28832         macro for handling signed relocations.
28834 2014-09-03  Florian Weimer  <fweimer@redhat.com>
28836         [BZ #17325]
28837         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
28838         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
28839         assert.
28840         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
28841         * iconvdata/ibm935.c (BODY): Likewise.
28842         * iconvdata/ibm937.c (BODY): Likewise.
28843         * iconvdata/ibm939.c (BODY): Likewise.
28844         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
28845         assert.
28846         * iconvdata/Makefile (iconv-test.out): Pass module list to test
28847         script.
28848         * iconvdata/run-iconv-test.sh: New test loop for checking for
28849         decoder crashers.
28851 2014-09-02  Khem Raj  <raj.khem@gmail.com>
28853         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
28854         libm_hidden_ver.
28856 2014-09-01  Allan McRae  <allan@archlinux.org>
28858         * po/eo.po: Update Esperanto translation from translation project.
28860         * po/ca.po: Update Catalan translation from translation project.
28862 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28864         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
28865         __proc_dostop call.
28867 2014-08-27  Mark Wielaard  <mjw@redhat.com>
28869         [BZ #17319]
28870         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
28871         to call set_thread_area instead of hand written asm.
28872         (__NR_set_thread_area): Removed define.
28873         (TLS_FLAG_WRITABLE): Likewise.
28874         (__ASSUME_SET_THREAD_AREA): Remove check.
28875         (TLS_EBX_ARG): Remove define.
28876         (TLS_LOAD_EBX): Likewise.
28878 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28880         Simplify atomicity of socket creation in bind.
28882         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
28883         looking up the name after linking the file.
28885 2014-08-27  Allan McRae  <allan@archlinux.org>
28887         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
28889 2014-08-26  Florian Weimer  <fweimer@redhat.com>
28891         [BZ #17187]
28892         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
28893         trans_compare, open_translit, __gconv_translit_find):
28894         Remove module loading code.
28896 2014-08-26  Allan McRae  <allan@archlinux.org>
28898         * po/vi.po: Update Vietnamese translation from translation project.
28900         * po/uk.po: Update Ukrainian translation from translation project.
28902         * po/fr.po: Update French translation from translation project.
28904         * po/ru.po: Update Russian translation from translation project.
28906         * po/pl.po: Update Polish translation from translation project.
28908         * po/cs.po: Update Czech translation from translation project.
28910         * po/de.po: Update German translation from translation project.
28912         * po/bg.po: Update Bulgarian translation from translation project.
28914         * po/sv.po: Update Sweedish translation from translation project.
28916         * po/nl.po: Update Dutch translation from translation project.
28918         * po/es.po: Update Spanish translation from translation project.
28920 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28922         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
28924         * catgets/Makefile (CPPFLAGS-gencat): Remove.
28925         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
28926         (CPPFLAGS-iconvconfig): Likewise.
28927         * timezone/Makefile (CPPFLAGS-zic): Likewise.
28929         * include/libc-symbols.h: Remove unnecessary check for
28930         NOT_IN_libc.
28931         * nptl/pthreadP.h: Likewise.
28932         * sysdeps/aarch64/setjmp.S: Likewise.
28933         * sysdeps/alpha/setjmp.S: Likewise.
28934         * sysdeps/arm/sysdep.h: Likewise.
28935         * sysdeps/i386/setjmp.S: Likewise.
28936         * sysdeps/m68k/setjmp.c: Likewise.
28937         * sysdeps/posix/getcwd.c: Likewise.
28938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28939         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28940         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28941         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28942         * sysdeps/sh/sh3/setjmp.S: Likewise.
28943         * sysdeps/sh/sh4/setjmp.S: Likewise.
28944         * sysdeps/unix/alpha/sysdep.h: Likewise.
28945         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28946         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28947         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28948         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28951         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28952         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28953         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28956         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28957         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28958         * sysdeps/x86_64/setjmp.S: Likewise.
28960 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
28962         [BZ #17263]
28963         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
28964         <stdint.h>.
28965         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
28966         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
28968 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28970         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
28972         [BZ #17262]
28973         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
28974         and __x86_64__ when disabling x87 inline functions.
28976 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
28978         [BZ #17259]
28979         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
28980         asm statement with __cpuid_count.
28982 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
28984         * configure.ac: Change __ehdr_start code to dereference the struct.
28985         Run readelf on the output to look for relocations.
28986         * configure: Regenerated.
28988 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
28990         [BZ #17261]
28991         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
28992         value to 0.
28993         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
28995 2014-08-12  Roland McGrath  <roland@hack.frob.com>
28997         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
28999 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29001         [BZ #16892]
29002         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29003         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29005 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29007         * malloc/malloc.c: Fix typo in comment.
29009 2014-08-09  Allan McRae  <allan@archlinux.org>
29011         * Regenerate libc.po.
29013 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29015         * intl/tst-gettext2.sh: Check every lang file for creation.
29017 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29019         * sysdeps/aarch64/fpu/math_private.h
29020         (libc_feholdsetround_noex_aarch64_ctx): New function.
29022 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29024         * sysdeps/arm/armv6/strcpy.S (strcpy):
29025         Fix performance issue in misaligned cases.
29027 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29029         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29030         Move definition from termios.h.
29031         (struct termio): Likewise.
29032         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29033         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29034         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29035         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29036         Likewise.
29037         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29038         Move definition to ioctl-types.h
29039         (struct termio): Likewise.
29040         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29041         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29042         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29043         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29044         Likewise.
29046 2014-08-05  Richard Henderson  <rth@redhat.com>
29048         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29049         exceptions.
29050         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29051         Add fraiseexcpt.
29052         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29053         Use __feraiseexcept.
29054         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29055         Protect libm symbols with IS_IN_libm.
29057         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29059 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29061         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29063 2014-08-04  Will Newton  <will.newton@linaro.org>
29065         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29066         file.
29068 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29070         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29071         variants for each function.
29073 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29075         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29076         appended ...
29077         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29078         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29079         appended ...
29080         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29081         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29082         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29083         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29084         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29085         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29086         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29087         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29088         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29089         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29090         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29091         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29092         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29093         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29094         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29095         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29096         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29097         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29098         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29099         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29100         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29101         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29102         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29103         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29104         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29105         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29106         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29107         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29108         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29109         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29110         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29111         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29112         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29113         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29114         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29115         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29116         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29117         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29118         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29119         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29120         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29122         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29124         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29126         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29128         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29129         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29130         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29131         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29132         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29133         Update #include.
29134         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29135         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29137 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29139         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29140         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29141         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29142         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29144         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29146 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29148         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29149         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29150         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29151         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29153 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29155         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29156         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29157         (__libc_vfork): Define function under this name.
29158         (__vfork): Define as an alias.
29159         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29160         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29162 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29164         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
29165         that was previously under [RESET_PID].
29166         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
29168 2014-08-04  Andreas Schwab  <schwab@suse.de>
29170         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
29172 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
29174         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
29175         (main): Likewise.
29177 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29179         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
29181 2014-08-01  Richard Henderon  <rth@redhat.com>
29183         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
29184         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
29185         typo in exact zero test.
29186         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29187         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
29188         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29190 2014-08-01  Roland McGrath  <roland@hack.frob.com>
29192         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
29193         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
29194         * sysdeps/arm/sysdep.h: ... here.
29195         [!__ASSEMBLER__]: Include <stdint.h>.
29197 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29199         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
29200         (HAVE_WCTYPE_H): Likewise.
29201         (HAVE_ISWCTYPE): Likewise.
29202         (ENABLE_NLS): Likewise.
29203         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
29204         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
29206         * posix/regex_internal.c: Check if DEBUG is defined and is
29207         set.
29209         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
29210         (HAVE_MBSRTOWCS): Likewise.
29211         * posix/fnmatch.c: Include string.h unconditionally.
29213 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
29215         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
29216         reversal.
29218 2014-07-31  Roland McGrath  <roland@hack.frob.com>
29220         * sysdeps/generic/safe-fatal.h: New file.
29221         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
29222         * nptl/forward.c: Include it.
29223         (__pthread_unwind): Use __safe_fatal as default action, rather
29224         than a bogus use of INTERNAL_SYSCALL that could never work.
29226         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
29227         * configure.ac (libc_cv_builtin_trap): New test.
29228         * configure: Regenerated.
29229         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
29230         (ABORT_INSTRUCTION): Define using __builtin_trap.
29232         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
29233         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
29234         * sysdeps/nptl/nptl-signals.h: New file.
29235         * nptl/pthreadP.h: Include <nptl-signals.h>.
29237 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29239         * sysdeps/s390/s390-64/utf16-utf32-z9.c
29240         (ONE_DIRECTION): Define.
29241         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29242         (ONE_DIRECTION): Define.
29243         * sysdeps/s390/s390-64/utf8-utf32-z9.c
29244         (ONE_DIRECTION): Define.
29246 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
29248         * sysdeps/s390/Makefile: Delete file.
29249         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
29250         * sysdeps/s390/__longjmp.c: Delete file.
29251         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
29252         Remove fields __flags and __reserved.
29253         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
29254         and add versioning.
29255         * sysdeps/s390/rtld-__longjmp.c: Delete file.
29256         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
29257         * sysdeps/s390/rtld-setjmp.S: Likewise.
29258         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
29259         * sysdeps/s390/s390-32/__longjmp.c: ... here.
29260         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
29261         * sysdeps/s390/s390-32/setjmp.S: ... here.
29262         Add versioning.
29263         (__sigsetjmp): Remove setting __flags field.
29264         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
29265         * sysdeps/s390/s390-64/__longjmp.c: ... here.
29266         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
29267         * sysdeps/s390/s390-64/setjmp.S: ... here.
29268         Add versioning.
29269         (__sigsetjmp): Remove setting __flags field.
29270         * sysdeps/s390/setjmp.S: Delete file.
29271         * sysdeps/s390/sigjmp.c: Likewise.
29272         * sysdeps/s390/v1-longjmp.c: Likewise.
29273         * sysdeps/s390/v1-setjmp.h: Likewise.
29274         * sysdeps/s390/v1-sigjmp.c: Likewise.
29275         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
29276         Remove v1-longjmp_chk.
29277         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
29278         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
29279         Include debug/longjmp_chk.c and add versioning.
29280         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
29281         Include nptl/pt-longjmp.c and add versioning.
29282         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
29283         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
29284         Include __longjmp.c.
29285         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
29286         Move to ...
29287         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
29288         (__getcontext): Remove setting __flags field.
29289         Add versioning.
29290         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29291         Don't restore upper high grps.
29292         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
29293         Likewise.
29294         (__swapcontext): Remove setting uc_flags field.
29295         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
29296         Delete file.
29297         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
29298         Include __longjmp.c.
29299         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
29300         Move to ...
29301         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
29302         (__getcontext): Remove setting __flags field.
29303         Add versioning.
29304         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
29305         (__swapcontext): Remove setting uc_flags field.
29306         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
29307         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
29308         Remove fields uc_high_gprs and __reserved.
29309         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
29310         New file with reverted content.
29311         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
29312         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
29313         Regenerated.
29314         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
29315         Regenerated.
29317 2014-07-31  Andreas Schwab  <schwab@suse.de>
29319         * config.h.in (HAVE_IFUNC): Define to 0.
29320         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
29321         definedness.
29323 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
29325         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29326         memmove-avx-unaligned, memcpy-avx-unaligned and
29327         mempcpy-avx-unaligned.
29328         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29329         Add tests for AVX memcpy functions.
29330         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
29331         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
29332         memcpy_chk.
29333         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
29334         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
29335         memmove_chk.
29336         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
29337         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
29338         mempcpy_chk.
29339         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
29340         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
29341         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
29343 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29345         [BZ #17213]
29346         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
29347         powerpc64le.
29349 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
29351         [BZ #16839]
29352         * manual/llio.texi: Add section about open file description locks.
29353         * manual/examples/ofdlocks.c: Example of open file description
29354         lock usage.
29355         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
29356         F_OFD_SETLK, and F_OFD_SETLKW.
29358 2014-07-23  Allan McRae  <allan@archlinux.org>
29360         * po/es.po: Update Spanish translation from translation project.
29362 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
29364         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
29366 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
29368         [BZ #17078]
29369         * sysdeps/arm/dl-machine.h (elf_machine_rela)
29370         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
29371         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
29373 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
29375         [BZ #17088]
29376         * math/fesetenv.c (__fesetenv)
29377         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
29378         * math/feupdateenv.c (__feupdateenv)
29379         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
29381         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
29382         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
29383         (__ASSUME_SOCKETCALL): Do not define.
29385         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
29386         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
29387         (__ASSUME_SOCKETCALL): Do not define.
29388         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
29389         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29390         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29391         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
29392         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29393         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
29394         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29395         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29397         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
29398         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
29399         (__ASSUME_SOCKETCALL): Do not define.
29400         (__ASSUME_IPC64): Define unconditionally.
29401         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29402         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29403         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
29404         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29405         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
29406         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29407         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
29408         Likewise.
29410         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
29411         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
29412         (__ASSUME_SOCKETCALL): Do not define.
29413         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
29414         (__ASSUME_FUTEX_LOCK_PI): Likewise.
29415         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29416         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
29417         (__ASSUME_REQUEUE_PI): Define unconditionally.
29418         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
29419         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
29420         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29421         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
29422         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29423         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29425         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
29426         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
29427         (__ASSUME_SOCKETCALL): Do not define.
29428         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
29429         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29430         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29431         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
29432         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29433         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
29435         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
29436         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
29437         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
29438         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
29439         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
29440         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
29441         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
29442         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
29443         (__ASSUME_GETCPU_SYSCALL): Likewise.
29445         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
29446         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
29447         cases for individual architectures.
29448         * sysdeps/gnu/configure: Regenerated.
29449         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
29450         LIBC_SLIBDIR_RTLDDIR.
29451         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
29452         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
29453         LIBC_SLIBDIR_RTLDDIR.
29454         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
29456         LIBC_SLIBDIR_RTLDDIR.
29457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29458         Regenerated.
29459         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
29460         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
29461         file.
29462         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
29463         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
29464         file.
29465         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
29466         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
29467         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
29468         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
29470         * sysdeps/aarch64/shlib-versions: Move to ...
29471         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
29472         * sysdeps/alpha/shlib-versions: Move to ...
29473         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
29474         * sysdeps/arm/shlib-versions: Move to ...
29475         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
29476         * sysdeps/hppa/shlib-versions: Move all contents except for
29477         libgcc_s entry to ...
29478         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
29479         entry from ...
29480         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
29481         * sysdeps/ia64/shlib-versions: Move to ...
29482         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
29483         entry from ...
29484         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
29485         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
29486         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
29487         * sysdeps/microblaze/shlib-versions: Move to ...
29488         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
29489         * sysdeps/mips/shlib-versions: Move to ...
29490         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
29491         entry from ...
29492         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
29493         * sysdeps/tile/shlib-versions: Move to ...
29494         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
29495         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
29496         from ...
29497         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
29498         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
29499         entry from ...
29500         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
29502 2014-07-17  Will Newton  <will.newton@linaro.org>
29504         * sysdeps/arm/bits/atomic.h
29505         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
29506         (__arch_compare_and_exchange_bool_16_int): Likewise.
29507         (__arch_compare_and_exchange_bool_64_int): Likewise.
29509         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
29510         into an #else block.
29512 2014-07-16  Roland McGrath  <roland@hack.frob.com>
29514         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
29515         just Linux configurations.  Test empirically that the compiler sets
29516         __ARM_EABI__, rather than using the tuple to decide.
29517         * sysdeps/arm/preconfigure: Regenerated.
29518         * sysdeps/unix/sysv/linux/arm/configure: File removed.
29519         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
29520         contents appended ...
29521         * sysdeps/arm/configure.ac: ... here.
29522         * sysdeps/arm/configure: Regenerated.
29524 2014-07-15  Roland McGrath  <roland@hack.frob.com>
29526         * nptl/pthread_kill.c: New file.
29527         * nptl/pthread_sigmask.c: New file.
29528         * nptl/pthread_sigqueue.c: New file.
29530         * sysdeps/nptl/lowlevellock.h: New file.
29531         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
29532         * sysdeps/nptl/lowlevellock-futex.h: New file.
29534         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
29535         Remove dead declarations.
29537 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
29539         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
29540         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
29541         config-cflags-avx2.
29542         * sysdeps/x86_64/configure.ac: Likewise.
29543         * sysdeps/i386/configure: Regenerated.
29544         * sysdeps/x86_64/configure: Likewise.
29545         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29546         memset-avx2 only if config-cflags-avx2 is yes.
29547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29548         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
29549         defined.
29550         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
29551         only if HAVE_AVX2_SUPPORT is defined.
29552         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29554 2014-07-14  Alan Modra  <amodra@gmail.com>
29556         [BZ #17153]
29557         * elf/elf.h (DT_PPC64_NUM): Correct value.
29558         * NEWS: Add to fixed bug list.
29560 2014-07-13  Jim Meyering  <meyering@fb.com>
29562         [BZ 17150]
29563         regex: don't deref NULL upon heap allocation failure
29564         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
29565         failure in one more place.
29566         To trigger the segfault, configure grep -with-included-regex,
29567         build it, and run these commands:
29568         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
29570 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
29572         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
29574 2014-07-11  Richard Henderson  <rth@redhat.com>
29576         * sysdeps/aarch64/libm-test-ulps: Update.
29578 2014-07-10  Florian Weimer  <fweimer@redhat.com>
29580         [BZ #17135]
29581         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
29582         * nptl/allocatestack.c (__nptl_setxid_error): New function.
29583         (__nptl_setxid): Initialize error member.  Call
29584         __nptl_setxid_error.
29585         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
29586         * nptl/descr.h (struct xid_command): Add error member.
29587         * nptl/tst-setuid3.c: New file.
29588         * nptl/Makefile (tests): Add it.
29590 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29592         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
29593         New define.
29594         (__lll_trylock): Use __lll_base_trylock.
29595         (__lll_cond_trylock): Likewise.
29597 2014-07-10  Roland McGrath  <roland@hack.frob.com>
29599         * nptl/pthread_create.c (start_thread): Use atomic_or and
29600         lll_futex_wake directly rather than lll_robust_dead.
29601         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29602         (lll_robust_dead): Macro removed.
29603         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
29604         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29605         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29606         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29608         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29609         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29610         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29611         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29612         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29613         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29614         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29615         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29616         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29617         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29619         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
29620         Use atomic_compare_and_exchange_val_acq directly rather than
29621         lll_robust_trylock.
29622         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
29623         (__lll_robust_trylock, lll_robust_trylock): Removed.
29624         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
29625         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
29626         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
29627         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
29628         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
29629         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
29630         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
29631         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
29632         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
29633         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
29634         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
29635         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
29636         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
29637         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
29639 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29641         * manual/locale.texi (Locale Names): New section documenting
29642         locale name syntax.  Adjust menu and node chaining accordingly.
29643         (Choosing Locale): Reference Locale Names, Locale Categories.
29644         Mention setting LC_ALL=C.  Reflect that name syntax is now
29645         documented.
29646         (Locale Categories): New section title.  Reference Locale Names.
29647         LC_ALL is an environment variable, but not a category.
29648         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
29649         description, now in Locale Name.  Reference that section.  Locale
29650         name syntax is now documented.
29652 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29654         [BZ #17137]
29655         * locale/findlocale.c (name_present, valid_locale_name): New
29656         functions.
29657         (_nl_find_locale): Use the loc_name variable to store name
29658         candidates.  Call name_present and valid_locale_name to check and
29659         validate locale names.  Return an error if the locale is invalid.
29661 2014-07-02  Florian Weimer  <fweimer@redhat.com>
29663         * locale/setlocale.c (setlocale): Use strdup for allocating
29664         composite name copy.
29666 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29668         Sync up with gnulib.
29669         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
29670         [!_LIBC && ENABLE_NLS]: Include gettext.h.
29671         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
29672         and _GL_ARG_NONNULL.
29673         [USE_UNLOCKED_IO]: Include unlocked-io.h.
29674         [!_LIBC]: Include code for Windows and Cygwin.
29675         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
29676         Include prototype for int strerror_r.
29677         [!_LIBC] (is_open): New function.
29678         (flush_stdout): New function.
29679         (print_errno_message): Use it.
29680         (error): Likewise.
29681         (error_at_line): Likewise.
29682         (error_tail) Add function attribute macros.  Use
29683         __builtin_expect.
29685         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
29687         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
29689         * io/ftw.c: Include sys/param.h unconditionally.
29691         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
29693         [BZ #17125]
29694         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
29695         libc_freeres_ptr.
29696         (freecache): New function to free CACHE on exit.
29698         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
29699         initialization.
29701 2014-07-09  David S. Miller  <davem@davemloft.net>
29703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29705         * sysdeps/sparc/nptl/internaltypes.h: Delete.
29706         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
29707         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
29708         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
29709         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
29710         * sysdeps/sparc/nptl/sem_init.c: Likewise.
29711         * sysdeps/sparc/nptl/sem_post.c: Likewise.
29712         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
29713         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
29714         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
29715         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
29716         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
29717         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
29719 2014-07-09  Andreas Schwab  <schwab@suse.de>
29721         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
29722         output.
29723         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
29724         (do_test): Likewise.
29726         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29728 2014-07-09  Will Newton  <will.newton@linaro.org>
29730         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
29731         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
29732         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
29733         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
29734         * sysdeps/hppa/start.S (_start): Likewise.
29736 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29738         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
29740         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
29741         defined.
29743 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29745         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
29746         after checking that it is non-NULL.
29748         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
29750 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29752         * sysdeps/powerpc/memmove.c: Remove file.
29753         * sysdeps/powerpc/powerpc32/power4/memcopy.h
29754         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
29755         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29756         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
29757         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
29758         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
29759         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
29760         string memmove instead of removed powerpc one.
29762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
29763         [weak_alias]: Fix compiler warning due trailing data.
29764         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
29765         [weak_alias]: Likewise.
29766         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
29767         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
29769         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
29770         (__libc_ifunc_impl_list): Add memmove functions.
29772 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29774         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
29775         Remove code.
29776         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
29777         Likewise.
29778         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
29779         Likewise.
29780         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
29781         Likewise.
29782         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
29783         Likewise.
29784         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
29785         Likewise.
29786         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
29787         Likewise.
29788         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
29789         Likewise.
29790         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
29791         Likewise.
29792         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
29793         Likewise.
29794         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
29795         Likewise.
29796         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
29797         Likewise.
29798         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
29799         Likewise.
29800         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
29801         Likewise.
29802         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
29803         Likewise.
29804         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
29805         Likewise.
29806         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
29807         Likewise.
29809 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29811         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
29812         to avoid alignment traps in non-cacheable memory.
29813         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
29815         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
29816         multiarch objects.
29817         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
29818         file: multiarch power7 memmove.
29819         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
29820         multiarch default memmove.
29821         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
29822         multiarch memove for powerpc32/power4.
29824         * string/bcopy.c: Use full path to include memmove.c.
29825         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
29826         multiarch objects.
29827         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
29828         bcopy for powerpc64.
29829         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
29830         bcopy for powerpc64.
29831         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
29832         and memmove implementations.
29833         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
29834         optimized multiarch memmove for POWER7/powerpc64.
29835         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
29836         default multiarch memmove for powerpc64.
29837         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
29838         multiarch for powerpc64.
29839         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
29840         for POWER7/powerpc64.
29841         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
29842         memmove for POWER7/powerpc64.
29844         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
29845         glibc default one.
29847         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
29848         __ELF_NATIVE_CLASS equal to 64.
29850 2014-07-07  Roland McGrath  <roland@hack.frob.com>
29852         * sysdeps/nptl/lowlevellock.h: File removed.
29854         * NEWS: NPTL is no longer an add-on!
29855         * nptl/internaltypes.h: Moved ...
29856         * sysdeps/nptl/internaltypes.h: ... here.
29857         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
29858         * sysdeps/nptl/fork.c: Likewise.
29859         * sysdeps/nptl/gai_misc.h: Likewise.
29860         * sysdeps/nptl/librt-cancellation.c: Likewise.
29861         * sysdeps/nptl/jmp-unwind.c: Likewise.
29862         * sysdeps/nptl/setxid.h: Likewise.
29863         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
29864         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
29865         * sysdeps/unix/sysv/linux/arm/Implies: New file.
29866         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
29867         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
29868         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
29869         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
29870         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
29871         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
29872         * sysdeps/unix/sysv/linux/mips/Implies: New file.
29873         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
29874         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
29875         * sysdeps/unix/sysv/linux/sh/Implies: New file.
29876         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
29877         * sysdeps/unix/sysv/linux/tile/Implies: New file.
29878         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
29879         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
29880         * nptl/Makeconfig: Moved ...
29881         * sysdeps/nptl/Makeconfig: ... here.
29882         * nptl/configure: File removed.
29883         * nptl/ANNOUNCE: File removed.
29884         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
29885         * sysdeps/unix/sysv/linux/configure: Regenerated.
29887         * nptl/Makefile (routines): Add libc_pthread_init,
29888         libc_multiple_threads, register-atfork and unregister-atfork.
29889         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
29890         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
29891         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
29892         pthread-pi-defines.sym, structsem.sym.
29893         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
29894         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
29895         [$(subdir) = nptl] (tests): Add tst-setgetname.
29896         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
29897         * sysdeps/unix/sysv/linux/sigaction.c: Just include
29898         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
29899         [!LIBC_SIGACTION]: Remove aliases.
29900         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
29901         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
29902         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
29903         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
29904         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
29905         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
29906         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29907         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29908         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
29909         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
29910         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
29911         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
29912         __libc_allocate_rtsig_private.
29913         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
29914         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
29915         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
29916         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
29917         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
29918         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
29919         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
29920         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
29921         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
29922         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
29923         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
29924         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
29925         * nptl/internaltypes.h: ... here.
29926         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
29927         * sysdeps/nptl/jmp-unwind.c: ... here.
29928         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
29929         * nptl/libc-lowlevellock.c: ... here.
29930         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
29931         * nptl/libc_multiple_threads.c: ... here.
29932         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
29933         * nptl/libc_pthread_init.c: ... here.
29934         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
29935         * nptl/lowlevelbarrier.sym: ... here.
29936         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
29937         * nptl/lowlevelcond.sym: ... here.
29938         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
29939         * nptl/lowlevellock.c: ... here.
29940         * nptl/lowlevellock.h: Moved ...
29941         * sysdeps/nptl/lowlevellock.h: ... here.
29942         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
29943         * nptl/lowlevelrobustlock.c: ... here.
29944         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
29945         * nptl/lowlevelrobustlock.sym: ... here.
29946         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
29947         * nptl/lowlevelrwlock.sym: ... here.
29948         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
29949         * nptl/pt-fork.c: ... here.
29950         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
29951         * nptl/pthread-pi-defines.sym: ... here.
29952         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
29953         * nptl/pthread_attr_getaffinity.c: ... here.
29954         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
29955         * nptl/pthread_attr_setaffinity.c: ... here.
29956         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
29957         * nptl/pthread_mutex_cond_lock.c: ... here.
29958         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
29959         Update #include.
29960         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
29961         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
29962         * nptl/pthread_once.c: ... here, replacing old file.
29963         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
29964         * nptl/pthread_yield.c: ... here.
29965         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
29966         * nptl/register-atfork.c: ... here.
29967         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
29968         * nptl/sem_post.c: ... here.
29969         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
29970         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
29971         * nptl/sem_timedwait.c: ... here.
29972         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
29973         * nptl/sem_trywait.c: ... here.
29974         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
29975         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
29976         * nptl/sem_wait.c: ... here.
29977         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
29978         * nptl/structsem.sym: ... here.
29979         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
29980         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
29981         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
29982         * nptl/unregister-atfork.c: ... here.
29983         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
29984         * nptl/unwindbuf.sym: ... here.
29985         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
29986         * sysdeps/nptl/fork.c: ... here.
29987         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
29988         * sysdeps/nptl/fork.h: ... here.
29989         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
29990         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
29991         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
29992         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
29993         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
29994         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
29995         * sysdeps/unix/sysv/linux/getpid.c: ... here.
29996         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
29997         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
29998         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
29999         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30000         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30001         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30002         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30003         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30004         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30005         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30006         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30007         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30008         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30009         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30010         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30011         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30012         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30013         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30014         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30015         * sysdeps/unix/sysv/linux/raise.c: ... here.
30016         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30017         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30018         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30019         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30020         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30021         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30022         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30023         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30024         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30025         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30026         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30027         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30028         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30029         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30030         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30032 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30034         * sysdeps/generic/memcopy.h: Add comment for
30035         MEMCPY_OK_FOR_FWD_MEMMOVE.
30037 2014-07-04  Will Newton  <will.newton@linaro.org>
30039         * string/memchr.c: Merge from gnulib.
30040         [_LIBC]: Remove conditionals.
30041         (__ptr_t): Remove define.
30042         (LONG_MAX_32_BITS): Likewise.
30043         (LONG_MAX): Likewise.
30044         (MEMCHR): Use ANSI prototype and optimize algorithm.
30046         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30048 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30050         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30051         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30053         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30054         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30055         in a bare environment with no <stdlib.h> installed.
30056         * sysdeps/nptl/configure: Regenerated.
30058         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30060         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30061         AC_EGREP_CPP for kernel header checks, so they only succeed if
30062         including <linux/version.h> actually works right.
30063         * sysdeps/unix/sysv/linux/configure: Regenerated.
30065         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30066         value so it's not diagnosed as unused.
30068         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30069         thing) with "ifeq ($(subdir),rt)".
30071 2014-07-03  Richard Henderson  <rth@redhat.com>
30073         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30074         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30075         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30077         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30078         (math_force_eval): New.
30080         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30081         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30083         * sysdeps/alpha/fpu/s_round.c: Remove file.
30084         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30086         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30087         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30088         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30089         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30090         (_dl_start, print_statistics): Likewise.
30091         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30092         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30094         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30095         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30096         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30097         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30098         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30099         (HP_SMALL_TIMING_AVAIL): Define.
30100         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30101         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30102         (HP_SMALL_TIMING_AVAIL): Define.
30103         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30104         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30106         * sysdeps/aarch64/hp-timing.h: New file.
30108         * sysdeps/generic/hp-timing.h: Remove dead comment.
30109         * sysdeps/generic/hp-timing-common.h: New file.
30110         * sysdeps/alpha/hp-timing.h: Include it.
30111         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30112         * sysdeps/i386/i686/hp-timing.h: Likewise.
30113         * sysdeps/ia64/hp-timing.h: Likewise.
30114         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30115         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30116         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30117         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30118         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30119         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30120         (hp_timing_t): New.
30122         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30123         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30124         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30125         * elf/rtld.c (_dl_start_final): Likewise.
30126         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30127         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30128         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30129         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30130         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30131         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30132         (HP_TIMING_DIFF_INIT): Remove.
30133         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30134         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30135         (HP_TIMING_DIFF_INIT): Remove.
30136         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30137         * sysdeps/i386/i686/hp-timing.c: Remove file.
30138         * sysdeps/x86_64/hp-timing.c: Remove file.
30139         * sysdeps/ia64/hp-timing.c: Remove file.
30140         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30141         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30143         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30145         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30146         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30147         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30148         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30149         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30150         (HP_TIMING_ACCUM): Remove.
30151         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30152         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30153         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30155         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30156         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30157         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30158         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30159         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30160         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30161         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30162         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30164         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
30166 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
30168         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
30170 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30172         Sync up with gettext.
30173         * intl/loadmsgcat.c: Define O_BINARY if not defined.
30174         [_MSC_VER]: Include malloc.h
30175         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
30176         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
30177         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
30178         TEMP_FAILURE_RETRY.  Cast return of alloca.
30179         [!_LIBC] Call gl_rwlock_init.
30180         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
30182 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30184         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
30185         before checking its value.
30187 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30189         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
30191         * debug/memcpy_chk.c: Don't include pagecopy.h.
30192         * debug/mempcpy_chk.c: Likewise.
30193         * string/memcpy.c: Likewise.
30194         * string/memmove.c: Likewise.
30195         * sysdeps/powerpc/memmove.c: Likewise.
30196         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
30197         definition of PAGE_COPY_FWD_MAYBE here...
30198         * sysdeps/generic/pagecopy.h: ... from here.
30199         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
30201 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
30202             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30204         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
30205         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
30206         optimizations.
30207         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30208         (__libc_ifunc_impl_list): Likewise.
30209         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
30210         multiarch strcat for PPC64.
30211         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
30212         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
30214 2014-07-02  Roland McGrath  <roland@hack.frob.com>
30216         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
30218 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30220         * intl/loadmsgcat.c: Remove declaration of
30221         get_sysdep_segment_value.
30222         (get_sysdep_segment_value): Use ISO C style.
30223         (_nl_load_domain): Use ISO C style.  Get rid of redundant
30224         semicolon.  Fix typo and formatting in comment.
30225         (_nl_unload_domain): Use ISO C style.
30227         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
30229 2014-07-02  Will Newton  <will.newton@linaro.org>
30231         * malloc/obstack.c: Merge from gnulib master.
30232         [HAVE_CONFIG_H]: Remove conditional code.
30233         [!_LIBC]: Include config.h.
30234         [!ELIDE_CODE]: Don't include inttypes.h, include
30235         stdint.h unconditionally.
30236         (print_and_abort): Mark as _Noreturn.
30237         (_obstack_allocated_p): Mark as __attribute_pure__.
30238         (obstack_free): Rename to __obstack_free.
30239         [!__attribute__]: Remove conditional code.
30240         * malloc/obstack.h: Merge from gnulib master.
30241         [__cplusplus]: Move conditional down.
30242         [!__attribute_pure__]: Define __attribute_pure__ here
30243         if it is not already defined.
30244         (_obstack_memory_used): Mark as __attribute_pure__.
30245         [!__obstack_free]: Define as obstack_free.
30246         [__GNUC__]: Remove check for ancient NeXT gcc.
30248 2014-07-02  Will Newton  <will.newton@linaro.org>
30249             Paul Eggert  <eggert@cs.ucla.edu>
30251         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
30253 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
30255         * resolv/gethnamaddr.c: Add comment warning that the file is
30256         not maintained.
30258 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
30260         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
30261         entries.
30263         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
30264         entry for aio_cancel and aio_cancel64.
30265         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
30266         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
30267         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
30268         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
30269         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
30270         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
30271         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
30272         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
30273         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
30274         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
30275         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
30276         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
30277         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
30279 2014-07-01  Roland McGrath  <roland@hack.frob.com>
30281         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
30282         * nptl/pthread_mutex_lock.c: Likewise.
30283         * nptl/pthread_mutex_timedlock.c: Likewise.
30284         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
30286 2014-07-01  Richard henderson  <rth@redhat.com>
30288         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
30289         (__isnan, __isnanl): Remove.
30290         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
30292         * sysdeps/alpha/fpu/libm-test-ulps: Update.
30294 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30296         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
30298 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30300         * resolv/nss_dns/dns-host.c (getanswer_r)
30301         [MULTI_PTRS_ARE_ALIASES]: Remove code.
30303 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
30305         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30306         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
30307         undefine.
30308         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
30309         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
30311 2014-07-01  Roland McGrath <roland@hack.frob.com>
30313         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
30314         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
30316         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
30317         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
30319         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
30320         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
30321         ... here.
30322         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
30323         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
30325         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
30326         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
30327         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
30328         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
30330         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
30331         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
30332         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
30333         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
30334         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
30335         Moved ...
30336         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
30337         ... here.
30338         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
30339         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
30340         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
30341         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
30342         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
30343         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
30344         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
30345         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
30346         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
30347         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
30348         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
30349         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
30350         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
30351         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
30352         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
30353         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
30354         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
30355         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
30356         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
30357         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
30358         ... here.
30359         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
30360         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
30361         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
30362         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
30363         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
30364         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
30365         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
30366         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
30368 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
30370         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
30371         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
30372         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
30373         Add sysdep.
30375 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30377         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30379 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30381         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
30382         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30384         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
30386         * sysdeps/arm/libm-test-ulps: Regenerated.
30388 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30389             Roland McGrath <roland@hack.frob.com>
30391         * test-skeleton.c (signal_handler): Kill the whole process group
30392         before killing the child individually.
30393         (main): Report any failure on `setpgid'.
30395 2014-06-30  Roland McGrath  <roland@hack.frob.com>
30397         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
30398         from _TLS_H to _ARM_NPTL_TLS_H.
30399         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
30400         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
30402 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
30404         [BZ #16539]
30405         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
30406         (__expm1l): Return argument unchanged when small but not
30407         subnormal.
30409         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
30410         include macro name.
30411         (_FP_UNPACK_RAW_1_P): Likewise.
30412         (_FP_PACK_RAW_1): Likewise.
30413         (_FP_PACK_RAW_1_P): Likewise.
30414         (_FP_MUL_MEAT_1_wide): Likewise.
30415         (_FP_MUL_MEAT_DW_1_hard): Likewise.
30416         (_FP_MUL_MEAT_1_hard): Likewise.
30417         (_FP_DIV_MEAT_1_imm): Likewise.
30418         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
30419         (_FP_DIV_MEAT_1_udiv): Likewise.
30420         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
30421         (_FP_UNPACK_RAW_2): Likewise.
30422         (_FP_UNPACK_RAW_2_P): Likewise.
30423         (_FP_PACK_RAW_2): Likewise.
30424         (_FP_PACK_RAW_2_P): Likewise.
30425         (_FP_MUL_MEAT_DW_2_wide): Likewise.
30426         (_FP_MUL_MEAT_2_wide): Likewise.
30427         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
30428         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30429         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
30430         (_FP_MUL_MEAT_2_gmp): Likewise.
30431         (_FP_DIV_MEAT_2_udiv): Likewise.
30432         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
30433         (_FP_FRAC_SRL_4): Likewise.
30434         (_FP_FRAC_SRST_4): Likewise.
30435         (_FP_FRAC_SRS_4): Likewise.
30436         (_FP_UNPACK_RAW_4): Likewise.
30437         (_FP_UNPACK_RAW_4_P): Likewise.
30438         (_FP_PACK_RAW_4): Likewise.
30439         (_FP_PACK_RAW_4_P): Likewise.
30440         (_FP_MUL_MEAT_DW_4_wide): Likewise.
30441         (_FP_MUL_MEAT_4_wide): Likewise.
30442         (_FP_MUL_MEAT_4_gmp): Likewise.
30443         (umul_ppppmnnn): Likewise.
30444         (_FP_DIV_MEAT_4_udiv): Likewise.
30445         (__FP_FRAC_ADD_4): Likewise.
30446         (__FP_FRAC_SUB_3): Likewise.
30447         (__FP_FRAC_SUB_4): Likewise.
30448         (__FP_FRAC_DEC_3): Likewise.
30449         (__FP_FRAC_DEC_4): Likewise.
30450         (__FP_FRAC_ADDI_4): Likewise.
30451         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
30452         (_FP_FRAC_SRL_8): Likewise.
30453         (_FP_FRAC_SRS_8): Likewise.
30455         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
30456         include macro name.
30457         (FP_UNPACK_RAW_EP): Likewise.
30458         (FP_PACK_RAW_E): Likewise.
30459         (FP_PACK_RAW_EP): Likewise.
30460         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
30461         (_FP_ISSIGNAN): Likewise.
30462         (_FP_ADD_INTERNAL): Likewise.
30463         (_FP_FMA): Likewise.
30464         (_FP_CMP): Likewise.
30465         (_FP_SQRT): Likewise.
30466         (_FP_TO_INT): Likewise.
30467         (_FP_FROM_INT): Likewise.
30468         (FP_EXTEND): Likewise.
30469         (_FP_DIV_MEAT_N_loop): Likewise.
30471 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
30473         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
30474         throughout.
30476 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
30478         [BZ #17097]
30479         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
30480         result with correct sign in case of exponents that produce
30481         overflow except for X very close to 1.
30483 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
30485         mktime: merge #if/#ifdef usage from glibc
30486         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
30487         as that works with both Glibc's and Gnulib's style.
30488         See thread starting at Siddhesh Poyarekar's bug report at:
30489         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
30491 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30493         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
30494         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
30495         * sysdeps/tile/tilegx/memmove.c: Remove file.
30497 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30499         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
30500         abi-name definition.
30501         * scripts/soversions.awk: Do not handle or generate ABI lines.
30502         * shlib-versions: Remove ABI entries.
30503         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
30504         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
30506 2014-06-27  Roland McGrath  <roland@hack.frob.com>
30508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
30509         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
30510         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
30511         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
30512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
30513         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
30514         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
30515         Moved ...
30516         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
30517         ... here.
30518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
30519         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
30520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
30521         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
30522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
30523         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
30524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
30525         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
30526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
30527         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
30528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
30529         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
30530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
30531         Moved ...
30532         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
30533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
30534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
30535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
30536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
30537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
30538         Moved ...
30539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
30540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
30541         Moved ...
30542         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
30543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
30544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
30545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
30546         Moved ...
30547         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
30548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
30549         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
30550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
30551         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
30552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
30553         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
30554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
30555         Moved ...
30556         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
30557         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
30558         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
30559         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
30560         Moved ...
30561         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
30562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
30563         Moved ...
30564         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
30565         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
30566         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
30567         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
30568         Moved ...
30569         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
30570         ... here.
30571         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
30572         Identical file removed.
30573         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
30574         Moved ...
30575         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
30576         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
30577         Identical file removed.
30578         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
30579         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
30580         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
30581         Moved ...
30582         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
30583         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
30584         Identical file removed.
30585         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
30586         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
30587         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
30588         Identical file removed.
30589         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
30590         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
30591         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
30592         Identical file removed.
30593         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
30594         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
30595         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
30596         Identical file removed.
30597         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
30598         Moved ...
30599         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
30600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
30601         Identical file removed.
30602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
30603         Moved ...
30604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
30605         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
30606         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
30607         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
30608         Identical file removed.
30609         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
30610         Moved ...
30611         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
30612         ... here.
30613         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
30614         Identical file removed.
30615         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
30616         Moved ...
30617         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
30618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
30619         Identical file removed.
30620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
30621         Moved ...
30622         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
30623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
30624         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
30625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
30626         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
30627         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
30628         Moved ...
30629         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
30630         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
30631         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
30633         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
30634         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
30635         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
30636         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
30637         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
30639 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
30641         [BZ #17092]
30642         * nscd/nscd.c (monitor_child): Return exit status of child
30643         instead of return value from wait syscall.
30645 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
30647         * configure.ac (libc_commonpagesize): Remove variable.
30648         (libc_relro_required): Likewise.
30649         (libc_cv_z_relro): Remove configure test.
30650         * configure: Regenerated.
30651         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
30652         variable.
30653         (libc_relro_required): Likewise.
30654         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
30655         (libc_relro_required): Likewise.
30656         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
30657         (libc_relro_required): Likewise.
30658         * sysdeps/arm/preconfigure: Regenerated.
30659         * sysdeps/ia64/preconfigure: Remove file.
30660         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
30661         variable.
30662         (libc_relro_required): Likewise.
30664         [BZ #16561]
30665         [BZ #16562]
30666         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
30667         (__ieee754_yn): Set FE_TONEAREST mode internally and then
30668         recompute overflowing results in original rounding mode.
30669         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
30670         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
30671         recompute overflowing results in original rounding mode.
30672         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
30673         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30674         recompute overflowing results in original rounding mode.
30675         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
30676         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30677         recompute overflowing results in original rounding mode.
30678         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
30679         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
30680         recompute overflowing results in original rounding mode.
30681         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
30682         (libc_feholdsetround_ctx): New macro.
30683         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
30684         * sysdeps/i386/fpu/libm-test-ulps: Update.
30685         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
30687 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30689         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
30690         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
30691         corresponding .cpsetup call.
30693 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30695         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
30696         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
30697         * sysdeps/arm/Makefile [$(subdir) = csu]
30698         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
30699         (static-only-routines): Add aeabi_read_tp here.
30700         (shared-only-routines): Add libc-aeabi_read_tp here.
30701         (CFLAGS-libc-start.c): Add -fexceptions here.
30702         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
30703         (sysdep_routines, static-only-routines, shared-only-routines):
30704         Don't add to these here.
30705         (CFLAGS-libc-start.c): Likewise.
30707         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
30708         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
30709         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
30710         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
30711         * sysdeps/arm/Makefile [$(subdir) = rt]
30712         (librt-sysdep_routines, librt-shared-only-routines):
30713         Append rt-aeabi_unwind_cpp_pr1 here.
30714         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
30715         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
30716         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
30717         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30718         Append nptl-aeabi_unwind_cpp_pr1 here.
30719         (tests): Filter out tst-cleanupx4 here.
30720         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
30721         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
30722         Don't do those here.
30724 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30726         * scripts/list-sources.sh: Do not handle ports specially.
30728 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30730         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
30731         * sysdeps/arm/feupdateenv.c: Likewise.
30733         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
30735 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30737         * manual/texinfo.tex: Update to version 2014-05-05.10 with
30738         trailing whitespace removed.
30739         * scripts/config.guess: Update to version 2014-03-23.
30740         * scripts/config.sub: Update to version 2014-05-01
30741         * scripts/install-sh: Update to version 2013-12-25.23.
30742         * scripts/move-if-change: Update from gnulib.
30744 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30746         * debug/memmove_chk.c: Remove pagecopy.h include.
30748 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
30750         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
30751         identical to gnulib mktime.
30753 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
30755         * configure.ac: Do not test for machine being rs6000.  Do not test
30756         for powerpc*-*soft.
30757         * configure: Regenerated.
30759         [BZ #11505]
30760         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
30761         test.
30762         * configure: Regenerated.
30763         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
30764         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
30765         Remove configure test.
30766         * sysdeps/arm/configure: Regenerated.
30767         * sysdeps/nptl/configure.ac: Do not check
30768         libc_cv_asm_cfi_directives.
30769         * sysdeps/nptl/configure: Regenerated.
30770         * sysdeps/x86_64/nptl/configure.ac: Remove file.
30771         * sysdeps/x86_64/nptl/configure: Remove generated file.
30772         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
30773         unconditional.
30774         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
30776 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30778         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
30779         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
30780         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
30781         it is defined.
30783         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
30784         instead of whether it is defined.
30785         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
30786         * sysdeps/hppa/dl-machine.h: Likewise.
30787         * sysdeps/ia64/dl-machine.h: Likewise.
30788         * sysdeps/m68k/dl-machine.h: Likewise.
30789         * sysdeps/microblaze/dl-machine.h: Likewise.
30790         * sysdeps/mips/dl-machine.: Likewise.
30791         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30792         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30793         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30794         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30795         * sysdeps/sh/dl-machine.h: Likewise.
30796         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30797         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30798         * sysdeps/tile/dl-machine.h: Likewise.
30799         * sysdeps/x86_64/dl-machine.h: Likewise.
30801         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
30802         code.
30803         (verify_persistent_db): Likewise.
30805 2014-06-26  Roland McGrath  <roland@hack.frob.com>
30807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
30808         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
30809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
30810         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
30811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
30812         Moved ...
30813         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
30814         ... here.
30815         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
30816         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
30817         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
30818         Identical file removed.
30819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
30820         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
30821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
30822         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
30823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
30824         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
30825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
30826         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
30827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
30828         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
30829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30830         Moved ...
30831         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
30832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
30833         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
30834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
30835         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
30836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
30837         Moved ...
30838         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
30839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
30840         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
30841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
30842         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
30843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30844         Identical file removed.
30845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
30846         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
30847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
30848         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
30849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
30850         Moved ...
30851         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
30852         ... here.
30853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
30854         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
30855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
30856         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
30857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
30858         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
30859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
30860         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
30861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
30862         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
30863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30864         Moved ...
30865         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
30866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
30867         Moved ...
30868         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
30869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
30870         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
30871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
30872         Moved ...
30873         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
30874         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
30875         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
30877         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
30878         folded into ...
30879         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
30880         * sysdeps/unix/sysv/linux/s390/Versions
30881         (libpthread: GLIBC_2.19): New version set.
30882         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
30883         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
30884         (librt: GLIBC_2.3.3): New version set.
30885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
30886         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
30887         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
30888         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
30889         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
30890         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
30891         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
30892         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
30893         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
30894         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
30895         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
30896         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
30897         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
30898         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
30899         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
30900         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
30901         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
30902         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
30903         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
30904         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
30905         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
30906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
30907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
30908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
30909         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
30910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
30911         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
30912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
30913         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
30914         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
30915         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
30916         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
30917         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
30918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
30919         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
30920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
30921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
30922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
30923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
30924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
30925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
30926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
30927         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
30928         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
30929         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
30931         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
30932         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
30933         (__libc_vfork): Define the function under this name.
30934         [!NOT_IN_libc] (__vfork): Make this an alias.
30935         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30936         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
30937         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
30938         (__libc_vfork): Define the function under this name.
30939         [!NOT_IN_libc] (__vfork): Make this an alias.
30940         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
30941         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
30942         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
30943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
30944         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
30945         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30947         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
30948         code that was previously under [RESET_PID].
30949         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
30950         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
30951         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
30953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
30954         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
30955         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
30956         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
30957         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
30958         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
30959         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
30960         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
30961         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
30962         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
30963         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
30964         Moved ...
30965         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
30966         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
30967         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
30968         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
30969         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
30970         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
30971         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
30972         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
30973         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
30974         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
30975         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
30976         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
30977         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
30978         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
30979         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
30980         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
30981         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
30982         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
30983         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
30984         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
30985         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
30986         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
30987         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
30988         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
30989         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
30990         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
30991         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
30992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
30993         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
30995 2014-06-25  Roland McGrath  <roland@hack.frob.com>
30997         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
30998         that was previously under [RESET_PID].
30999         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31001 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31003         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31004         not undefine and redefine.
31005         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31006         [O_CLOEXEC]: Make code unconditional.
31007         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31008         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31009         <kernel-features.h>.
31010         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31011         conditional variable definition.
31012         (shm_open) [O_CLOEXEC]: Make code unconditional.
31013         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31014         code.
31016         * configure.ac (USE_REGPARMS): Don't define here.
31017         * configure: Regenerated.
31018         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31019         * sysdeps/i386/configure: Regenerated.
31021         * nptl/createthread.c: Don't include kernel-features.h.
31022         * nptl/pthread_cancel.c: Likewise.
31023         * nptl/pthread_condattr_setclock.c: Likewise.
31024         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31025         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31026         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31027         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31028         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31029         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31030         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31031         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31032         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31033         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31034         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31035         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31036         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31037         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31038         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31039         * nscd/gai.c: Likewise.
31040         * nss/nss_db/db-open.c: Likewise.
31041         * sysdeps/generic/ldsodefs.h: Likewise.
31042         * sysdeps/sh/nptl/tls.h: Likewise.
31043         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31044         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31045         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31046         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31047         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31048         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31049         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31050         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31051         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31052         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31053         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31054         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31055         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31056         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31057         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31058         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31059         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31060         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31061         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31062         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31063         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31065         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31066         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31069         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31071         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31072         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31073         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31074         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31075         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31076         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31077         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31078         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31079         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31080         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31081         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31082         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31083         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31084         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31085         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31086         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31087         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31088         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31089         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31090         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31091         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31092         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31093         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31094         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31095         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31096         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31097         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31098         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31099         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31100         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31123         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31124         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31125         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31126         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31127         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31128         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31129         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31130         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31131         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31132         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31133         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31134         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31135         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31136         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31137         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31138         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31139         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31140         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31141         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31142         * sysdeps/unix/sysv/linux/system.c: Likewise.
31143         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31144         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31145         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31146         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31147         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31148         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31149         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31151         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31152         * configure: Regenerated.
31153         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31155         * configure.ac (base_machine): Do not set specially for particular
31156         machines here.
31157         * configure: Regenerated.
31158         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31159         settings from configure.ac.
31160         * sysdeps/i386/preconfigure: New file.
31161         * sysdeps/s390/preconfigure: Likewise.
31162         * sysdeps/sh/preconfigure: Likewise.
31163         * sysdeps/sparc/preconfigure: Likewise.
31165 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31167         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
31168         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
31169         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
31170         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
31171         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
31172         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
31173         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
31174         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
31175         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
31176         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
31177         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
31178         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
31179         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
31180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
31181         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
31182         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
31183         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
31184         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
31185         * sysdeps/sparc/sparc64/Makefile: ... appended here.
31187         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
31188         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
31189         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
31190         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
31191         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
31192         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
31193         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
31194         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
31195         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
31196         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
31197         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
31198         * sysdeps/sparc/sparc32/sem_post.c: ... here.
31199         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
31200         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
31201         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
31202         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
31203         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
31204         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
31205         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
31206         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
31207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
31208         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
31209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
31210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
31211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
31212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
31213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
31214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
31215         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
31216         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
31217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
31218         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
31219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
31220         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
31221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
31222         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
31223         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
31224         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
31226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
31227         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
31228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
31229         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
31230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31231         Moved ...
31232         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
31233         ... here.
31234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
31235         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
31236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
31237         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
31238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
31239         Moved ...
31240         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
31241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
31242         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
31243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
31244         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
31245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
31246         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
31247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31248         Moved ...
31249         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
31250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31251         Moved ...
31252         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
31253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
31254         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
31255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31256         Moved ...
31257         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
31258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
31259         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
31260         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
31261         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
31262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
31263         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
31264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
31265         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
31266         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31267         Moved ...
31268         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
31269         ... here.
31270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
31271         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
31272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
31273         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
31274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
31275         Moved ...
31276         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
31277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
31278         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
31279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
31280         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
31281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
31282         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
31283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31284         Moved ...
31285         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
31286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31287         Moved ...
31288         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
31289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
31290         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
31291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31292         Moved ...
31293         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
31294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
31295         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
31296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
31297         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
31299 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31301         * timezone/checktab.awk: Update from tzcode 2014e.
31302         * timezone/private.h: Likewise.
31303         * timezone/tzfile.h: Likewise.
31304         * timezone/zdump.c: Likewise.
31305         * timezone/zic.c: Likewise.
31307         * sysdeps/unix/sysv/linux/kernel-features.h
31308         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
31309         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
31310         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
31311         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
31312         Remove conditional code.
31314 2014-06-25  Will Newton  <will.newton@linaro.org>
31316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
31317         (_dl_arm_cap_flags): Add HWCAP2 values.
31318         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
31319         (_DL_HWCAP_COUNT): Increase to 37.
31320         (_DL_HWCAP_LAST): New define.
31321         (_DL_HWCAP2_LAST): New define.
31322         (_dl_procinfo): Add support for printing
31323         AT_HWCAP2 entries.
31324         (_dl_string_hwcap): Use _dl_hwcap_string.
31326 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31330 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31332         * README: Do not mention ports directory.
31334         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
31335         Remove macro.
31336         * sysdeps/unix/sysv/linux/futimes.c: Do not include
31337         <kernel-features.h>.
31338         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
31339         conditional variable definition.
31340         (__futimes): Update comment.
31341         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
31342         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
31344         [BZ #16560]
31345         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
31346         arguments close to 0.
31347         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
31348         Likewise.
31349         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
31350         Likewise.
31351         * math/auto-libm-test-in: Add more tests of exp10.
31352         * math/auto-libm-test-out: Regenerated.
31353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31355         * sysdeps/unix/sysv/linux/kernel-features.h
31356         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
31357         * sysdeps/unix/sysv/linux/readv.c: Do not include
31358         <kernel-features.h>.
31359         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31360         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31361         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31362         unconditional.
31363         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31364         conditional code.
31365         * sysdeps/unix/sysv/linux/writev.c: Do not include
31366         <kernel-features.h>.
31367         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
31368         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
31369         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
31370         unconditional.
31371         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
31372         conditional code.
31374 2014-06-25  Will Newton  <will.newton@linaro.org>
31376         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
31377         comment changes throughout the file.  Remove checks
31378         for HAVE_*_H definitions that are not required.
31379         (__gen_tempname): Call abort if an unknown kind value is
31380         passed.
31382 2014-06-25  Andreas Schwab  <schwab@suse.de>
31384         [BZ #17086]
31385         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
31386         scalbln, scalblnf, scalblnl in libc.
31388 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31390         [BZ #17086]
31391         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
31392         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
31393         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
31395 2014-06-24  Roland McGrath  <roland@hack.frob.com>
31397         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
31398         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
31399         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
31400         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
31401         Update #include.
31402         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
31403         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
31404         Update #include.
31405         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
31406         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
31407         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
31408         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
31409         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
31410         * sysdeps/x86/bits/pthreadtypes.h: ... here.
31411         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
31412         * sysdeps/x86/bits/semaphore.h: ... here.
31413         * sysdeps/x86/nptl/elide.h: Moved ...
31414         * sysdeps/x86/elide.h: ... here.
31415         * sysdeps/x86_64/nptl/Implies: File removed.
31416         * sysdeps/i386/nptl/Implies: File removed.
31418 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
31420         [BZ #16539]
31421         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
31422         return the argument for normal arguments with exponent below -64.
31423         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
31424         Likewise.
31425         * math/auto-libm-test-in: Add another test of expm1.
31426         * math/auto-libm-test-out: Regenerated.
31428         [BZ #16287]
31429         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
31430         calling __erfcl for arguments at least 16.
31431         * math/auto-libm-test-in: Add more tests of erf.
31432         * math/auto-libm-test-out: Regenerated.
31434         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
31435         individual architectures.
31436         * sysdeps/unix/sysv/linux/configure: Regenerated.
31437         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
31438         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
31439         * sysdeps/unix/sysv/linux/powerpc/configure.ac
31440         (ldd_rewrite_script): Define variable.
31441         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
31442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
31443         file.
31444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
31445         generated file.
31446         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
31447         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
31448         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
31449         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
31450         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
31451         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
31452         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
31453         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
31455 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31457         [BZ #17084]
31458         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
31459         Rename member __data.d to __data.__elision_data.
31461 2014-06-24  Wilco  <wdijkstr@arm.com>
31463         * NEWS: Add 16918 to fixed bug list.
31465 2014-06-24  Wilco  <wdijkstr@arm.com>
31467         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
31469 2014-06-24  Wilco  <wdijkstr@arm.com>
31471         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
31472         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
31473         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
31474         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
31475         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
31476         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
31477         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
31478         Use _FPU_MASK_RM.
31480 2014-06-24  Wilco  <wdijkstr@arm.com>
31482         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
31484 2014-06-24  Wilco  <wdijkstr@arm.com>
31486         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
31487         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
31488         * sysdeps/arm/fesetround.c (fesetround): Remove space.
31489         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
31491 2014-06-24  Wilco  <wdijkstr@arm.com>
31493         [BZ #16918]
31494         * sysdeps/arm/feupdateenv.c (feupdateenv):
31495         Rewrite to reduce FPSCR accesses and fix return value.
31497 2014-06-24  Wilco  <wdijkstr@arm.com>
31499         * sysdeps/arm/fclrexcpt.c (feclearexcept):
31500         Optimize to avoid unnecessary FPSCR writes.
31501         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
31502         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
31503         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
31504         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
31506 2014-06-24  Wilco  <wdijkstr@arm.com>
31508         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
31509         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
31510         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
31511         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
31512         Call libc_fetestexcept_vfp.
31513         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
31514         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
31515         __SOFTFP__ ifdef so that they can be built for softfp.
31517 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
31519         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
31520         argument type signed char.
31522         * Makerules (check-abi): Dump diff of symlist if the test
31523         fails.
31525 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31527         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
31528         using abort.
31530         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
31531         Remove unused variable ST.
31533 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31535         [BZ #16354]
31536         [BZ #17061]
31537         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
31538         small arguments before calling __expm1.
31539         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
31540         small arguments before calling __expm1f.
31541         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
31542         small arguments before calling __expm1l.
31543         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
31544         Likewise.
31545         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
31546         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
31547         spurious underflow for some cosh tests.
31548         * math/auto-libm-test-out: Regenerated.
31549         * sysdeps/i386/fpu/libm-test-ulps: Update.
31551         [BZ #17050]
31552         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
31553         (__ieee754_y1): Set errno if return value overflows.
31554         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
31555         (__ieee754_y1f): Set errno if return value overflows.
31556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
31557         (__ieee754_y1l): Set errno if return value overflows.
31558         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
31559         (__ieee754_y1l): Set errno if return value overflows.
31560         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
31561         * math/auto-libm-test-out: Regenerated.
31563         * math/gen-auto-libm-tests.c: Document use of
31564         ignore-zero-inf-sign.
31565         (input_flag_type): Add value flag_ignore_zero_inf_sign.
31566         (input_flags): Add ignore-zero-inf-sign.
31567         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
31568         * math/gen-libm-test.pl (generate_testfile): Handle
31569         ignore-zero-inf-sign.
31570         * math/auto-libm-test-in: Mark some cpow tests with
31571         ignore-zero-inf-sign and some with xfail-rounding.
31572         * math/auto-libm-test-out: Regenerated.
31573         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
31574         * sysdeps/i386/fpu/libm-test-ulps: Update.
31575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31577         [BZ #16315]
31578         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
31579         overflowing or underflowing operations take place with sign of
31580         result.
31581         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
31582         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
31583         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
31584         (__ieee754_pow): Recompute overflowing and underflowing results in
31585         original rounding mode.
31586         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
31587         (__powl_helper): Allow negative argument X and scale negated value
31588         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
31589         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
31590         overflowing or underflowing operations take place with sign of
31591         result.
31592         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
31593         Include <math.h>.
31594         * math/auto-libm-test-in: Add more tests of pow.
31595         * math/auto-libm-test-out: Regenerated.
31596         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
31597         (pow_tonearest_test_data): Remove.
31598         (pow_test_tonearest): Likewise.
31599         (pow_towardzero_test_data): Likewise.
31600         (pow_test_towardzero): Likewise.
31601         (pow_downward_test_data): Likewise.
31602         (pow_test_downward): Likewise.
31603         (pow_upward_test_data): Likewise.
31604         (pow_test_upward): Likewise.
31605         (main): Don't call removed functions.
31606         * sysdeps/i386/fpu/libm-test-ulps: Update.
31607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31609 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
31612         Moved ...
31613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
31614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31615         Moved ...
31616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
31617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
31618         Moved ...
31619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
31620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
31621         Moved ...
31622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
31623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31624         File removed.
31625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
31626         File removed.
31627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
31628         File removed.
31629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
31630         File removed.
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
31632         File removed.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
31634         File removed.
31635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
31636         File removed.
31637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
31638         File removed.
31639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
31640         File removed.
31641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
31642         File removed.
31643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
31644         File removed.
31645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
31646         File removed.
31647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
31648         Moved ...
31649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
31650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
31651         Moved ...
31652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
31653         ... here.
31654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
31655         Moved ...
31656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
31657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
31658         Moved ...
31659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
31660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
31661         Moved ...
31662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
31663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
31664         Moved ...
31665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
31666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
31667         Moved ...
31668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
31669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
31670         Moved ...
31671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
31672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
31673         Moved ...
31674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
31675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
31676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
31677         ... here.
31678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
31679         Moved ...
31680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
31681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31682         Moved ...
31683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
31684         ... here.
31685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
31686         Moved ...
31687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
31688         ... here.
31689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
31690         Moved ...
31691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31692         ... here.
31693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31694         Moved ...
31695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
31696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
31697         Moved ...
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
31701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
31702         Moved ...
31703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
31704         ... here.
31705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31706         Moved ...
31707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
31708         ... here.
31709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
31710         Moved ...
31711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
31712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31713         Moved ...
31714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
31716         Moved ...
31717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
31718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31719         Moved ...
31720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
31721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
31722         Moved ...
31723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
31724         ... here.
31725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31726         Moved ...
31727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
31728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
31729         Moved ...
31730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
31731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31732         Moved ...
31733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
31734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
31735         Moved ...
31736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
31737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
31738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
31739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
31740         Moved ...
31741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
31742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31743         Moved ...
31744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
31745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
31746         Moved ...
31747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
31748         ... here.
31749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31750         Moved ...
31751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
31752         ... here.
31753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
31754         Moved ...
31755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
31756         ... here.
31757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31758         Moved ...
31759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
31760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
31761         Moved ...
31762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
31763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31764         Moved ...
31765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
31766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
31767         Moved ...
31768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
31769         ... here.
31770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31771         Moved ...
31772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
31773         ... here.
31774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
31775         Moved ...
31776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
31777         ... here.
31778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31779         Moved ...
31780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
31782         Moved ...
31783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
31785 2014-06-23  Will Newton  <will.newton@linaro.org>
31786             Wilco  <wdijkstr@arm.com>
31788         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
31789         implementation.  Include get-rounding-mode.h.
31790         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
31791         [!libc_feholdsetround_noex_ctx]: Define
31792         libc_feholdsetround_noex_ctx.
31793         [!libc_feholdsetround_noexf_ctx]: Define
31794         libc_feholdsetround_noexf_ctx.
31795         [!libc_feholdsetround_noexl_ctx]: Define
31796         libc_feholdsetround_noexl_ctx.
31797         (libc_feholdsetround_ctx): New function.
31798         (libc_feresetround_ctx): New function.
31799         (libc_feholdsetround_noex_ctx): New function.
31800         (libc_feresetround_noex_ctx): New function.
31802 2014-06-23  Roland McGrath  <roland@hack.frob.com>
31804         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
31805         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
31806         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
31807         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
31808         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
31809         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
31811         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
31812         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
31813         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
31814         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
31815         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
31816         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
31817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
31818         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
31819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
31822         Moved ...
31823         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
31824         ... here.
31825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
31826         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
31827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
31828         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
31829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
31830         Moved ...
31831         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
31832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
31833         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
31834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
31835         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
31836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
31837         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
31838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
31839         Moved ...
31840         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
31841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
31842         Moved ...
31843         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
31844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
31845         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
31846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
31847         Moved ...
31848         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
31849         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
31850         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
31851         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
31852         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
31853         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
31854         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
31855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
31856         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
31857         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
31858         Moved ...
31859         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
31860         ... here.
31861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
31862         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
31863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
31864         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
31865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
31866         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
31867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
31868         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
31869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
31870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
31871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
31872         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
31873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
31874         Moved ...
31875         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
31876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
31877         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
31878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
31879         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
31880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
31881         Moved ...
31882         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
31883         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
31884         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
31885         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
31886         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
31888         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
31889         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
31890         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
31891         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
31892         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
31893         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
31894         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
31895         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
31896         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
31897         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
31898         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
31899         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
31900         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
31901         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
31902         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
31903         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
31904         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
31905         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
31906         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
31907         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
31908         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
31909         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
31910         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
31911         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
31912         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
31913         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
31914         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
31915         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31917 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
31919         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31920         (FALLOC_FL_COLLAPSE_RANGE): New macro.
31921         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
31922         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
31923         (IPV6_PMTUDISC_INTERFACE): Likewise.
31924         (IPV6_PMTUDISC_OMIT): Likewise.
31926 2014-06-23  Andreas Schwab  <schwab@suse.de>
31928         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
31929         Remove unused errout label.
31931 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31933         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
31934         macro: hardware supports Vector Crypto instructions.
31936 2014-06-23  Will Newton  <will.newton@linaro.org>
31938         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
31939         rather than __builtin_expect.
31941         * elf/dl-lookup.c (undefined_msg): Remove variable.
31942         (_dl_lookup_symbol_x): Replace undefined_msg with string
31943         literal.
31945         * elf/dl-lookup.c (do_lookup_unique): New function.
31946         (do_lookup_x): Move STB_GNU_UNIQUE handling code
31947         to a separate function.
31949 2014-06-23  Andreas Schwab  <schwab@suse.de>
31951         [BZ #17079]
31952         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
31953         before reading the next line.
31955 2014-06-23  Will Newton  <will.newton@linaro.org>
31957         * test-skeleton.c (signal_handler): Use printf and %m
31958         rather than perror.  Use printf rather than fprintf to
31959         stderr.  Use puts rather than fputs to stderr.
31960         (main): Likewise.
31962 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
31964         * nscd/nscd.c (thread_info_t): Remove typedef.
31965         (thread_info): Remove variable.
31967 2014-06-21  Allan McRae  <allan@archlinux.org>
31969         * NEWS: Mention CVE-2014-4043.
31971 2014-06-20  Roland McGrath  <roland@hack.frob.com>
31973         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
31974         * nptl/smp.h: ... here.
31976         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
31978         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
31979         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
31980         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
31981         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
31983         * nptl/allocatestack.c: Include <stack-aliasing.h>.
31984         * nptl/stack-aliasing.h: New file.
31985         * sysdeps/i386/i686/stack-aliasing.h: New file.
31986         * sysdeps/i386/i686/nptl/Makefile: File removed.
31987         * sysdeps/x86_64/stack-aliasing.h: New file.
31988         * sysdeps/x86_64/nptl/Makefile
31989         (CFLAGS-pthread_create.c): Variable removed.
31991         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
31992         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
31993         old file.
31994         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
31995         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
31996         old file.
31998 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32000         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32001         (__ASSUME_SIGFRAME_V2): Remove macro.
32002         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32003         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32004         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32005         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32006         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32007         Declare as function.  Remove conditional macro definitions.
32008         (__default_rt_sa_restorer): Likewise.
32009         (__default_sa_restorer_v1): Remove declaration.
32010         (__default_sa_restorer_v2): Likewise.
32011         (__default_rt_sa_restorer_v1): Likewise.
32012         (__default_rt_sa_restorer_v2): Likewise.
32013         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32014         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32015         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32017 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32019         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32020         (libpthread-routines): Add sysdep.
32021         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32022         * sysdeps/unix/sysv/linux/sparc/Versions
32023         (libpthread: GLIBC_2.3.3): New version set.
32024         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32025         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32026         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32027         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32028         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32030         Moved ...
32031         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32032         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32033         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32034         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32035         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32037         * sysdeps/sparc/nptl/sem_init.c: ... here.
32038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32039         * sysdeps/sparc/nptl/sem_post.c: ... here.
32040         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32041         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32042         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32043         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32044         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32045         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32046         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32047         (libpthread-routines): Add cpu_relax.
32048         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32049         File removed.
32050         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32051         (librt: GLIBC_2.3.3): New version set.
32052         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32053         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32054         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32055         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32058         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32060         Moved ...
32061         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32063         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32065         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32067         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32069         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32071         Moved ...
32072         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32073         Update #include.
32074         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32075         Moved ...
32076         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32077         Update #include.
32078         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32079         Moved ...
32080         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32081         Update #include.
32082         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32083         Moved ...
32084         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32085         Update #include.
32086         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32087         Moved ...
32088         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32089         Update #include.
32090         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32091         Moved ...
32092         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32093         Update #include.
32094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32095         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32097         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32105         Moved ...
32106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32108         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32110         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32112 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32114         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32115         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32116         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32117         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32118         * nscd/nscd.c: Likewise.
32119         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32120         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32121         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32122         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32124         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32125         <kernel-features.h>.
32126         (init_mq_netlink): Remove conditional have_sock_cloexec
32127         definitions.  Remove code conditional on have_sock_cloexec < 0.
32128         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32129         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32130         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32131         <kernel-features.h>.
32132         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32133         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32135 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32137         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32138         Add tests for memset_chk and memset.
32140         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32141         with AVX2_Usable.
32143 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32145         [BZ #16046]
32146         * elf/tst-dl-iter-static.c: New file.
32147         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32149         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32150         error.
32152 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32154         * sysdeps/unix/sysv/linux/kernel-features.h
32155         (__ASSUME_F_GETOWN_EX): Remove macro.
32156         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32157         <kernel-features.h>.
32158         (miss_F_GETOWN_EX): Remove variable or macro.
32159         (do_fcntl): Do not check miss_F_GETOWN_EX.
32160         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32162         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
32163         Remove macro.
32164         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
32165         [!__ASSUME_AT_RANDOM]: Remove conditional code.
32166         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
32168         * sysdeps/unix/sysv/linux/kernel-features.h
32169         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
32170         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
32171         [ADJ_OFFSET_SS_READ]: Make code unconditional.
32172         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
32174 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32176         [BZ #17075]
32177         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
32178         Fix calculation of the symbol's value.
32179         * sysdeps/arm/tst-armtlsdescloc.c: New file.
32180         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
32181         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
32182         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
32183         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
32184         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
32185         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
32186         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
32187         (modules-names): Add `tst-armtlsdescmod',
32188         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
32189         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
32190         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32191         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
32192         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
32193         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
32194         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
32195         ($(objpfx)tst-armtlsdescloc): New dependency.
32196         ($(objpfx)tst-armtlsdescextnow): Likewise.
32197         ($(objpfx)tst-armtlsdescextlazy): Likewise.
32198         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
32199         TLS scheme support.
32200         * sysdeps/arm/configure: Regenerate.
32202 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32204         * include/fcntl.h (__atfct_seterrno): Remove prototype.
32205         (__atfct_seterrno_2): Likewise.
32206         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
32207         <kernel-features.h>.
32208         (__ASSUME_ATFCTS): Do not undefine and redefine.
32209         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
32210         (__have_atfcts): Remove conditional definition.
32211         (__fxstatat([__NR_fstatat64]: Make code unconditional.
32212         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
32213         unreachable if [__ASSUME_ATFCTS].
32214         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
32215         not undefine and redefine.
32216         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
32217         <kernel-features.h>.
32218         (faccessat) [__NR_faccessat]: Make code unconditional.
32219         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
32220         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
32221         <kernel-features.h>.
32222         (fchmodat) [__NR_fchmodat]: Make code unconditional.
32223         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32224         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
32225         <kernel-features.h>.
32226         (fchownat) [__NR_fchownat]: Make code unconditional.
32227         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
32228         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
32229         <kernel-features.h>.
32230         (futimesat) [__NR_futimesat]: Make code unconditional.
32231         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
32232         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32233         <kernel-features.h>.
32234         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32235         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32236         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32237         <kernel-features.h>.
32238         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
32239         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32240         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
32241         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32242         <kernel-features.h>.
32243         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
32244         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32245         * sysdeps/unix/sysv/linux/linkat.c: Do not include
32246         <kernel-features.h>.
32247         (linkat) [__NR_linkat]: Make code unconditional.
32248         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32249         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
32250         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
32251         <kernel-features.h>.
32252         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
32253         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
32254         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
32255         <kernel-features.h>.
32256         (mkdirat) [__NR_mkdirat]: Make code unconditional.
32257         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
32258         * sysdeps/unix/sysv/linux/openat.c: Do not include
32259         <kernel-features.h>.
32260         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
32261         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
32262         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
32263         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
32264         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
32265         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
32266         <kernel-features.h>.
32267         (readlinkat) [__NR_readlinkat]: Make code unconditional.
32268         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
32269         result of INLINE_SYSCALL directly, not via int variable.
32270         * sysdeps/unix/sysv/linux/renameat.c: Do not include
32271         <kernel-features.h>.
32272         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
32273         (renameat) [__NR_renameat]: Make code unconditional.
32274         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
32275         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
32276         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
32277         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
32278         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
32279         (__ASSUME_ATFCTS): Do not undefine and redefine.
32280         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
32281         <kernel-features.h>.
32282         (symlinkat) [__NR_symlinkat]: Make code unconditional.
32283         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32284         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
32285         <kernel-features.h>.
32286         (unlinkat) [__NR_unlinkat]: Make code unconditional.
32287         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
32288         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
32289         (__ASSUME_ATFCTS): Do not undefine and redefine.
32290         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32291         <kernel-features.h>.
32292         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
32293         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
32294         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32295         <kernel-features.h>.
32296         (__xmknodat) [__NR_mknodat]: Make code unconditional.
32297         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
32299 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32301         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
32303 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
32305         [BZ #17069]
32306         * posix/regcomp.c (parse_reg_exp): Deallocate partially
32307         constructed tree before returning error.
32308         * posix/bug-regexp36.c: Expand test case.
32310 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
32312         [BZ #6803]
32313         * math/libm-test.inc (scalbln_test_date):
32314         Add errno expectations.
32315         * math/w_scalblnf.c: New File.
32316         Add wrapper which checks for setting errno to ERANGE.
32317         Add weak_alias for corresponding scalbln function.
32318         * math/w_scalbln.c: Likewise.
32319         * math/w_scalblnl.c: Likewise.
32320         * math/Makefile (libm-calls): Add w_scalbln.
32321         * sysdeps/ieee754/flt-32/s_scalblnf.c:
32322         Remove weak_alias for corresponding scalbln function.
32323         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32324         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32325         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32326         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32327         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
32328         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32329         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
32330         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32331         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
32332         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
32333         Remove long_double_symbol for scalblnl function in libm, libc.
32334         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
32335         Add wrapper which checks for setting errno to ERANGE.
32336         Add long_double_symbol for scalblnl function in libm, libc.
32337         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
32338         Remove long_double_symbol for scalblnl in libm.
32339         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
32340         Add wrapper which checks for setting errno to ERANGE.
32341         Add long_double_symbol for scalblnl function in libm.
32342         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
32343         Do not use wrapper because of own implementation.
32345 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
32347         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
32348         3 bytes for __pad1 for x32.
32349         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
32351 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
32352             H.J. Lu  <hongjiu.lu@intel.com>
32354         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
32355         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
32356         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32357         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32358         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32360 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
32362         [BZ #17069]
32363         * posix/regcomp.c (parse_expression): Deallocate partially
32364         constructed tree before returning error.
32365         * posix/Makefile.c (tests): Add bug-regex36.
32366         (generated): Add bug-regex36.mtrace.
32367         (tests-special): Add $(objpfx)bug-regex36-mem.out
32368         (bug-regex36-ENV): New variable.
32369         ($(objpfx)bug-regex36-mem.out): New rule.
32370         * posix/bug-regex36.c: New file.
32372 2014-06-19  Will Newton  <will.newton@linaro.org>
32374         * malloc/malloc.c (systrim): If extra is zero then return
32375         early.
32377 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32379         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
32381 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
32383         * sysdeps/aarch64/strchr.S: New file.
32385 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32387         [BZ #17022]
32388         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
32389         from arguments -2 or below.
32390         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
32391         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
32393 2014-06-18  Andreas Schwab  <schwab@suse.de>
32395         [BZ #17062]
32396         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
32397         of a bracket expr not to run off the end of the string.
32398         * posix/Makefile (tests): Add tst-fnmatch3.
32399         * posix/tst-fnmatch3.c: New file.
32401 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
32403         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
32404         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
32405         [$(cross-compiling) = no]: Likewise.
32406         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
32407         [$(cross-compiling) = no]: Likewise.
32409 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32411         [BZ #17031]
32412         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
32413         double, adjusted for any remainder from the high double.
32414         * math/libm-test.inc (nearbyint): Add tests.
32415         (rint): Likewise.
32417 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32419         * nptl/sysdeps/powerpc/Makefile: Moved ...
32420         * sysdeps/powerpc/nptl/Makefile: ... here.
32421         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
32422         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
32423         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
32424         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
32425         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
32426         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
32427         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
32428         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
32429         * nptl/sysdeps/powerpc/tls.h: Moved ...
32430         * sysdeps/powerpc/nptl/tls.h: ... here.
32432 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
32434         [BZ #16681]
32435         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
32436         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
32437         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
32438         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
32439         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
32440         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
32441         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
32442         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
32443         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
32445 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
32447         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32449 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
32451         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
32452         defined operator.
32454         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
32455         $TIMEOUTFACTOR.
32457 2014-06-16  Florian Weimer  <fweimer@redhat.com>
32459         [BZ #17058]
32460         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
32461         non-executed part of the test.
32463 2014-06-16  Andreas Schwab  <schwab@suse.de>
32465         * string/bits/string2.h (strdup, strndup): Update feature guard.
32467 2014-06-14  David S. Miller  <davem@davemloft.net>
32469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32471 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
32473         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
32474         that was previously under [RESET_PID].
32475         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
32477         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
32478         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
32479         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
32480         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
32481         (__libc_vfork): New strong alias.
32482         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
32484 2014-06-14 Andi Kleen  <ak@linux.intel.com>
32486         * sysdeps/generic/elide.h: New file.
32488 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
32490         * Makefile (installed-headers): Adjust path of pthread.h header.
32492 2014-06-13  Roland McGrath  <roland@hack.frob.com>
32494         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
32495         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
32496         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
32497         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
32499         * nptl/sysdeps/s390/Makefile: Moved ...
32500         * sysdeps/s390/nptl/Makefile: ... here.
32501         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
32502         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
32503         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
32504         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
32505         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
32506         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
32507         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
32508         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
32509         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
32510         * sysdeps/s390/nptl/pthreaddef.h: ... here.
32511         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
32512         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
32513         * nptl/sysdeps/s390/tls.h: Moved ...
32514         * sysdeps/s390/nptl/tls.h: ... here.
32516         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
32517         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
32519 2014-06-13  David S. Miller  <davem@davemloft.net>
32521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
32522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
32523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
32524         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
32525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
32526         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
32527         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
32528         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
32529         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
32530         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
32531         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
32532         Remove RESET_PID cpp guards.
32533         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
32534         Remove RESET_PID cpp guards.
32535         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
32537 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
32539         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
32540         __sp to uintptr_t.
32542 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
32545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
32546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
32547         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
32548         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
32549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
32550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
32551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
32552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
32553         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
32554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
32555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
32556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
32557         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
32558         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
32559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
32560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
32561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
32562         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
32563         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
32565         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
32566         (pthread_rwlock_rdlock): Add elision.
32567         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
32568         (pthread_rwlock_wrlock): Add elision.
32569         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
32570         (pthread_rwlock_trywrlock): Add elision.
32571         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
32572         (pthread_rwlock_tryrdlock): Add elision.
32573         * nptl/pthread_rwlock_unlock.c: Include elide.h.
32574         (pthread_rwlock_tryrdlock): Add elision unlock.
32575         * nptl/sysdeps/pthread/pthread.h:
32576         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
32577         (PTHREAD_RWLOCK_INITIALIZER,
32578         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
32579         Handle new elision field.
32580         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
32581         * sysdeps/arm/nptl/bits/pthreadtypes.h
32582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32583         * sysdeps/sh/nptl/bits/pthreadtypes.h
32584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32585         * sysdeps/tile/nptl/bits/pthreadtypes.h
32586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32587         * sysdeps/a/nptl/bits/pthreadtypes.h
32588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32589         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
32590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32591         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
32592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32593         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
32594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32595         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
32596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32597         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
32598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32599         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
32600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32601         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
32602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32603         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
32604         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32605         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
32606         (elision_init): Set try_xbegin to zero when no RTM.
32607         * sysdeps/x86/nptl/bits/pthreadtypes.h
32608         (pthread_rwlock_t): Change __pad1 to __rwelision.
32609         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
32611 2014-06-13  Andi Kleen  <ak@linux.intel.com>
32613         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
32614         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
32615         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
32616         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
32618 2014-06-13  Meador Inge  <meadori@codesourcery.com>
32620         [BZ #16996]
32621         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
32622         that the cached result has been set before returning it.
32624 2014-06-12  Roland McGrath  <roland@hack.frob.com>
32626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
32627         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
32628         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
32629         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
32630         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
32631         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
32633         * nptl/sysdeps/sparc/Makefile: Moved ...
32634         * sysdeps/sparc/nptl/Makefile: ... here.
32635         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
32636         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
32637         * nptl/sysdeps/sparc/tls.h: Moved ...
32638         * sysdeps/sparc/nptl/tls.h: ... here.
32639         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
32640         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
32641         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
32642         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
32643         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
32644         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
32645         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
32646         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
32647         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
32648         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
32649         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
32650         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
32651         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
32652         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
32653         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
32654         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
32655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
32656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
32657         Update #include.
32658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
32659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
32660         Update #include.
32661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
32662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
32663         Update #include.
32664         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
32665         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
32666         Update #include.
32668         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32670         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
32671         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
32673         * sysdeps/pthread/posix-timer.h: Include <list.h>.
32674         (struct list_links): Type removed.
32675         (struct thread_node, struct timer_node): Replace struct list_links
32676         with struct list_head.
32677         (list_unlink_ip): Likewise.
32678         * sysdeps/pthread/timer_routines.c
32679         (timer_free_list, thread_free_list, thread_active_list): Likewise.
32680         (list_append, list_insbefore): Likewise.
32681         (list_init): Function removed.
32682         (thread_init, init_module): Use INIT_LIST_HEAD instead.
32683         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
32684         * sysdeps/pthread/Makefile: ... here, new file.
32686         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
32687         * sysdeps/nptl/Implies: ... here.
32688         * sysdeps/unix/sysv/linux/Implies: Add nptl.
32689         * nptl/sysdeps/pthread/list.h: Moved ...
32690         * include/list.h: ... here.
32691         * nptl/sysdeps/pthread/createthread.c: Moved ...
32692         * nptl/createthread.c: ... here.
32693         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
32694         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
32695         * nptl/pt-longjmp.c: ... here.
32696         * nptl/sysdeps/pthread/Makefile: Moved ...
32697         * sysdeps/nptl/Makefile: ... here.
32698         * nptl/sysdeps/pthread/Subdirs: Moved ...
32699         * sysdeps/nptl/Subdirs: ... here.
32700         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
32701         * sysdeps/nptl/aio_misc.h: ... here.
32702         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
32703         * sysdeps/nptl/bits/libc-lock.h: ... here.
32704         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
32705         * sysdeps/nptl/bits/libc-lockP.h: ... here.
32706         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
32707         * sysdeps/nptl/bits/stdio-lock.h: ... here.
32708         * nptl/sysdeps/pthread/configure: Moved ...
32709         * sysdeps/nptl/configure: ... here.
32710         * nptl/sysdeps/pthread/configure.ac: Moved ...
32711         * sysdeps/nptl/configure.ac: ... here.
32712         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
32713         * sysdeps/nptl/gai_misc.h: ... here.
32714         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
32715         * sysdeps/nptl/librt-cancellation.c: ... here.
32716         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
32717         * sysdeps/nptl/malloc-machine.h: ... here.
32718         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
32719         * sysdeps/nptl/pthread-functions.h: ... here.
32720         * nptl/sysdeps/pthread/pthread.h: Moved ...
32721         * sysdeps/nptl/pthread.h: ... here.
32722         * nptl/sysdeps/pthread/setxid.h: Moved ...
32723         * sysdeps/nptl/setxid.h: ... here.
32724         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
32725         * sysdeps/nptl/sigfillset.c: ... here.
32726         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
32727         * sysdeps/nptl/tcb-offsets.h: ... here.
32728         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
32729         * sysdeps/nptl/tst-mqueue8x.c: ... here.
32730         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
32731         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
32732         * nptl/sysdeps/pthread/allocalim.h: Moved ...
32733         * sysdeps/pthread/allocalim.h: ... here.
32734         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
32735         * sysdeps/pthread/bits/sigthread.h: ... here.
32736         * nptl/sysdeps/pthread/flockfile.c: Moved ...
32737         * sysdeps/pthread/flockfile.c: ... here.
32738         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
32739         * sysdeps/pthread/ftrylockfile.c: ... here.
32740         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
32741         * sysdeps/pthread/funlockfile.c: ... here.
32742         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
32743         * sysdeps/pthread/posix-timer.h: ... here.
32744         * nptl/sysdeps/pthread/timer_create.c: Moved ...
32745         * sysdeps/pthread/timer_create.c: ... here.
32746         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
32747         * sysdeps/pthread/timer_delete.c: ... here.
32748         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
32749         * sysdeps/pthread/timer_getoverr.c: ... here.
32750         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
32751         * sysdeps/pthread/timer_gettime.c: ... here.
32752         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
32753         * sysdeps/pthread/timer_routines.c: ... here.
32754         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
32755         * sysdeps/pthread/timer_settime.c: ... here.
32756         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
32757         * sysdeps/pthread/tst-timer.c: ... here.
32758         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
32759         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
32761         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
32762         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
32764         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
32765         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
32766         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
32767         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
32768         Update #include target.
32769         * nptl/sysdeps/i386/i686/Makefile: Moved ...
32770         * sysdeps/i386/i686/nptl/Makefile: ... here.
32771         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
32772         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
32773         Update #include target.
32774         * nptl/sysdeps/i386/i686/tls.h: Moved ...
32775         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
32776         * nptl/sysdeps/i386/Makefile: Moved ...
32777         * sysdeps/i386/nptl/Makefile: ... here.
32778         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
32779         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
32780         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
32781         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
32782         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
32783         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
32784         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
32785         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
32786         * sysdeps/i386/nptl/pthreaddef.h: ... here.
32787         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
32788         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
32789         * nptl/sysdeps/i386/tls.h: Moved ...
32790         * sysdeps/i386/nptl/tls.h: ... here.
32792         * sysdeps/sh/Makefile [$(subdir) = csu]
32793         (gen-as-const-headers): Add tcb-offsets.sym.
32794         * nptl/sysdeps/sh/Makefile: File removed.
32795         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
32796         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
32797         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
32798         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
32799         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
32800         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
32801         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
32802         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
32803         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
32804         * sysdeps/sh/nptl/pthreaddef.h: ... here.
32805         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
32806         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
32807         * nptl/sysdeps/sh/tls.h: Moved ...
32808         * sysdeps/sh/nptl/tls.h: ... here.
32809         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
32810         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
32811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
32812         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
32813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
32814         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
32815         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
32816         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
32817         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
32818         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
32819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
32820         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
32821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
32822         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
32823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
32824         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
32825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
32826         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
32827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
32828         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
32829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
32830         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
32831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
32832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
32833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
32834         Moved ...
32835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
32836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
32837         Moved ...
32838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
32839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
32840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
32841         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
32842         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
32843         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
32844         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
32845         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
32846         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
32847         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
32848         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
32849         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
32850         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
32851         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
32852         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
32853         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
32854         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
32855         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
32856         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
32858 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32860         * posix/spawn_faction_addopen.c: Include string.h.
32862 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32864         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
32865         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
32866         * nptl/sysdeps/x86_64/Makefile: Moved ...
32867         * sysdeps/x86_64/nptl/Makefile: ... here.
32868         * nptl/sysdeps/x86_64/configure: Moved ...
32869         * sysdeps/x86_64/nptl/configure: ... here.
32870         * nptl/sysdeps/x86_64/configure.ac: Moved ...
32871         * sysdeps/x86_64/nptl/configure.ac: ... here.
32872         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
32873         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
32874         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
32875         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
32876         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
32877         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
32878         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
32879         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
32880         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
32881         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
32882         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
32883         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
32884         * nptl/sysdeps/x86_64/tls.h: Moved ...
32885         * sysdeps/x86_64/nptl/tls.h: ... here.
32886         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
32887         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
32888         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
32889         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
32891         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
32893 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32895         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32897 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
32899         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
32900         type.
32901         [POSIX] (off_t): Likewise.
32902         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
32903         [POSIX] (S_ISBLK): Require macro.
32904         [POSIX] (S_ISCHR): Likewise.
32905         [POSIX] (S_ISDIR): Likewise.
32906         [POSIX] (S_ISFIFO): Likewise.
32907         [POSIX] (S_ISREG): Likewise.
32908         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
32909         optional-macro.
32910         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
32911         type.
32912         [POSIX] (time_t): Likewise.
32913         [POSIX] (timer_t): Likewise.
32915 2014-06-11  Florian Weimer  <fweimer@redhat.com>
32917         [BZ #17048]
32918         * posix/spawn_int.h (struct __spawn_action): Make the path string
32919         non-const to support deallocation.
32920         * posix/spawn_faction_addopen.c
32921         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
32922         * posix/spawn_faction_destroy.c
32923         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
32924         path in all spawn_do_open actions.
32925         * posix/tst-spawn.c (do_test): Exercise the copy operation in
32926         posix_spawn_file_actions_addopen.
32928 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
32930         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
32931         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
32932         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
32933         conditional code always true.
32934         (__libc_vfork): New alias.
32936 2014-06-11  Roland McGrath  <roland@hack.frob.com>
32938         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32939         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
32941         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
32943         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32944         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
32946         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
32947         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
32949         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32950         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
32952 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
32954         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
32955         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
32956         multiarch strcmp for PPC64.
32957         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
32958         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
32959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
32960         multiarch optimizations.
32961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
32962         (__libc_ifunc_impl_list): Likewise.
32964 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
32966         * benchtests/scripts/validate_benchout.py: New script.
32967         * benchtests/Makefile (bench-func): Call it.
32968         * benchtests/scripts/benchout.schema.json: New file.
32970 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
32972         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
32973         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
32974         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
32975         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
32976         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
32977         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
32978         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
32979         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
32980         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
32981         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
32982         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
32983         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
32984         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
32985         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
32986         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
32987         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
32988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
32989         Moved ...
32990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
32991         ... here.
32992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
32993         Moved ...
32994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
32995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
32996         Moved ...
32997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
32998         ... here.
32999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33000         Moved ...
33001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33002         ... here.
33003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33004         Moved ...
33005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33007         Moved ...
33008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33009         ... here.
33010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33011         Moved ...
33012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33013         ... here.
33014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33015         Moved ...
33016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33018         Moved ...
33019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33020         ... here.
33021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33022         Moved ...
33023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33024         ... here.
33025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33026         Moved ...
33027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33028         ... here.
33029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33030         Moved ...
33031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33033         Moved ...
33034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33035         ... here.
33036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33037         Moved ...
33038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33039         ... here.
33040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33041         Moved ...
33042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33043         ... here.
33044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33045         Moved ...
33046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33048         Moved ...
33049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33050         ... here.
33051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33052         Moved ...
33053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33054         ... here.
33055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33056         Moved ...
33057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33059         Moved ...
33060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33061         ... here.
33062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33063         Moved ...
33064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33066         Moved ...
33067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33069         Moved ...
33070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33071         ... here.
33072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33073         Moved ...
33074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33075         ... here.
33076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33077         Moved ...
33078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33079         ... here.
33080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33081         Moved ...
33082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33084         Moved ...
33085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33086         ... here.
33087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33088         Moved ...
33089         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33090         ... here.
33091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33092         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33094         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33095         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33096         Moved ...
33097         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33098         ... here.
33099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33100         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33102         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33104         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33106         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33108         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33110         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33112         Moved ...
33113         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33115         Moved ...
33116         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33118         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33120         Moved ...
33121         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33122         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33123         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33124         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33125         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33126         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33127         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33129 2014-06-10  Wilco  <wdijkstr@arm.com>
33131         * math/test-fenv-return.c: New file.
33132         * math/Makefile: Add new test test-fenv-return.
33134 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33136         [BZ #17042]
33137         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33138         when x - 1 is zero.
33139         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33140         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33141         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33142         0.0L for an argument of 1.0L.
33143         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33144         Likewise.
33145         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33146         value when x - 1 is zero.
33147         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33148         * sysdeps/i386/fpu/libm-test-ulps: Update.
33149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33151 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33153         [BZ #15119]
33154         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33156 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33158         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33159         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33161 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33163         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33164         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
33166         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33167         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
33169         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33170         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
33172         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33173         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
33175         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
33176         if not already defined.
33177         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
33178         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
33179         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
33180         (TLS_INIT_TP): Use it.
33181         (TLS_DEFINE_INIT_TP): New macro.
33182         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
33184 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
33186         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
33187         constant.
33188         [POSIX] (IXANY): Likewise.
33189         [POSIX] (OLCUC): Likewise.
33190         [POSIX || POSIX2008] (CBAUD): Do not allow.
33191         [POSIX || POSIX2008] (DEFECHO): Likewise.
33192         [POSIX || POSIX2008] (ECHOCTL): Likewise.
33193         [POSIX || POSIX2008] (ECHOKE): Likewise.
33194         [POSIX || POSIX2008] (ECHOPRT): Likewise.
33195         [POSIX || POSIX2008] (EXTA): Likewise.
33196         [POSIX || POSIX2008] (EXTB): Likewise.
33197         [POSIX || POSIX2008] (FLUSHO): Likewise.
33198         [POSIX || POSIX2008] (LOBLK): Likewise.
33199         [POSIX || POSIX2008] (PENDIN): Likewise.
33200         [POSIX || POSIX2008] (SWTCH): Likewise.
33201         [POSIX || POSIX2008] (VDISCARD): Likewise.
33202         [POSIX || POSIX2008] (VDSUSP): Likewise.
33203         [POSIX || POSIX2008] (VLNEXT): Likewise.
33204         [POSIX || POSIX2008] (VREPRINT): Likewise.
33205         [POSIX || POSIX2008] (VSTATUS): Likewise.
33206         [POSIX || POSIX2008] (VWERASE): Likewise.
33207         (B*): Change to B[0123456789]*.
33208         * conform/data/time.h-data [POSIX || UNIX98]
33209         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
33210         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33211         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
33212         [POSIX] (tm_*): Do not allow.
33214 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
33216         * Makefile (install): Don't set LANGUAGE.
33217         * Makefile.in (install): Likewise.
33218         * assert/Makefile (test-assert-ENV): Remove variable.
33219         (test-assert-perr-ENV): Likewise.
33220         * elf/Makefile (neededtest4-ENV): Likewise.
33221         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33222         [$(cross-compiling) = no]: Don't set LANGUAGE.
33223         * io/ftwtest-sh (LANG): Remove variable.
33224         * libio/Makefile (tst-widetext-ENV): Likewise.
33225         * manual/install.texi (Running make install): Don't refer to
33226         environment settings for make install.
33227         * INSTALL: Regenerated.
33228         * nptl/tst-tls6.sh: Don't set LANG.
33229         * posix/globtest.sh (LANG): Remove variable.
33230         * string/Makefile (tester-ENV): Likewise.
33231         (inl-tester-ENV): Likewise.
33232         (noinl-tester-ENV): Likewise.
33233         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33234         [$(cross-compiling) = no]: Don't set LANGUAGE.
33235         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
33236         without explicit environment settings.
33238 2014-06-06  Roland McGrath  <roland@hack.frob.com>
33240         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
33241         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
33242         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
33243         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
33245 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
33247         * crypt/crypt-private.h [DOS]: Add some includes taken from the
33248         other files in the crypt directory.
33249         * crypt/crypt.c: Remove duplicate includes.
33250         * crypt/crypt-entry.c: Likewise.
33251         * crypt/crypt_util.c: Likewise.
33253 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
33255         * Makeconfig (run-program-env): New variable.
33256         (run-program-prefix-before-env): Likewise.
33257         (run-program-prefix-after-env): Likewise.
33258         (run-program-prefix): Define in terms of new variables.
33259         (built-program-cmd-before-env): New variable.
33260         (built-program-cmd-after-env): Likewise.
33261         (built-program-cmd): Define in terms of new variables.
33262         (test-program-prefix-before-env): New variable.
33263         (test-program-prefix-after-env): Likewise.
33264         (test-program-prefix): Define in terms of new variables.
33265         (test-program-cmd-before-env): New variable.
33266         (test-program-cmd-after-env): Likewise.
33267         (test-program-cmd): Define in terms of new variables.
33268         * Rules (make-test-out): Use $(run-program-env).
33269         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
33270         (help): Do not mention environment variables.  Mention
33271         --timeoutfactor option.
33272         (timeoutfactor): New variable.
33273         (blacklist_exports): Remove function.
33274         (exports): Remove variable.
33275         (command): Do not include ${exports}.
33276         * manual/install.texi (Configuring and compiling): Do not mention
33277         test wrappers preserving environment variables.  Mention that last
33278         assignment to a variable must take precedence.
33279         * INSTALL: Regenerated.
33280         * benchtests/Makefile (run-bench): Use $(run-program-env).
33281         * catgets/Makefile ($(objpfx)test1.cat): Use
33282         $(built-program-cmd-before-env), $(run-program-env) and
33283         $(built-program-cmd-after-env).
33284         ($(objpfx)test2.cat): Do not specify environment variables
33285         explicitly.
33286         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
33287         $(run-program-env) and $(built-program-cmd-after-env).
33288         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
33289         $(run-program-env) and $(test-program-cmd-after-env).
33290         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
33291         explicitly.
33292         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
33293         run_program_env and test_program_cmd_after_env arguments.
33294         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
33295         * elf/tst-pathopt.sh: Use run_program_env argument.
33296         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
33297         $(test-wrapper-env) and $(run-program-env).
33298         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
33299         run_program_env arguments.
33300         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
33301         * intl/Makefile ($(objpfx)tst-gettext.out): Use
33302         $(test-program-prefix-before-env), $(run-program-env) and
33303         $(test-program-prefix-after-env).
33304         ($(objpfx)tst-gettext2.out): Likewise.
33305         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
33306         run_program_env and test_program_prefix_after_env arguments.
33307         * intl/tst-gettext2.sh: Likewise.
33308         * intl/tst-gettext4.sh: Do not set environment variables
33309         explicitly.
33310         * intl/tst-gettext6.sh: Likewise.
33311         * intl/tst-translit.sh: Likewise.
33312         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
33313         $(test-program-prefix-before-env), $(run-program-env) and
33314         $(test-program-prefix-after-env).
33315         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
33316         run_program_env and test_program_prefix_after_env arguments.
33317         * math/Makefile (run-regen-ulps): Use $(run-program-env).
33318         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
33319         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
33320         explicitly with each use of ${test_wrapper_env}.
33321         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
33322         $(test-program-prefix-before-env), $(run-program-env) and
33323         $(test-program-prefix-after-env).
33324         * posix/tst-getconf.sh: Do not set environment variables
33325         explicitly.
33326         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
33327         run_program_env and test_program_prefix_after_env arguments.
33328         * stdio-common/tst-printf.sh: Do not set environment variables
33329         explicitly.
33330         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
33331         $(test-program-prefix-before-env), $(run-program-env) and
33332         $(test-program-prefix-after-env).
33333         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
33334         run_program_env and test_program_prefix_after_env arguments.
33335         Split $test calls into $test_pre and $test.
33336         * timezone/Makefile (build-testdata): Use
33337         $(built-program-cmd-before-env), $(run-program-env) and
33338         $(built-program-cmd-after-env).
33340 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33342         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
33343         strlen for non SHARED builds.
33345 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
33347         * nptl/allocatestack.c (check_list): Inlined function...
33348         (__reclaim_stacks): ... here.
33350 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33352         [BZ #15698]
33353         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
33354         memory overrun.
33356 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
33358         * Rules (make-test-out): Include
33359         LOCPATH=$(common-objpfx)localedata in default environment.
33360         * debug/Makefile (tst-chk1-ENV): Remove variable.
33361         (tst-chk2-ENV): Likewise.
33362         (tst-chk3-ENV): Likewise.
33363         (tst-chk4-ENV): Likewise.
33364         (tst-chk5-ENV): Likewise.
33365         (tst-chk6-ENV): Likewise.
33366         (tst-lfschk1-ENV): Likewise.
33367         (tst-lfschk2-ENV): Likewise.
33368         (tst-lfschk3-ENV): Likewise.
33369         (tst-lfschk4-ENV): Likewise.
33370         (tst-lfschk5-ENV): Likewise.
33371         (tst-lfschk6-ENV): Likewise.
33372         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
33373         (tst-iconv7-ENV): Likewise.
33374         * intl/Makefile (LOCPATH-ENV): Likewise.
33375         (tst-codeset-ENV): Likewise.
33376         (tst-gettext3-ENV): Likewise.
33377         (tst-gettext5-ENV): Likewise.
33378         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
33379         (tst-fopenloc-ENV): Likewise.
33380         (tst-fgetws-ENV): Remove variable.
33381         (tst-ungetwc1-ENV): Likewise.
33382         (tst-ungetwc2-ENV): Likewise.
33383         (bug-ungetwc2-ENV): Likewise.
33384         (tst-swscanf-ENV): Likewise.
33385         (bug-ftell-ENV): Likewise.
33386         (tst-fgetwc-ENV): Likewise.
33387         (tst-fseek-ENV): Likewise.
33388         (tst-ftell-partial-wide-ENV): Likewise.
33389         (tst-ftell-active-handler-ENV): Likewise.
33390         (tst-ftell-append-ENV): Likewise.
33391         * posix/Makefile (tst-fnmatch-ENV): Likewise.
33392         (tst-regexloc-ENV): Likewise.
33393         (bug-regex1-ENV): Likewise.
33394         (tst-regex-ENV): Likewise.
33395         (tst-regex2-ENV): Likewise.
33396         (bug-regex5-ENV): Likewise.
33397         (bug-regex6-ENV): Likewise.
33398         (bug-regex17-ENV): Likewise.
33399         (bug-regex18-ENV): Likewise.
33400         (bug-regex19-ENV): Likewise.
33401         (bug-regex20-ENV): Likewise.
33402         (bug-regex22-ENV): Likewise.
33403         (bug-regex23-ENV): Likewise.
33404         (bug-regex25-ENV): Likewise.
33405         (bug-regex26-ENV): Likewise.
33406         (bug-regex30-ENV): Likewise.
33407         (bug-regex32-ENV): Likewise.
33408         (bug-regex33-ENV): Likewise.
33409         (bug-regex34-ENV): Likewise.
33410         (bug-regex35-ENV): Likewise.
33411         (tst-rxspencer-ENV): Likewise.
33412         (tst-rxspencer-no-utf8-ENV): Likewise.
33413         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
33414         (tst-sscanf-ENV): Likewise.
33415         (tst-swprintf-ENV): Likewise.
33416         (tst-swscanf-ENV): Likewise.
33417         (test-vfprintf-ENV): Likewise.
33418         (scanf13-ENV): Likewise.
33419         (bug14-ENV): Likewise.
33420         (tst-grouping-ENV): Likewise.
33421         * stdlib/Makefile (tst-strtod-ENV): Likewise.
33422         (tst-strtod3-ENV): Likewise.
33423         (tst-strtod4-ENV): Likewise.
33424         (tst-strtod5-ENV): Likewise.
33425         (testmb2-ENV): Likewise./
33426         * string/Makefile (tst-strxfrm-ENV): Likewise.
33427         (tst-strxfrm2-ENV): Likewise.
33428         (bug-strcoll1-ENV): Likewise.
33429         (test-strcasecmp-ENV): Likewise.
33430         (test-strncasecmp-ENV): Likewise.
33431         * time/Makefile (tst-strptime-ENV): Likewise.
33432         (tst-ftime_l-ENV): Likewise.
33433         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
33434         (tst-mbrtowc-ENV): Likewise.
33435         (tst-wcrtomb-ENV): Likewise.
33436         (tst-mbrtowc2-ENV): Likewise.
33437         (tst-c16c32-1-ENV): Likewise.
33438         (tst-mbsnrtowcs-ENV): Likewise.
33440 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
33442         * manual/resource.texi (How to get information about the memory
33443         subsystem?): Fix typo.
33444         Reported by Peon de la Parra Ivan <peon@keba.com>
33446 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
33448         [BZ #16882]
33449         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
33450         (pthread_spin_lock): Branch out of spin loop to proper location.
33451         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
33452         (pthread_spin_lock): Likewise.
33454         * nptl/tst-spin4.c: New test.
33455         * nptl/Makefile (tests): Add tst-spin4.
33457 2014-06-03  Andreas Schwab  <schwab@suse.de>
33459         [BZ #15946]
33460         * resolv/res_send.c (send_dg): Reload file descriptor after
33461         calling reopen.
33463 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
33465         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33467 2014-06-03  Richard Henderson  <rth@redhat.com>
33469         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
33470         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
33471         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
33472         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
33473         in the SAVE_PID block.
33474         (__libc_vfork): New alias.
33475         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
33477         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
33478         child in registers, not on the stack.  Remove RESET_PID conditionals.
33479         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
33481 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
33483         * sysdeps/aarch64/libm-test-ulps: Regenerate.
33485 2014-06-03  Wilco  <wdijkstr@arm.com>
33487         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
33488         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
33489         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33490         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
33491         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
33492         Likewise.
33494 2014-06-03  Wilco  <wdijkstr@arm.com>
33496         * sysdeps/aarch64/fpu/math_private.h
33497         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
33498         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
33499         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
33500         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
33501         Fix declarations.
33503 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33505         * crypt/crypt-private.h: Include ufc-crypt.h.
33506         (__b64_from_24bit): Declare extern.
33507         * crypt/crypt_util.c(__b64_from_24bit): New function.
33508         (b64t): New static const variable.
33509         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
33510         (b64t): Remove variable.
33511         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
33512         * crypt/sha256-crypt.c: Include crypt-private.h.
33513         (b64t): Remove variable.
33514         (__sha256_crypt_r): Remove b64_from_24bit and replace
33515         with __b64_from_24bit.
33516         * crypt/sha512-crypt.c: Likewise.
33518 2014-06-02  Roland McGrath  <roland@hack.frob.com>
33520         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
33521         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
33522         Label the code __libc_vfork rather than __vfork.
33523         [!NOT_IN_libc] (vfork): Define as weak alias.
33524         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
33525         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
33526         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
33528 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33530         * malloc/malloc.c (malloc_info): Fix format specifier for
33531         n_mmaps.
33533 2014-06-02  Wilco  <wdijkstr@arm.com>
33535         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
33536         FPCR write.
33538 2014-06-02  Wilco  <wdijkstr@arm.com>
33540         [BZ #17009]
33541         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
33542         Rewrite to reduce FPCR/FPSR accesses.
33544 2014-06-01  David S. Miller  <davem@davemloft.net>
33546         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33548 2014-05-31  David S. Miller  <davem@davemloft.net>
33550         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
33551         to occur in round to nearest mode when |x| >= 2.0
33553 2014-05-30  Richard Henderson  <rth@twiddle.net>
33555         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
33556         (PSEUDO_RET_NOERRNO): Remove.
33557         (ret): Don't redefine.
33558         (ret_NOERRNO): Define in terms of ret.
33559         (ret_ERRVAL): Likewise.
33561         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
33562         use of PSEUDO_RET; perform the error check directly.
33564 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
33566         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
33567         with __int128_t.
33569 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33571         * malloc/malloc (malloc_info): Fix formatting.
33573 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33574             Roland McGrath  <roland@hack.frob.com>
33576         * malloc/malloc (malloc_info): Also print mmapped statistics.
33578 2014-05-30  Roland McGrath  <roland@hack.frob.com>
33580         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
33581         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
33583 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
33585         * malloc/malloc.c (malloc_info): Inline mi_arena.
33587 2014-05-29  Richard Henderson  <rth@twiddle.net>
33589         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
33590         Remove comma before expanding ASM_ARGS_##nr.
33591         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
33592         Make _x0 a strict output; make _x8 a strict input; adjust expansion
33593         of ASM_ARGS_##nr.
33594         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
33595         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
33596         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
33597         (ASM_ARGS_1): Add leading comma.
33599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
33600         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
33601         to __errno_location.
33602         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
33603         Remove the expected plt for __errno_location.
33605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33606         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
33607         call to __read_tp.
33609         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33610         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
33611         it and break it down.
33612         (DOCARGS_0, DOCARGS_1): Do nothing.
33613         (DOCARGS_2): Update to store into the new stack frame.
33614         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
33615         (UNDOCARGS_1): Update to restore from the new stack frame.
33616         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
33617         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
33619         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33620         (SINGLE_THREAD_P): New parameter for result regno.
33621         (PSEUDO): Update to match; use cbz instead of beq.
33623         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33624         Use ENTRY to define the _nocancel entry point.  Share the syscall
33625         and syscall error check paths with the cancel path.
33626         (PSEUDO_END): New.
33628         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
33629         whitespace; tabs before and after asm mnemonics.
33631 2014-05-29  Eric Wong  <normalperson@yhbt.net>
33633         [BZ #15132]
33634         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33635         Call fstat64 or stat64 internally, depending on arguments passed.
33636         Replace stat buffer argument with file descriptor argument.
33637         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
33638         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
33639         Pass fd to __internal_statvfs instead of calling fstat64.
33640         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
33641         Pass fd to __internal_statvfs64 instead of calling fstat64.
33642         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
33643         Pass -1 to __internal_statvfs instead of calling stat64.
33644         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
33645         Pass -1 to __internal_statvfs64 instead of calling stat64.
33647 2014-05-28  Roland McGrath  <roland@hack.frob.com>
33649         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
33650         that was previously under [RESET_PID].
33651         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
33653         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
33654         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
33656 2014-05-27  Roland McGrath  <roland@hack.frob.com>
33658         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
33660         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
33661         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
33663 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
33665         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
33667 2014-05-27  Andreas Schwab  <schwab@suse.de>
33669         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
33670         TLS_INIT_TP macro.
33671         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
33672         * elf/rtld.c (init_tls, dl_main): Likewise.
33673         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
33674         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
33675         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
33676         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
33677         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
33678         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
33679         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
33680         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
33681         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
33682         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
33683         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
33684         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
33685         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
33686         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
33687         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
33688         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
33689         * sysdeps/generic/tls.h: Update description.
33691 2014-05-27  Will Newton  <will.newton@linaro.org>
33693         [BZ #16990]
33694         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
33695         and restore r2 rather than just restoring.
33697 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33699         [BZ #16724]
33700         * libio/tst-ftell-append.c: New test case.
33701         * libio/Makefile (tests): Add test case.
33702         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
33703         append mode.
33704         * libio/wfileops.c (do_ftell_wide): Likewise.
33706 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33710         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
33711         ...
33712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
33713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
33714         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
33715         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
33716         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
33717         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
33718         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
33719         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
33720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33721         Moved ...
33722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
33723         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33724         Moved ...
33725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
33726         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
33727         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
33728         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
33729         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
33730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
33731         ...
33732         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
33733         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
33734         Moved ...
33735         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
33736         here.
33737         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
33738         ...
33739         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
33740         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
33741         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
33743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
33744         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
33745         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
33746         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
33748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
33749         merge into ...
33750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
33751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
33752         ...
33753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
33754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
33755         ...
33756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
33757         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
33758         Moved ...
33759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
33760         here.
33761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
33762         Moved ...
33763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
33764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
33765         Moved ...
33766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
33768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
33769         conditional [RESET_PID].
33770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
33771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
33772         removed.
33773         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
33774         removed.
33776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
33777         <tcb-offsets.h>.
33778         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33779         (__libc_vfork): New strong alias.
33780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
33781         removed.
33782         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
33783         Removed.
33785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
33786         <tcb-offsets.h>.
33787         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
33788         (__libc_vfork): New strong alias.
33789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
33790         removed.
33791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
33792         removed.
33794 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
33796         * malloc/malloc.c (mi_arena): New function.
33797         (malloc_info): Remove nested function mi_arena. Call non-nosted
33798         function mi_arena.
33800 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33802         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
33803         by insrwi.
33804         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
33805         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
33806         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
33807         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
33808         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
33809         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
33810         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
33812 2014-05-26  Andreas Schwab  <schwab@suse.de>
33814         [BZ #16984]
33815         * locale/programs/repertoire.c (repertoire_read): Add slash
33816         between I18NPATH element and file name.
33817         * locale/programs/locfile.c (locfile_read): Likewise.
33819 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33821         * nptl/pthread_mutexattr_settype.c
33822         (__pthread_mutexattr_settype):
33823         Disable lock elision for PTHREAD_MUTEX_NORMAL.
33825 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
33827         * nptl/tst-mutex5 (do_test):
33828         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
33830 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33832         * benchtests/README: Document 'init' directive.
33833         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
33834         BENCH_INIT.
33835         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
33836         (parse_file): Recognize 'init' directive.
33838 2014-05-26  Kyle McMartin  <kyle@redhat.com>
33840         [BZ #16796]
33841         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
33842         alignment of struct pthread.
33844 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33846         [BZ #16878]
33847         * nscd/netgroupcache.c (addgetnetgrentX): Look for
33848         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33849         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
33850         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
33852 2014-05-25  Richard Henderson  <rth@twiddle.net>
33854         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
33855         (SINGLE_THREAD_P_PIC): Remove.
33856         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
33857         (SINGLE_THREAD_P_PIC): Remove.
33859         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
33860         branch to syscall error ...
33861         (PSEUDO): ... here.
33862         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
33863         from __local_syscall_error to .Lsyscall_error.
33864         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
33865         (SYSCALL_ERROR): Update label name.
33867         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
33868         Do not use DOARGS/UNDOARGS.
33869         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
33870         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
33871         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
33872         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
33873         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
33875         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33876         block comment.
33878         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
33879         define if !NOT_IN_libc.
33880         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
33881         define with non-default symbol versions.
33883 2014-05-23  Richard Henderson  <rth@twiddle.net>
33885         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
33886         (vfork, __vfork): Define via compat_symbol.
33888         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
33889         [!HAVE_IFUNC] (vfork_compat): Remove.
33890         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
33892 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33894         [BZ #16978]
33895         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
33896         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
33897         variable.
33899 2014-05-23  Richard Henderson  <rth@twiddle.net>
33901         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
33902         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
33903         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
33904         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
33906         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
33907         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
33908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
33909         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
33910         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
33911         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
33912         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
33913         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
33914         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
33915         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
33916         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
33917         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
33918         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
33919         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
33921         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
33922         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
33923         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
33924         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
33925         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
33926         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
33927         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
33928         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
33929         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
33930         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
33933         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
33934         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
33935         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
33936         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
33943         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
33945         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
33946         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
33947         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
33948         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
33949         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
33950         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
33951         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
33952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
33953         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
33954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
33955         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
33956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
33957         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
33958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
33959         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
33960         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
33961         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
33963         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
33964         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
33965         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
33966         before exiting on error.
33967         (__libc_vfork): New strong alias.
33968         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
33969         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
33971         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
33972         that was previously under [RESET_PID].
33973         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
33975         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
33977 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
33979         [BZ #16977]
33980         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
33981         value when x - 1 is zero.
33982         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
33983         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
33984         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
33985         0.0L for an argument of 1.0L.
33986         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
33987         Likewise.
33988         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
33989         value when x - 1 is zero.
33990         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
33991         * sysdeps/i386/fpu/libm-test-ulps: Update.
33992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33994 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
33996         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
33997         alphasort and versionsort.
33999 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34001         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34002         macro.
34003         [copysignf]: Likewise.
34005 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34007         * crypt/md5-crypt.c: Fix formatting.
34009 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34011         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34012         (b64_from_24bit): New function.
34014 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34017         libc_hidden_builtin_def to ifunc.
34018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34019         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34021 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34023         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34024         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34026 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34028         * nscd/Depend (linuxthreads): Remove.
34029         (nptl): Add.
34030         * resolv/Depend (linuxthreads): Remove.
34031         * rt/Depend (linuxthreads): Remove.
34033         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34034         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34035         $(common-objpfx)elf/.
34036         (link-libc-before-gnulib): Likewise.
34037         (elfobjdir): Remove variable.
34038         * Makefile (install): Use $(elf-objpfx) instead of
34039         $(common-objpfx)elf/.
34040         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34041         $(elfobjdir)/.
34042         (link-libc-deps): Likewise.
34043         ($(common-objpfx)libc.so): Likewise.
34044         ($(common-objpfx)linkobj/libc.so): Likewise.
34045         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34046         instead of $(common-objpfx)elf/.
34047         (symbolic-link-list): Likewise.
34048         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34049         [$(cross-compiling) = no]: Likewise.
34050         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34051         $(elfobjdir)/.
34052         (static-gnulib-arch): Likewise.
34053         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34054         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34055         $(common-objpfx)elf/.
34057 2014-05-21  Richard Henderson  <rth@redhat.com>
34059         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34060         (SINGLE_THREAD_P): Use the correct width load.  Fold
34061         into the ldr offset.
34063         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34064         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34066 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34068         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34069         (libgcc_s_resume): Use __attribute_used__.
34070         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34071         Likewise.
34073 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34075         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34076         optimization when used with float constants.
34078         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34080 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34082         [BZ #16915]
34083         * locale/nl_langinfo_l.c: Make direct reference to every
34084         _nl_current_CATEGORY symbol.
34085         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34086         (tests-static): Add tst-langinfo-static.
34087         (tests-special): Add tst-langinfo-static.out.
34088         ($(objpfx)tst-langinfo.out): Redirect output.
34089         ($(objpfx)tst-langinfo-static.out): New.
34090         * localedata/tst-langinfo.sh: Send output to stdout.
34091         * localedata/tst-langinfo-static.c: New file.
34093         [BZ #16965]
34094         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34095         when the shift amount is modulo the limb size.
34097 2014-05-20  Richard Henderson  <rth@redhat.com>
34099         [BZ #16967]
34100         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34101         Change type of sa_flags from unsigned int to int.
34103         [BZ #16966]
34104         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34106         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34108 2014-05-20  Will Newton  <will.newton@linaro.org>
34110         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34111         Test the return value of the system call in the nocancel case.
34113 2014-05-20  Will Newton  <will.newton@linaro.org>
34114             Yvan Roux  <yvan.roux@linaro.org>
34116         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34117         #include of asm/ptrace.h.
34118         (PTRACE_GET_THREAD_AREA): Remove #undef.
34119         (PTRACE_GETHBPREGS): Likewise.
34120         (PTRACE_SETHBPREGS): Likewise.
34121         (struct user_regs_struct): New structure.
34122         (struct user_fpsimd_struct): New structure.
34123         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34124         #include of asm/ptrace.h and second #include of sys/user.h.
34125         (PTRACE_GET_THREAD_AREA): Remove #undef.
34126         (PTRACE_GETHBPREGS): Likewise.
34127         (PTRACE_SETHBPREGS): Likewise.
34128         (ELF_NGREG): Use new struct user_regs_struct.
34129         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34131 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34133         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34134         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34136 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34138         [BZ #16958]
34139         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34140         membar to avoid block loads/stores to overlap previous stores.
34142 2014-05-17  Richard Henderson  <rth@redhat.com>
34144         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34145         Create the __##syscall_name##_nocancel entry point.
34146         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34147         Remove; let the sysdep-cancel.h code create it.
34149 2014-05-17  David S. Miller  <davem@davemloft.net>
34151         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34152         Protect with __USE_GNU.
34153         (TIOCSET_TEMPT): Likewise.
34154         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34155         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34156         these are already provided in bits/ioctl-types.h
34158 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34160         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34161         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
34163         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
34164         Use wait4 regardless of [__NR_waitpid].
34166 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
34168         PR libgcc/60166
34169         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
34170         (_FP_NANSIGN_Q): Set the quiet bit.
34172 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
34174         * benchtests/Makefile
34175         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
34176         not $(common-objpfx)math/libm.so.
34177         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
34178         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
34179         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
34180         $(common-objpfx)dlfcn/libdl.so.
34181         ($(objpfx)tst-audit8): Depend on $(libm), not
34182         $(common-objpfx)math/libm.so.
34183         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
34184         not $(common-objpfx)dlfcn/libdl.so.
34185         * math/Makefile
34186         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34187         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
34188         [$(build-shared) = yes].
34189         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
34190         $(common-objpfx)nptl/libpthread.so.
34191         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
34192         $(common-objpfx)math/libm.so$(libm.so-version) or
34193         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
34194         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
34195         $(common-objpfx)dlfcn/libdl.so.
34196         * setjmp/Makefile (link-libm): Remove variable.
34197         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
34198         * stdio-common/Makefile (link-libm): Remove variable.
34199         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
34200         * stdlib/Makefile (link-libm): Remove variable.
34201         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
34202         ($(objpfx)tst-strtod-round): Likewise.
34203         ($(objpfx)tst-tininess): Likewise.
34204         ($(objpfx)tst-strtod-underflow): Likewise.
34205         ($(objpfx)tst-strtod6): Likewise.
34206         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
34207         $(libdl), not $(common-objpfx)nptl/libpthread.so and
34208         $(common-objpfx)dlfcn/libdl.so.
34210 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34212         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
34213         BSD terminal modes definitions.
34215 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34217         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
34218         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
34220         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
34221         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
34222         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
34223         Don't do #include_next.
34224         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
34225         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
34226         Don't do #include_next.
34227         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
34228         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
34229         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
34230         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
34232 2014-05-16  Allan McRae  <allan@archlinux.org>
34234         * po/sv.po: Update Swedish translation from translation project.
34236         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
34237         in sed expression.
34239 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
34241         [BZ #16917]
34242         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
34243         errno if the TIOCGPTN ioctl fails with an error different than
34244         EINVAL.
34245         * login/tst-ptsname.c: New file.
34246         * login/Makefile (tests): Add tst-ptsname.
34248         [BZ #16943]
34249         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
34250         and prlimit64.
34252 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
34254         [BZ #16849]
34255         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
34256         herrno to return EAI_AGAIN.
34258 2014-05-14  Roland McGrath  <roland@hack.frob.com>
34260         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
34261         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
34262         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
34263         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
34264         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
34265         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
34266         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
34267         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
34268         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
34269         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
34270         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
34271         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
34272         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
34273         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
34274         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
34275         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
34276         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
34277         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
34278         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
34279         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
34280         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
34281         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
34282         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
34283         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
34284         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
34285         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
34286         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
34287         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
34288         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
34289         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
34290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
34291         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
34292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
34293         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
34294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
34295         Moved ...
34296         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
34297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
34298         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
34299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
34300         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
34301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
34302         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
34303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
34304         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
34305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
34306         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
34307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
34308         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
34309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
34310         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
34311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
34312         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
34313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
34314         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
34315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
34316         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
34317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
34318         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
34319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
34320         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
34321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
34322         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
34323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
34324         Moved ...
34325         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
34326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
34327         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
34328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
34329         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
34330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
34331         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
34332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
34333         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
34334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
34335         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
34336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
34337         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
34338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
34339         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
34340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
34341         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
34342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
34343         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
34344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
34345         Moved ...
34346         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
34347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
34348         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
34350         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
34351         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
34352         (libpthread-sysdep_routines): Add elision-related stuff here instead.
34353         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
34354         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
34355         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
34356         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
34357         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
34358         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
34359         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
34360         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
34361         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
34362         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
34363         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
34364         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
34365         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
34366         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
34367         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
34368         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
34369         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
34370         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
34371         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
34372         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
34373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
34374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
34375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
34376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
34377         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
34378         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
34379         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
34380         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
34382         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
34383         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
34385         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
34386         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
34387         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
34388         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
34389         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
34391         Moved ...
34392         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
34393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
34394         Moved ...
34395         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
34396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
34397         Moved ...
34398         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
34399         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
34400         Moved ...
34401         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
34402         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
34403         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
34405         Moved ...
34406         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
34407         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
34408         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
34409         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
34410         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
34411         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
34412         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
34413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
34414         Moved ...
34415         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
34416         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34417         Moved ...
34418         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
34419         ... here.
34420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
34421         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
34423         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
34424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34425         Moved ...
34426         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
34427         ... here.
34428         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
34429         Moved ...
34430         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
34431         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
34432         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
34433         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
34434         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
34435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
34436         Moved ...
34437         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
34438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
34439         Moved ...
34440         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
34441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
34442         Moved ...
34443         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
34444         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
34445         Moved ...
34446         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
34447         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
34448         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
34449         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
34450         Moved ...
34451         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
34452         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
34453         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
34454         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
34455         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
34456         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
34457         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
34458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
34459         Moved ...
34460         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
34461         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34462         Moved ...
34463         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
34464         ... here.
34465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
34466         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
34467         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
34468         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
34469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34470         Moved ...
34471         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
34472         ... here.
34473         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
34474         Moved ...
34475         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
34476         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
34477         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
34478         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
34479         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
34480         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
34481         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
34482         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
34483         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
34484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
34485         Moved ...
34486         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
34487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
34488         Moved ...
34489         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
34490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
34491         Moved ...
34492         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
34493         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
34494         Moved ...
34495         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
34496         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
34497         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
34498         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
34499         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
34500         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
34501         Moved ...
34502         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
34503         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
34504         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
34505         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
34506         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
34507         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
34508         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
34509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
34510         Moved ...
34511         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
34512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34513         Moved ...
34514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
34515         ... here.
34516         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
34517         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
34518         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
34519         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
34520         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34521         Moved ...
34522         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
34523         ... here.
34524         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
34525         Moved ...
34526         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
34527         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
34528         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
34529         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
34530         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
34531         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
34532         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
34533         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
34534         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
34535         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
34536         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
34538         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
34539         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
34541         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
34542         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
34544         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
34545         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
34546         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
34547         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
34548         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
34549         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
34550         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
34551         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
34552         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
34553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
34554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
34555         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
34556         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
34557         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
34558         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
34559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
34560         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
34561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
34562         Moved ...
34563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
34564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
34565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
34566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
34567         Moved ...
34568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
34569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
34570         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
34571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
34572         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
34573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
34574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
34575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
34576         Moved ...
34577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
34578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
34579         Moved ...
34580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
34581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
34582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
34583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
34584         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
34585         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
34586         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
34587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
34588         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
34589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
34590         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
34591         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
34592         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
34593         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
34594         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
34595         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
34596         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
34598         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
34599         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
34600         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
34601         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
34602         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
34604         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
34605         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
34606         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
34607         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
34608         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
34609         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
34610         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
34611         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
34612         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
34613         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
34615         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
34616         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
34618         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
34619         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
34620         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
34621         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
34622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
34623         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
34624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
34625         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
34626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
34627         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
34628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
34629         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
34630         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
34631         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
34632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
34633         Update #include.
34634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
34635         Likewise.
34636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34637         Likewise.
34638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34639         Likewise.
34640         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34641         Likewise.
34642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
34643         Likewise.
34644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
34645         Likewise.
34646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
34647         Likewise.
34648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
34649         Likewise.
34650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
34651         Likewise.
34652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
34653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
34654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
34655         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
34656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
34657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
34658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
34659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
34660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
34661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
34662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
34663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
34664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
34665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
34666         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
34668         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
34669         that was previously under [RESET_PID].
34670         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
34671         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
34672         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
34674         * sysdeps/i386/nptl/Implies: New file.
34675         * sysdeps/x86_64/nptl/Implies: New file.
34676         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
34677         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
34678         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
34679         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
34681         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
34682         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34683         (__libc_vfork): New strong alias.
34684         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
34685         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
34687         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
34688         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34689         (__libc_vfork): New strong alias.
34690         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
34691         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
34693         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
34694         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34695         (__libc_vfork): New strong alias.
34696         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
34697         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
34698         * nptl/pt-vfork.c: New file.
34699         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
34700         (libpthread: GLIBC_2.20): New version set (empty).
34702 2014-05-14  Will Newton  <will.newton@linaro.org>
34704         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
34705         rather than #if.
34707 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34709         [BZ #16564]
34710         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
34711         arguments with exponent 65 or above.
34712         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
34713         arguments 0x1p113L or above.
34714         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
34715         to arguments 0x1p107L or above.
34716         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
34717         positive arguments with exponent 65 or above.
34718         * math/auto-libm-test-in: Add more tests of log1p.
34719         * math/auto-libm-test-out: Regenerated.
34721         [BZ #16928]
34722         * math/s_cacos.c (__cacos): Ensure zero real part of result from
34723         non-finite arguments is +0.
34724         * math/s_cacosf.c (__cacosf): Likewise.
34725         * math/s_cacosl.c (__cacosl): Likewise.
34726         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
34727         * sysdeps/i386/fpu/libm-test-ulps: Update.
34728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34730         [BZ #16927]
34731         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
34732         value.
34733         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
34734         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
34735         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
34736         for explicit high bit of mantissa when testing for argument equal
34737         to 1.
34738         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
34739         * sysdeps/i386/fpu/libm-test-ulps: Update.
34740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34742         [BZ #16516]
34743         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
34744         (__erf): Scale by 16 instead of 8 in potentially underflowing
34745         case.  Ensure exception if result actually underflows.
34746         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
34747         (__erff): Scale by 16 instead of 8 in potentially underflowing
34748         case.  Ensure exception if result actually underflows.
34749         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
34750         (efx8): Remove variable.
34751         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34752         case.  Ensure exception if result actually underflows.
34753         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
34754         (efx8): Remove variable.
34755         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34756         case.  Ensure exception if result actually underflows.
34757         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
34758         (efx8): Remove variable.
34759         (__erfl): Scale by 16 instead of 8 in potentially underflowing
34760         case.  Ensure exception if result actually underflows.
34761         * math/auto-libm-test-in: Add more tests of erf.
34762         * math/auto-libm-test-out: Regenerated.
34764 2014-05-14  Andreas Schwab  <schwab@suse.de>
34766         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
34767         Remove code conditionalized on USE___THREAD.
34769         * config.h.in (HAVE_PT_CHOWN): Define as 0.
34770         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
34771         not definedness.
34773 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
34775         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
34776         Define unconditionally.
34777         (__ASSUME_O_CLOEXEC): Likewise.
34778         (__ASSUME_SOCK_CLOEXEC): Likewise.
34779         (__ASSUME_IN_NONBLOCK): Likewise.
34780         (__ASSUME_PIPE2): Likewise.
34781         (__ASSUME_EVENTFD2): Likewise.
34782         (__ASSUME_SIGNALFD4): Likewise.
34783         (__ASSUME_DUP3): Likewise.
34784         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
34785         (__ASSUME_DUP3): Do not define.
34786         (__ASSUME_EVENTFD2): Likewise.
34787         (__ASSUME_IN_NONBLOCK): Likewise.
34788         (__ASSUME_O_CLOEXEC): Likewise.
34789         (__ASSUME_PIPE2): Likewise.
34790         (__ASSUME_SIGNALFD4): Likewise.
34791         (__ASSUME_SOCK_CLOEXEC): Likewise.
34792         (__ASSUME_UTIMES): Undefine.
34793         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
34794         (__ASSUME_UTIMES): Do not define.
34795         (__ASSUME_O_CLOEXEC): Likewise.
34796         (__ASSUME_SOCK_CLOEXEC): Likewise.
34797         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
34798         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
34799         0x020621].
34800         (__ASSUME_PIPE2): Likewise.
34801         (__ASSUME_EVENTFD2): Likewise.
34802         (__ASSUME_SIGNALFD4): Likewise.
34803         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
34804         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
34805         Do not define.
34806         (__ASSUME_EVENTFD2): Likewise.
34807         (__ASSUME_SIGNALFD4): Likewise.
34808         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
34809         (__ASSUME_32BITUIDS): Likewise.
34810         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
34811         (__ASSUME_IPC64): Likewise.
34812         (__ASSUME_ST_INO_64_BIT): Likewise.
34813         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
34814         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
34815         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
34816         (__ASSUME_UTIMES): Do not define.
34817         (__ASSUME_PSELECT): Likewise.
34818         (__ASSUME_PPOLL): Likewise.
34819         (__ASSUME_O_CLOEXEC): Likewise.
34820         (__ASSUME_SOCK_CLOEXEC): Likewise.
34821         (__ASSUME_IN_NONBLOCK): Likewise.
34822         (__ASSUME_PIPE2): Likewise.
34823         (__ASSUME_EVENTFD2): Likewise.
34824         (__ASSUME_SIGNALFD4): Likewise.
34825         (__ASSUME_DUP3): Likewise.
34826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
34827         (__ASSUME_UTIMES): Likewise.
34828         (__ASSUME_O_CLOEXEC): Likewise.
34829         (__ASSUME_SOCK_CLOEXEC): Likewise.
34830         (__ASSUME_IN_NONBLOCK): Likewise.
34831         (__ASSUME_PIPE2): Likewise.
34832         (__ASSUME_EVENTFD2): Likewise.
34833         (__ASSUME_SIGNALFD4): Likewise.
34834         (__ASSUME_DUP3): Likewise.
34835         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34836         (__ASSUME_UTIMES): Likewise.
34837         (__ASSUME_O_CLOEXEC): Likewise.
34838         (__ASSUME_SOCK_CLOEXEC): Likewise.
34839         (__ASSUME_IN_NONBLOCK): Likewise.
34840         (__ASSUME_PIPE2): Likewise.
34841         (__ASSUME_EVENTFD2): Likewise.
34842         (__ASSUME_SIGNALFD4): Likewise.
34843         (__ASSUME_DUP3): Likewise.
34844         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
34845         Likewise.
34846         (__ASSUME_UTIMES): Likewise.
34847         (__ASSUME_EVENTFD2): Likewise.
34848         (__ASSUME_SIGNALFD4): Likewise.
34849         * sysdeps/unix/sysv/linux/tile/kernel-features.h
34850         (__ASSUME_O_CLOEXEC): Likewise.
34851         (__ASSUME_SOCK_CLOEXEC): Likewise.
34852         (__ASSUME_IN_NONBLOCK): Likewise.
34853         (__ASSUME_PIPE2): Likewise.
34854         (__ASSUME_EVENTFD2): Likewise.
34855         (__ASSUME_SIGNALFD4): Likewise.
34856         (__ASSUME_DUP3): Likewise.
34857         (__ASSUME_UTIMES): Undefine.
34859         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
34860         feclearexcept.  Remove symbol versioning code.
34861         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
34862         symbol versioning code.
34863         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
34864         symbol versioning code.
34865         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
34866         feupdateenv.  Remove symbol versioning code.
34867         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
34868         fegetexceptflag.  Remove symbol versioning code.
34869         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
34870         fesetexceptflag.  Remove symbol versioning code.
34871         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
34872         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
34873         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
34874         (__posix_fadvise64_l32): Remove prototype.
34875         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
34876         code.
34878 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34880         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
34881         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
34882         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
34883         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
34885 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
34887         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
34888         current working directory
34890 2014-05-13  Roland McGrath  <roland@hack.frob.com>
34892         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
34893         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
34894         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
34895         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
34896         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
34897         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
34898         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
34899         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
34900         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
34901         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
34902         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
34903         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
34904         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
34905         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
34906         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
34907         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
34908         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
34909         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
34911         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
34912         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
34913         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
34914         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
34915         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
34925         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
34926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
34927         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
34928         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
34929         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
34930         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
34931         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
34932         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
34933         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
34935         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
34936         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
34938         * sysdeps/unix/sysv/linux/arm/Makefile
34939         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
34940         Add rt-aeabi_unwind_cpp_pr1.
34941         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
34942         Add nptl-aeabi_unwind_cpp_pr1.
34943         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
34944         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
34945         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
34946         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
34947         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
34948         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
34950         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
34951         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
34952         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
34953         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
34955         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
34956         Deconditionalize the code that was previously under [RESET_PID].
34957         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
34959         * sysdeps/generic/exit-thread.h: New file.
34960         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
34961         * include/unistd.h (__exit_thread): Remove declaration.
34962         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
34963         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
34964         * csu/libc-start.c: Include <exit-thread.h>.
34965         (LIBC_START_MAIN): Pass no argument to __exit_thread.
34966         * nptl/pthread_create.c: Include <exit-thread.h>.
34967         (start_thread): Call __exit_thread in place of __exit_thread_inline.
34968         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
34969         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
34970         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
34971         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
34972         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
34973         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
34974         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
34975         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
34976         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
34977         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
34978         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
34979         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
34980         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
34981         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
34982         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
34983         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
34985 2014-05-13  Andreas Schwab  <schwab@suse.de>
34987         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
34989 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
34991         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
34992         (__ASSUME_UTIMES): Do not condition on kernel version.
34993         (__ASSUME_PSELECT): Define unconditionally.
34994         (__ASSUME_PPOLL): Likewise.
34995         (__ASSUME_ATFCTS): Likewise.
34996         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
34997         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
34998         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
34999         (__ASSUME_UTIMENSAT): Define unconditionally.
35000         (__ASSUME_PRIVATE_FUTEX): Likewise.
35001         (__ASSUME_FALLOCATE): Likewise.
35002         (__ASSUME_O_CLOEXEC): Likewise.
35003         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35004         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35005         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35006         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35007         (__ASSUME_IN_NONBLOCK): Likewise.
35008         (__ASSUME_PIPE2): Likewise.
35009         (__ASSUME_EVENTFD2): Likewise.
35010         (__ASSUME_SIGNALFD4): Likewise.
35011         (__ASSUME_DUP3): Likewise.
35012         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35013         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35014         (__ASSUME_AT_RANDOM): Likewise.
35015         (__ASSUME_PREADV): Likewise.
35016         (__ASSUME_PWRITEV): Likewise.
35017         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35018         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35019         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35020         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35021         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35022         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35023         (__ASSUME_O_CLOEXEC): Define unconditionally.
35024         (__ASSUME_PSELECT): Do not undefine conditionally.
35025         (__ASSUME_PPOLL): Likewise.
35026         (__ASSUME_ATFCTS): Likewise.
35027         (__ASSUME_SET_ROBUST_LIST): Likewise.
35028         (__ASSUME_UTIMENSAT): Likewise.
35029         (__ASSUME_FDATASYNC): Define unconditionally.
35030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35031         (__ASSUME_SIGFRAME_V2): Likewise.
35032         )__ASSUME_EVENTFD2): Likewise.
35033         (__ASSUME_SIGNALFD4): Likewise.
35034         (__ASSUME_PSELECT): Do not undefine conditionally.
35035         (__ASSUME_PPOLL): Likewise.
35036         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35037         (__ASSUME_PSELECT): Define unconditionally.
35038         (__ASSUME_PPOLL): Likewise.
35039         (__ASSUME_O_CLOEXEC): Likewise.
35040         (__ASSUME_SOCK_CLOEXEC): Likewise.
35041         (__ASSUME_IN_NONBLOCK): Likewise.
35042         (__ASSUME_PIPE2): Likewise.
35043         (__ASSUME_EVENTFD2): Likewise.
35044         (__ASSUME_SIGNALFD4): Likewise.
35045         (__ASSUME_DUP3): Likewise.
35046         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35047         (__ASSUME_O_CLOEXEC): Likewise.
35048         (__ASSUME_SOCK_CLOEXEC): Likewise.
35049         (__ASSUME_IN_NONBLOCK): Likewise.
35050         (__ASSUME_PIPE2): Likewise.
35051         (__ASSUME_EVENTFD2): Likewise.
35052         (__ASSUME_SIGNALFD4): Likewise.
35053         (__ASSUME_DUP3): Likewise.
35054         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35055         (__ASSUME_EVENTFD2): Likewise.
35056         (__ASSUME_SIGNALFD4): Likewise.
35057         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35059 2014-05-12  Andreas Schwab  <schwab@suse.de>
35061         [BZ #16932]
35062         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35063         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35064         than maximum RPC packet size.
35065         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35066         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35067         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35068         (_nss_nis_getservbyport_r): Likewise.
35070 2014-05-12  Will Newton  <will.newton@linaro.org>
35072         * malloc/Makefile (tests): Add tst-mallopt.
35073         * malloc/tst-mallopt.c: New file.
35075 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35077         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35078         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35080 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35082         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35083         (tst-tlsmod6.so): Likewise.
35085 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35087         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35089 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35091         [BZ #16064]
35092         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35093         and <dl-procinfo.h>.
35094         (__fegetenv): Save SSE state in envp->__eip if supported.
35095         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35096         envp->__eip if supported.
35097         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35098         and <dl-procinfo.h>.
35099         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35100         __data_offset and __data_selector in environment to 0.  Set SSE
35101         state if supported.
35102         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35103         test-fenv-sse.
35104         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35105         -mfpmath=sse.
35106         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35108 2014-05-09  Will Newton  <will.newton@linaro.org>
35110         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35111         and libc_relro_required for ARM.
35112         * sysdeps/arm/preconfigure: Regenerate.
35114 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35115             Stefan Liebler  <stli@linux.vnet.ibm.com>
35117         * config.make.in (enable-lock-elision): New Makefile variable.
35118         * configure.ac: Likewise.
35119         * configure: Regenerate.
35120         * sysdeps/s390/configure.ac:
35121         Add check for gcc transactions support.
35122         * sysdeps/s390/configure: Regenerate.
35123         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35124         Build elision files if enabled.
35125         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35126         Add lock elision support for s390.
35127         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35128         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35129         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35130         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35131         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35132         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35134         Likewise.
35135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35136         Likewise.
35137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35138         Likewise.
35139         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35140         Likewise.
35141         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35142         (__lll_timedlock_elision, __lll_lock_elision)
35143         (__lll_unlock_elision, __lll_trylock_elision)
35144         (lll_timedlock_elision, lll_lock_elision)
35145         (lll_unlock_elision, lll_trylock_elision): Add.
35146         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35147         (pthread_mutex_t): Add lock elision support for s390.
35149 2014-05-14  Wilco  <wdijkstr@arm.com>
35151         * sysdeps/arm/fclrexcpt.c: Cleanup.
35152         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35153         * sysdeps/arm/feenablxcpt.c: Cleanup.
35154         * sysdeps/arm/fegetenv.c: Cleanup.
35155         * sysdeps/arm/fegetexcept.c: Cleanup.
35156         * sysdeps/arm/fegetround.c: Cleanup.
35157         * sysdeps/arm/feholdexcpt.c: Cleanup.
35158         * sysdeps/arm/fesetenv.c: Cleanup.
35159         * sysdeps/arm/fesetround.c: Cleanup.
35160         * sysdeps/arm/feupdateenv.c: Cleanup.
35161         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35162         * sysdeps/arm/fraiseexcpt.c: Cleanup.
35163         * sysdeps/arm/fsetexcptflg.c: Cleanup.
35164         * sysdeps/arm/ftestexcept.c: Cleanup.
35165         * sysdeps/arm/get-rounding-mode.h: Cleanup.
35166         * sysdeps/arm/setfpucw.c: Cleanup.
35168 2014-05-09  Will Newton  <will.newton@linaro.org>
35170         * sysdeps/arm/armv7/strcmp.S: New file.
35171         * NEWS: Mention addition of ARMv7 optimized strcmp.
35173 2014-05-08  Roland McGrath  <roland@hack.frob.com>
35175         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
35176         look for %.ac rather than %.in.
35178         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
35179         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
35180         * sysdeps/mach/hurd/configure: Regenerated.
35181         * sysdeps/unix/sysv/linux/configure: Regenerated.
35183         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
35185 2014-05-07  Steve Ellcey  <sellcey@mips.com>
35187         [BZ# 16922]
35188         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
35189         (LONG_SUB): Ditto.
35190         (PTR_SUB): Ditto.
35192 2014-05-07  Andreas Schwab  <schwab@suse.de>
35194         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
35195         when skipping over non-matching result from nscd.
35197 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
35199         [BZ #16876]
35200         * nptl/sockperf.c (client): Check socket return value.
35202         [BZ #16877]
35203         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
35204         nscd security class.
35206 2014-05-06  Roland McGrath  <roland@hack.frob.com>
35208         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
35209         * sysdeps/arm/unwind.h: ... here.
35211 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
35213         [BZ# 16916]
35214         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
35215         Define.
35217 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35219         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
35220         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
35221         multiarch strncpy for PPC64.
35222         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
35223         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
35224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
35225         multiarch optimizations.
35226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35227         (__libc_ifunc_impl_list): Likewise.
35228         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
35229         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
35230         multiarch stpncpy for PPC64.
35231         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
35232         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
35234 2014-05-06  Andreas Schwab  <schwab@suse.de>
35236         [BZ #16912]
35237         * gmon/mcount.c (_MCOUNT_DECL): Use
35238         atomic_compare_and_exchange_bool_acq instead of
35239         catomic_compare_and_exchange_bool_acq.
35241 2014-05-05  Roland McGrath  <roland@hack.frob.com>
35243         * elf/Makefile (others, install-bin): Remove pldd.
35244         (pldd-modules): Variable removed.
35245         ($(objpfx)pldd): Target removed.
35246         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
35247         (others, install-bin): Append pldd here.
35248         ($(objpfx)pldd): New target.
35250         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
35251         to 0, so the first #if test emitted later doesn't see it undefined.
35252         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
35253         * sysdeps/gnu/errlist.c: Regenerated.
35255 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
35258         [libc_hidden_builtin_def]: Define to empty value.
35259         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
35260         [libc_hidden_builtin_def]: Likewise.
35261         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
35262         [libc_hidden_builtin_def]: Likewise.
35263         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
35264         [libc_hidden_builtin_def]: Likewise.
35265         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
35266         __redirect_memcpy and define ifunc as default hidden symbol.
35267         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
35268         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
35270 2014-05-04  Adam Conrad  <adconrad@0c3.net>
35272         * locale/iso-4217.def: Reintroduce XDR currency.
35274 2014-05-04  Allan McRae  <allan@archlinux.org>
35276         * po/eo.po: Update Esperanto translation from translation project.
35278 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
35280         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
35281         and FEATURE_INDEX_MAX to 1.
35282         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
35284 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35286         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
35287         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
35288         * iconvdata/big5.c (ONE_DIRECTION): Define.
35289         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
35290         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
35291         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
35292         * iconvdata/cp932.c (ONE_DIRECTION): Define.
35293         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
35294         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
35295         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
35296         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
35297         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
35298         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
35299         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
35300         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
35301         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
35302         * iconvdata/gbk.c (ONE_DIRECTION): Define.
35303         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
35304         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
35305         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
35306         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
35307         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
35308         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
35309         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
35310         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
35311         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
35312         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
35313         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
35314         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
35315         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
35316         * iconvdata/iso646.c (ONE_DIRECTION): Define.
35317         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
35318         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
35319         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
35320         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
35321         * iconvdata/johab.c (ONE_DIRECTION): Define.
35322         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
35323         * iconvdata/sjis.c (ONE_DIRECTION): Define.
35324         * iconvdata/t.61.c (ONE_DIRECTION): Define.
35325         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
35326         * iconvdata/tscii.c (ONE_DIRECTION): Define.
35327         * iconvdata/uhc.c (ONE_DIRECTION): Define.
35328         * iconvdata/unicode.c (ONE_DIRECTION): Define.
35329         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
35330         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
35331         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
35333 2014-05-01  Roland McGrath  <roland@hack.frob.com>
35335         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
35336         (_IO_JUMPS_OFFSET): Define to 0.
35338         * nptl/sysdeps/pthread/bits/libc-lock.h
35339         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35340         (__libc_lock_define_initialized_recursive): Always define using
35341         initializer.  Modern compilers treat uninitialized (implicit zero) and
35342         explicit zero initializers the same (i.e. put the datum in bss).
35344 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35346         * nscd/nscd-client.h: Include <string.h>.
35348 2014-05-01  David S. Miller  <davem@davemloft.net>
35350         [BZ #16885]
35351         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
35352         multiple zero bytes exist at the end of a string.
35353         Reported by Aurelien Jarno <aurelien@aurel32.net>
35355         * string/test-strcmp.c (check): Add explicit test for situations where
35356         there are multiple zero bytes after the first.
35358 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35360         [BZ #16890]
35361         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
35362         when compiling wprintf.
35363         * stdio-common/tstdiomisc.c (t3): New function.
35364         (main): Call it.
35366 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35368         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
35369         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
35370         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
35371         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
35373 2014-05-01  Steve Ellcey  <sellcey@mips.com>
35375         * stdlib/longlong.h: Updated from GCC.
35377 2014-05-01  Will Newton  <will.newton@linaro.org>
35378             Bernard Ogden  <bernie.ogden@linaro.org>
35380         * NEWS: Update fixed bug list.
35382         [BZ #15119]
35383         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
35385 2014-04-30  David S. Miller  <davem@davemloft.net>
35387         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
35388         (libc_feholdexcept_setround_sparc_ctx): New function.
35389         (libc_fesetenv_sparc_ctx): Likewise.
35390         (libc_feupdateenv_sparc_ctx): Likewise.
35391         (libc_feholdsetround_sparc_ctx): Likewise.
35392         (libc_feholdexcept_setround_ctx): Define.
35393         (libc_feholdexcept_setroundf_ctx): Likewise.
35394         (libc_feholdexcept_setroundl_ctx): Likewise.
35395         (libc_fesetenv_ctx): Likewise.
35396         (libc_fesetenvf_ctx): Likewise.
35397         (libc_fesetenvl_ctx): Likewise.
35398         (libc_feupdateenv_ctx): Likewise.
35399         (libc_feupdateenvf_ctx): Likewise.
35400         (libc_feupdateenvl_ctx): Likewise.
35401         (libc_feresetround_ctx): Likewise.
35402         (libc_feresetroundf_ctx): Likewise.
35403         (libc_feresetroundl_ctx): Likewise.
35404         (libc_feholdsetround_ctx): Likewise.
35405         (libc_feholdsetroundf_ctx): Likewise.
35406         (libc_feholdsetroundl_ctx): Likewise.
35408         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35409         with __USE_GNU instead of XOPEN cpp guards.
35411         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
35412         0.
35414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
35415         with XOPEN cpp guards.
35417 2014-04-30  Julian Brown  <julian@codesourcery.com>
35419         [BZ #16888]
35420         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
35421         handling.
35423 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
35425         [BZ #9894]
35426         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
35427         Change to 2.6.32.
35428         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
35429         * sysdeps/unix/sysv/linux/configure: Regenerated.
35430         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
35431         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
35432         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
35433         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
35434         * README: Update reference to required Linux kernel version.
35435         * manual/install.texi (Linux): Update reference to required Linux
35436         kernel headers version.
35437         * INSTALL: Regenerated.
35439         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
35440         header inclusion.
35441         [POSIX] (limits.h): Likewise.
35442         [POSIX] (math.h): Likewise.
35443         [POSIX] (sys/wait.h): Likewise.
35444         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
35445         function.
35446         [POSIX] (stddef.h): Do not allow header inclusion.
35448 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35450         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
35452 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
35454         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
35455         Return immediately after lll_futex_wake.
35457 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35459         [BZ #16791]
35460         * nscd/nscd-client.h (datahead_init_common): Initialize entire
35461         structure.
35462         (datahead_init_pos): Call datahead_init_common early.
35463         (datahead_init_neg): Likewise.
35465         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
35466         datahead_init_neg): New functions.
35467         * nscd/aicache.c (addhstaiX): Use them.
35468         * nscd/grpcache.c (cache_addgr): Likewise.
35469         * nscd/hstcache.c (cache_addhst): Likewise.
35470         * nscd/initgrcache.c (addinitgroupsX): Likewise.
35471         * nscd/netgroupcache.c (do_notfound): Likewise.
35472         (addgetnetgrentX): Likewise.
35473         (addinnetgrX): Likewise.
35474         * nscd/pwdcache.c (cache_addpw): Likewise.
35475         * nscd/servicescache.c (cache_addserv): Likewise.
35477 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35478             Atsushi Onoe  <atsushi@onoe.org>
35480         [BZ #14308]
35481         [BZ #12994]
35482         [BZ #13651]
35483         * resolv/res_query.c (__libc_res_nsearch): Return if at least
35484         one response is valid.
35485         * resolv/res_send.c (send_dg): Check for validity of other
35486         response if the current response is a referral.
35488 2014-04-29  Steve Ellcey  <sellcey@mips.com>
35490         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
35492 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
35494         [BZ #16823]
35495         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
35496         Always divide by positive zero when computing -Inf result.
35497         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
35498         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
35500 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35502         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
35503         FPSCR if value do not change.
35504         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
35505         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
35506         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
35507         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
35508         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
35509         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
35510         function.
35512 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
35514         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
35515         * sysdeps/unix/sysv/linux/hppa: Move directory from
35516         ports/systeps/unix/sysv/linux/hppa.
35517         * README: Update listing for hppa-*-linux-gnu.
35519 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
35521         [BZ #16754]
35522         * manual/stdio.texi (Hook functions): Fix types of stream hook
35523         functions.
35524         [BZ #16854]
35525         * socket/sys/socket.h: Fix typo in comment.
35527 2014-04-28  Wilco  <wdijkstr@arm.com>
35529         * sysdeps/arm/fenv_private.h: New file.
35530         * sysdeps/arm/math_private.h: New file.
35531         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
35533 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
35535         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
35536         with __int128_t.
35537         (La_x86_64_retval): Likewise.
35539 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
35541         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
35542         fpsr if value didn't change.
35543         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
35544         to fpcr if value didn't change.
35545         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
35546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
35547         fpsr or fpcr if value didn't change.
35548         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
35549         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
35550         fpcr if value didn't change.
35551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
35552         to fpsr if value didn't change.
35554 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
35556         * nptl/tst-sem3.c: Use test-skeleton.c
35557         (main): Rename to do_test.  Use return instead of
35558         exit.
35559         * nptl/tst-sem4.c: Use test-skeleton.c
35560         (main): Rename to do_test.
35562 2014-04-22  David S. Miller  <davem@davemloft.net>
35564         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
35565         (struct sigaction): New struct member __glibc_reserved0, change
35566         type of sa_flags to int.
35568 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
35570         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
35571         (COUNT_LEADING_ZEROS_0): Define for AArch64.
35573 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35575         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
35576         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
35578 2014-04-22  Will Newton  <will.newton@linaro.org>
35579             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
35581         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
35582         (__longjmp): Add longjmp and longjmp_target SystemTap
35583         probes.
35584         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
35585         (__sigsetjmp): Add setjmp SystemTap probe.
35587 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
35589         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
35590         match manual order.
35592 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35594         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
35596         * sysdeps/powerpc/fpu/fenv_private.h
35597         (libc_feholdexcept_setroundl_ctx): Define to
35598         libc_feholdexcept_setround_ppc_ctx.
35599         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
35600         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
35601         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
35602         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
35604 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35606         * sysdeps/aarch64/math-tests.h: New file.
35608 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
35610         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
35611         New.
35612         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35613         Check and set bit_AVX2_Usable.
35614         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
35615         macro.
35616         (bit_AVX2): Likewise.
35617         (index_AVX2_Usable): Likewise.
35618         (CPUID_AVX2): Likewise.
35619         (HAS_AVX2): Likewise.
35621 2014-04-17  Will Newton  <will.newton@linaro.org>
35623         * manual/setjmp.texi (System V contexts): Add note that
35624         calling setcontext on a context created by a call to a
35625         signal handler is undefined.  Update text to note that
35626         setcontext from a signal handler is possible but not
35627         recommended.
35629         [BZ #16629]
35630         * stdlib/tst-setcontext.c: Include signal.h.
35631         (main): Check that the signal stack before and
35632         after swapcontext is the same.
35634         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
35635         Re-implement to restore registers in user code and avoid
35636         rt_sigreturn system call.
35638 2014-04-17  Wilco  <wdijkstr@arm.com>
35640         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
35641         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
35642         * math/test-fenv.c: Skip exception trap tests on targets which only
35643         support non-stop mode.
35645 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
35646             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35648         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
35649         (libc_feholdsetround_aarch64_ctx)
35650         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
35651         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
35652         (libc_feresetround_ctx, libc_feresetroundf_ctx)
35653         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
35654         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
35655         (libc_feresetround_noexl_ctx): Define.
35657 2014-04-16  Richard Henderson  <rth@redhat.com>
35659         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
35661         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
35662         unwind tables.
35664         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
35665         const from the non-libc, non-ldso copy.
35667         * sysdeps/alpha/libm-test-ulps: Regenerate.
35669 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
35670             Wilco Dijkstra  <wilco.dijkstra@arm.com>
35672         * sysdeps/aarch64/fpu/math_private.h: New file.
35674 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
35676         * sysdeps/aarch64/libm-test-ulps: Regenerate.
35678 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
35680         [BZ #16275]
35681         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
35682         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
35683         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
35684         Intel MPX bound registers before _dl_profile_fixup.
35685         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
35686         registers after _dl_profile_fixup.  Save and restore bound
35687         registers bnd0/bnd1 when calling _dl_call_pltexit.
35688         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
35689         (LR_BND_OFFSET): Likewise.
35690         (LRV_BND0_OFFSET): Likewise.
35691         (LRV_BND1_OFFSET): Likewise.
35693 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35695         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
35696         to...
35697         * sysdeps/mach/hurd/i386/tls.h: ... here.
35698         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
35699         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
35700         fields.
35702 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35704         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
35706 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35708         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35710 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
35712         [BZ #14770]
35713         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
35714         * sysdeps/s390/configure: Regenerate.
35716         [BZ #16824]
35717         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
35718         Set round-to-nearest internally to reduce error accumulation.
35720 2014-04-16  Alan Modra  <amodra@gmail.com>
35722         [BZ #16740]
35723         [BZ #16619]
35724         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
35725         * math/libm-test.inc (frexp_test_data): Add tests.
35726         * NEWS: Update fixed bug list.
35728 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35730         * benchtests/Makefile: Depend on libraries in build directory.
35731         (bench-math): Separate out math tests.
35732         (bench-pthread): Separate out pthread tests.
35733         (bench): Include math and pthread tests.
35735 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
35737         [BZ #16831]
35738         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
35739         _dl_debug_initialize.
35741         * configure.ac: Remove SELinux header check.
35742         * configure: Regenerate.
35743         * nscd/selinux.c (perms): Array of const char* to permission names.
35744         (nscd_request_avc_has_perm): Call security_deny_unknown to find
35745         default policy. Call string_to_security_class and string_to_av_perm to
35746         translate strings. Enforce default policy and call avs_has_perm with
35747         results of translated strings.
35749 2014-04-13  David S. Miller  <davem@davemloft.net>
35751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35753 2014-04-12  Allan McRae  <allan@archlinux.org>
35755         [BZ #16838]
35756         * manual/string.texi (Collation Functions): Fix qsort argument
35757         order in example.
35758         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
35760 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
35762         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
35763         Make the test a no-op if there are no exceptions defined.
35765 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35767         * elf/Makefile (tests): make tst-dlopen-aout conditional on
35768         enable-hardcoded-path-in-tests
35770 2014-04-11  Will Newton  <will.newton@linaro.org>
35772         * benchtests/Makefile (extra-objs): Add json-lib.o.
35773         (bench-func): Tidy up JSON output.
35774         * benchtests/bench-skeleton.c: Include json-lib.h.
35775         (main): Use JSON library functions to do output of
35776         benchmark results.
35777         * benchtests/bench-timing-type.c (main): Output the
35778         timing type simply, leaving formatting to the user.
35779         * benchtests/json-lib.c: New file.
35780         * benchtests/json-lib.h: Likewise.
35782 2014-04-11  Torvald Riegel  <triegel@redhat.com>
35784         [BZ #15215]
35785         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
35786         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
35787         memory barriers.  Add comments.
35788         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
35789         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
35790         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
35791         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
35792         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
35793         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
35795 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
35797         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
35798         * sysdeps/s390/s390-64/configure.ac: ... this ...
35799         * sysdeps/s390/configure.ac: ... to here.
35800         * sysdeps/s390/s390-32/configure: Delete file.
35801         * sysdeps/s390/s390-64/configure: Delete file.
35802         * sysdeps/s390/configure: Regenerate.
35804 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
35806         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
35808 2014-04-11  Will Newton  <will.newton@linaro.org>
35810         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
35811         to zero if it is not defined elsewhere.  (mtrim): Test
35812         the value of MALLOC_DEBUG with #if rather than #ifdef.
35814 2014-04-10 Torvald Riegel  <triegel@redhat.com>
35816         * benchtests/pthread_once-inputs: New file.
35817         * benchtests/pthread_once-source.c: New file.
35818         * benchtests/README: Update documentation.
35820 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
35821             H.J. Lu  <hongjiu.lu@intel.com>
35823         [BZ #16275]
35824         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
35825         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
35826         * sysdeps/x86_64/configure: Regenerated.
35827         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
35828         macro.
35829         (REGISTER_SAVE_RAX): Likewise.
35830         (REGISTER_SAVE_RCX): Likewise.
35831         (REGISTER_SAVE_RDX): Likewise.
35832         (REGISTER_SAVE_RSI): Likewise.
35833         (REGISTER_SAVE_RDI): Likewise.
35834         (REGISTER_SAVE_R8): Likewise.
35835         (REGISTER_SAVE_R9): Likewise.
35836         (REGISTER_SAVE_BND0): Likewise.
35837         (REGISTER_SAVE_BND1): Likewise.
35838         (REGISTER_SAVE_BND2): Likewise.
35839         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
35840         bound registers when calling _dl_fixup.
35842 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35844         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
35845         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
35846         of its definition.
35847         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
35848         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
35849         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
35850         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
35851         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
35852         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
35853         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
35855 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
35857         [BZ #15514]
35858         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
35859         pathconf(_PC_NAME_MAX).
35861 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35863         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
35864         Remove macro usage.
35865         (__PTHREAD_SPINS): Move definition to ...
35866         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
35867         (__PTHREAD_SPINS): ... here.
35868         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35869         (__PTHREAD_SPIN): Likewise.
35870         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
35871         (__PTHREAD_SPIN): Likewise.
35872         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
35873         (__PTHREAD_SPIN): Likewise.
35874         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
35875         (__PTHREAD_SPIN): Likewise.
35876         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35877         (__PTHREAD_SPIN): Likewise.
35878         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35879         (__PTHREAD_SPIN): Likewise.
35880         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
35881         (__PTHREAD_SPIN): Likewise.
35882         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35883         (__PTHREAD_SPIN): Likewise.
35884         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35885         (__PTHREAD_SPIN): Likewise.
35886         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35887         (__PTHREAD_SPIN): Likewise.
35888         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35889         (__PTHREAD_SPIN): Likewise.
35890         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
35891         (__PTHREAD_SPIN): Likewise.
35893         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
35894         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
35895         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
35896         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
35897         imply folder.
35898         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
35899         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
35900         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
35901         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
35902         correct imply path.
35903         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
35904         strlen symbol for non multi-arch builds.
35905         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
35906         missing hidden_def and weak_alias.
35908 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
35910         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
35912 2014-04-07  Will Newton  <will.newton@linaro.org>
35914         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
35915         and contents.  [!_LIBC] Remove #ifndef and contents.
35916         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
35917         * string/memccpy.c (__memccpy): Use ANSI prototype.
35918         * string/memfrob.c (memfrob): Likewise.
35919         * string/strcoll.c (STRCOLL): Likewise.
35920         * string/strlen.c (strlen): Likewise.
35921         * string/strtok.c (STRTOK): Likewise.
35922         * string/strcat.c: Remove unused #include of memcopy.h.
35923         (strcat): Use ANSI prototype.
35924         * string/strchr.c: Remove unused #include of memcopy.h.
35925         (strchr): Use ANSI prototype.
35926         * string/strcmp.c: Remove unused #include of memcopy.h.
35927         (strcmp): Use ANSI prototype.
35928         * string/strcpy.c: Remove unused #include of memcopy.h.
35929         (strcpy): Use ANSI prototype.
35931 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35933         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
35934         * config.make.in (config-extra-cppflags): Set it from
35935         libc_extra_cppflags.
35936         * configure.ac (libc_extra_cflags): Make it accumulate over
35937         configure fragments.
35938         (libc_extra_cppflags): New flag.
35939         * configure. Regenerate.
35940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35941         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
35942         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
35943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
35945         [BZ #16815]
35946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
35947         result for FE_DOWNWARD rounding mode.
35948         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
35949         Likewise.
35950         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35952 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
35954         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
35955         in function argument name.
35957 2014-04-03  David Svoboda  <svoboda@cert.org>
35959         [BZ #5666]
35960         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
35961         explicitly.
35963 2014-04-03  Roland McGrath  <roland@hack.frob.com>
35965         * elf/dl-unmap-segments.h: New file.
35966         * sysdeps/generic/ldsodefs.h
35967         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
35968         * elf/dl-close.c: Include <dl-unmap-segments.h>.
35969         * elf/dl-fptr.c: Likewise.
35970         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
35971         * sysdeps/aarch64/tlsdesc.c: Likewise.
35972         * sysdeps/arm/tlsdesc.c: Likewise.
35973         * sysdeps/i386/tlsdesc.c: Likewise.
35974         * sysdeps/tile/dl-runtime.c: Likewise.
35975         * sysdeps/x86_64/tlsdesc.c: Likewise.
35976         * elf/dl-load.h: New file.
35977         * elf/dl-load.c: Include it.
35978         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
35979         Macros moved to dl-load.h.
35980         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
35981         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
35982         Use _dl_unmap_segments in place of __munmap.
35983         Break out segment-mapping loop into ...
35984         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
35986 2014-04-03  Will Newton  <will.newton@linaro.org>
35988         * elf/dl-lookup.c (do_lookup_x): Remove comment
35989         referring to nested function and move variable
35990         declarations down to before first use.
35992 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
35994         [BZ #16799]
35995         [BZ #16800]
35996         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
35997         with 0 numerator.
35998         * math/s_catanf.c (__catanf): Likewise.
35999         * math/s_catanh.c (__catanh): Likewise.
36000         * math/s_catanhf.c (__catanhf): Likewise.
36001         * math/s_catanhl.c (__catanhl): Likewise.
36002         * math/s_catanl.c (__catanl): Likewise.
36003         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36004         by positive zero when computing -Inf result.
36005         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36006         (catanh_test): Likewise.
36007         * sysdeps/i386/fpu/libm-test-ulps: Update.
36008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36010         [BZ #16789]
36011         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36012         instead of using underflowing value in computing result.
36013         * math/s_clog10.c (__clog10): Likewise.
36014         * math/s_clog10f.c (__clog10f): Likewise.
36015         * math/s_clog10l.c (__clog10l): Likewise.
36016         * math/s_clogf.c (__clogf): Likewise.
36017         * math/s_clogl.c (__clogl): Likewise.
36018         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36019         (clog10_test): Likewise.
36020         * sysdeps/i386/fpu/libm-test-ulps: Update.
36021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36023 2014-04-02  Alan Modra  <amodra@gmail.com>
36025         [BZ #16739]
36026         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36027         output when value is near a power of two.  Use int64_t for lx and
36028         remove casts.  Use decimal rather than hex exponent constants.
36029         Don't use long double multiplication when double will suffice.
36030         * math/libm-test.inc (nextafter_test_data): Add tests.
36031         * NEWS: Add 16739 and 16786 to bug list.
36033         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36035         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36037 2014-04-01  Will Newton  <will.newton@linaro.org>
36039         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36040         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36042 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36044         [BZ #13347]
36045         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36046         * nptl/tst-setuid2.c: New file.
36047         * nptl/Makefile (xtests): Add tst-setuid2.
36049 2014-04-01  Alan Modra  <amodra@gmail.com>
36051         [BZ #16786]
36052         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36054 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36056         [BZ #6803]
36057         [BZ #6804]
36058         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36059         set errno as appropriate.
36060         * math/w_scalbf.c (__scalbf): Likewise.
36061         * math/w_scalbl.c (__scalbl): Likewise.
36062         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36063         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36064         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36065         Add more NaN tests.
36067         [BZ #16349]
36068         * math/w_atan2.c: Include <errno.h>.
36069         (__atan2): Set errno for result underflowing to zero.
36070         * math/w_atan2f.c: Include <errno.h>.
36071         (__atan2f): Set errno for result underflowing to zero.
36072         * math/w_atan2l.c: Include <errno.h>.
36073         (__atan2l): Set errno for result underflowing to zero.
36074         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36075         tests.
36076         * math/auto-libm-test-out: Regenerated.
36078 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36080         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36081         Encode instruction correctly in little endian.
36082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36083         Likewise.
36084         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36085         Likewise.
36086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36087         Likewise.
36088         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36089         Likewise.
36091 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36093         [BZ #9894]
36094         * sysdeps/unix/sysv/linux/kernel-features.h
36095         [__sparc__ && !__arch64__ && !__sparc_v9__]
36096         (__ASSUME_SET_ROBUST_LIST): Do not define.
36097         [__sparc__ && !__arch64__ && !__sparc_v9__]
36098         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36099         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36100         Likewise.
36101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36102         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36103         (__ASSUME_REQUEUE_PI): Likewise.
36104         (__ASSUME_SET_ROBUST_LIST): Likewise.
36105         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36106         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36107         Undefine.
36108         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36110         Likewise.
36111         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36112         Likewise.
36113         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36114         Likewise.
36115         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36116         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36117         Undefine.
36118         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36119         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36120         Likewise.
36122         [BZ #16648]
36123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36124         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36125         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36127 2014-03-31  Will Newton  <will.newton@linaro.org>
36129         * benchtests/Makefile (bench): Add ffs and ffsll to list
36130         of tests.
36131         * benchtests/ffs-inputs: New file.
36132         * benchtests/ffsll-inputs: Likewise.
36134 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36136         [BZ #16770]
36137         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36138         too large before casting to int.
36139         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36140         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36141         * math/libm-test.inc (scalb_test_data): Add more tests.
36143 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36145         * benchtests/Makefile (DETAILED_OPT): New make option.
36146         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36147         set.
36148         * benchtests/bench-skeleton.c: Include stdbool.h.
36149         (main): Store and print timings per input.
36150         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36151         member to each argument value.
36152         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36153         (_print_arg_data): Initialize per-input timing to 0.
36155         * benchtests/Makefile (timing-type): New binary.
36156         (bench-clean): Also remove bench-timing-type.
36157         (bench): New target for timing-type.
36158         (bench-func): Print output in JSON format.
36159         * benchtests/bench-skeleton.c (main): Print output in JSON
36160         format.
36161         * benchtests/bench-timing-type.c: New file.
36162         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
36163         (TIMING_PRINT_STATS): Remove.
36164         * benchtests/scripts/bench.py (_print_arg_data): Store variant
36165         name separately.
36167         * benchtests/bench-modf.c: Remove.
36168         * benchtests/modf-inputs: New inputs file.
36170 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
36172         [BZ #16362]
36173         * math/s_clog10.c (M_PI_LOG10E): New macro.
36174         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
36175         imaginary parts are 0.
36176         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
36177         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
36178         imaginary parts are 0.
36179         * math/s_clog10l.c (M_PI_LOG10El): New macro.
36180         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
36181         imaginary parts are 0.
36182         * math/libm-test.inc (clog10_test_data): Update expected results
36183         for when real and imaginary parts are 0.
36185 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
36187         * elf/dl-load.c: Finish conversion of __builtin_expect into
36188         __glibc_{un}likely.
36190 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
36192         [BZ #16348]
36193         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
36194         1+x for argument with exponent below -67.
36195         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
36196         Likewise.
36197         * math/auto-libm-test-in: Add more tests of exp.
36198         * math/auto-libm-test-out: Regenerated.
36200 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36202         [BZ #16759]
36203         * inet/getnetgrent_r.c (get_nonempty_val): New function.
36204         (nscd_getnetgrent): Use it.
36206         [BZ #16760]
36207         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
36208         of stpcpy.
36210 2014-03-27  Andi Kleen  <ak@linux.intel.com>
36212         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
36213         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36214         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36215         (lll_robust_unlock): Remove out of line section. Use cfi
36216         intrinsics.
36217         (LLL_STUB_UNWIND_INFO*): Remove.
36218         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
36219         (lll_robust_lock, lll_cond_lock, lll_timedlock)
36220         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
36221         (lll_robust_unlock): Remove out of line section. Use cfi
36222         intrinsics.
36223         (LLL_STUB_UNWIND_INFO*): Remove.
36225 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36227         [BZ #16758]
36228         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
36229         blank values.
36231 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
36233         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
36235 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
36237         [BZ #16198]
36238         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
36239         fnstenv.
36240         * math/test-fenv-preserve.c: New file.
36241         * math/Makefile (tests): Add test-fenv-preserve.
36243 2014-03-26  Will Newton <will.newton@linaro.org>
36245         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
36247 2014-03-25  Roland McGrath  <roland@hack.frob.com>
36249         * scripts/versionlist.awk: Partition the version sets and emit all
36250         GLIBC_* (sorted) before all others (sorted).
36252 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36254         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
36255         GLIBC_2.2.5 version.
36257 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36259         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
36260         calls.
36262         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
36263         previous change.
36265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36267 2014-03-25  Andreas Schwab  <schwab@suse.de>
36269         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
36270         label to be used after in6ailist is initialized.
36272 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36274         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36275         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36277 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
36279         [BZ #16357]
36280         [BZ #16599]
36281         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
36282         min_plus_half.
36283         (fp_formats): Update initializers.
36284         (init_fp_formats): Initialize new field.
36285         (output_for_one_input_case): Allow underflow for results up to
36286         min_plus_half.
36287         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
36288         * math/auto-libm-test-in: Don't mark some underflows from asin and
36289         atanh as spurious.
36290         * math/auto-libm-test-out: Regenerated.
36291         * sysdeps/i386/fpu/libm-test-ulps: Update.
36292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36294 2014-03-25  Andreas Schwab  <schwab@suse.de>
36296         * libio/Makefile (tst-ftell-partial-wide-ENV)
36297         (tst-ftell-active-handler-ENV): Define.
36299 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
36301         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
36303 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36305         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
36307 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36309         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
36310         * sysdeps/x86_64/fpu/multiarch/e_exp.c
36311         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
36313 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36315         [BZ #16634]
36316         * elf/dl-load.c (open_verify): Add mode parameter.
36317         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
36318         (open_path): Change from boolean 'secure' to complete flag 'mode'
36319         (_dl_map_object): Adjust.
36320         * elf/Makefile (tests): Add tst-dlopen-aout.
36321         * elf/tst-dlopen-aout.c: New test.
36323 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
36325         [BZ #16714]
36326         * sysdeps/unix/sysv/linux/s390/bits/stat.h
36327         (struct stat): Rename member pad0 to __glibc_reserved0.
36329         [BZ #16712]
36330         * sysdeps/s390/s390-32/bits/wordsize.h
36331         (__WORDSIZE32_SIZE_ULONG): New define.
36332         * sysdeps/s390/s390-64/bits/wordsize.h
36333         (__WORDSIZE32_SIZE_ULONG): Likewise.
36334         * sysdeps/generic/stdint.h (SIZE_MAX):
36335         Define as UL if __WORDSIZE32_SIZE_ULONG.
36337         [BZ #16713]
36338         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
36339         (__glibc_reserved0): New variable.
36340         (sa_flags): Change type to int.
36342         * posix/Makefile (before-compile): Use += before-compile instead
36343         of a :=.
36345         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36346         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
36348 2014-03-20  Andreas Schwab  <schwab@suse.de>
36350         [BZ #16743]
36351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
36352         non-matching result from nscd.
36354 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36356         * scripts/bench.py: Moved to ...
36357         * benchtests/scripts/bench.py: ... here.
36358         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
36360 2014-03-24  Andreas Schwab  <schwab@suse.de>
36362         [BZ #16002]
36363         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
36364         alloca_account and account alloca use for struct in6ailist.
36366 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
36368         [BZ #16284]
36369         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
36370         rounding mode to recompute results that overflow to infinity or
36371         underflow to zero.
36372         * math/auto-libm-test-in: Don't mark tests as expected to fail for
36373         bug 16284.
36374         * math/auto-libm-test-out: Regenerated.
36375         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
36376         (ccosh_test): Likewise.
36377         (csin_test_data): Use plus_oflow.
36378         (csin_test): Use ALL_RM_TEST.
36379         (csinh_test_data): Use plus_oflow.
36380         (csinh_test): Use ALL_RM_TEST.
36381         * sysdeps/i386/fpu/libm-test-ulps: Update.
36382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36384 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
36386         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
36387         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
36388         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
36390         [BZ #16731]
36391         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
36392         when x - 1 is zero.
36393         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
36394         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
36395         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36396         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
36397         argument is 1.
36398         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
36399         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
36400         zero.
36401         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
36402         * sysdeps/i386/fpu/libm-test-ulps: Update.
36403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36407         * scripts/bench.pl: Remove file.
36408         * scripts/bench.py: New benchmark script.
36409         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
36410         * benchtests/README: Mention python dependency.
36411         * scripts/pylintrc: New file.
36412         * scripts/pylint: New file.
36414         * bits/mathdef.h: Use #ifdef instead of #if.
36415         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
36416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36417         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
36418         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36419         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
36420         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
36422 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36423             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36425         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
36426         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
36427         and strpbrk-ppc64 objects.
36428         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36429         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
36430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
36431         multiarch strpbrk for POWER7.
36432         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
36433         multiarch strpbrk for PPC64.
36434         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
36435         ifunc selector.
36436         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
36437         strpbrk for POWER7.
36439 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36441         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
36442         (atan_test): Likewise.
36443         (atanh_test_data): Use NO_TEST_INLINE for two tests.
36444         (atanh_test): Use ALL_RM_TEST.
36445         (atan2_test_data): Likewise.
36446         (cabs_test): Likewise.
36447         (cacosh_test): Likewise.
36448         (carg_test): Likewise.
36449         (casin_test): Likewise.
36450         (casinh_test): Likewise.
36451         (cbrt_test): Likewise.
36452         (csqrt_test): Likewise.
36453         (erf_test): Likewise.
36454         (erfc_test): Likewise.
36455         (pow10_test): Likewise.
36456         (exp2_test): Likewise.
36457         (hypot_test): Likewise.
36458         (j0_test): Likewise.
36459         (j1_test): Likewise.
36460         (lgamma_test): Likewise.
36461         (gamma_test): Likewise.
36462         (sincos_test): Likewise.
36463         (tanh_test): Likewise.
36464         (y0_test): Likewise.
36465         (y1_test): Likewise.
36466         * sysdeps/i386/fpu/libm-test-ulps: Update.
36467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36469 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36471         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
36472         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
36473         and strcspn-ppc64 objects.
36474         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36475         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
36476         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
36477         multiarch strcspn for POWER7.
36478         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
36479         multiarch strcspn for PPC64.
36480         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
36481         ifunc selector.
36482         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
36483         strcspn for POWER7.
36485 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
36487         * math/gen-libm-test.pl (generate_testfile): Expect only function
36488         name as argument to AUTO_TESTS_* and pass results for all rounding
36489         modes to parse_args.
36490         (parse_auto_input): Separate inputs of automatic tests from
36491         outputs before storing in %auto_tests.
36492         * math/libm-test.inc (acos_test_data): Update call to
36493         AUTO_TESTS_f_f.
36494         (acos_test): Use ALL_RM_TEST.
36495         (acos_tonearest_test_data): Remove.
36496         (acos_test_tonearest): Likewise.
36497         (acos_towardzero_test_data): Likewise.
36498         (acos_test_towardzero): Likewise.
36499         (acos_downward_test_data): Likewise.
36500         (acos_test_downward): Likewise.
36501         (acos_upward_test_data): Likewise.
36502         (acos_test_upward): Likewise.
36503         (acosh_test_data): Update call to AUTO_TESTS_f_f.
36504         (asin_test_data): Likewise.
36505         (asin_test): Use ALL_RM_TEST.
36506         (asin_tonearest_test_data): Remove.
36507         (asin_test_tonearest): Likewise.
36508         (asin_towardzero_test_data): Likewise.
36509         (asin_test_towardzero): Likewise.
36510         (asin_downward_test_data): Likewise.
36511         (asin_test_downward): Likewise.
36512         (asin_upward_test_data): Likewise.
36513         (asin_test_upward): Likewise.
36514         (asinh_test_data): Update call to AUTO_TESTS_f_f.
36515         (atan_test_data): Likewise.
36516         (atanh_test_data): Likewise.
36517         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
36518         (cabs_test_data): Update call to AUTO_TESTS_c_f.
36519         (carg_test_data): Likewise.
36520         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
36521         (ccos_test_data): Update call to AUTO_TESTS_c_c.
36522         (ccosh_test_data): Likewise.
36523         (cexp_test_data): Likewise.
36524         (clog_test_data): Likewise.
36525         (clog10_test_data): Likewise.
36526         (cos_test_data): Update call to AUTO_TESTS_f_f.
36527         (cos_test): Use ALL_RM_TEST.
36528         (cos_tonearest_test_data): Remove.
36529         (cos_test_tonearest): Likewise.
36530         (cos_towardzero_test_data): Likewise.
36531         (cos_test_towardzero): Likewise.
36532         (cos_downward_test_data): Likewise.
36533         (cos_test_downward): Likewise.
36534         (cos_upward_test_data): Likewise.
36535         (cos_test_upward): Likewise.
36536         (cosh_test_data): Update call to AUTO_TESTS_f_f.
36537         (cosh_test): Use ALL_RM_TEST.
36538         (cosh_tonearest_test_data): Remove.
36539         (cosh_test_tonearest): Likewise.
36540         (cosh_towardzero_test_data): Likewise.
36541         (cosh_test_towardzero): Likewise.
36542         (cosh_downward_test_data): Likewise.
36543         (cosh_test_downward): Likewise.
36544         (cosh_upward_test_data): Likewise.
36545         (cosh_test_upward): Likewise.
36546         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
36547         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
36548         (ctan_test_data): Likewise.
36549         (ctan_test): Use ALL_RM_TEST.
36550         (ctan_tonearest_test_data): Remove.
36551         (ctan_test_tonearest): Likewise.
36552         (ctan_towardzero_test_data): Likewise.
36553         (ctan_test_towardzero): Likewise.
36554         (ctan_downward_test_data): Likewise.
36555         (ctan_test_downward): Likewise.
36556         (ctan_upward_test_data): Likewise.
36557         (ctan_test_upward): Likewise.
36558         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
36559         (ctanh_test): Use ALL_RM_TEST.
36560         (ctanh_tonearest_test_data): Remove.
36561         (ctanh_test_tonearest): Likewise.
36562         (ctanh_towardzero_test_data): Likewise.
36563         (ctanh_test_towardzero): Likewise.
36564         (ctanh_downward_test_data): Likewise.
36565         (ctanh_test_downward): Likewise.
36566         (ctanh_upward_test_data): Likewise.
36567         (ctanh_test_upward): Likewise.
36568         (erf_test_data): Update call to AUTO_TESTS_f_f.
36569         (erfc_test_data): Likewise.
36570         (exp_test_data): Likewise.
36571         (exp_test): Use ALL_RM_TEST.
36572         (exp_tonearest_test_data): Remove.
36573         (exp_test_tonearest): Likewise.
36574         (exp_towardzero_test_data): Likewise.
36575         (exp_test_towardzero): Likewise.
36576         (exp_downward_test_data): Likewise.
36577         (exp_test_downward): Likewise.
36578         (exp_upward_test_data): Likewise.
36579         (exp_test_upward): Likewise.
36580         (exp10_test_data): Update call to AUTO_TESTS_f_f.
36581         (exp10_test): Use ALL_RM_TEST.
36582         (exp10_tonearest_test_data): Remove.
36583         (exp10_test_tonearest): Likewise.
36584         (exp10_towardzero_test_data): Likewise.
36585         (exp10_test_towardzero): Likewise.
36586         (exp10_downward_test_data): Likewise.
36587         (exp10_test_downward): Likewise.
36588         (exp10_upward_test_data): Likewise.
36589         (exp10_test_upward): Likewise.
36590         (exp2_test_data): Update call to AUTO_TESTS_f_f.
36591         (expm1_test_data): Likewise.
36592         (expm1_test): Use ALL_RM_TEST.
36593         (expm1_tonearest_test_data): Remove.
36594         (expm1_test_tonearest): Likewise.
36595         (expm1_towardzero_test_data): Likewise.
36596         (expm1_test_towardzero): Likewise.
36597         (expm1_downward_test_data): Likewise.
36598         (expm1_test_downward): Likewise.
36599         (expm1_upward_test_data): Likewise.
36600         (expm1_test_upward): Likewise.
36601         (fma_test_data): Update call to AUTO_TESTS_fff_f.
36602         (fma_test): Use ALL_RM_TEST.
36603         (fma_towardzero_test_data): Remove.
36604         (fma_test_towardzero): Likewise.
36605         (fma_downward_test_data): Likewise.
36606         (fma_test_downward): Likewise.
36607         (fma_upward_test_data): Likewise.
36608         (fma_test_upward): Likewise.
36609         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
36610         (j0_test_data): Update call to AUTO_TESTS_f_f.
36611         (j1_test_data): Likewise.
36612         (jn_test_data): Update call to AUTO_TESTS_if_f.
36613         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
36614         (log_test_data): Update call to AUTO_TESTS_f_f.
36615         (log10_test_data): Likewise.
36616         (log1p_test_data): Likewise.
36617         (log2_test_data): Likewise.
36618         (pow_test_data): Update call to AUTO_TESTS_ff_f.
36619         (pow_tonearest_test_data): Likewise.
36620         (sin_test_data): Update call to AUTO_TESTS_f_f.
36621         (sin_test): Use ALL_RM_TEST.
36622         (sin_tonearest_test_data): Remove.
36623         (sin_test_tonearest): Likewise.
36624         (sin_towardzero_test_data): Likewise.
36625         (sin_test_towardzero): Likewise.
36626         (sin_downward_test_data): Likewise.
36627         (sin_test_downward): Likewise.
36628         (sin_upward_test_data): Likewise.
36629         (sin_test_upward): Likewise.
36630         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
36631         (sinh_test_data): Update call to AUTO_TESTS_f_f.
36632         (sinh_test): Use ALL_RM_TEST.
36633         (sinh_tonearest_test_data): Remove.
36634         (sinh_test_tonearest): Likewise.
36635         (sinh_towardzero_test_data): Likewise.
36636         (sinh_test_towardzero): Likewise.
36637         (sinh_downward_test_data): Likewise.
36638         (sinh_test_downward): Likewise.
36639         (sinh_upward_test_data): Likewise.
36640         (sinh_test_upward): Likewise.
36641         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
36642         (sqrt_test): Use ALL_RM_TEST.
36643         (sqrt_tonearest_test_data): Remove.
36644         (sqrt_test_tonearest): Likewise.
36645         (sqrt_towardzero_test_data): Likewise.
36646         (sqrt_test_towardzero): Likewise.
36647         (sqrt_downward_test_data): Likewise.
36648         (sqrt_test_downward): Likewise.
36649         (sqrt_upward_test_data): Likewise.
36650         (sqrt_test_upward): Likewise.
36651         (tan_test_data): Update call to AUTO_TESTS_f_f.
36652         (tan_test): Use ALL_RM_TEST.
36653         (tan_tonearest_test_data): Remove.
36654         (tan_test_tonearest): Likewise.
36655         (tan_towardzero_test_data): Likewise.
36656         (tan_test_towardzero): Likewise.
36657         (tan_downward_test_data): Likewise.
36658         (tan_test_downward): Likewise.
36659         (tan_upward_test_data): Likewise.
36660         (tan_test_upward): Likewise.
36661         (tanh_test_data): Update call to AUTO_TESTS_f_f.
36662         (tgamma_test_data): Likewise.
36663         (y0_test_data): Likewise.
36664         (y1_test_data): Likewise.
36665         (yn_test_data): Update call to AUTO_TESTS_if_f.
36666         (main): Do not call removed functions.
36668 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36670         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
36671         (ldexp_test_data): Remove.
36672         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
36673         scalbn_test_data.
36674         (scalb_test): Use ALL_RM_TEST.
36676 2014-03-19  Andreas Schwab  <schwab@suse.de>
36678         * nscd/nscd.service: Also invalidate netgroup cache on reload.
36680 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
36682         [BZ #16649]
36683         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
36684         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
36685         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
36686         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36687         (__ASSUME_PREADV): Undefine.
36688         (__ASSUME_PWRITEV): Likewise.
36690 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36692         * bits/mman-linux.h: Add comment about non-Linux use.
36693         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
36694         bits/mman-linux.h resting place.
36696         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
36697         * bits/mman-linux.h: ... here.
36699 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36701         * conform/conformtest.pl: Add standard definition when calling C
36702         preprocessor on data files.
36703         (checknamespace): Remove unused variable.
36705 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36707         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
36708         minus_oflow, plus_uflow and minus_uflow in expected results.
36709         * math/libm-test.inc (scalbn_test_data): Add more tests of
36710         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
36711         minus_uflow.
36712         (scalbn_test): Use ALL_RM_TEST.
36713         (scalbln_test_data): Add more tests of negative arguments.  Use
36714         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
36715         (scalbln_test): Use ALL_RM_TEST.
36717 2014-03-18  Roland McGrath  <roland@hack.frob.com>
36719         * scripts/abilist.awk: Ignore symbols marked with .hidden.
36721 2014-03-18  Will Newton  <will.newton@linaro.org>
36723         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
36724         inaccurate comment.
36726 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
36728         * Makerules [!subdir] (check-abi): Exit with error status if a
36729         test failed.
36731 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36733         * math/libm-test.inc (nearbyint_test_data): Include all tests used
36734         for rint.  Include results for all rounding modes.
36735         (nearbyint_test): Use ALL_RM_TEST.
36736         (rint_test_data): Include all tests used for nearbyint.
36738 2014-03-17  Will Newton  <will.newton@linaro.org>
36740         * nptl/sysdeps/pthread/pthread.h: Revert previous
36741         change.
36743         * sysdeps/generic/ldsodefs.h: Revert previous
36744         change.
36746         * libio/genops.c: Revert previous change.
36747         * libio/libioP.h: Likewise.
36748         * stdio-common/vfprintf.c: Likewise.
36750         * sysdeps/generic/math_private.h: Revert previous
36751         change.
36753         * sysdeps/generic/math_private.h: Check whether
36754         HAVE_RM_CTX is defined with #ifdef rather
36755         than #if.
36757         * argp/argp-fmtstream.h: Check whether
36758         __STRICT_ANSI__ is defined with #ifdef rather
36759         than #if.
36760         * argp/argp.h: Likewise.
36762         * libio/genops.c: Check whether
36763         _IO_JUMPS_OFFSET is defined with #ifdef rather
36764         than #if.
36765         * libio/libioP.h: Likewise.
36766         * stdio-common/vfprintf.c: Likewise.
36768         * sysdeps/generic/ldsodefs.h: Check whether
36769         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
36770         than #if.
36772         * nptl/sysdeps/pthread/pthread.h: Check
36773         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
36774         its value.
36776 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36778         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
36779         setting O_APPEND.
36780         * libio/tst-ftell-active-handler.c (do_append_test): Add a
36781         test case.
36783         [BZ #16680]
36784         * libio/fileops.c (_IO_file_open): Seek to end of file but
36785         don't cache the offset.
36786         (get_file_offset): Remove function.
36787         (do_ftell): Use cached offset when available.
36788         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
36789         don't cache the offset.
36790         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
36791         case.
36792         (do_one_test): Call it.
36793         (do_ftell_test): Fix up expected old offset for a+ mode.
36794         * libio/wfileops.c (do_ftell_wide): Used cached offset when
36795         available.
36797         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
36798         up test status with function return status.
36799         (do_write_test): Likewise.
36800         (do_append_test): Likewise.
36802         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
36803         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
36804         Remove.
36806 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
36808         * math/gen-libm-test.pl (parse_args): Handle results specified for
36809         each rounding mode separately.
36810         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
36811         tests and results from lrint_tonearest_test_data,
36812         lrint_towardzero_test_data, lrint_downward_test_data and
36813         lrint_upward_test_data.
36814         (lrint_test): Use ALL_RM_TEST.
36815         (lrint_tonearest_test_data): Remove.
36816         (lrint_test_tonearest): Likewise.
36817         (lrint_towardzero_test_data): Likewise.
36818         (lrint_test_towardzero): Likewise.
36819         (lrint_downward_test_data): Likewise.
36820         (lrint_test_downward): Likewise.
36821         (lrint_upward_test_data): Likewise.
36822         (lrint_test_upward): Likewise.
36823         (llrint_test_data): Merge in per-rounding-mode tests and results
36824         from llrint_tonearest_test_data, llrint_towardzero_test_data,
36825         llrint_downward_test_data and llrint_upward_test_data.
36826         (llrint_test): Use ALL_RM_TEST.
36827         (llrint_tonearest_test_data): Remove.
36828         (llrint_test_tonearest): Likewise.
36829         (llrint_towardzero_test_data): Likewise.
36830         (llrint_test_towardzero): Likewise.
36831         (llrint_downward_test_data): Likewise.
36832         (llrint_test_downward): Likewise.
36833         (llrint_upward_test_data): Likewise.
36834         (llrint_test_upward): Likewise.
36835         (rint_test_data): Merge in per-rounding-mode tests and results
36836         from rint_tonearest_test_data, rint_towardzero_test_data,
36837         rint_downward_test_data and rint_upward_test_data.  Add
36838         per-rounding-mode results for tests not in those arrays.
36839         (rint_test): Use ALL_RM_TEST.
36840         (rint_tonearest_test_data): Remove.
36841         (rint_test_tonearest): Likewise.
36842         (rint_towardzero_test_data): Likewise.
36843         (rint_test_towardzero): Likewise.
36844         (rint_downward_test_data): Likewise.
36845         (rint_test_downward): Likewise.
36846         (rint_upward_test_data): Likewise.
36847         (rint_test_upward): Likewise.
36848         (main): Don't call removed functions.
36850 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36852         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
36853         "Compiled on ..." crapola.  It is anti-useful.
36855 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
36857         * scripts/evaluate-test.sh: Handle fourth argument to determine
36858         whether test run should stop on failure.
36859         * Makeconfig (stop-on-test-failure): New variable.
36860         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
36861         $(stop-on-test-failure).
36862         * Makefile (tests): Give a summary of results from testing and
36863         exit with failure status if they include an ERROR or FAIL.
36864         (xtests): Likewise.
36865         * manual/install.texi (Configuring and compiling): Mention
36866         stop-on-test-failure=y.
36867         * INSTALL: Regenerated.
36869 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36871         * scripts/versionlist.awk: New file.
36872         * Makerules [$(build-shared) = yes]
36873         (postclean-generated): Add Versions.def, not Versions.def.v and
36874         Versions.def.v.i.
36875         ($(common-objpfx)Versions.def.v.i): Target removed.
36876         ($(common-objpfx)Versions.def): New target.
36877         ($(common-objpfx)Versions.all): Depend on that rather that
36878         $(common-objpfx)Versions.def.v.
36879         * Versions.def: File removed.
36881         * Makeconfig (+gccwarn): Add -Wundef.
36882         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
36883         a dl-sysdep.h breaking its contract.
36884         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
36885         * include/stackinfo.h: New file.
36886         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
36887         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
36888         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
36889         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
36890         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
36891         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
36892         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36893         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36894         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36895         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36896         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36897         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
36898         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36899         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36900         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
36902 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36904         [BZ #16707]
36905         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
36906         implementation.
36907         * math/libm-test.inc (round_test_data): Add more tests.
36909         [BZ #16706]
36910         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
36911         implementation.
36912         * math/libm-test.inc (nearbyint_test_data): Add more tests.
36914         [BZ #16701]
36915         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
36916         implementation.
36917         * math/libm-test.inc (ceil_test_data): Add more tests.
36919         * math/libm-test.inc (trunc_test_data): Add more tests related to
36920         BZ#16414.
36922 2014-03-14  Roland McGrath  <roland@hack.frob.com>
36924         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
36925         with #if rather than #ifdef.
36926         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
36928 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
36930         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
36931         first.  Disable AVX-512 GCC support if assembler doesn't support
36932         it.
36933         * sysdeps/x86_64/configure: Regenerated.
36935 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
36937         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
36938         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
36939         (__old_pthread_attr_setstack): Likewise.
36940         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
36941         [!_STACK_GROWS_DOWN]: Likewise.
36943 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
36945         * config.make.in (have-bash2): Delete.
36946         * configure.ac (libc_cv_have_bash2): Delete.
36947         * configure: Regenerate.
36948         * elf/Makefile (common-ldd-rewrite): Rename to ...
36949         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
36950         (sh-ldd-rewrite): Delete.
36951         (bash-ldd-rewrite): Delete.
36952         (have-bash2): Delete checks.
36953         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
36954         ldd-rewrite.
36956         * config.make.in (have-ksh): Delete.
36957         (KSH): Delete.
36958         * configure.ac (libc_cv_have_ksh): Delete.
36959         * configure: Regenerate.
36961         * elf/Makefile: Delete $(have-ksh) check.
36962         ($(objpfx)sotruss): Change KSH to BASH.
36963         * elf/sotruss.ksh: Rename to ...
36964         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
36965         function style to match POSIX.  Drop ksh vim mode setting.
36967         * manual/time.texi (Specifying the Time Zone with TZ): Change
36968         Tuesday to Thursday.
36970         * debug/tst-longjmp_chk2.c: Update header comment.
36971         (stackoverflow_handler): Add comment.  Call assert on pass value.
36973 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
36975         [BZ #16194]
36976         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
36977         (HAVE_AVX512_ASM_SUPPORT): Likewise.
36978         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
36979         (La_x86_64_vector): Add zmm.
36980         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
36981         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
36982         ($(objpfx)tst-audit10): New target.
36983         ($(objpfx)tst-audit10.out): Likewise.
36984         (tst-audit10-ENV): New.
36985         (AVX512-CFLAGS): Likewise.
36986         (CFLAGS-tst-audit10.c): Likewise.
36987         (CFLAGS-tst-auditmod10a.c): Likewise.
36988         (CFLAGS-tst-auditmod10b.c): Likewise.
36989         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
36990         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
36991         * sysdeps/x86_64/configure: Regenerated.
36992         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
36993         AVX-512 zmm register support.
36994         (_dl_x86_64_save_sse): Likewise.
36995         (_dl_x86_64_restore_sse): Likewise.
36996         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
36997         size vector registers.
36998         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
36999         (ZMM_SIZE): Likewise.
37000         * sysdeps/x86_64/tst-audit10.c: New file.
37001         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37002         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37004 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37006         * configure.ac (HAVE_EHDR_START): New check.
37007         * configure: Regenerated.
37008         * config.h.in (HAVE_EHDR_START): New #undef.
37009         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37010         assuming the lowest-addressed segment maps the start of the file.
37012 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37014         * INSTALL: Regenerated.
37016 2014-03-13  Will Newton  <will.newton@linaro.org>
37018         * manual/setjmp.texi (System V contexts): Improve
37019         clarity and grammar of documentation.
37021 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37023         [BZ #16381]
37024         * elf/Makefile (tests): Add tst-pie2.
37025         (tests-pie): Add tst-pie2.
37026         * elf/tst-pie2.c: New file.
37027         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37028         for ET_EXEC.
37029         * elf/rtld.c (map_doit): Load executable as lt_executable.
37030         (dl_main): Likewise.
37032 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37034         [BZ #16642]
37035         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37036         (__ASSUME_PSELECT): Undefine.
37038 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37040         [BZ #16689]
37041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37042         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37043         static build.
37044         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37045         selector for static builds.
37047 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37049         [BZ #16695]
37050         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37051         key in the buffer.
37053 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37055         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37056         IFUNC selector for static builds.
37058 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37060         * sysdeps/mips/math_private.h [__mips_hard_float]
37061         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37062         libc_feresetround_mips_ctx.
37063         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37064         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37065         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37067         [BZ #16677]
37068         * math/s_nextafter.c (__nextafter): Do not return value from
37069         overflowing computation.
37070         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37071         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37072         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37073         Likewise.
37074         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37075         Likewise.
37076         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37077         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37079 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37081         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37082         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37083         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37084         the new mov targetting sp.
37086 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37088         [BZ #16683]
37089         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37090         Define it for static builds as well.
37091         (NO_BZERO_IMPL): Likewise.
37093 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37095         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37096         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37097         multiarch strspn for PPC64.
37098         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37099         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37101         (__libc_ifunc_impl_list): Likewise.
37102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37103         multiarch optimizations
37104         * string/strspn.c (strspn): Using macro to redefine symbol name.
37106 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37107             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37109         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37110         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37111         multiarch strncat for PPC64.
37112         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37113         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37114         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37115         (__libc_ifunc_impl_list): Likewise.
37116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37117         multiarch optimizations
37119 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37121         [BZ #16639]
37122         * nscd/nscd.service: Make service type forking.
37124 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37126         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37127         sign in non default rounding modes.
37128         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37130 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37132         * math/libm-test.inc (ALL_RM_TEST): New macro.
37133         (ceil_test): Use ALL_RM_TEST.
37134         (cimag_test): Likewise.
37135         (conj_test): Likewise.
37136         (copysign_test): Likewise.
37137         (cproj_test): Likewise.
37138         (creal_test): Likewise.
37139         (fabs_test): Likewise.
37140         (floor_test): Likewise.
37141         (fmax_test): Likewise.
37142         (fmin_test): Likewise.
37143         (fmod_test): Likewise.
37144         (fpclassify_test): Likewise.
37145         (frexp_test): Likewise.
37146         (ilogb_test): Likewise.
37147         (isfinite_test): Likewise.
37148         (finite_test): Likewise.
37149         (isgreater_test): Likewise.
37150         (isgreaterequal_test): Likewise.
37151         (isinf_test): Likewise.
37152         (isless_test): Likewise.
37153         (islessequal_test): Likewise.
37154         (islessgreater_test): Likewise.
37155         (isnan_test): Likewise.
37156         (isnormal_test): Likewise.
37157         (issignaling_test): Likewise.
37158         (isunordered_test): Likewise.
37159         (logb_test): Likewise.
37160         (logb_downward_test_data): Remove.
37161         (logb_test_downward): Likewise.
37162         (lround_test): Use ALL_RM_TEST.
37163         (llround_test): Likewise.
37164         (modf_test): Likewise.
37165         (nexttoward_test): Likewise.
37166         (remainder_test): Likewise.
37167         (drem_test): Likewise.
37168         (remainder_tonearest_test_data): Likewise.
37169         (remainder_test_tonearest): Likewise.
37170         (drem_test_tonearest): Likewise.
37171         (remainder_towardzero_test_data): Likewise.
37172         (remainder_test_towardzero): Likewise.
37173         (drem_test_towardzero): Likewise.
37174         (remainder_downward_test_data): Likewise.
37175         (remainder_test_downward): Likewise.
37176         (drem_test_downward): Likewise.
37177         (remainder_upward_test_data): Likewise.
37178         (remainder_test_upward): Likewise.
37179         (drem_test_upward): Likewise.
37180         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
37181         (round_test): Use ALL_RM_TEST.
37182         (signbit_test): Likewise.
37183         (trunc_test): Likewise.
37184         (significand_test): Likewise.
37185         (main): Don't call removed functions.
37187 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37189         [BZ #16674]
37190         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
37191         || __USE_XOPEN2K8].
37192         (ILL_ILLOPN): Likewise.
37193         (ILL_ILLADR): Likewise.
37194         (ILL_ILLTRP): Likewise.
37195         (ILL_PRVOPC): Likewise.
37196         (ILL_PRVREG): Likewise.
37197         (ILL_COPROC): Likewise.
37198         (ILL_BADSTK): Likewise.
37199         (FPE_INTDIV): Likewise.
37200         (FPE_INTOVF): Likewise.
37201         (FPE_FLTDIV): Likewise.
37202         (FPE_FLTOVF): Likewise.
37203         (FPE_FLTUND): Likewise.
37204         (FPE_FLTRES): Likewise.
37205         (FPE_FLTINV): Likewise.
37206         (FPE_FLTSUB): Likewise.
37207         (SEGV_MAPERR): Likewise.
37208         (SEGV_ACCERR): Likewise.
37209         (BUS_ADRALN): Likewise.
37210         (BUS_ADRERR): Likewise.
37211         (BUS_OBJERR): Likewise.
37212         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37213         (TRAP_TRACE): Likewise.
37214         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37215         __USE_XOPEN2K8].
37216         (CLD_KILLED): Likewise.
37217         (CLD_DUMPED): Likewise.
37218         (CLD_TRAPPED): Likewise.
37219         (CLD_STOPPED): Likewise.
37220         (CLD_CONTINUED): Likewise.
37221         (POLL_IN): Likewise.
37222         (POLL_OUT): Likewise.
37223         (POLL_MSG): Likewise.
37224         (POLL_ERR): Likewise.
37225         (POLL_PRI): Likewise.
37226         (POLL_HUP): Likewise.
37227         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
37228         Likewise.
37229         (ILL_ILLOPN): Likewise.
37230         (ILL_ILLADR): Likewise.
37231         (ILL_ILLTRP): Likewise.
37232         (ILL_PRVOPC): Likewise.
37233         (ILL_PRVREG): Likewise.
37234         (ILL_COPROC): Likewise.
37235         (ILL_BADSTK): Likewise.
37236         (FPE_INTDIV): Likewise.
37237         (FPE_INTOVF): Likewise.
37238         (FPE_FLTDIV): Likewise.
37239         (FPE_FLTOVF): Likewise.
37240         (FPE_FLTUND): Likewise.
37241         (FPE_FLTRES): Likewise.
37242         (FPE_FLTINV): Likewise.
37243         (FPE_FLTSUB): Likewise.
37244         (SEGV_MAPERR): Likewise.
37245         (SEGV_ACCERR): Likewise.
37246         (BUS_ADRALN): Likewise.
37247         (BUS_ADRERR): Likewise.
37248         (BUS_OBJERR): Likewise.
37249         (BUS_MCEERR_AR): Likewise.
37250         (BUS_MCEERR_AO): Likewise.
37251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37252         (TRAP_TRACE): Likewise.
37253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37254         __USE_XOPEN2K8].
37255         (CLD_KILLED): Likewise.
37256         (CLD_DUMPED): Likewise.
37257         (CLD_TRAPPED): Likewise.
37258         (CLD_STOPPED): Likewise.
37259         (CLD_CONTINUED): Likewise.
37260         (POLL_IN): Likewise.
37261         (POLL_OUT): Likewise.
37262         (POLL_MSG): Likewise.
37263         (POLL_ERR): Likewise.
37264         (POLL_PRI): Likewise.
37265         (POLL_HUP): Likewise.
37266         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
37267         (ILL_ILLOPN): Likewise.
37268         (ILL_ILLADR): Likewise.
37269         (ILL_ILLTRP): Likewise.
37270         (ILL_PRVOPC): Likewise.
37271         (ILL_PRVREG): Likewise.
37272         (ILL_COPROC): Likewise.
37273         (ILL_BADSTK): Likewise.
37274         (FPE_INTDIV): Likewise.
37275         (FPE_INTOVF): Likewise.
37276         (FPE_FLTDIV): Likewise.
37277         (FPE_FLTOVF): Likewise.
37278         (FPE_FLTUND): Likewise.
37279         (FPE_FLTRES): Likewise.
37280         (FPE_FLTINV): Likewise.
37281         (FPE_FLTSUB): Likewise.
37282         (SEGV_MAPERR): Likewise.
37283         (SEGV_ACCERR): Likewise.
37284         (BUS_ADRALN): Likewise.
37285         (BUS_ADRERR): Likewise.
37286         (BUS_OBJERR): Likewise.
37287         (BUS_MCEERR_AR): Likewise.
37288         (BUS_MCEERR_AO): Likewise.
37289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37290         (TRAP_TRACE): Likewise.
37291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37292         __USE_XOPEN2K8].
37293         (CLD_KILLED): Likewise.
37294         (CLD_DUMPED): Likewise.
37295         (CLD_TRAPPED): Likewise.
37296         (CLD_STOPPED): Likewise.
37297         (CLD_CONTINUED): Likewise.
37298         (POLL_IN): Likewise.
37299         (POLL_OUT): Likewise.
37300         (POLL_MSG): Likewise.
37301         (POLL_ERR): Likewise.
37302         (POLL_PRI): Likewise.
37303         (POLL_HUP): Likewise.
37304         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
37305         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         (ILL_BADIADDR): Likewise.
37314         (ILL_BREAK): Likewise.
37315         (FPE_INTDIV): Likewise.
37316         (FPE_INTOVF): Likewise.
37317         (FPE_FLTDIV): Likewise.
37318         (FPE_FLTOVF): Likewise.
37319         (FPE_FLTUND): Likewise.
37320         (FPE_FLTRES): Likewise.
37321         (FPE_FLTINV): Likewise.
37322         (FPE_FLTSUB): Likewise.
37323         (FPE_DECOVF): Likewise.
37324         (FPE_DECDIV): Likewise.
37325         (FPE_DECERR): Likewise.
37326         (FPE_INVASC): Likewise.
37327         (FPE_INVDEC): Likewise.
37328         (SEGV_MAPERR): Likewise.
37329         (SEGV_ACCERR): Likewise.
37330         (SEGV_PSTKOVF): Likewise.
37331         (BUS_ADRALN): Likewise.
37332         (BUS_ADRERR): Likewise.
37333         (BUS_OBJERR): Likewise.
37334         (BUS_MCEERR_AR): Likewise.
37335         (BUS_MCEERR_AO): Likewise.
37336         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37337         (TRAP_TRACE): Likewise.
37338         (TRAP_BRANCH): Likewise.
37339         (TRAP_HWBKPT): Likewise.
37340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37341         __USE_XOPEN2K8].
37342         (CLD_KILLED): Likewise.
37343         (CLD_DUMPED): Likewise.
37344         (CLD_TRAPPED): Likewise.
37345         (CLD_STOPPED): Likewise.
37346         (CLD_CONTINUED): Likewise.
37347         (POLL_IN): Likewise.
37348         (POLL_OUT): Likewise.
37349         (POLL_MSG): Likewise.
37350         (POLL_ERR): Likewise.
37351         (POLL_PRI): Likewise.
37352         (POLL_HUP): Likewise.
37353         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
37354         (ILL_ILLOPN): Likewise.
37355         (ILL_ILLADR): Likewise.
37356         (ILL_ILLTRP): Likewise.
37357         (ILL_PRVOPC): Likewise.
37358         (ILL_PRVREG): Likewise.
37359         (ILL_COPROC): Likewise.
37360         (ILL_BADSTK): Likewise.
37361         (FPE_INTDIV): Likewise.
37362         (FPE_INTOVF): Likewise.
37363         (FPE_FLTDIV): Likewise.
37364         (FPE_FLTOVF): Likewise.
37365         (FPE_FLTUND): Likewise.
37366         (FPE_FLTRES): Likewise.
37367         (FPE_FLTINV): Likewise.
37368         (FPE_FLTSUB): Likewise.
37369         (SEGV_MAPERR): Likewise.
37370         (SEGV_ACCERR): Likewise.
37371         (BUS_ADRALN): Likewise.
37372         (BUS_ADRERR): Likewise.
37373         (BUS_OBJERR): Likewise.
37374         (BUS_MCEERR_AR): Likewise.
37375         (BUS_MCEERR_AO): Likewise.
37376         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37377         (TRAP_TRACE): Likewise.
37378         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37379         __USE_XOPEN2K8].
37380         (CLD_KILLED): Likewise.
37381         (CLD_DUMPED): Likewise.
37382         (CLD_TRAPPED): Likewise.
37383         (CLD_STOPPED): Likewise.
37384         (CLD_CONTINUED): Likewise.
37385         (POLL_IN): Likewise.
37386         (POLL_OUT): Likewise.
37387         (POLL_MSG): Likewise.
37388         (POLL_ERR): Likewise.
37389         (POLL_PRI): Likewise.
37390         (POLL_HUP): Likewise.
37391         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
37392         (ILL_ILLOPN): Likewise.
37393         (ILL_ILLADR): Likewise.
37394         (ILL_ILLTRP): Likewise.
37395         (ILL_PRVOPC): Likewise.
37396         (ILL_PRVREG): Likewise.
37397         (ILL_COPROC): Likewise.
37398         (ILL_BADSTK): Likewise.
37399         (FPE_INTDIV): Likewise.
37400         (FPE_INTOVF): Likewise.
37401         (FPE_FLTDIV): Likewise.
37402         (FPE_FLTOVF): Likewise.
37403         (FPE_FLTUND): Likewise.
37404         (FPE_FLTRES): Likewise.
37405         (FPE_FLTINV): Likewise.
37406         (FPE_FLTSUB): Likewise.
37407         (SEGV_MAPERR): Likewise.
37408         (SEGV_ACCERR): Likewise.
37409         (BUS_ADRALN): Likewise.
37410         (BUS_ADRERR): Likewise.
37411         (BUS_OBJERR): Likewise.
37412         (BUS_MCEERR_AR): Likewise.
37413         (BUS_MCEERR_AO): Likewise.
37414         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37415         (TRAP_TRACE): Likewise.
37416         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37417         __USE_XOPEN2K8].
37418         (CLD_KILLED): Likewise.
37419         (CLD_DUMPED): Likewise.
37420         (CLD_TRAPPED): Likewise.
37421         (CLD_STOPPED): Likewise.
37422         (CLD_CONTINUED): Likewise.
37423         (POLL_IN): Likewise.
37424         (POLL_OUT): Likewise.
37425         (POLL_MSG): Likewise.
37426         (POLL_ERR): Likewise.
37427         (POLL_PRI): Likewise.
37428         (POLL_HUP): Likewise.
37429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
37430         (ILL_ILLOPN): Likewise.
37431         (ILL_ILLADR): Likewise.
37432         (ILL_ILLTRP): Likewise.
37433         (ILL_PRVOPC): Likewise.
37434         (ILL_PRVREG): Likewise.
37435         (ILL_COPROC): Likewise.
37436         (ILL_BADSTK): Likewise.
37437         (FPE_INTDIV): Likewise.
37438         (FPE_INTOVF): Likewise.
37439         (FPE_FLTDIV): Likewise.
37440         (FPE_FLTOVF): Likewise.
37441         (FPE_FLTUND): Likewise.
37442         (FPE_FLTRES): Likewise.
37443         (FPE_FLTINV): Likewise.
37444         (FPE_FLTSUB): Likewise.
37445         (SEGV_MAPERR): Likewise.
37446         (SEGV_ACCERR): Likewise.
37447         (BUS_ADRALN): Likewise.
37448         (BUS_ADRERR): Likewise.
37449         (BUS_OBJERR): Likewise.
37450         (BUS_MCEERR_AR): Likewise.
37451         (BUS_MCEERR_AO): Likewise.
37452         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37453         (TRAP_TRACE): Likewise.
37454         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37455         __USE_XOPEN2K8].
37456         (CLD_KILLED): Likewise.
37457         (CLD_DUMPED): Likewise.
37458         (CLD_TRAPPED): Likewise.
37459         (CLD_STOPPED): Likewise.
37460         (CLD_CONTINUED): Likewise.
37461         (POLL_IN): Likewise.
37462         (POLL_OUT): Likewise.
37463         (POLL_MSG): Likewise.
37464         (POLL_ERR): Likewise.
37465         (POLL_PRI): Likewise.
37466         (POLL_HUP): Likewise.
37467         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
37468         (ILL_ILLOPN): Likewise.
37469         (ILL_ILLADR): Likewise.
37470         (ILL_ILLTRP): Likewise.
37471         (ILL_PRVOPC): Likewise.
37472         (ILL_PRVREG): Likewise.
37473         (ILL_COPROC): Likewise.
37474         (ILL_BADSTK): Likewise.
37475         (ILL_DBLFLT): Likewise.
37476         (ILL_HARDWALL): Likewise.
37477         (FPE_INTDIV): Likewise.
37478         (FPE_INTOVF): Likewise.
37479         (FPE_FLTDIV): Likewise.
37480         (FPE_FLTOVF): Likewise.
37481         (FPE_FLTUND): Likewise.
37482         (FPE_FLTRES): Likewise.
37483         (FPE_FLTINV): Likewise.
37484         (FPE_FLTSUB): Likewise.
37485         (SEGV_MAPERR): Likewise.
37486         (SEGV_ACCERR): Likewise.
37487         (BUS_ADRALN): Likewise.
37488         (BUS_ADRERR): Likewise.
37489         (BUS_OBJERR): Likewise.
37490         (BUS_MCEERR_AR): Likewise.
37491         (BUS_MCEERR_AO): Likewise.
37492         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37493         (TRAP_TRACE): Likewise.
37494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37495         __USE_XOPEN2K8].
37496         (CLD_KILLED): Likewise.
37497         (CLD_DUMPED): Likewise.
37498         (CLD_TRAPPED): Likewise.
37499         (CLD_STOPPED): Likewise.
37500         (CLD_CONTINUED): Likewise.
37501         (POLL_IN): Likewise.
37502         (POLL_OUT): Likewise.
37503         (POLL_MSG): Likewise.
37504         (POLL_ERR): Likewise.
37505         (POLL_PRI): Likewise.
37506         (POLL_HUP): Likewise.
37507         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
37508         (ILL_ILLOPN): Likewise.
37509         (ILL_ILLADR): Likewise.
37510         (ILL_ILLTRP): Likewise.
37511         (ILL_PRVOPC): Likewise.
37512         (ILL_PRVREG): Likewise.
37513         (ILL_COPROC): Likewise.
37514         (ILL_BADSTK): Likewise.
37515         (FPE_INTDIV): Likewise.
37516         (FPE_INTOVF): Likewise.
37517         (FPE_FLTDIV): Likewise.
37518         (FPE_FLTOVF): Likewise.
37519         (FPE_FLTUND): Likewise.
37520         (FPE_FLTRES): Likewise.
37521         (FPE_FLTINV): Likewise.
37522         (FPE_FLTSUB): Likewise.
37523         (SEGV_MAPERR): Likewise.
37524         (SEGV_ACCERR): Likewise.
37525         (BUS_ADRALN): Likewise.
37526         (BUS_ADRERR): Likewise.
37527         (BUS_OBJERR): Likewise.
37528         (BUS_MCEERR_AR): Likewise.
37529         (BUS_MCEERR_AO): Likewise.
37530         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
37531         (TRAP_TRACE): Likewise.
37532         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
37533         __USE_XOPEN2K8].
37534         (CLD_KILLED): Likewise.
37535         (CLD_DUMPED): Likewise.
37536         (CLD_TRAPPED): Likewise.
37537         (CLD_STOPPED): Likewise.
37538         (CLD_CONTINUED): Likewise.
37539         (POLL_IN): Likewise.
37540         (POLL_OUT): Likewise.
37541         (POLL_MSG): Likewise.
37542         (POLL_ERR): Likewise.
37543         (POLL_PRI): Likewise.
37544         (POLL_HUP): Likewise.
37545         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
37546         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37548         [BZ #16670]
37549         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
37550         before #include of <time.h>.
37551         [!__USE_XOPEN2K] (__need_timespec): Likewise.
37552         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
37553         (test-xfail-UNIX98/sched.h/conform): Likewise.
37555 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37557         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
37558         error absence of trapping exception support.
37559         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
37561 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
37563         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
37564         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
37565         * timezone/Makefile (testdata): Move definition above include of
37566         Rules.
37567         (test-zones): New variable.
37568         (tests-special): Add zone files.
37569         (build-testdata): Use $(evaluate-test).
37571         * elf/Makefile (tests-special): Rename tests to end with .out.
37572         ($(objpfx)noload-mem): Likewise.
37573         ($(objpfx)tst-leaks1-mem): Likewise.
37574         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
37575         * iconv/Makefile (xtests-special): Change test-iconvconfig to
37576         $(objpfx)test-iconvconfig.out.
37577         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
37578         set -e inside subshell and redirect output to file.
37579         * iconvdata/Makefile (generated): Rename tests to end with .out.
37580         Correct type.
37581         (tests-special): Rename tests to end with .out.
37582         ($(objpfx)mtrace-tst-loading): Likewise.
37583         * intl/Makefile (generated): Likewise.
37584         (tests-special): Likewise.
37585         ($(objpfx)mtrace-tst-gettext): Likewise.
37586         * misc/Makefile (generated): Likewise.
37587         (tests-special): Likewise.
37588         ($(objpfx)tst-error1-mem): Likewise.
37589         * nptl/Makefile (tests-special): Likewise.
37590         ($(objpfx)tst-stack3-mem): Likewise.
37591         (generated): Likewise.
37592         * posix/Makefile (generated): Likewise.
37593         (tests-special): Likewise.
37594         (xtests-special): Likewise.
37595         ($(objpfx)tst-fnmatch-mem): Likewise.
37596         ($(objpfx)bug-regex2-mem): Likewise.
37597         ($(objpfx)bug-regex14-mem): Likewise.
37598         ($(objpfx)bug-regex21-mem): Likewise.
37599         ($(objpfx)bug-regex31-mem): Likewise.
37600         ($(objpfx)tst-vfork3-mem): Likewise.
37601         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
37602         ($(objpfx)tst-pcre-mem): Likewise.
37603         ($(objpfx)tst-boost-mem): Likewise.
37604         ($(objpfx)bug-ga2-mem): Likewise.
37605         ($(objpfx)bug-glob2-mem): Likewise.
37606         * resolv/Makefile (generate): Likewise.
37607         (tests-special): Likewise.
37608         (xtests-special): Likewise.
37609         (generated): Likewise.
37610         ($(objpfx)mtrace-tst-leaks): Likewise.
37611         ($(objpfx)mtrace-tst-leaks2): Likewise.
37613         * scripts/merge-test-results.sh: New file.
37614         * Makefile (tests-special-notdir): New variable.
37615         (tests): Run merge-test-results.sh.
37616         (xtests): Likewise.
37617         * Rules (tests-special-notdir): New variable.
37618         (xtests-special-notdir): Likewise.
37619         (tests): Run merge-test-results.sh
37620         (xtests): Likewise.
37622         * Makeconfig (test-xfail-name): New variable.
37623         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
37624         compute variable name for expected failures.
37625         * conform/Makefile (conformtest-headers-data): New variable.
37626         (conformtest-standards): Likewise.
37627         (conformtest-headers-ISO): Likewise.
37628         (conformtest-headers-ISO99): Likewise.
37629         (conformtest-headers-ISO11): Likewise.
37630         (conformtest-headers-POSIX): Likewise.
37631         (conformtest-headers-XPG3): Likewise.
37632         (conformtest-headers-XPG4): Likewise.
37633         (conformtest-headers-UNIX98): Likewise.
37634         (conformtest-headers-XOPEN2K): Likewise.
37635         (conformtest-headers-POSIX2008): Likewise.
37636         (conformtest-headers-XOPEN2K8): Likewise.
37637         (conformtest-header-list-base): Likewise.
37638         (conformtest-header-list-tests): Likewise.
37639         (conformtest-header-base): Likewise.
37640         (conformtest-header-tests): Likewise.
37641         (tests-special): Add $(conformtest-header-list-tests).  If
37642         [$(fast-check) && !$(cross-compiling)], add
37643         $(conformtest-header-tests) instead of
37644         $(objpfx)run-conformtest.out.
37645         (generated): Add $(conformtest-header-list-base).  If
37646         [$(fast-check) && !$(cross-compiling)], add
37647         $(conformtest-header-base).  Remove previous setting.
37648         ($(conformtest-header-list-tests)): New target.
37649         (test-xfail-run-conformtest): Remove variable.
37650         ($(objpfx)run-conformtest.out): Remove target.
37651         (test-xfail-ISO11/complex.h/conform): New variable.
37652         (test-xfail-ISO11/stdalign.h/conform): Likewise.
37653         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
37654         (test-xfail-XPG3/varargs.h/conform): Likewise.
37655         (test-xfail-XPG4/varargs.h/conform): Likewise.
37656         (test-xfail-UNIX98/varargs.h/conform): Likewise.
37657         (test-xfail-XPG4/ndbm.h/conform): Likewise.
37658         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
37659         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
37660         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
37661         (test-xfail-XPG3/fcntl.h/conform): Likewise.
37662         (test-xfail-XPG3/ftw.h/conform): Likewise.
37663         (test-xfail-XPG3/grp.h/conform): Likewise.
37664         (test-xfail-XPG3/langinfo.h/conform): Likewise.
37665         (test-xfail-XPG3/limits.h/conform): Likewise.
37666         (test-xfail-XPG3/pwd.h/conform): Likewise.
37667         (test-xfail-XPG3/search.h/conform): Likewise.
37668         (test-xfail-XPG3/signal.h/conform): Likewise.
37669         (test-xfail-XPG3/stdio.h/conform): Likewise.
37670         (test-xfail-XPG3/stdlib.h/conform): Likewise.
37671         (test-xfail-XPG3/string.h/conform): Likewise.
37672         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
37673         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
37674         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
37675         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
37676         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
37677         (test-xfail-XPG3/sys/types.h/conform): Likewise.
37678         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
37679         (test-xfail-XPG3/termios.h/conform): Likewise.
37680         (test-xfail-XPG3/time.h/conform): Likewise.
37681         (test-xfail-XPG3/unistd.h/conform): Likewise.
37682         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
37683         (test-xfail-XPG4/fcntl.h/conform): Likewise.
37684         (test-xfail-XPG4/langinfo.h/conform): Likewise.
37685         (test-xfail-XPG4/netdb.h/conform): Likewise.
37686         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
37687         (test-xfail-XPG4/signal.h/conform): Likewise.
37688         (test-xfail-XPG4/stdio.h/conform): Likewise.
37689         (test-xfail-XPG4/stdlib.h/conform): Likewise.
37690         (test-xfail-XPG4/stropts.h/conform): Likewise.
37691         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
37692         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
37693         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
37694         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
37695         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
37696         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
37697         (test-xfail-XPG4/sys/time.h/conform): Likewise.
37698         (test-xfail-XPG4/sys/types.h/conform): Likewise.
37699         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
37700         (test-xfail-XPG4/termios.h/conform): Likewise.
37701         (test-xfail-XPG4/ucontext.h/conform): Likewise.
37702         (test-xfail-XPG4/unistd.h/conform): Likewise.
37703         (test-xfail-XPG4/utmpx.h/conform): Likewise.
37704         (test-xfail-POSIX/sched.h/conform): Likewise.
37705         (test-xfail-POSIX/signal.h/conform): Likewise.
37706         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
37707         (test-xfail-POSIX/tar.h/conform): Likewise.
37708         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
37709         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
37710         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
37711         (test-xfail-UNIX98/netdb.h/conform): Likewise.
37712         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
37713         (test-xfail-UNIX98/sched.h/conform): Likewise.
37714         (test-xfail-UNIX98/signal.h/conform): Likewise.
37715         (test-xfail-UNIX98/stdio.h/conform): Likewise.
37716         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
37717         (test-xfail-UNIX98/stropts.h/conform): Likewise.
37718         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
37719         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
37720         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
37721         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
37722         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
37723         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
37724         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
37725         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
37726         (test-xfail-UNIX98/unistd.h/conform): Likewise.
37727         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
37728         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
37729         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
37730         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
37731         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
37732         (test-xfail-XOPEN2K/math.h/conform): Likewise.
37733         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
37734         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
37735         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
37736         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
37737         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
37738         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
37739         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
37740         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
37741         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
37742         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
37743         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
37744         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
37745         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
37746         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
37747         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
37748         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
37749         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
37750         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
37751         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
37752         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
37753         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
37754         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
37755         (test-xfail-POSIX2008/signal.h/conform): Likewise.
37756         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
37757         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
37758         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
37759         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
37760         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
37761         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
37762         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
37763         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
37764         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
37765         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
37766         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
37767         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
37768         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
37769         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
37770         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
37771         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
37772         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
37773         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
37774         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
37775         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
37776         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
37777         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
37778         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
37779         (conformtest-cc-flags): Likewise.
37780         ($(conformtest-header-tests): New target.
37781         * conform/check-header-lists.sh: New file.
37782         * conform/run-conformtest.sh: Remove.
37784         * conform/conformtest.pl: Allow ' and \ in values given for
37785         constants.
37786         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
37787         inclusion.
37788         [POSIX] (sys/types.h): Likewise.
37789         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
37790         inclusion.
37791         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
37792         inclusion.
37793         * conform/data/signal.h-data (SIGIO): Remove expectation.
37794         [XPG3] (SIGBUS): Do not expect.
37795         [POSIX || XPG3] (SIGPOLL): Likewise.
37796         [POSIX || XPG3] (SIGPROF): Likewise.
37797         [POSIX || XPG3] (SIGSYS): Likewise.
37798         [XPG3] (SIGTRAP): Likewise.
37799         [POSIX || XPG3] (SIGURG): Likewise.
37800         [POSIX || XPG3] (SIGVTALRM): Likewise.
37801         [POSIX || XPG3] (SIGXCPU): Likewise.
37802         [POSIX || XPG3] (SIGXFSZ): Likewise.
37803         [POSIX] (SA_SIGINFO): Expect.
37804         [XPG3] (siginfo_t): Do not expect type or contents.
37805         [POSIX] (si_pid): Do not expect element.
37806         [POSIX] (si_uid): Likewise.
37807         [POSIX] (si_addr): Likewise.
37808         [POSIX] (si_status): Likewise.
37809         [POSIX] (si_band): Likewise.
37810         [XPG4] (si_value): Likewise.
37811         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
37812         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
37813         [POSIX || XPG3] (ILL_ILLADR): Likewise.
37814         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
37815         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
37816         [POSIX || XPG3] (ILL_PRVREG): Likewise.
37817         [POSIX || XPG3] (ILL_COPROC): Likewise.
37818         [POSIX || XPG3] (ILL_BADSTK): Likewise.
37819         [POSIX || XPG3] (FPE_INTDIV): Likewise.
37820         [POSIX || XPG3] (FPE_INTOVF): Likewise.
37821         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
37822         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
37823         [POSIX || XPG3] (FPE_FLTUND): Likewise.
37824         [POSIX || XPG3] (FPE_FLTRES): Likewise.
37825         [POSIX || XPG3] (FPE_FLTINV): Likewise.
37826         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
37827         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
37828         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
37829         [POSIX || XPG3] (BUS_ADRALN): Likewise.
37830         [POSIX || XPG3] (BUS_ADRERR): Likewise.
37831         [POSIX || XPG3] (BUS_OBJERR): Likewise.
37832         [POSIX || XPG3] (CLD_EXITED): Likewise.
37833         [POSIX || XPG3] (CLD_KILLED): Likewise.
37834         [POSIX || XPG3] (CLD_DUMPED): Likewise.
37835         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
37836         [POSIX || XPG3] (CLD_STOPPED): Likewise.
37837         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
37838         [POSIX || XPG3] (POLL_IN): Likewise.
37839         [POSIX || XPG3] (POLL_OUT): Likewise.
37840         [POSIX || XPG3] (POLL_MSG): Likewise.
37841         [POSIX || XPG3] (POLL_ERR): Likewise.
37842         [POSIX || XPG3] (POLL_PRI): Likewise.
37843         [POSIX || XPG3] (POLL_HUP): Likewise.
37844         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
37845         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
37846         (SIG*): Do not allow.
37847         [XPG3] (si_*): Likewise.
37848         [XPG3] (SI_*): Likewise.
37849         [XPG3 || XPG4] (sigev_*): Likewise.
37850         [XPG3 || XPG4] (SIGEV_*): Likewise.
37851         [XPG3 || XPG4] (sival_*): Likewise.
37852         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
37853         [POSIX || XPG3] (BUS_*): Likewise.
37854         [POSIX || XPG3] (CLD_*): Likewise.
37855         [POSIX || XPG3] (FPE_*): Likewise.
37856         [POSIX || XPG3] (ILL_*): Likewise.
37857         [POSIX || XPG3] (POLL_*): Likewise.
37858         [POSIX || XPG3] (SEGV_*): Likewise.
37859         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
37860         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
37861         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
37862         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
37863         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
37864         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
37865         Specify type and value.
37866         (TVERSLEN): Likewise.
37867         (REGTYPE): Likewise.
37868         (AREGTYPE): Likewise.
37869         (LNKTYPE): Likewise.
37870         (SYMTYPE): Likewise.
37871         (CHRTYPE): Likewise.
37872         (BLKTYPE): Likewise.
37873         (DIRTYPE): Likewise.
37874         (FIFOTYPE): Likewise.
37875         (CONTTYPE): Likewise.
37876         (TSUID): Likewise.
37877         (TSGID): Likewise.
37878         (TSVTX): Likewise.
37879         (TUREAD): Likewise.
37880         (TUWRITE): Likewise.
37881         (TUEXEC): Likewise.
37882         (TGREAD): Likewise.
37883         (TGWRITE): Likewise.
37884         (TGEXEC): Likewise.
37885         (TOREAD): Likewise.
37886         (TOWRITE): Likewise.
37887         (TOEXEC): Likewise.
37888         [POSIX] (TSVTX): Expect constant.
37890 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
37892         * Makefile (tests): Change dependencies to ....
37893         (tests-special): ... additions to this variable.
37894         (tests): Depend on $(tests-special).
37895         * Makerules (check-abi-list): New variable.
37896         (check-abi): Depend on $(check-abi-list).
37897         [$(subdir) = elf] (tests-special): Add
37898         $(objpfx)check-abi-libc.out.
37899         [$(build-shared) = yes && subdir] (tests-special): Add
37900         $(check-abi-list).
37901         [$(build-shared) = yes && subdir] (tests): Do not depend on
37902         check-abi.
37903         * Rules (tests): Depend on $(tests-special).
37904         (xtests): Depend on $(xtests-special).
37905         * catgets/Makefile (tests): Change dependencies to ....
37906         (tests-special): ... additions to this variable.
37907         * conform/Makefile (tests): Change dependencies to ....
37908         (tests-special): ... additions to this variable.
37909         * elf/Makefile (tests): Change dependencies to ....
37910         (tests-special): ... additions to this variable.
37911         * grp/Makefile (tests): Change dependencies to ....
37912         (tests-special): ... additions to this variable.
37913         * iconv/Makefile (xtests): Change dependencies to ....
37914         (xtests-special): ... additions to this variable.
37915         * iconvdata/Makefile (tests): Change dependencies to ....
37916         (tests-special): ... additions to this variable.
37917         * intl/Makefile (tests): Change dependencies to ....
37918         (tests-special): ... additions to this variable.  Also add
37919         $(objpfx)tst-gettext.out.
37920         * io/Makefile (tests): Change dependencies to ....
37921         (tests-special): ... additions to this variable.
37922         * libio/Makefile (tests): Change dependencies to ....
37923         (tests-special): ... additions to this variable.
37924         * malloc/Makefile (tests): Change dependencies to ....
37925         (tests-special): ... additions to this variable.
37926         * misc/Makefile (tests): Change dependencies to ....
37927         (tests-special): ... additions to this variable.
37928         * nptl/Makefile (tests): Change dependencies to ....
37929         (tests-special): ... additions to this variable.
37930         * nptl_db/Makefile (tests): Change dependencies to ....
37931         (tests-special): ... additions to this variable.
37932         * posix/Makefile (tests): Change dependencies to ....
37933         (tests-special): ... additions to this variable.
37934         (xtests): Change dependencies to ....
37935         (xtests-special): ... additions to this variable.
37936         * resolv/Makefile (tests): Change dependencies to ....
37937         (tests-special): ... additions to this variable.
37938         (xtests): Change dependencies to ....
37939         (xtests-special): ... additions to this variable.
37940         * stdio-common/Makefile (tests): Change dependencies to ....
37941         (tests-special): ... additions to this variable.
37942         (do-tst-unbputc): Remove target.
37943         (do-tst-printf): Likewise.
37944         * stdlib/Makefile (tests): Change dependencies to ....
37945         (tests-special): ... additions to this variable.
37946         * string/Makefile (tests): Change dependencies to ....
37947         (tests-special): ... additions to this variable.
37948         * sysdeps/x86/Makefile (tests): Change dependencies to ....
37949         (tests-special): ... additions to this variable.
37951         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
37952         whole file.
37953         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
37954         whole file.
37955         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
37956         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
37958         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
37959         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
37960         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
37961         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
37962         * conform/data/libgen.h-data [XPG3]: Likewise.
37963         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
37964         * conform/data/ndbm.h-data [XPG3]: Likewise.
37965         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37966         * conform/data/netdb.h-data [XPG3]: Likewise.
37967         * conform/data/netinet/in.h-data [XPG3]: Likewise.
37968         * conform/data/poll.h-data [XPG3]: Likewise.
37969         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
37970         * conform/data/strings.h-data [XPG3]: Likewise.
37971         * conform/data/stropts.h-data [XPG3]: Likewise.
37972         * conform/data/sys/mman.h-data [XPG3]: Likewise.
37973         * conform/data/sys/resource.h-data [XPG3]: Likewise.
37974         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
37975         Likewise.
37976         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
37977         * conform/data/sys/time.h-data [XPG3]: Likewise.
37978         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
37979         * conform/data/sys/uio.h-data [XPG3]: Likewise.
37980         * conform/data/sys/un.h-data [XPG3]: Likewise.
37981         * conform/data/syslog.h-data [XPG3]: Likewise.
37982         * conform/data/ucontext.h-data [XPG3]: Likewise.
37983         * conform/data/utmpx.h-data [XPG3]: Likewise.
37984         * conform/data/varargs.h-data [UNIX98]: Enable file.
37986         * manual/Makefile (INSTALL_INFO): Remove variable setting.
37988         * math/libm-test.inc (struct test_f_f_data): Move expected results
37989         into structure for each rounding mode.
37990         (struct test_ff_f_data): Likewise.
37991         (struct test_ff_f_data_nexttoward): Likewise.
37992         (struct test_fi_f_data): Likewise.
37993         (struct test_fl_f_data): Likewise.
37994         (struct test_if_f_data): Likewise.
37995         (struct test_fff_f_data): Likewise.
37996         (struct test_c_f_data): Likewise.
37997         (struct test_f_f1_data): Likewise.
37998         (struct test_fF_f1_data): Likewise.
37999         (struct test_ffI_f1_data): Likewise.
38000         (struct test_c_c_data): Likewise.
38001         (struct test_cc_c_data): Likewise.
38002         (struct test_f_i_data): Likewise.
38003         (struct test_ff_i_data): Likewise.
38004         (struct test_f_l_data): Likewise.
38005         (struct test_f_L_data): Likewise.
38006         (struct test_fFF_11_data): Likewise.
38007         (RM_): New macro.
38008         (RM_FE_DOWNWARD): Likewise.
38009         (RM_FE_TONEAREST): Likewise.
38010         (RM_FE_TOWARDZERO): Likewise.
38011         (RM_FE_UPWARD): Likewise.
38012         (RUN_TEST_LOOP_f_f): Update references to expected results.
38013         (RUN_TEST_LOOP_2_f): Likewise.
38014         (RUN_TEST_LOOP_fff_f): Likewise.
38015         (RUN_TEST_LOOP_c_f): Likewise.
38016         (RUN_TEST_LOOP_f_f1): Likewise.
38017         (RUN_TEST_LOOP_fF_f1): Likewise.
38018         (RUN_TEST_LOOP_fI_f1): Likewise.
38019         (RUN_TEST_LOOP_ffI_f1): Likewise.
38020         (RUN_TEST_LOOP_c_c): Likewise.
38021         (RUN_TEST_LOOP_cc_c): Likewise.
38022         (RUN_TEST_LOOP_f_i): Likewise.
38023         (RUN_TEST_LOOP_f_i_tg): Likewise.
38024         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38025         (RUN_TEST_LOOP_f_b): Likewise.
38026         (RUN_TEST_LOOP_f_b_tg): Likewise.
38027         (RUN_TEST_LOOP_f_l): Likewise.
38028         (RUN_TEST_LOOP_f_L): Likewise.
38029         (RUN_TEST_LOOP_fFF_11): Likewise.
38030         * math/gen-libm-test.pl (parse_args): Output four copies of
38031         expected results for each test.
38033         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38034         (__ASSUME_UTIMES): Remove.
38035         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38036         (__ASSUME_UTIMES): Likewise.
38038         * math/gen-auto-libm-tests.c: Update comment on output format.
38039         (output_for_one_input_case): Generate before-rounding and
38040         after-rounding information as conditions on output flags not
38041         floating-point format.
38042         * math/auto-libm-test-out: Regenerated.
38043         * math/gen-libm-test.pl (cond_value): New function.
38044         (or_cond_value): Use cond_value.
38045         (generate_testfile): Handle conditional exceptions.
38047 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38049         * math/libm-test.inc (max_valid_error): New variable.
38050         (init_max_error): Take new argument specifying whether function
38051         results are exactly determined.  Set max_valid_error and bound
38052         other variables for errors based on this argument.
38053         (set_max_error): Do not record results above max_valid_error.
38054         (check_float_internal): Only accept errors of up to 0.5ulps if
38055         also at most max_valid_error.
38056         (START): Take new argument EXACT and pass it to init_max_error.
38057         (acos_test): Update call to START.
38058         (acos_test_tonearest): Likewise.
38059         (acos_test_towardzero): Likewise.
38060         (acos_test_downward): Likewise.
38061         (acos_test_upward): Likewise.
38062         (acosh_test): Likewise.
38063         (asin_test): Likewise.
38064         (asin_test_tonearest): Likewise.
38065         (asin_test_towardzero): Likewise.
38066         (asin_test_downward): Likewise.
38067         (asin_test_upward): Likewise.
38068         (asinh_test): Likewise.
38069         (atan_test): Likewise.
38070         (atanh_test): Likewise.
38071         (atan2_test): Likewise.
38072         (cabs_test): Likewise.
38073         (cacos_test): Likewise.
38074         (cacosh_test): Likewise.
38075         (carg_test): Likewise.
38076         (casin_test): Likewise.
38077         (casinh_test): Likewise.
38078         (catan_test): Likewise.
38079         (catanh_test): Likewise.
38080         (cbrt_test): Likewise.
38081         (ccos_test): Likewise.
38082         (ccosh_test): Likewise.
38083         (ceil_test): Likewise.
38084         (cexp_test): Likewise.
38085         (cimag_test): Likewise.
38086         (clog_test): Likewise.
38087         (clog10_test): Likewise.
38088         (conj_test): Likewise.
38089         (copysign_test): Likewise.
38090         (cos_test): Likewise.
38091         (cos_test_tonearest): Likewise.
38092         (cos_test_towardzero): Likewise.
38093         (cos_test_downward): Likewise.
38094         (cos_test_upward): Likewise.
38095         (cosh_test): Likewise.
38096         (cosh_test_tonearest): Likewise.
38097         (cosh_test_towardzero): Likewise.
38098         (cosh_test_downward): Likewise.
38099         (cosh_test_upward): Likewise.
38100         (cpow_test): Likewise.
38101         (cproj_test): Likewise.
38102         (creal_test): Likewise.
38103         (csin_test): Likewise.
38104         (csinh_test): Likewise.
38105         (csqrt_test): Likewise.
38106         (ctan_test): Likewise.
38107         (ctan_test_tonearest): Likewise.
38108         (ctan_test_towardzero): Likewise.
38109         (ctan_test_downward): Likewise.
38110         (ctan_test_upward): Likewise.
38111         (ctanh_test): Likewise.
38112         (ctanh_test_tonearest): Likewise.
38113         (ctanh_test_towardzero): Likewise.
38114         (ctanh_test_downward): Likewise.
38115         (ctanh_test_upward): Likewise.
38116         (erf_test): Likewise.
38117         (erfc_test): Likewise.
38118         (exp_test): Likewise.
38119         (exp_test_tonearest): Likewise.
38120         (exp_test_towardzero): Likewise.
38121         (exp_test_downward): Likewise.
38122         (exp_test_upward): Likewise.
38123         (exp10_test): Likewise.
38124         (exp10_test_tonearest): Likewise.
38125         (exp10_test_towardzero): Likewise.
38126         (exp10_test_downward): Likewise.
38127         (exp10_test_upward): Likewise.
38128         (pow10_test): Likewise.
38129         (exp2_test): Likewise.
38130         (expm1_test): Likewise.
38131         (expm1_test_tonearest): Likewise.
38132         (expm1_test_towardzero): Likewise.
38133         (expm1_test_downward): Likewise.
38134         (expm1_test_upward): Likewise.
38135         (fabs_test): Likewise.
38136         (fdim_test): Likewise.
38137         (floor_test): Likewise.
38138         (fma_test): Likewise.
38139         (fma_test_towardzero): Likewise.
38140         (fma_test_downward): Likewise.
38141         (fma_test_upward): Likewise.
38142         (fmax_test): Likewise.
38143         (fmin_test): Likewise.
38144         (fmod_test): Likewise.
38145         (fpclassify_test): Likewise.
38146         (frexp_test): Likewise.
38147         (hypot_test): Likewise.
38148         (ilogb_test): Likewise.
38149         (isfinite_test): Likewise.
38150         (finite_test): Likewise.
38151         (isgreater_test): Likewise.
38152         (isgreaterequal_test): Likewise.
38153         (isinf_test): Likewise.
38154         (isless_test): Likewise.
38155         (islessequal_test): Likewise.
38156         (islessgreater_test): Likewise.
38157         (isnan_test): Likewise.
38158         (isnormal_test): Likewise.
38159         (issignaling_test): Likewise.
38160         (isunordered_test): Likewise.
38161         (j0_test): Likewise.
38162         (j1_test): Likewise.
38163         (jn_test): Likewise.
38164         (ldexp_test): Likewise.
38165         (lgamma_test): Likewise.
38166         (gamma_test): Likewise.
38167         (lrint_test): Likewise.
38168         (lrint_test_tonearest): Likewise.
38169         (lrint_test_towardzero): Likewise.
38170         (lrint_test_downward): Likewise.
38171         (lrint_test_upward): Likewise.
38172         (llrint_test): Likewise.
38173         (llrint_test_tonearest): Likewise.
38174         (llrint_test_towardzero): Likewise.
38175         (llrint_test_downward): Likewise.
38176         (llrint_test_upward): Likewise.
38177         (log_test): Likewise.
38178         (log10_test): Likewise.
38179         (log1p_test): Likewise.
38180         (log2_test): Likewise.
38181         (logb_test): Likewise.
38182         (logb_test_downward): Likewise.
38183         (lround_test): Likewise.
38184         (llround_test): Likewise.
38185         (modf_test): Likewise.
38186         (nearbyint_test): Likewise.
38187         (nextafter_test): Likewise.
38188         (nexttoward_test): Likewise.
38189         (pow_test): Likewise.
38190         (pow_test_tonearest): Likewise.
38191         (pow_test_towardzero): Likewise.
38192         (pow_test_downward): Likewise.
38193         (pow_test_upward): Likewise.
38194         (remainder_test): Likewise.
38195         (drem_test): Likewise.
38196         (remainder_test_tonearest): Likewise.
38197         (drem_test_tonearest): Likewise.
38198         (remainder_test_towardzero): Likewise.
38199         (drem_test_towardzero): Likewise.
38200         (remainder_test_downward): Likewise.
38201         (drem_test_downward): Likewise.
38202         (remainder_test_upward): Likewise.
38203         (drem_test_upward): Likewise.
38204         (remquo_test): Likewise.
38205         (rint_test): Likewise.
38206         (rint_test_tonearest): Likewise.
38207         (rint_test_towardzero): Likewise.
38208         (rint_test_downward): Likewise.
38209         (rint_test_upward): Likewise.
38210         (round_test): Likewise.
38211         (scalb_test): Likewise.
38212         (scalbn_test): Likewise.
38213         (scalbln_test): Likewise.
38214         (signbit_test): Likewise.
38215         (sin_test): Likewise.
38216         (sin_test_tonearest): Likewise.
38217         (sin_test_towardzero): Likewise.
38218         (sin_test_downward): Likewise.
38219         (sin_test_upward): Likewise.
38220         (sincos_test): Likewise.
38221         (sinh_test): Likewise.
38222         (sinh_test_tonearest): Likewise.
38223         (sinh_test_towardzero): Likewise.
38224         (sinh_test_downward): Likewise.
38225         (sinh_test_upward): Likewise.
38226         (sqrt_test): Likewise.
38227         (sqrt_test_tonearest): Likewise.
38228         (sqrt_test_towardzero): Likewise.
38229         (sqrt_test_downward): Likewise.
38230         (sqrt_test_upward): Likewise.
38231         (tan_test): Likewise.
38232         (tan_test_tonearest): Likewise.
38233         (tan_test_towardzero): Likewise.
38234         (tan_test_downward): Likewise.
38235         (tan_test_upward): Likewise.
38236         (tanh_test): Likewise.
38237         (tgamma_test): Likewise.
38238         (trunc_test): Likewise.
38239         (y0_test): Likewise.
38240         (y1_test): Likewise.
38241         (yn_test): Likewise.
38242         (significand_test): Likewise.
38244         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
38245         individual tests in comment.
38246         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
38247         (prev_max_error): New variable.
38248         (prev_real_max_error): Likewise.
38249         (prev_imag_max_error): Likewise.
38250         (compare_ulp_data): Don't refer to test names in comment.
38251         (find_test_ulps): Remove function.
38252         (find_function_ulps): Likewise.
38253         (find_complex_function_ulps): Likewise.
38254         (init_max_error): Take function name as argument.  Look up ulps
38255         for that function.
38256         (print_ulps): Remove function.
38257         (print_max_error): Use prev_max_error instead of calling
38258         find_function_ulps.
38259         (print_complex_max_error): Use prev_real_max_error and
38260         prev_imag_max_error instead of calling find_complex_function_ulps.
38261         (check_float_internal): Take max_ulp parameter instead of calling
38262         find_test_ulps.  Don't call print_ulps.
38263         (check_float): Update call to check_float_internal.
38264         (check_complex): Update calls to check_float_internal.
38265         (START): Pass argument to init_max_error.
38266         * math/gen-libm-test.pl (%results): Don't include "kind"
38267         information.
38268         (parse_ulps): Don't handle ulps of individual tests.
38269         (print_ulps_file): Likewise.
38270         (output_ulps): Likewise.
38271         * math/README.libm-test: Update.
38272         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
38273         individual tests.
38274         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
38275         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
38276         * sysdeps/arm/libm-test-ulps: Likewise.
38277         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
38278         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
38279         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
38280         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
38281         * sysdeps/microblaze/libm-test-ulps: Likewise.
38282         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
38283         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38284         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38285         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
38286         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38287         * sysdeps/sh/libm-test-ulps: Likewise.
38288         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38289         * sysdeps/tile/libm-test-ulps: Likewise.
38290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38292 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
38294         * math/libm-test.inc (print_complex_max_error): Check separately
38295         whether real and imaginary errors are within allowed range and
38296         pass 0 to print_complex_function_ulps instead of value within
38297         allowed range.
38299 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38301         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
38302         formatting.
38303         (get_handles_fopen): Likewise.
38304         (do_write_test): Likewise.
38306         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
38308         * libio/fileops.c (do_ftell): Use cached offset when
38309         available.
38310         * libio/iofwide.c (do_ftell_wide): Likewise.
38311         * libio/iofdopen.c (_IO_new_fdopen): Don't use
38312         _IO_file_attach.
38313         * libio/wfileops.c (_IO_fwide): Don't cache offset.
38315         [BZ #16532]
38316         * libio/libioP.h (get_file_offset): New function.
38317         * libio/fileops.c (get_file_offset): Likewise.
38318         (do_ftell): Likewise.
38319         (_IO_new_file_seekoff): Split out ftell logic.
38320         * libio/wfileops.c (do_ftell_wide): Likewise.
38321         (_IO_wfile_seekoff): Split out ftell logic.
38322         * libio/tst-ftell-active-handler.c: New test case.
38323         * libio/Makefile (tests): Add it.
38325 2014-03-03  Roland McGrath  <roland@hack.frob.com>
38327         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
38328         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
38330 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
38332         [BZ #16639]
38333         * nscd/connections.c (nscd_init): Call do_exit.
38334         (start_threads): Call do_exit and notify_parent.
38335         (begin_drop_privileges): Call do_exit.
38336         (finish_drop_privileges): Likewise.
38337         * nscd/selinux.c (preserve_capabilities): Likewise.
38338         (install_real_capabilities): Likewise.
38339         (nscd_selinux_enabled): Likewise.
38340         (avc_create_thread): Likewise.
38341         (avc_alloc_lock): Likewise.
38342         (nscd_avc_init): Likewise.
38343         * nscd/nscd.c (parent_fd): New static variable.
38344         (main): Create a pipe between parent and child processes.
38345         Skip closing parent_fd.
38346         (monitor_child): New function.
38347         (do_exit): Likewise.
38348         (notify_parent): Likewise.
38349         * nscd/nscd.h (notify_parent): Likewise.
38350         (do_exit): Likewise.
38352 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
38354         * malloc/malloc.c (__libc_calloc): Revert last change.
38356 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38360 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
38362         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
38363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
38364         implementation.
38365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38366         (__libc_ifunc_impl_list): Likewise.
38367         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
38368         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
38369         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
38370         * string/strrchr.c: Define STRRCHR.
38372 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
38374         * benchtest/bench-strtok.c (simple_strtok): Delete.
38375         (strtok_string): Use as benchmark.
38376         * string/strtok (STRTOK): New macro.
38378 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
38380         * manual/threads.texi: Add header and standard comments to all
38381         functions.
38383         * elf/dl-lookup.c (check_match): New function.
38384         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
38385         (do_lookup_x): Remove nested function check_match. Use non-nested
38386         function check_match.
38388 2014-02-28  Roland McGrath  <roland@hack.frob.com>
38390         * csu/Makefile (generated, before-compile): Use += rather than =.
38391         * catgets/Makefile (generated, generated-dirs): Likewise.
38392         * debug/Makefile (generated): Likewise.
38393         * dlfcn/Makefile (generated): Likewise.
38394         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
38395         * iconvdata/Makefile (before-compile, generated): Likewise.
38396         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
38397         * libio/Makefile (generated): Likewise.
38398         * malloc/Makefile (generated): Likewise.
38399         * manual/Makefile (generated, generated-dirs): Likewise.
38400         * misc/Makefile (generated): Likewise.
38401         * posix/Makefile (generated): Likewise.
38402         * resolv/Makefile (generated): Likewise.
38403         * sunrpc/Makefile (generated, generated-dirs): Likewise.
38404         * timezone/Makefile (generated, generated-dirs): Likewise.
38406         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
38408 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38410         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
38411         power8 implementation.
38412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
38413         file: POWER8 llround ifunc implementation.
38414         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
38415         (__lllround): Add POWER8 implementation.
38416         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
38417         POWER8 llround implementation.
38419         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
38420         power8 implementation.
38421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
38422         file: POWER8 llrint ifunc implementation.
38423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
38424         Add POWER8 implementation.
38425         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
38426         POWER8 llrint implementation.
38428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
38429         power8 implementation.
38430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
38431         file: POWER8 finite ifunc implementation.
38432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
38433         Add POWER8 implementation.
38434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
38435         Likewise.
38436         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
38437         POWER8 finite implementation.
38438         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
38440         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
38441         power8 implementation.
38442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
38443         file: POWER8 isinf ifunc implementation.
38444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
38445         POWER8 implementation.
38446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
38447         Likewise.
38448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
38449         isinf implementation.
38450         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
38452         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
38453         (INIT_ARCH): Add hwcap2 initialization.
38454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
38455         power8 implementation.
38456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
38457         file: POWER8 isnan ifunc implementation.
38458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
38459         POWER8 implementation.
38460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
38461         Likewise.
38462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
38463         isnan implementation.
38464         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
38466 2014-02-27  Joey Ye  <joey.ye@arm.com>
38468         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38469         (_FP_NANFRAC_Q): Set to zero.
38471 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38473         [BZ #16623]
38474         * math/auto-libm-test-in: New test inputs.
38475         * math/auto-libm-test-out: Regenerate.
38476         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
38477         and DA.
38478         (__cos): Likewise.
38479         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
38481 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
38483         * scripts/evaluate-test.sh: Take new argument indicating whether
38484         failure is expected.
38485         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
38486         indicating whether failure is expected.
38487         * conform/Makefile (test-xfail-run-conformtest): New variable.
38488         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
38489         level.
38490         * posix/Makefile (test-xfail-annexc): New variable.
38491         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
38493 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
38495         * argp/Makefile: Include Makeconfig immediately after defining
38496         subdir.
38497         * assert/Makefile: Likewise.
38498         * benchtests/Makefile: Likewise.
38499         * catgets/Makefile: Likewise.
38500         * conform/Makefile: Likewise.
38501         * crypt/Makefile: Likewise.
38502         * csu/Makefile: Likewise.
38503         (all): Remove target.
38504         * ctype/Makefile: Include Makeconfig immediately after defining
38505         subdir.
38506         * debug/Makefile: Likewise.
38507         * dirent/Makefile: Likewise.
38508         * dlfcn/Makefile: Likewise.
38509         * gmon/Makefile: Likewise.
38510         * gnulib/Makefile: Likewise.
38511         * grp/Makefile: Likewise.
38512         * gshadow/Makefile: Likewise.
38513         * hesiod/Makefile: Likewise.
38514         * hurd/Makefile: Likewise.
38515         (all): Remove target.
38516         * iconvdata/Makefile: Include Makeconfig immediately after
38517         defining subdir.
38518         * inet/Makefile: Likewise.
38519         * intl/Makefile: Likewise.
38520         * io/Makefile: Likewise.
38521         * libio/Makefile: Likewise.
38522         (all): Remove target.
38523         * locale/Makefile: Include Makeconfig immediately after defining
38524         subdir.
38525         * login/Makefile: Likewise.
38526         * mach/Makefile: Likewise.
38527         (all): Remove target.
38528         * malloc/Makefile: Include Makeconfig immediately after defining
38529         subdir.
38530         (all): Remove target.
38531         * manual/Makefile: Include Makeconfig immediately after defining
38532         subdir.
38533         * math/Makefile: Likewise.
38534         * misc/Makefile: Likewise.
38535         * nis/Makefile: Likewise.
38536         * nss/Makefile: Likewise.
38537         * po/Makefile: Likewise.
38538         (all): Remove target.
38539         * posix/Makefile: Include Makeconfig immediately after defining
38540         subdir.
38541         * pwd/Makefile: Likewise.
38542         * resolv/Makefile: Likewise.
38543         * resource/Makefile: Likewise.
38544         * rt/Makefile: Likewise.
38545         * setjmp/Makefile: Likewise.
38546         * shadow/Makefile: Likewise.
38547         * signal/Makefile: Likewise.
38548         * socket/Makefile: Likewise.
38549         * soft-fp/Makefile: Likewise.
38550         * stdio-common/Makefile: Likewise.
38551         * stdlib/Makefile: Likewise.
38552         * streams/Makefile: Likewise.
38553         * string/Makefile: Likewise.
38554         * sunrpc/Makefile: Likewise.
38555         (all): Remove target.
38556         * sysvipc/Makefile: Include Makeconfig immediately after defining
38557         subdir.
38558         * termios/Makefile: Likewise.
38559         * time/Makefile: Likewise.
38560         * timezone/Makefile: Likewise.
38561         (all): Remove target.
38562         * wcsmbs/Makefile: Include Makeconfig immediately after defining
38563         subdir.
38564         * wctype/Makefile: Likewise.
38566 2014-02-26  Steve Ellcey  <sellcey@mips.com>
38568         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
38569         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
38570         (libc_feholdexcept_setround_mips): Ditto.
38571         (libc_feholdsetround): New.
38572         (libc_feholdsetroundf): New.
38573         (libc_feholdsetroundl): New.
38574         (libc_feupdateenv_test_mips): New.
38575         (libc_feupdateenv_test): New.
38576         (libc_feupdateenv_testf): New.
38577         (libc_feupdateenv_testl): New.
38578         (libc_feresetround): New.
38579         (libc_feresetroundf): New.
38580         (libc_feresetroundl): New.
38581         (libc_fetestexcept_mips): New.
38582         (libc_fetestexcept): New.
38583         (libc_fetestexceptf): New.
38584         (libc_fetestexceptl): New.
38585         (HAVE_RM_CTX): New.
38586         (libc_feholdexcept_setround_mips_ctx): New.
38587         (libc_feholdexcept_setround_ctx): New.
38588         (libc_feholdexcept_setroundf_ctx): New.
38589         (libc_feholdexcept_setroundl_ctx): New.
38590         (libc_fesetenv_mips_ctx): New.
38591         (libc_fesetenv_ctx): New.
38592         (libc_fesetenv_ctxf): New.
38593         (libc_fesetenv_ctxl): New.
38594         (libc_feupdateenv_mips_ctx): New.
38595         (libc_feupdateenv_ctx): New.
38596         (libc_feupdateenvf_ctx): New.
38597         (libc_feupdateenvl_ctx): New.
38598         (libc_feholdsetround_mips_ctx): New.
38599         (libc_feholdsetround_ctx): New.
38600         (libc_feholdsetroundf_ctx): New.
38601         (libc_feholdsetroundl_ctx): New.
38602         (libc_feresetround_mips_ctx): New.
38603         (libc_feresetround_ctx): New.
38604         (libc_feresetroundf_ctx): New.
38605         (libc_feresetroundl_ctx): New.
38607 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
38609         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
38611         * manual/ipc.texi: New file.
38612         * manual/Makefile (chapters): Add ipc.
38613         * manual/job.texi: Add "Inter-Process Communication" to next.
38614         * manual/process.texi: Add "Inter-Process Communication" to prev.
38616 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38620 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
38622         * malloc/malloc.c (__libc_calloc): Simplify implementation.
38624         * manual/arith.texi: Fix spaces after sentences.
38625         * manual/charset.texi: Likewise.
38626         * manual/errno.texi: Likewise.
38627         * manual/install.texi: Likewise.
38628         * manual/llio.texi: Likewise.
38629         * manual/locale.texi: Likewise.
38630         * manual/maint.texi: Likewise.
38631         * manual/math.texi: Likewise.
38632         * manual/memory.texi: Likewise.
38633         * manual/message.texi: Likewise.
38634         * manual/probes.texi: Likewise.
38635         * manual/resource.texi: Likewise.
38636         * manual/signal.texi: Likewise.
38637         * manual/socket.texi: Likewise.
38638         * manual/stdio.texi: Likewise.
38639         * manual/string.texi: Likewise.
38640         * manual/time.texi: Likewise.
38641         * manual/users.texi: Likewise.
38643 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
38645         [BZ #16632]
38646         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
38647         _DEFAULT_SOURCE is defined.
38649 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
38650             Carlos O'Donell  <carlos@redhat.com>
38652         [BZ #16613]
38653         * elf/dl-tls.c (_dl_count_modids): New function.
38654         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
38655         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
38656         audit library and increment generation counter.
38657         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
38658         * elf/tst-audit9.c: New file.
38659         * elf/tst-auditmod9a.c: New file.
38660         * elf/tst-auditmod9b.c: New file.
38661         * elf/Makefile: Add rules to build and run tst-audit9.
38663 2014-02-25  Florian Weimer  <fweimer@redhat.com>
38665         [BZ #15347]
38666         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
38668 2014-02-25  Will Newton  <will.newton@linaro.org>
38670         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
38671         (__longjmp): Restore sp and lr before restoring callee
38672         saved registers.  Add longjmp and longjmp_target
38673         SystemTap probe point.
38674         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
38675         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
38676         Define to zero to match jmpbuf layout.
38677         * sysdeps/arm/setjmp.S: Include stap-probe.h.
38678         (__sigsetjmp): Save sp and lr before saving callee
38679         saved registers.  Add setjmp SystemTap probe point.
38681 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38683         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38685 2014-02-24  Andreas Schwab  <schwab@suse.de>
38687         [BZ #15804]
38688         * elf/pldd.c (wait_for_ptrace_stop): New function.
38689         (main): Call it after attaching.
38691 2014-02-22  Roland McGrath  <roland@hack.frob.com>
38693         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
38694         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
38695         Versions files is now verboten.
38696         * hurd/Versions (libc: GLIBC_2.0):
38697         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
38698         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
38699         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
38700         * mach/Versions: Likewise.
38702         * csu/Versions: Remove unused %include.
38703         * resolv/Versions: Likewise.
38705 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
38707         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
38708         ($(objpfx)check-local-headers.out): Likewise.
38709         ($(objpfx)begin-end-check.out): Likewise.
38710         * Makerules (check-abi-%.out): Likewise.
38711         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
38712         ($(objpfx)test2.cat): Likewise.
38713         ($(objpfx)de/libc.cat): Likewise.
38714         ($(objpfx)test-gencat.out): Likewise.
38715         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
38716         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
38717         ($(objpfx)noload-mem): Likewise.
38718         ($(objpfx)tst-pathopt.out): Likewise.
38719         ($(objpfx)tst-rtld-load-self.out): Likewise.
38720         ($(objpfx)tst-array1-cmp.out): Likewise.
38721         ($(objpfx)tst-array1-static-cmp.out): Likewise.
38722         ($(objpfx)tst-array2-cmp.out): Likewise.
38723         ($(objpfx)tst-array3-cmp.out): Likewise.
38724         ($(objpfx)tst-array4-cmp.out): Likewise.
38725         ($(objpfx)tst-array5-cmp.out): Likewise.
38726         ($(objpfx)tst-array5-static-cmp.out): Likewise.
38727         ($(objpfx)check-textrel.out): Likewise.
38728         ($(objpfx)check-execstack.out): Likewise.
38729         ($(objpfx)check-localplt.out): Likewise.
38730         ($(objpfx)order2-cmp.out): Likewise.
38731         ($(objpfx)tst-leaks1-mem): Likewise.
38732         ($(objpfx)tst-leaks1-static-mem): Likewise.
38733         ($(objpfx)tst-initorder-cmp.out): Likewise.
38734         ($(objpfx)tst-initorder2-cmp.out): Likewise.
38735         ($(objpfx)tst-unused-dep.out): Likewise.
38736         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
38737         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
38738         * iconv/Makefile (test-iconvconfig): Likewise.
38739         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
38740         ($(objpfx)iconv-test.out): Likewise.
38741         ($(objpfx)tst-tables.out): Likewise.
38742         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
38743         ($(objpfx)tst-gettext.out): Likewise.
38744         ($(objpfx)tst-translit.out): Likewise.
38745         ($(objpfx)tst-gettext2.out): Likewise.
38746         ($(objpfx)tst-gettext4.out): Likewise.
38747         ($(objpfx)tst-gettext6.out): Likewise.
38748         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
38749         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
38750         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
38751         ($(objpfx)tst-fopenloc-mem.out): Likewise.
38752         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
38753         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
38754         * posix/Makefile ($(objpfx)globtest.out): Likewise.
38755         ($(objpfx)wordexp-tst.out): Likewise.
38756         ($(objpfx)annexc.out): Likewise.
38757         ($(objpfx)tst-fnmatch-mem): Likewise.
38758         ($(objpfx)bug-regex2-mem): Likewise.
38759         ($(objpfx)bug-regex14-mem): Likewise.
38760         ($(objpfx)bug-regex21-mem): Likewise.
38761         ($(objpfx)bug-regex31-mem): Likewise.
38762         ($(objpfx)tst-vfork3-mem): Likewise.
38763         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38764         ($(objpfx)tst-pcre-mem): Likewise.
38765         ($(objpfx)tst-boost-mem): Likewise.
38766         ($(objpfx)tst-getconf.out): Likewise.
38767         ($(objpfx)bug-ga2-mem): Likewise.
38768         ($(objpfx)bug-glob2-mem): Likewise.
38769         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
38770         ($(objpfx)mtrace-tst-leaks2): Likewise.
38771         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
38772         ($(objpfx)tst-printf.out): Likewise.
38773         ($(objpfx)tst-setvbuf1.out): Likewise.
38774         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
38775         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
38776         ($(objpfx)tst-fmtmsg.out): Likewise.
38777         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
38778         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
38780         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
38781         * bits/sigaction.h [__USE_MISC]: Likewise.
38782         * bits/waitstatus.h: Update #endif comments.
38783         * ctype/ctype.h: Likewise.
38784         * dirent/dirent.h: Likewise.
38785         [__USE_MISC]: Remove redundant conditionals.
38786         * grp/grp.h: Update #endif comments.
38787         [__USE_GNU]: Remove redundant conditionals.
38788         [__USE_MISC]: Likewise.
38789         * inet/netinet/in.h [__USE_GNU]: Likewise.
38790         * io/sys/stat.h [__USE_MISC]: Likewise.
38791         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
38792         * libio/bits/stdio.h: Update #endif comments.
38793         [__USE_MISC]: Remove redundant conditionals.
38794         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
38795         * libio/stdio.h: Update #endif comments.
38796         [__USE_MISC]: Remove redundant conditionals.
38797         * math/bits/math-finite.h [__USE_MISC]: Likewise.
38798         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
38799         * math/math.h: Update #else and #endif comments.
38800         [__USE_MISC]: Remove redundant conditionals.
38801         * misc/sys/uio.h: Update #endif comments.
38802         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
38803         * posix/glob.h [__USE_MISC]: Likewise.
38804         * posix/sys/types.h: Update #endif comments.
38805         [__USE_MISC]: Remove redundant conditionals.
38806         * posix/sys/wait.h: Update #endif comments.
38807         [__USE_MISC]: Remove redundant conditionals.
38808         * posix/unistd.h: Update #endif comments.
38809         [__USE_MISC]: Remove redundant conditionals.
38810         * pwd/pwd.h [__USE_GNU]: Likewise.
38811         [__USE_MISC]: Likewise.
38812         * resolv/netdb.h [__USE_GNU]: Likewise.
38813         * signal/signal.h: Update #endif comments.
38814         [__USE_MISC]: Remove redundant conditionals.
38815         * stdlib/stdlib.h: Update #else and #endif comments.
38816         [__USE_MISC]: Remove redundant conditionals.
38817         [__USE_GNU]: Likewise.
38818         * string/bits/string2.h [__USE_MISC]: Likewise.
38819         * string/string.h: Update #endif comments.
38820         [__USE_MISC]: Remove redundant conditionals.
38821         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
38822         Likewise.
38823         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
38824         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
38825         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
38826         Likewise.
38827         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
38828         Likewise.
38829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
38830         comments.
38831         [__USE_MISC]: Remove redundant conditionals.
38832         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
38833         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
38834         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
38835         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
38836         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
38837         Likewise.
38838         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
38839         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
38840         Likewise.
38841         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
38842         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
38843         Likewise.
38844         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
38845         Likewise.
38846         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
38847         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
38848         Likewise.
38849         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
38850         Likewise.
38851         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
38852         * sysdeps/x86/bits/string.h: Update #endif comments.
38853         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
38854         conditionals.
38855         * time/sys/time.h: Update #endif comments.
38856         * time/time.h: Likewise.
38857         [__USE_MISC]: Remove redundant conditionals.
38859 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
38861         [BZ #16600]
38862         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
38864 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
38866         * Versions.def (librt): Add GLIBC_2.17.
38868 2014-02-21  Adam Conrad  <adconrad@0c3.net>
38870         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
38871         synonym for _SYS_AUXV_H to allow direct inclusion.
38872         * sysdeps/sparc/bits/hwcap.h: Likewise.
38873         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
38874         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
38875         * sysdeps/sparc/sysdep.h: Likewise.
38877 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
38879         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
38881 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38883         * benchtests/bench-strrchr.c: Print length instead of position.
38885 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
38887         [BZ #16611]
38888         * sysdeps/unix/sysv/linux/kernel-features.h
38889         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
38890         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
38891         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
38892         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
38893         Likewise.
38894         [__i386__ || __powerpc__ || __sh__ || __sparc__]
38895         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38896         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
38897         (__ASSUME_SENDMMSG): Define instead of using previous
38898         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
38899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38900         (__ASSUME_SENDMMSG_SYSCALL): Define.
38901         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38902         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
38903         Likewise.
38904         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38905         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38906         Likewise.
38907         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38908         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38909         Likewise.
38910         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
38911         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38912         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38913         [__ASSUME_SENDMMSG]: Change conditionals to
38914         [__ASSUME_SENDMMSG_SOCKETCALL].
38915         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38916         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
38917         Define.
38918         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38919         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
38920         Likewise.
38921         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
38922         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
38923         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
38924         [!__ASSUME_SENDMMSG]: Change conditional to
38925         [!__ASSUME_SENDMMSG_SOCKETCALL].
38926         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38927         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
38928         Define.
38930         [BZ #16610]
38931         * sysdeps/unix/sysv/linux/kernel-features.h
38932         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
38933         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
38934         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
38935         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
38936         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
38937         [__i386__ || __sparc__]
38938         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38939         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
38940         (__ASSUME_RECVMMSG): Define instead of using previous
38941         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
38942         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38943         (__ASSUME_RECVMMSG_SYSCALL): Define.
38944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38946         Likewise.
38947         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38949         Likewise.
38950         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38951         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38952         Likewise.
38953         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
38954         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38955         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38956         [__ASSUME_RECVMMSG]: Change condition to
38957         [__ASSUME_RECVMMSG_SOCKETCALL].
38958         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38959         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38960         Define.
38961         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
38962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38963         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
38964         Likewise.
38965         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
38966         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
38967         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
38968         [!__ASSUME_RECVMMSG]: Change condition to
38969         [!__ASSUME_RECVMMSG_SOCKETCALL].
38970         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38971         (__ASSUME_RECVMMSG_SYSCALL): Define.
38973         [BZ #16609]
38974         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
38975         __powerpc__ || __s390__ || __sh__ || __sparc__]
38976         (__ASSUME_SOCKETCALL): Define.
38977         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
38978         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
38979         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
38980         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
38981         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38982         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
38983         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
38984         (__ASSUME_ACCEPT4): Define instead of using previous
38985         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
38986         __powerpc__ || __sparc__ || __s390__)] condition.
38987         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38988         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
38989         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
38990         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
38991         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
38992         [!__ASSUME_ACCEPT4]: Change condition to
38993         [!__ASSUME_ACCEPT4_SOCKETCALL].
38994         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
38995         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
38996         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
38997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
38998         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
38999         __ASSUME_ACCEPT4_SYSCALL.
39000         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39001         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39003         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39004         __ASSUME_ACCEPT4_SYSCALL.
39005         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39006         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39007         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39008         [__ASSUME_ACCEPT4]: Change condition to
39009         [__ASSUME_ACCEPT4_SOCKETCALL].
39010         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39011         (__ASSUME_SOCKETCALL): Define.
39012         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39014         (__ASSUME_SOCKETCALL): Define.
39015         (__ASSUME_ACCEPT4): Remove.
39016         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39017         Define.
39018         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39019         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39020         Likewise.
39021         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39022         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39024         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39025         macro.
39026         (HWCAP_ARM_LPAE): Likewise.
39027         (HWCAP_ARM_EVTSTRM): Likewise.
39028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39029         Add vpfd32, lpae and evtstrm.
39030         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39031         Increase to 22.
39033 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39035         * math/auto-libm-test-in: Add tests of clog10.
39036         * math/auto-libm-test-out: Regenerated.
39037         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39038         * sysdeps/i386/fpu/libm-test-ulps: Update.
39039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39041 2014-02-18  Andreas Schwab  <schwab@suse.de>
39043         [BZ #16574]
39044         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39045         Store non-zero if the second buffer was newly allocated.
39046         (send_dg): Likewise.
39047         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39048         to send_vc and send_dg.
39049         (res_nsend): Pass NULL for ansp2_malloced.
39050         * resolv/res_query.c (__libc_res_nquery): Add parameter
39051         answerp2_malloced and pass it down to __libc_res_nsend.
39052         (res_nquery): Pass additional NULL to __libc_res_nquery.
39053         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39054         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39055         second answer buffer if answerp2_malloced was set.
39056         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39057         (__libc_res_nquerydomain): Add parameter
39058         answerp2_malloced and pass it down to __libc_res_nquery.
39059         (res_nquerydomain): Pass additional NULL to
39060         __libc_res_nquerydomain.
39061         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39062         additional NULL to __libc_res_nsend and __libc_res_nquery.
39063         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39064         additional NULL to __libc_res_nsearch.
39065         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39066         parameter of __libc_res_nsearch to check for separately allocated
39067         second buffer.
39068         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39069         __libc_res_nquery.
39070         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39071         additional NULL to __libc_res_nquery.
39072         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39073         __libc_res_nsearch.
39074         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39075         * include/resolv.h: Update prototypes of __libc_res_nquery,
39076         __libc_res_nsearch, __libc_res_nsend.
39078 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39080         * math/auto-libm-test-in: Add tests of fma.
39081         * math/auto-libm-test-out: Regenerated.
39082         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39083         (fma_towardzero_test_data): Likewise.
39084         (fma_downward_test_data): Likewise.
39085         (fma_upward_test_data): Likewise.
39086         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39087         mpc_mode.
39088         (rounding_modes): Add values for new field.
39089         (func_calc_method): Add value mpfr_fff_f.
39090         (func_calc_desc): Add mpfr_fff_f union field.
39091         (test_function): Add field exact_args.
39092         (FUNC): Add macro argument EXACT_ARGS.
39093         (FUNC_mpfr_f_f): Update call to FUNC.
39094         (FUNC_mpfr_f_f): Likewise.
39095         (FUNC_mpfr_ff_f): Likewise.
39096         (FUNC_mpfr_if_f): Likewise.
39097         (FUNC_mpc_c_f): Likewise.
39098         (FUNC_mpc_c_c): Likewise.
39099         (test_functions): Add fma.  Update calls to FUNC.
39100         (handle_input_arg): Add argument exact_args.
39101         (add_test): Update call to handle_input_arg.
39102         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39103         (output_for_one_input_case): Update call to calc_generic_results.
39104         Recalculate exact zero results in each rounding mode.
39106         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39107         non-negative before setting low bit.
39108         * math/auto-libm-test-in: Mark one asin test possibly having
39109         spurious underflow.
39110         * math/auto-libm-test-out: Regenerated.
39111         * sysdeps/i386/fpu/libm-test-ulps: Update.
39112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39114 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39116         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39117         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39118         ports/sysdeps/unix/sysv/linux/microblaze.
39119         * README: Add missing listing for microblaze*-*-linux-gnu.
39121 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39123         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39124         duplicate code
39126 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39128         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39129         * sysdeps/unix/sysv/linux/ia64: Move directory from
39130         ports/sysdeps/unix/sysv/linux/ia64.
39131         * README: Update listing for ia64-*-linux-gnu.
39133 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39134             Joseph Myers  <joseph@codesourcery.com>
39136         * Makeconfig (test-name): New variable.
39137         (evaluate-test): Likewise.
39138         * Makerules (do-test-clean): Remove .test-result files.
39139         (common-mostlyclean): Likewise.
39140         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39141         * scripts/evaluate-test.sh: New file.
39143 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39145         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39146         separate $(objpfx)tst-fopenloc-cmp.out and
39147         $(objpfx)tst-fopenloc-mem.out targets.
39148         (tests): Update dependencies.
39149         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39150         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39151         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39152         (tst-rxspencer-no-utf8-ARGS): New variable.
39153         (tst-rxspencer-no-utf8-ENV): Likewise.
39154         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39155         instead of $(objpfx)tst-rxspencer-mem.
39156         ($(objpfx)tst-rxspencer-mem): Change target to
39157         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39158         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39159         * posix/tst-rxspencer-no-utf8.c: New file.
39161         * elf/Makefile ($(objpfx)order.out): Remove rule.
39162         [$(run-built-tests) = yes] (tests): Depend on
39163         $(objpfx)order-cmp.out.
39164         ($(objpfx)order-cmp.out): New rule.
39165         [$(run-built-tests) = yes] (tests): Depend on
39166         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
39167         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
39168         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
39169         $(objpfx)tst-array5-static-cmp.out.
39170         ($(objpfx)tst-array1.out): Remove rule.
39171         ($(objpfx)tst-array1-cmp.out): New rule.
39172         ($(objpfx)tst-array1-static.out): Remove rule.
39173         ($(objpfx)tst-array1-static-cmp.out): New rule.
39174         ($(objpfx)tst-array2.out): Remove rule.
39175         ($(objpfx)tst-array2-cmp.out): New rule.
39176         ($(objpfx)tst-array3.out): Remove rule.
39177         ($(objpfx)tst-array3-cmp.out): New rule.
39178         ($(objpfx)tst-array4.out): Remove rule.
39179         ($(objpfx)tst-array4-cmp.out): New rule.
39180         ($(objpfx)tst-array5.out): Remove rule.
39181         ($(objpfx)tst-array5-cmp.out): New rule.
39182         ($(objpfx)tst-array5-static.out): Remove rule.
39183         ($(objpfx)tst-array5-static-cmp.out): New rule.
39184         [$(run-built-tests) = yes] (tests): Depend on
39185         $(objpfx)order2-cmp.out.
39186         ($(objpfx)order2.out): Remove rule.
39187         ($(objpfx)order2-cmp.out): New rule.
39188         ($(objpfx)tst-initorder.out): Remove rule.
39189         [$(run-built-tests) = yes] (tests): Depend on
39190         $(objpfx)tst-initorder-cmp.out.
39191         ($(objpfx)tst-initorder-cmp.out): New rule.
39192         ($(objpfx)tst-initorder2.out): Remove rule.
39193         [$(run-built-tests) = yes] (tests): Depend on
39194         $(objpfx)tst-initorder2-cmp.out.
39195         ($(objpfx)tst-initorder2-cmp.out): New rule.
39196         [$(run-built-tests) = yes] (tests): Depend on
39197         $(objpfx)tst-unused-dep-cmp.out.
39198         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
39199         ($(objpfx)tst-unused-dep-cmp.out): New rule.
39200         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
39201         on $(objpfx)tst-setvbuf1-cmp.out.
39202         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
39203         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
39204         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
39205         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
39206         ($(objpfx)tst-svc.out): Remove rule.
39207         ($(objpfx)tst-svc-cmp.out): New rule.
39209 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
39211         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
39212         * ctype/ctype.h [__USE_MISC]: Likewise.
39213         * dirent/dirent.h [__USE_MISC]: Likewise.
39214         * grp/grp.h [__USE_MISC]: Likewise.
39215         * io/fcntl.h [__USE_MISC]: Likewise.
39216         * io/sys/stat.h [__USE_MISC]: Likewise.
39217         * libio/stdio.h [__USE_MISC]: Likewise.
39218         * posix/unistd.h [__USE_MISC]: Likewise.
39219         * pwd/pwd.h [__USE_MISC]: Likewise.
39220         * stdlib.h [__USE_MISC]: Likewise.
39221         * string/bits/string2.h [__USE_MISC]: Likewise.
39222         * string/string.h [__USE_MISC]: Likewise.
39223         * time/time.h [__USE_MISC]: Likewise.
39225 2014-02-13  Andreas Schwab  <schwab@suse.de>
39227         [BZ #16574]
39228         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
39229         second answer buffer if it was separately allocated.
39231 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
39233         * sysdeps/mips/math-tests.h: Include <features.h>.
39234         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39235         (ROUNDING_TESTS_long_double): Do not define.
39236         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
39237         (EXCEPTION_TESTS_long_double): Likewise.
39238         * sysdeps/mips/mips64/libm-test-ulps: Update.
39240         * include/features.h (__USE_BSD): Remove macro definitions.
39241         (__USE_SVID): Likewise.
39242         (_BSD_SOURCE): Likewise.
39243         (_SVID_SOURCE): Likewise.
39244         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
39245         from definition of _DEFAULT_SOURCE.
39246         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
39247         [_DEFAULT_SOURCE].
39248         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
39249         * bits/mman.h [__USE_BSD]: Likewise.
39250         * bits/termios.h [__USE_BSD]: Likewise.
39251         * bits/waitstatus.h [__USE_BSD]: Likewise.
39252         * ctype/ctype.h [__USE_SVID]: Likewise.
39253         * dirent/dirent.h [__USE_BSD]: Likewise.
39254         * grp/grp.h [__USE_SVID]: Likewise.
39255         [__USE_BSD]: Likewise.
39256         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
39257         * io/fcntl.h [__USE_BSD]: Likewise.
39258         * io/ftw.h [__USE_BSD]: Likewise.
39259         * io/sys/stat.h [__USE_BSD]: Likewise.
39260         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
39261         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
39262         * libio/stdio.h [__USE_SVID]: Likewise.
39263         [__USE_BSD]: Likewise.
39264         * math/math.h [__USE_SVID]: Likewise.
39265         [__USE_BSD]: Likewise.
39266         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
39267         * misc/bits/syslog.h [__USE_BSD]: Likewise.
39268         * misc/search.h [__USE_SVID]: Likewise.
39269         * misc/sys/mman.h [__USE_BSD]: Likewise.
39270         * misc/sys/syslog.h [__USE_BSD]: Likewise.
39271         * misc/sys/uio.h [__USE_BSD]: Likewise.
39272         * posix/bits/unistd.h [__USE_BSD]: Likewise.
39273         * posix/glob.h [__USE_BSD]: Likewise.
39274         * posix/regex.h [__USE_BSD]: Likewise.
39275         * posix/sys/types.h [__USE_BSD]: Likewise.
39276         [__USE_SVID]: Likewise.
39277         * posix/sys/utsname.h [__USE_SVID]: Likewise.
39278         * posix/sys/wait.h [__USE_BSD]: Likewise.
39279         [__USE_SVID]: Likewise.
39280         * posix/unistd.h [__USE_BSD]: Likewise.
39281         [__USE_SVID]: Likewise.
39282         * pwd/pwd.h [__USE_SVID]: Likewise.
39283         * resolv/netdb.h [__USE_BSD]: Likewise.
39284         * setjmp/setjmp.h [__USE_BSD]: Likewise.
39285         * signal/signal.h [__USE_BSD]: Likewise.
39286         [__USE_SVID]: Likewise.
39287         * socket/sys/socket.h [__USE_BSD]: Likewise.
39288         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
39289         * stdlib/stdlib.h [__USE_BSD]: Likewise.
39290         [__USE_SVID]: Likewise.
39291         * string/bits/string2.h [__USE_BSD]: Likewise.
39292         [__USE_SVID]: Likewise.
39293         * string/bits/string3.h [__USE_BSD]: Likewise.
39294         * string/endian.h [__USE_BSD]: Likewise.
39295         * string/string.h [__USE_SVID]: Likewise.
39296         [__USE_BSD]: Likewise.
39297         * string/strings.h [__USE_BSD]: Likewise.
39298         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
39299         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
39300         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
39301         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
39302         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
39303         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
39304         Likewise.
39305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
39306         Likewise.
39307         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
39308         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
39309         Likewise.
39310         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
39311         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
39312         Likewise.
39313         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
39314         Likewise.
39315         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
39316         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
39317         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
39318         Likewise.
39319         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
39320         Likewise.
39321         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
39322         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
39323         * termios/termios.h [__USE_BSD]: Likewise.
39324         * time/sys/time.h [__USE_BSD]: Likewise.
39325         * time/time.h [__USE_BSD]: Likewise.
39326         [__USE_SVID]: Likewise.
39328         * Makefile (subdir_targets): Remove subdir_lint.out.
39330         * stdio-common/Makefile (do-tst-unbputc): Remove target.
39331         (do-tst-printf): Likewise.
39332         (tests): Depend directly on $(objpfx)tst-unbputc.out and
39333         $(objpfx)tst-printf.out.
39335         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
39337         * Makerules (check-abi-%): Change target to
39338         $(objpfx)check-abi-%.out.
39339         (check-abi target): Update dependencies.
39340         (check-abi-pattern variable): Redirect output of diff to $@.
39341         (check-abi variable): Likewise.
39342         * elf/Makefile (check-abi): Update dependencies.
39344         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
39345         unused.
39346         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
39347         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
39348         subnormal range.
39349         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
39350         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
39351         value has largest subnormal exponent.
39352         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
39353         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
39354         * sysdeps/aarch64/soft-fp/sfp-machine.h
39355         (_FP_TININESS_AFTER_ROUNDING): New macro.
39356         * sysdeps/alpha/soft-fp/sfp-machine.h
39357         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39358         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39359         Likewise.
39360         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
39361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39362         * sysdeps/mips/soft-fp/sfp-machine.h
39363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39364         * sysdeps/powerpc/soft-fp/sfp-machine.h
39365         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39366         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39367         Likewise.
39368         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
39369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39370         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
39371         (_FP_TININESS_AFTER_ROUNDING): Likewise.
39372         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
39373         Likewise.
39375 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
39377         [BZ #16545]
39378         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
39379         model 1.
39381 2014-02-12  Richard Henderson  <rth@redhat.com>
39383         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
39384         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
39385         * sysdeps/unix/sysv/linux/alpha: Move directory from
39386         ports/sysdeps/unix/sysv/linux/alpha.
39387         * README: Update listing for alpha-*-linux-gnu.
39389 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
39391         * include/features.h: Update comment documenting feature test
39392         macros.
39393         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
39394         _DEFAULT_SOURCE.
39395         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
39396         (_SVID_SOURCE): Likewise.
39397         (_DEFAULT_SOURCE): Update description of default features.
39398         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
39399         with _GNU_SOURCE.
39400         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
39401         (S_ISVTX): Likewise.
39402         * manual/math.texi (Mathematical Constants): Likewise.
39403         * manual/signal.texi (Interrupted Primitives): Likewise.
39404         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
39405         * math/test-matherr.c (_SVID_SOURCE): Do not define.
39406         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
39407         Don't refer to _SVID_SOURCE in warning text.
39409         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39411         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
39412         already defined.
39413         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
39414         * sysdeps/mips/dl-lookup.c: Remove.
39415         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
39417 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39419         [BZ #16447]
39420         * math/auto-libm-test-in: Add testcase for expl.
39421         * math/auto-libm-test-out: Regenerate.
39422         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
39423         calculation of unsafe.
39424         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
39426 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
39428         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
39429         * sysdeps/unix/sysv/linux/aarch64: Move directory from
39430         ports/sysdeps/unix/sysv/linux/aarch64.
39431         * README: Update listing for aarch64*-*-linux-gnu.
39433 2014-02-11  Will Newton  <will.newton@linaro.org>
39435         * manual/probes.texi (Mathematical Function Probes): Use
39436         "triggered" instead of "hit".
39438         * manual/probes.texi (Internal Probes): Add documentation
39439         of setjmp, longjmp and longjmp_target probes.
39441         * include/stap-probe.h: Add comment about probe argument
39442         format.
39444         * malloc/mtrace.c (attribute_hidden): Remove unused macro
39445         definition.  (tr_where, tr_freehook, tr_mallochook,
39446         tr_reallochook, tr_memalignhook): Use ANSI protoype.
39448 2014-02-11  David S. Miller  <davem@davemloft.net>
39450         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
39451         processing int_tests.
39453 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
39455         * sysdeps/mips: Move directory from ports/sysdeps/mips.
39456         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
39457         * sysdeps/unix/sysv/linux/mips: Move directory from
39458         ports/sysdeps/unix/sysv/linux/mips.
39459         * README: Update listing for mips-*-linux-gnu and
39460         mips64-*-linux-gnu.
39462 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
39464         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
39465         * sysdeps/unix/sysv/linux/m68k: Move directory from
39466         ports/sysdeps/unix/sysv/linux/m68k.
39467         * README: Update listing for m68k-*-linux-gnu.
39469 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
39471         * sysdeps/tile: Move directory from ports/sysdeps/tile.
39472         * sysdeps/unix/sysv/linux/generic: Move directory from
39473         ports/sysdeps/unix/sysv/linux/generic.
39474         * sysdeps/unix/sysv/linux/tile: Move directory from
39475         ports/sysdeps/unix/sysv/linux/tile.
39476         * README: Update listing for tile*-*-linux-gnu.
39478 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
39480         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
39481         __builtin_expect.
39482         * benchtests/bench-memmem.c (simple_memmem): Likewise.
39483         * catgets/open_catalog.c (__open_catalog): Likewise.
39484         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
39485         * debug/confstr_chk.c: Likewise.
39486         * debug/fread_chk.c (__fread_chk): Likewise.
39487         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
39488         * debug/getgroups_chk.c: Likewise.
39489         * debug/mbsnrtowcs_chk.c: Likewise.
39490         * debug/mbsrtowcs_chk.c: Likewise.
39491         * debug/mbstowcs_chk.c: Likewise.
39492         * debug/memcpy_chk.c: Likewise.
39493         * debug/memmove_chk.c: Likewise.
39494         * debug/mempcpy_chk.c: Likewise.
39495         * debug/memset_chk.c: Likewise.
39496         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
39497         * debug/strcat_chk.c (__strcat_chk): Likewise.
39498         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
39499         * debug/strncat_chk.c (__strncat_chk): Likewise.
39500         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
39501         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
39502         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
39503         * debug/wcpncpy_chk.c: Likewise.
39504         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
39505         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
39506         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
39507         * debug/wcsncpy_chk.c: Likewise.
39508         * debug/wcsnrtombs_chk.c: Likewise.
39509         * debug/wcsrtombs_chk.c: Likewise.
39510         * debug/wcstombs_chk.c: Likewise.
39511         * debug/wmemcpy_chk.c: Likewise.
39512         * debug/wmemmove_chk.c: Likewise.
39513         * debug/wmempcpy_chk.c: Likewise.
39514         * debug/wmemset_chk.c: Likewise.
39515         * dirent/scandirat.c (SCANDIRAT): Likewise.
39516         * dlfcn/dladdr1.c (dladdr1): Likewise.
39517         * dlfcn/dladdr.c (dladdr): Likewise.
39518         * dlfcn/dlclose.c (dlclose_doit): Likewise.
39519         * dlfcn/dlerror.c (__dlerror): Likewise.
39520         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
39521         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
39522         * dlfcn/dlopen.c (dlopen_doit): Likewise.
39523         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
39524         * dlfcn/dlsym.c (dlsym_doit): Likewise.
39525         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
39526         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
39527         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
39528         Likewise.
39529         * elf/dl-conflict.c: Likewise.
39530         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
39531         * elf/dl-dst.h: Likewise.
39532         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
39533         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
39534         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
39535         * elf/dl-init.c (call_init, _dl_init): Likewise.
39536         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
39537         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
39538         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
39539         Likewise.
39540         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
39541         Likewise.
39542         * elf/dl-minimal.c (__libc_memalign): Likewise.
39543         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
39544         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
39545         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
39546         * elf/dl-sym.c (do_sym): Likewise.
39547         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
39548         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
39549         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
39550         * elf/dl-writev.h (_dl_writev): Likewise.
39551         * elf/ldconfig.c (search_dir): Likewise.
39552         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
39553         (dl_main): Likewise.
39554         * elf/setup-vdso.h (setup_vdso): Likewise.
39555         * grp/compat-initgroups.c (compat_call): Likewise.
39556         * grp/fgetgrent.c (fgetgrent): Likewise.
39557         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
39558         * grp/putgrent.c (putgrent): Likewise.
39559         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39560         Likewise.
39561         * hurd/hurdinit.c: Likewise.
39562         * iconvdata/8bit-gap.c (struct): Likewise.
39563         * iconvdata/ansi_x3.110.c : Likewise.
39564         * iconvdata/big5.c : Likewise.
39565         * iconvdata/big5hkscs.c : Likewise.
39566         * iconvdata/cp1255.c: Likewise.
39567         * iconvdata/cp1258.c : Likewise.
39568         * iconvdata/cp932.c : Likewise.
39569         * iconvdata/euc-cn.c: Likewise.
39570         * iconvdata/euc-jisx0213.c : Likewise.
39571         * iconvdata/euc-jp.c: Likewise.
39572         * iconvdata/euc-jp-ms.c : Likewise.
39573         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
39574         * iconvdata/gb18030.c : Likewise.
39575         * iconvdata/gbbig5.c (const): Likewise.
39576         * iconvdata/gbgbk.c: Likewise.
39577         * iconvdata/gbk.c : Likewise.
39578         * iconvdata/ibm1364.c : Likewise.
39579         * iconvdata/ibm930.c : Likewise.
39580         * iconvdata/ibm932.c: Likewise.
39581         * iconvdata/ibm933.c : Likewise.
39582         * iconvdata/ibm935.c : Likewise.
39583         * iconvdata/ibm937.c : Likewise.
39584         * iconvdata/ibm939.c : Likewise.
39585         * iconvdata/ibm943.c: Likewise.
39586         * iconvdata/iso_11548-1.c: Likewise.
39587         * iconvdata/iso-2022-cn.c : Likewise.
39588         * iconvdata/iso-2022-cn-ext.c : Likewise.
39589         * iconvdata/iso-2022-jp-3.c: Likewise.
39590         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
39591         * iconvdata/iso-2022-kr.c : Likewise.
39592         * iconvdata/iso646.c (gconv_end): Likewise.
39593         * iconvdata/iso_6937-2.c : Likewise.
39594         * iconvdata/iso_6937.c : Likewise.
39595         * iconvdata/iso8859-1.c: Likewise.
39596         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
39597         * iconvdata/shift_jisx0213.c : Likewise.
39598         * iconvdata/sjis.c : Likewise.
39599         * iconvdata/t.61.c : Likewise.
39600         * iconvdata/tcvn5712-1.c : Likewise.
39601         * iconvdata/tscii.c: Likewise.
39602         * iconvdata/uhc.c : Likewise.
39603         * iconvdata/unicode.c (gconv_end): Likewise.
39604         * iconvdata/utf-16.c (gconv_end): Likewise.
39605         * iconvdata/utf-32.c (gconv_end): Likewise.
39606         * iconvdata/utf-7.c (base64): Likewise.
39607         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
39608         * iconv/gconv_close.c (__gconv_close): Likewise.
39609         * iconv/gconv_open.c (__gconv_open): Likewise.
39610         * iconv/gconv_simple.c (internal_ucs4_loop_single)
39611         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
39612         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
39613         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
39614         (ucs4le_internal_loop_single): Likewise.
39615         * iconv/iconv.c (iconv): Likewise.
39616         * iconv/iconv_close.c: Likewise.
39617         * iconv/loop.c (SINGLE): Likewise.
39618         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
39619         * include/atomic.h: Likewise.
39620         * inet/inet6_option.c (option_alloc): Likewise.
39621         * intl/bindtextdom.c (set_binding_values): Likewise.
39622         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
39623         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
39624         * intl/localealias.c (read_alias_file): Likewise.
39625         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
39626         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
39627         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
39628         * libio/fmemopen.c (fmemopen): Likewise.
39629         * libio/iofgets.c (_IO_fgets): Likewise.
39630         * libio/iofgets_u.c (fgets_unlocked): Likewise.
39631         * libio/iofgetws.c (fgetws): Likewise.
39632         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
39633         * libio/iogetdelim.c (_IO_getdelim): Likewise.
39634         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
39635         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
39636         * locale/findlocale.c (_nl_find_locale): Likewise.
39637         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
39638         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
39639         Likewise.
39640         * locale/setlocale.c (setlocale): Likewise.
39641         * login/programs/pt_chown.c (main): Likewise.
39642         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
39643         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
39644         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
39645         (mmap, mmap64, mremap, munmap): Likewise.
39646         * math/e_exp2l.c: Likewise.
39647         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
39648         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
39649         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
39650         * math/s_catan.c (__catan): Likewise.
39651         * math/s_catanf.c (__catanf): Likewise.
39652         * math/s_catanh.c (__catanh): Likewise.
39653         * math/s_catanhf.c (__catanhf): Likewise.
39654         * math/s_catanhl.c (__catanhl): Likewise.
39655         * math/s_catanl.c (__catanl): Likewise.
39656         * math/s_ccosh.c (__ccosh): Likewise.
39657         * math/s_ccoshf.c (__ccoshf): Likewise.
39658         * math/s_ccoshl.c (__ccoshl): Likewise.
39659         * math/s_cexp.c (__cexp): Likewise.
39660         * math/s_cexpf.c (__cexpf): Likewise.
39661         * math/s_cexpl.c (__cexpl): Likewise.
39662         * math/s_clog10.c (__clog10): Likewise.
39663         * math/s_clog10f.c (__clog10f): Likewise.
39664         * math/s_clog10l.c (__clog10l): Likewise.
39665         * math/s_clog.c (__clog): Likewise.
39666         * math/s_clogf.c (__clogf): Likewise.
39667         * math/s_clogl.c (__clogl): Likewise.
39668         * math/s_csin.c (__csin): Likewise.
39669         * math/s_csinf.c (__csinf): Likewise.
39670         * math/s_csinh.c (__csinh): Likewise.
39671         * math/s_csinhf.c (__csinhf): Likewise.
39672         * math/s_csinhl.c (__csinhl): Likewise.
39673         * math/s_csinl.c (__csinl): Likewise.
39674         * math/s_csqrt.c (__csqrt): Likewise.
39675         * math/s_csqrtf.c (__csqrtf): Likewise.
39676         * math/s_csqrtl.c (__csqrtl): Likewise.
39677         * math/s_ctan.c (__ctan): Likewise.
39678         * math/s_ctanf.c (__ctanf): Likewise.
39679         * math/s_ctanh.c (__ctanh): Likewise.
39680         * math/s_ctanhf.c (__ctanhf): Likewise.
39681         * math/s_ctanhl.c (__ctanhl): Likewise.
39682         * math/s_ctanl.c (__ctanl): Likewise.
39683         * math/w_pow.c: Likewise.
39684         * math/w_powf.c: Likewise.
39685         * math/w_powl.c: Likewise.
39686         * math/w_scalb.c (sysv_scalb): Likewise.
39687         * math/w_scalbf.c (sysv_scalbf): Likewise.
39688         * math/w_scalbl.c (sysv_scalbl): Likewise.
39689         * misc/error.c (error_tail): Likewise.
39690         * misc/pselect.c (__pselect): Likewise.
39691         * nis/nis_callback.c (__nis_create_callback): Likewise.
39692         * nis/nis_call.c (__nisfind_server): Likewise.
39693         * nis/nis_creategroup.c (nis_creategroup): Likewise.
39694         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
39695         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
39696         * nis/nis_getservlist.c (nis_getservlist): Likewise.
39697         * nis/nis_lookup.c (nis_lookup): Likewise.
39698         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
39699         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
39700         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
39701         * nis/nis_xdr.c (xdr_endpoint): Likewise.
39702         * nis/nss_compat/compat-grp.c (getgrent_next_file)
39703         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
39704         * nis/nss_compat/compat-initgroups.c (add_group)
39705         (internal_getgrent_r): Likewise.
39706         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
39707         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
39708         * nis/nss_compat/compat-spwd.c (getspent_next_file)
39709         (internal_getspnam_r): Likewise.
39710         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
39711         (_nss_nis_getaliasbyname_r): Likewise.
39712         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
39713         (_nss_nis_getntohost_r): Likewise.
39714         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
39715         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
39716         (_nss_nis_getgrgid_r): Likewise.
39717         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
39718         (internal_nis_gethostent_r, internal_gethostbyname2_r)
39719         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
39720         (_nss_nis_gethostbyname4_r): Likewise.
39721         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
39722         (initgroups_netid): Likewise.
39723         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
39724         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
39725         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
39726         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
39727         (_nss_nis_getprotobynumber_r): Likewise.
39728         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
39729         (_nss_nis_getsecretkey): Likewise.
39730         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
39731         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
39732         (_nss_nis_getpwuid_r): Likewise.
39733         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
39734         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
39735         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
39736         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
39737         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
39738         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
39739         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
39740         Likewise.
39741         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
39742         (_nss_nisplus_getntohost_r): Likewise.
39743         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
39744         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
39745         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
39746         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
39747         Likewise.
39748         * nis/nss_nisplus/nisplus-initgroups.c
39749         (_nss_nisplus_initgroups_dyn): Likewise.
39750         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
39751         (_nss_nisplus_getnetbyaddr_r): Likewise.
39752         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
39753         (_nss_nisplus_getprotobynumber_r): Likewise.
39754         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
39755         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
39756         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
39757         Likewise.
39758         * nis/nss_nisplus/nisplus-service.c
39759         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
39760         (_nss_nisplus_getservbyport_r): Likewise.
39761         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
39762         (_nss_nisplus_getspnam_r): Likewise.
39763         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
39764         Likewise.
39765         * nscd/aicache.c (addhstaiX): Likewise.
39766         * nscd/cache.c (cache_search, prune_cache): Likewise.
39767         * nscd/connections.c (register_traced_file, send_ro_fd)
39768         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
39769         (main_loop_epoll): Likewise.
39770         * nscd/grpcache.c (addgrbyX): Likewise.
39771         * nscd/hstcache.c (addhstbyX): Likewise.
39772         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39773         * nscd/mem.c (gc, mempool_alloc): Likewise.
39774         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
39775         (addinnetgrX): Likewise.
39776         * nscd/nscd-client.h (__nscd_acquire_maplock)
39777         (__nscd_drop_map_ref): Likewise.
39778         * nscd/nscd_getai.c (__nscd_getai): Likewise.
39779         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
39780         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
39781         Likewise.
39782         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
39783         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39784         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
39785         (__nscd_get_map_ref): Likewise.
39786         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
39787         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
39788         Likewise.
39789         * nscd/pwdcache.c (addpwbyX): Likewise.
39790         * nscd/selinux.c (preserve_capabilities): Likewise.
39791         * nscd/servicescache.c (addservbyX): Likewise.
39792         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
39793         * posix/fnmatch.c (fnmatch): Likewise.
39794         * posix/getopt.c (_getopt_internal_r): Likewise.
39795         * posix/glob.c (glob, glob_in_dir): Likewise.
39796         * posix/wordexp.c (exec_comm_child): Likewise.
39797         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
39798         (getanswer_r, gaih_getanswer_slice): Likewise.
39799         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
39800         * resolv/res_init.c: Likewise.
39801         * resolv/res_mkquery.c (res_nmkquery): Likewise.
39802         * resolv/res_query.c (__libc_res_nquery): Likewise.
39803         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
39804         Likewise.
39805         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
39806         * stdio-common/perror.c (perror): Likewise.
39807         * stdio-common/printf_fp.c (___printf_fp): Likewise.
39808         * stdio-common/tmpnam.c (tmpnam): Likewise.
39809         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
39810         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
39811         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
39812         Likewise.
39813         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
39814         * stdlib/putenv.c (putenv): Likewise.
39815         * stdlib/setenv.c (__add_to_environ): Likewise.
39816         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
39817         * stdlib/strtol_l.c (INTERNAL): Likewise.
39818         * string/memmem.c (memmem): Likewise.
39819         * string/strerror.c (strerror): Likewise.
39820         * string/strnlen.c (__strnlen): Likewise.
39821         * string/test-memmem.c (simple_memmem): Likewise.
39822         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
39823         * sunrpc/pm_getport.c (__get_socket): Likewise.
39824         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
39825         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
39826         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
39827         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
39828         Likewise.
39829         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
39830         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39831         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
39832         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
39833         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
39834         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
39835         Likewise.
39836         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
39837         Likewise.
39838         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
39839         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
39840         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39841         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
39842         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
39843         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
39844         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39845         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
39846         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
39847         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
39848         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39849         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
39850         Likewise.
39851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
39852         Likewise.
39853         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
39854         Likewise.
39855         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
39856         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39857         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
39858         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
39859         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
39860         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
39861         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39862         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
39863         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
39864         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
39865         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
39866         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39867         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
39868         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
39869         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39870         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
39871         Likewise.
39872         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
39873         Likewise.
39874         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
39875         Likewise.
39876         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
39877         Likewise.
39878         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39879         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39880         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
39881         Likewise.
39882         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
39883         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
39884         * sysdeps/posix/opendir.c (__opendirat): Likewise.
39885         * sysdeps/posix/sleep.c: Likewise.
39886         * sysdeps/posix/tempname.c: Likewise.
39887         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
39888         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
39889         Likewise.
39890         * sysdeps/powerpc/powerpc32/dl-machine.h
39891         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
39892         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
39893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
39894         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
39895         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
39896         Likewise.
39897         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
39898         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
39899         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39900         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
39901         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
39902         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
39903         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
39904         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
39905         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
39906         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
39907         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
39908         (elf_machine_lazy_rel): Likewise.
39909         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39910         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
39911         (elf_machine_lazy_rel): Likewise.
39912         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
39913         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
39914         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
39915         * sysdeps/unix/grantpt.c (grantpt): Likewise.
39916         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
39917         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
39918         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
39919         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39920         Likewise.
39921         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
39922         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
39923         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
39924         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
39925         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
39926         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
39927         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
39928         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
39929         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
39930         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
39931         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
39932         Likewise.
39933         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
39934         (__posix_fallocate64_l64): Likewise.
39935         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
39936         (posix_fallocate): Likewise.
39937         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
39938         Likewise.
39939         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
39940         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
39941         (getifaddrs_internal): Likewise.
39942         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
39943         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
39944         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
39945         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
39946         * sysdeps/unix/sysv/linux/posix_fallocate64.c
39947         (__posix_fallocate64_l64): Likewise.
39948         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
39949         Likewise.
39950         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
39951         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
39952         (__get_clockfreq): Likewise.
39953         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
39954         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
39955         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
39956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
39957         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
39958         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
39959         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
39960         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
39961         Likewise.
39962         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
39963         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
39964         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
39965         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
39966         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
39967         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
39968         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
39969         Likewise.
39970         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39971         (posix_fallocate): Likewise.
39972         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
39973         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
39974         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
39975         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
39976         (elf_machine_rela, elf_machine_rela_relative)
39977         (elf_machine_lazy_rel): Likewise.
39978         * time/asctime.c (asctime_internal): Likewise.
39979         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
39980         * time/tzset.c (__tzset_parse_tz): Likewise.
39981         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
39982         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
39983         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
39984         * wcsmbs/wcsmbsload.h: Likewise.
39986         [BZ #15894]
39987         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
39989         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
39990         (arena_get2): Remove THREAD_STATS conditionals.
39991         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
39992         (__malloc_stats, int): Likewise.
39994 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
39996         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
39997         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
39999         * manual/setjmp.texi: Fix typos/grammar errors.
40001         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40002         Only return early when n is <= 0.  Delete unused return statement.
40004         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40005         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40006         * debug/tst-longjmp_chk3.c: New file.
40008         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40009         (test_main): Replace code with set_fortify_handler call.
40010         * debug/test-strcpy_chk.c: Likewise.
40011         * debug/tst-chk1.c: Likewise.
40012         * debug/tst-longjmp_chk.c: Likewise.
40013         * test-skeleton.c: Include fcntl.h & paths.h
40014         (set_fortify_handler): Define.
40016         * debug/tst-longjmp_chk.c: Add header comment and include
40017         ../test-skeleton.c.
40018         (do_test): Mark static.
40019         (TEST_FUNCTION): Define.
40021         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40022         (IP_PMTUDISC_INTERFACE): Likewise.
40023         (IP_MULTICAST_IF): Likewise.
40024         (IP_MULTICAST_TTL): Likewise.
40025         (IP_MULTICAST_LOOP): Likewise.
40026         (IP_ADD_MEMBERSHIP): Likewise.
40027         (IP_DROP_MEMBERSHIP): Likewise.
40028         (IP_UNBLOCK_SOURCE): Likewise.
40029         (IP_BLOCK_SOURCE): Likewise.
40030         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40031         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40032         (IP_MSFILTER): Likewise.
40033         (MCAST_JOIN_GROUP): Likewise.
40034         (MCAST_BLOCK_SOURCE): Likewise.
40035         (MCAST_UNBLOCK_SOURCE): Likewise.
40036         (MCAST_LEAVE_GROUP): Likewise.
40037         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40038         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40039         (MCAST_MSFILTER): Likewise.
40040         (IP_MULTICAST_ALL): Likewise.
40041         (IP_UNICAST_IF): Likewise.
40043         * timezone/Makefile: Delete $(have-ksh) check.
40044         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40045         * timezone/tzselect.ksh: Add +x mode bits.
40047         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40048         (ANON_INODE_FS_MAGIC): Likewise.
40049         (BDEVFS_MAGIC): Likewise.
40050         (BINFMTFS_MAGIC): Likewise.
40051         (BTRFS_TEST_MAGIC): Likewise.
40052         (CRAMFS_MAGIC_WEND): Likewise.
40053         (DEBUGFS_MAGIC): Likewise.
40054         (ECRYPTFS_SUPER_MAGIC): Likewise.
40055         (EXT3_SUPER_MAGIC): Likewise.
40056         (EXT4_SUPER_MAGIC): Likewise.
40057         (FUTEXFS_SUPER_MAGIC): Likewise.
40058         (HOSTFS_SUPER_MAGIC): Likewise.
40059         (HUGETLBFS_MAGIC): Likewise.
40060         (MINIX3_SUPER_MAGIC): Likewise.
40061         (MTD_INODE_FS_MAGIC): Likewise.
40062         (NILFS_SUPER_MAGIC): Likewise.
40063         (OPENPROM_SUPER_MAGIC): Likewise.
40064         (PIPEFS_MAGIC): Likewise.
40065         (PSTOREFS_MAGIC): Likewise.
40066         (QNX6_SUPER_MAGIC): Likewise.
40067         (RAMFS_MAGIC): Likewise.
40068         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40069         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40070         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40071         (SECURITYFS_MAGIC): Likewise.
40072         (SELINUX_MAGIC): Likewise.
40073         (SMACK_MAGIC): Likewise.
40074         (SOCKFS_MAGIC): Likewise.
40075         (SQUASHFS_MAGIC): Likewise.
40076         (STACK_END_MAGIC): Likewise.
40077         (TMPFS_MAGIC): Likewise.
40078         (USBDEVICE_SUPER_MAGIC): Likewise.
40079         (V9FS_MAGIC): Likewise.
40080         (XENFS_SUPER_MAGIC): Likewise.
40081         (CRAMFS_MAGIC): Fix typo in comment.
40082         (EXT2_SUPER_MAGIC): Update comment.
40083         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40085 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40087         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40088         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40089         * sysdeps/unix/sysv/linux/arm: Move directory from
40090         ports/sysdeps/unix/sysv/linux/arm.
40091         * README: Update listing for arm-*-linux-gnueabi.
40093         * README: Remove mention of am33.
40095 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40097         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40098         than the comma operator, to avoid "rhs of comma has no effect"
40099         compiler warnings.
40100         (__sigfillset, __sigandset, __sigorset): Likewise.
40101         * include/signal.h (__sigemptyset): Likewise.
40102         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40104 2014-02-07  Allan McRae  <allan@archlinux.org>
40106         * version.h (RELEASE): Set to "development".
40107         (VERSION): Set to "2.19.90"
40108         * NEWS: Add 2.20 section.
40110 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40112         [BZ #16529]
40113         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40115 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40117         * manual/contrib.texi: Update entry for Carlos O'Donell,
40118         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40120 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40122         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40124         * sysdeps/unix/sysv/linux/kernel-features.h
40125         [__LINUX_KERNEL_VERSION >= 0x020621]
40126         (__ASSUME_PROC_PID_TASK_COMM): Define.
40128 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40130         [BZ #16398]
40131         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40132         conversion when destination buffer does not have enough space.
40133         * libio/tst-ftell-partial-wide.c: New test case.
40134         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40136         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40137         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40138         Leonard and Allan McRae.
40140 2014-02-04  David S. Miller  <davem@davemloft.net>
40142         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40143         32-bit.
40145 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40148         New file
40149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40150         New file
40151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40152         New file.
40153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40154         New file.
40155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40156         New file.
40157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40158         New file.
40159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40160         New file.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40162         New file.
40163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
40164         New file.
40165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
40166         New file.
40167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
40168         New file.
40169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
40170         New file.
40171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
40172         New file.
40174 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40176         * nptl/shlib-versions: Change powerpc*le start to 2.17.
40177         * shlib-versions: Likewise.
40179 2014-02-04  Roland McGrath  <roland@hack.frob.com>
40180             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40182         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
40183         (abilist-pattern): New variable, set to %-le.abilist.
40185         * Makerules (abilist-pattern): New variable.
40186         (vpath): Use $(abilist-pattern) in place of %.abilist.
40187         (check-abi-% pattern rule): Likewise.
40188         (check-abi, update-abi): Likewise.
40190 2014-02-04  Eric Wong  <normalperson@yhbt.net>
40192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40194 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
40196         * manual/startup.texi: Add next, previous, and top entries for
40197         the `Program Arguments' and `Environment Variables' nodes.
40199 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
40201         * manual/macros.texi: Add comments before MTASC-safety macros.
40203         * manual/users.texi: Document MTASC-safety properties.
40205         * manual/threads.texi (pthread_key_create, pthread_key_delete)
40206         (pthread_getspecific, pthread_setspecific): Format with
40207         @deftypefun, and add @safety note.
40208         * manual/signal.texi: Move comments that analyze the above
40209         functions to their home place.
40211 2014-02-03  Allan McRae  <allan@archlinux.org>
40213         * po/sl.po: Update Slovenian translation from translation project.
40215 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
40217         * manual/time.texi (timegm): Add missing blank after @c.
40218         Reported by Joseph Myers <joseph@codesourcery.com>.
40220 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
40222         * manual/check-safety.sh: New.
40223         * manual/Makefile ($(objpfx)stamp-summary): Run it.
40225         * manual/terminal.texi: Document MTASC-safety properties.
40227         * manual/filesys.texi: Document MTASC-safety properties.
40229         * manual/errno.texi: Document MTASC-safety properties.
40231         * manual/intro.texi: Document safety identifiers and
40232         conditionals.
40234         * manual/string.texi (wcstok): Fix prototype.
40235         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
40237         * manual/time.texi: Document MTASC-safety properties.
40239         * manual/string.texi: Document MTASC-safety properties.
40241         * manual/threads.texi: Document MTASC-safety properties.
40243         * manual/stdio.texi: Document MTASC-safety properties.
40245         * manual/syslog.texi: Document MTASC-safety properties.
40247         * manual/sysinfo.texi: Document MTASC-safety properties.
40249         * manual/startup.texi: Document MTASC-safety properties.
40251         * manual/socket.texi: Document MTASC-safety properties.
40253         * manual/signal.texi: Document MTASC-safety properties.
40255 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
40257         * manual/setjmp.texi: Document MTASC-safety properties.
40259         * manual/search.texi: Document MTASC-safety properties.
40261         * manual/resource.texi: Document MTASC-safety properties.
40263         * manual/process.texi: Document MTASC-safety properties.
40265         * manual/platform.texi: Document MTASC-safety properties.
40267         * manual/pipe.texi: Document MTASC-safety properties.
40269         * manual/pattern.texi: Document MTASC-safety properties.
40271         * manual/message.texi: Document MTASC-safety properties.
40273         [BZ #12751]
40274         * manual/memory.texi: Document MTASC-safety properties.
40276         * manual/math.texi: Document MTASC-safety properties.
40278         * manual/locale.texi: Document MTASC-safety properties.
40280         * manual/llio.texi: Document MTASC-safety properties.
40282         * manual/libdl.texi: New.
40284         * manual/lang.texi: Document MTASC-safety properties.
40286         * manual/job.texi: Document MTASC-safety properties.
40288         * manual/getopt.texi: Document MTASC-safety properties.
40290         * manual/ctype.texi: Document MTASC-safety properties.
40292 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
40294         [BZ #16046]
40295         * csu/libc-tls.c (static_map): Remove variable.
40296         (__libc_setup_tls): Use main executable's link map for TLS data.
40297         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
40298         casing for LM_ID_BASE and GL(dl_nns).
40299         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
40300         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
40301         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
40302         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
40303         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
40304         member.
40305         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
40306         l_phnum members.
40308 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
40310         * manual/debug.texi: Document MTASC-safety properties.
40312 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
40314         [BZ #16510]
40315         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
40316         of __x86_64__ when disabling x87 inline functions.
40318 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
40320         * manual/charset.texi: Document MTASC-safety properties.
40322         * manual/crypt.texi: Document MTASC-safety properties.
40324         * manual/conf.texi: Document MTASC-safety properties.
40326         * manual/arith.texi: Document MTASC-safety properties.
40328         * manual/argp.texi: Document MTASC-safety properties.
40330         * manual/macros.texi: Introduce macros to document multi
40331         thread, asynchronous signal and asynchronous cancellation
40332         safety properties.
40333         * manual/intro.texi: Introduce the properties themselves.
40335 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40337         * sysdeps/sh/sh4/Makefile: New file.
40339 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
40341         * math/gen-libm-test.pl ($srcdir): New variable.
40342         ($auto_input): Use it.
40344 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40346         [BZ #16506]
40347         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
40348         access beyond array bounds when parsing netgroups file.
40350         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
40351         the old buffer before realloc.
40353 2014-01-27  Allan McRae  <allan@archlinux.org>
40355         * po/fr.po: Update French translation from translation project.
40357 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40359         * sysdeps/sh/libm-test-ulps: Regenerate.
40361 2014-01-24  David S. Miller  <davem@davemloft.net>
40363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
40365 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40367         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
40368         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
40370 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40372         [BZ #16474]
40373         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
40374         string pointers after reallocation.
40376 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40378         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
40379         __SH4A__ instead of __SH_FPU_ANY__.
40381 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40383         * sysdeps/sh/fpu_control.h: New file.
40384         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
40385         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
40386         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
40387         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
40388         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
40389         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
40390         * sysdeps/sh/sys/ucontext.h: Remove.
40391         * sysdeps/sh/sys: Remove directory.
40393 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40395         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
40396         s390/sys/ucontext.h.
40397         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
40398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
40400 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
40402         [BZ #15605]
40403         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
40405 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40407         [BZ#16431]
40408         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40409         Adjust the vDSO correctly for internal calls.
40410         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
40412 2014-01-20  Allan McRae  <allan@archlinux.org>
40414         * po/ca.po: Update Catalan translation from translation project.
40416 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
40418         * sysdeps/s390/sotruss-lib.c: New file.
40420 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40422         [BZ#16430]
40423         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
40424         (__GI___gettimeofday): Alias for a different internal symbol to avoid
40425         local calls issues by not having a PLT stub required for IFUNC calls.
40426         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
40428 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
40430         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
40431         * math/test-fpucw-static.c: Likewise.
40433 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
40435         [BZ #16453]
40436         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
40438 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40440         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
40441         implementation for powerpc.
40443 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
40445         [BZ #14782]
40446         * sysdeps/posix/system.c (__libc_system): Do not enable
40447         asynchronous cancellation.
40449 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40451         [BZ #16427]
40452         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
40453         handling only for numbers special also in the IEEE case.
40455 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40457         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40459 2014-01-11  Allan McRae  <allan@archlinux.org>
40461         * po/bg.po: Update Bulgarian translation from translation project.
40463         * po/de.po: Update German translation from translation project.
40465 2014-01-10  Roland McGrath  <roland@hack.frob.com>
40467         * sysdeps/generic/gcc-compat.h: New file.
40469 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40471         * benchtests/asin-inputs: Correct slow inputs.
40472         * benchtests/acos-inputs: Likewise.
40474 2014-01-10  Allan McRae  <allan@archlinux.org>
40476         * po:sv.po: Update Swedish translation from translation project.
40478         * po/vi.po: Update Vietnamese translation from translation project.
40480         * po/eo.po: Update Esperanto translation from translation project.
40482         * po/cs.po: Update Czech translation from translation project.
40484         * po/nl.po: Update Dutch translation from translation project.
40486         * po/pl.po: Update Polish translation from translation project.
40488         * po/ru.po: Update Russian translation from translation project.
40490         * po/uk.po: Update Ukrainian translation from translation project.
40492 2014-01-08  Brooks Moses  <bmoses@google.com>
40494         * elf/dl-load.c: Fix comment typo.
40496 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
40498         * po/header.pot: Rename to...
40499         * po/pot.header: ... this.
40500         * po/Makefile: Use pot.header.
40502 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
40503             Maxim Kuvyrkov  <maxim@kugelworks.com>
40505         [BZ #16394]
40506         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
40507         SRC and DEST against LEN.
40509 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40511         [BZ #16414]
40512         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
40513         implementation.
40514         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
40516 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40518         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40520 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
40522         [BZ #16408]
40523         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
40524         for large positive arguments.
40526 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
40528         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40530         * math/auto-libm-test-in: Mark various tests with
40531         xfail-rounding:ldbl-128ibm.
40532         * math/auto-libm-test-out: Regenerated.
40534         [BZ #16407]
40535         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
40536         Increase overflow threshold.
40538 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
40540         [BZ #14286]
40541         * stdio-common/vfprintf.c: Check for integer overflow.
40543 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40545         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
40546         the first argument and return value of __tls_get_addr_internal.
40548 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40550         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
40551         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
40553 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40555         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
40556         * sysdeps/s390/rtld-global-offsets.sym: New file.
40557         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
40558         GLIBC_2.19 symbol.
40559         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
40560         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
40561         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
40562         ... this.
40563         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
40564         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
40565         ... this.
40566         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40567         Regenerate.
40568         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40569         Regenerate.
40570         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
40571         halfs of GPRs for high_gprs contexts.
40572         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
40573         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
40574         field.
40575         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
40576         uc_flags field.
40577         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
40578         64 bit versions:
40579         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
40580         for high GPRs (uc_high_gprs) and for future extensions
40581         (__reserved).
40582         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
40583         for future extensions (__reserved).
40584         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
40585         64 bit versions:
40586         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
40587         SC_HIGHGPRS offset definition.
40588         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
40589         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
40591         * Versions.def: Add GLIBC_2.19 for libpthread.
40592         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
40593         siglongjmp for libpthread with GLIBC_2.19 symver.
40594         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
40595         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
40596         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
40597         * sysdeps/s390/__longjmp.c: New file.
40598         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
40599         * sysdeps/s390/longjmp.c: New file.
40600         * sysdeps/s390/setjmp.S: New file.
40601         * sysdeps/s390/sigjmp.S: New file.
40602         * sysdeps/s390/v1-longjmp.c: New file.
40603         * sysdeps/s390/v1-setjmp.h: New file.
40604         * sysdeps/s390/v1-sigjmp.c: New file.
40605         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
40606         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
40607         GLIBC_2.19 version.
40608         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
40609         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
40610         versioned symbols for ____longjmp_chk.
40611         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
40612         Likewise.
40613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
40614         Regenerate.
40615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40616         Regenerate.
40617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
40618         Regenerate.
40619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40620         Regenerate.
40621         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
40622         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
40623         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
40624         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
40625         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
40626         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
40627         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
40628         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
40629         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
40630         * sysdeps/s390/rtld-__longjmp.c: New file.
40631         * sysdeps/s390/rtld-setjmp.S: New file.
40633 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
40635         [BZ #16400]
40636         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40637         Return -__logl (x) for small positive arguments without evaluating
40638         a polynomial.
40640 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
40642         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
40643         Rename to ...
40644         (__ptrace_peeksiginfo_args): ... this.
40645         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
40646         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
40647         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
40649 2014-01-06  Allan McRae  <allan@archlinux.org>
40651         * inet/netinet/in.h: Fix typo in comment.
40653 2014-01-05  Andreas Jaeger  <aj@suse.de>
40655         * sysdeps/i386/fpu/libm-test-ulps: Update.
40657 2014-01-05  Allan McRae  <allan@archlinux.org>
40659         * po/libc.pot: Regenerated.
40661         * malloc/memusagestat.c: Fix gettext call formatting.
40663 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
40665         * nscd/nscd.c: Improve usage() output.
40667 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
40669         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
40670         * sysdeps/unix/sysv/linux/configure: Regenerated.
40671         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
40672         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
40674 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40676         [BZ #16390]
40677         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
40678         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
40680 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
40683         extra tokens at end of #undef directive.
40684         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
40685         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
40686         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40688 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
40690         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
40692         * math/auto-libm-test-in: Mark various tests with
40693         xfail-rounding:ldbl-128ibm.
40694         * math/auto-libm-test-out: Regenerated.
40696 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
40698         [BZ #16386]
40699         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
40700         numbers with subnormal high part when calculating exponent.
40702         [BZ #16385]
40703         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
40704         fabs.
40706         [BZ #16384]
40707         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
40708         M_LN2l.
40709         (__ieee754_acoshl): Use __log1pl not __log1p.
40711 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
40713         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
40714         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
40715         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
40716         (grow_heap, heap_trim, _int_new_arena, get_free_list)
40717         (reused_arena, arena_get2): Convert to GNU style.
40718         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
40719         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
40720         (memalign_check, __malloc_set_state): Likewise.
40721         * malloc/mallocbug.c (main): Likewise.
40722         * malloc/malloc.c (__malloc_assert, malloc_init_state)
40723         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
40724         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
40725         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
40726         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
40727         (__posix_memalign, malloc_info): Likewise.
40728         * malloc/malloc.h: Likewise.
40729         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
40730         (mallochook, memalignhook, reallochook, mabort): Likewise.
40731         * malloc/mcheck.h: Likewise.
40732         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
40733         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
40734         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
40735         * malloc/morecore.c (__default_morecore): Likewise.
40736         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
40737         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
40738         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
40739         (print_and_abort): Likewise.
40740         * malloc/obstack.h: Likewise.
40741         * malloc/set-freeres.c (__libc_freeres): Likewise.
40742         * malloc/tst-mallocstate.c (main): Likewise.
40743         * malloc/tst-mtrace.c (main): Likewise.
40744         * malloc/tst-realloc.c (do_test): Likewise.
40746 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40748         [BZ #16366]
40749         * nscd/netgroupcache.c (do_notfound): New function.
40750         (addgetnetgrentX): Use it.
40752         [BZ # 16365]
40753         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
40754         NSS_STATUS_NOTFOUND.
40756 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
40758         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
40759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40761 2014-01-01  Allan McRae  <allan@archlinux.org>
40763         * scripts/update-copyrights: Update configure input file suffix.
40765         * NEWS: Update copyright year.
40766         * catgets/gencat.c: Likewise.
40767         * csu/version.c: Likewise.
40768         * debug/catchsegv.sh: Likewise.
40769         * debug/pcprofiledump.c: Likewise.
40770         * debug/xtrace.sh: Likewise.
40771         * elf/ldconfig.c: Likewise.
40772         * elf/ldd.bash.in: Likewise.
40773         * elf/pldd.c: Likewise.
40774         * elf/sotruss.ksh: Likewise.
40775         * elf/sprof.c: Likewise.
40776         * iconv/iconv_prog.c: Likewise.
40777         * iconv/iconvconfig.c: Likewise.
40778         * locale/programs/locale.c: Likewise.
40779         * locale/programs/localedef.c: Likewise.
40780         * login/programs/pt_chown.c: Likewise.
40781         * malloc/memusage.sh: Likewise.
40782         * malloc/memusagestat.c: Likewise.
40783         * malloc/mtrace.pl: Likewise.
40784         * manual/libc.texinfo: Likewise.
40785         * nscd/nscd.c: Likewise.
40786         * nss/getent.c: Likewise.
40787         * nss/makedb.c: Likewise.
40788         * posix/getconf.c: Likewise.
40789         * scripts/test-installation.pl: Likewise.
40791         * All files with FSF copyright notices: Update copyright dates
40792         using scripts/update-copyrights.
40793         * intl/plural.c: Regenerated.
40794         * locale/programs/charmap-kw.h: Likewise.
40795         * locale/programs/locfile-kw.h: Likewise.
40797 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
40799         * sysdeps/unix/sysv/linux/configure: Regenerated.
40800         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
40801         the linux/fanotify.h header.
40802         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
40803         HAVE_LINUX_FANOTIFY_H is defined.
40805 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
40807         * benchtests/cos-inputs: New inputs.
40808         * benchtests/sin-inputs: Likewise.
40810         * benchtests/atan-inputs: New inputs. Fix name of multiple
40811         precision fallback inputs.
40813         * benchtests/atanh-inputs: New inputs.
40814         * benchtests/tanh-inputs: Likewise.
40816         * benchtests/acosh-inputs: New inputs.
40817         * benchtests/asinh-inputs: Likewise.
40819         * benchtests/cosh-inputs: New inputs.
40820         * benchtests/sinh-inputs: Likewise.
40822         * benchtests/acos-inputs: Add more inputs.
40823         * benchtests/asin-inputs: Likewise.
40825 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
40827         [BZ #16375]
40828         * manual/arith.texi: Fix spelling.
40829         * manual/charset.texi: Likewise.
40830         * manual/errno.texi: Likewise.
40831         * manual/filesys.texi: Likewise.
40832         * manual/lang.texi: Likewise.
40833         * manual/llio.texi: Likewise.
40834         * manual/locale.texi: Likewise.
40835         * manual/message.texi: Likewise.
40836         * manual/resource.texi: Likewise.
40837         * manual/search.texi: Likewise.
40838         * manual/setjmp.texi: Likewise.
40839         * manual/stdio.texi: Likewise.
40840         * manual/string.texi: Likewise.
40841         * manual/sysinfo.texi: Likewise.
40842         * manual/time.texi: Likewise.
40844 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
40846         * po/sl.po: New file.
40848 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
40850         * .gitignore: Add core/.gdbinit/.gdb_history.
40852 2013-12-27  Allan McRae  <allan@archlinux.org>
40854         [BZ #16369]
40855         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
40856         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
40858 2013-12-24  Brooks Moses  <bmoses@google.com>
40860         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
40861         all compilers that claim C++98 compliance, not just GCC.
40862         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
40863         Likewise.
40865 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40867         * NEWS: Restore accidentally deleted bug-fix entries.
40869 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
40870             Ondřej Bílka  <neleai@seznam.cz>
40872         [BZ #15073]
40873         * malloc/malloc.c (_int_free): Perform sanity check only if we
40874         have_lock.
40876 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
40878         [BZ #12986]
40879         * manual/stdio.texi (String Input Conversions): Clarify that character
40880         classes are not supported.
40882 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40886 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
40888         [BZ #16337]
40889         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
40890         Calculate results for small negative arguments directly rather
40891         than using reflection formula with special underflow handling.
40893         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
40894         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
40895         sysdeps/unix/bsd/bsd4.4/syscalls.list.
40896         (fchflags): Likewise.
40897         (revoke): Likewise.
40898         (setlogin): Likewise.
40899         (sigaltstack): Likewise.
40900         (wait4): Likewise.
40901         (sigblock): Remove.
40902         (sigsetmask): Likewise.
40903         (wait3): Likewise.
40904         (waitpid): Likewise.
40905         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
40906         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
40907         file.
40908         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
40909         * sysdeps/unix/bsd/Makefile: ... here.
40910         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
40911         * sysdeps/unix/bsd/Versions: ... here.
40912         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
40913         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
40914         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
40915         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
40916         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
40917         * sysdeps/unix/bsd/sigblock.c: ... here.
40918         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
40919         * sysdeps/unix/bsd/sigsetmask.c: ... here.
40920         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
40921         * sysdeps/unix/bsd/sigvec.c: ... here.
40922         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
40923         * sysdeps/unix/bsd/tcdrain.c: ... here.
40924         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
40925         * sysdeps/unix/bsd/tcgetattr.c: ... here.
40926         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
40927         * sysdeps/unix/bsd/tcsetattr.c: ... here.
40928         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
40929         * sysdeps/unix/bsd/wait.c: ... here.
40930         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
40931         * sysdeps/unix/bsd/wait3.c: ... here.
40932         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
40933         * sysdeps/unix/bsd/waitpid.c: ... here.
40935 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
40937         [BZ #16356]
40938         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
40939         round-to-nearest for [!USE_AS_EXPM1L].
40940         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
40941         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
40942         more tests of exp and exp10.  Expect some exp10 tests to miss
40943         exceptions or fail in directed rounding modes.
40944         * math/auto-libm-test-out: Regenerated.
40945         * math/libm-test.inc (exp10_tonearest_test_data): New array.
40946         (exp10_test_tonearest): New function.
40947         (exp10_towardzero_test_data): New array.
40948         (exp10_test_towardzero): New function.
40949         (exp10_downward_test_data): New array.
40950         (exp10_test_downward): New function.
40951         (exp10_upward_test_data): New array.
40952         (exp10_test_upward): New function.
40953         (main): Call the new functions.
40954         * sysdeps/i386/fpu/libm-test-ulps: Update.
40955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40957 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
40959         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
40960         asinh, atan, atan2, atanh, cbrt, cos and cosh.
40961         * math/auto-libm-test-out: Regenerated.
40962         * math/libm-test.inc (acosh_test_data): Add more tests.
40963         (atanh_test_data): Likewise.
40964         (ceil_test_data): Likewise.
40965         (copysign_test_data): Likewise.
40966         * sysdeps/i386/fpu/libm-test-ulps: Update.
40967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40969         * timezone/checktab.awk: Update from tzcode 2013i.
40970         * timezone/private.h: Likewise.
40971         * timezone/scheck.c: Likewise.
40972         * timezone/tzfile.h: Likewise.
40973         * timezone/tzselect.ksh: Likewise.
40974         * timezone/zdump.c: Likewise.
40975         * timezone/zic.c: Likewise.
40977         * math/auto-libm-test-in: Add tests of cpow.
40978         * math/auto-libm-test-out: Regenerated.
40979         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
40980         * math/gen-auto-libm-tests.c (func_calc_method): Add value
40981         mpc_cc_c.
40982         (func_calc_desc): Add mpc_cc_c union field.
40983         (test_functions): Add cpow.
40984         (special_fill_2pi): New function.
40985         (special_real_inputs): Add 2pi.
40986         (calc_generic_results): Handle mpc_cc_c.
40987         * sysdeps/i386/fpu/libm-test-ulps: Update.
40988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40990         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
40991         csqrt, ctan and ctanh.
40992         * math/auto-libm-test-out: Regenerated.
40993         * math/libm-test.inc (TEST_COND_x86_64): New macro.
40994         (TEST_COND_x86): Likewise.
40995         (ccos_test_data): Use AUTO_TESTS_c_c.
40996         (ccosh_test_data): Likewise.
40997         (cexp_test_data): Likewise.
40998         (clog_test_data): Likewise.
40999         (csqrt_test_data): Likewise.
41000         (ctan_test_data): Likewise.
41001         (ctan_tonearest_test_data): Likewise.
41002         (ctan_towardzero_test_data): Likewise.
41003         (ctan_downward_test_data): Likewise.
41004         (ctan_upward_test_data): Likewise.
41005         (ctanh_test_data): Likewise.
41006         (ctanh_tonearest_test_data): Likewise.
41007         (ctanh_towardzero_test_data): Likewise.
41008         (ctanh_downward_test_data): Likewise.
41009         (ctanh_upward_test_data): Likewise.
41010         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41011         mpc_c_c.
41012         (func_calc_desc): Add mpc_c_c union field.
41013         (FUNC_mpc_c_c): New macro.
41014         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41015         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41016         ctanh.
41017         (special_fill_min_subnorm_p120): New function.
41018         (special_real_inputs): Add min_subnorm_p120.
41019         (calc_generic_results): Handle mpc_c_c.
41020         * sysdeps/i386/fpu/libm-test-ulps: Update.
41021         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41023 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41025         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41026         (do_sin_slow): New functions.
41027         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41028         (cslow2, csloww1, csloww2): Use the new functions.
41030         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41031         Use M to change sign of result instead of X.  Assume X is
41032         positive.
41033         (csloww1): Likewise.
41034         (__sin): Adjust.
41035         (__cos): Adjust.
41037         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41038         arguments A and DA.
41039         (__sin): Adjust.
41040         (__cos): Likewise.
41042         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41043         (__cos): Likewise.
41044         (sloww1): Don't adjust sign of DX.
41045         (csloww1): Likewise.
41046         (sloww2): Use X directly and don't adjust sign of DX.
41047         (csloww2): Likewise.
41049 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41051         * math/auto-libm-test-in: Add tests of cabs and carg.
41052         * math/auto-libm-test-out: Regenerated.
41053         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41054         (carg_test_data): Likewise.
41055         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41056         mpc_c_f.
41057         (func_calc_desc): Add mpc_c_f union field.
41058         (test_functions): Add cabs and carg.
41059         (calc_generic_results): Handle mpc_c_f.
41061         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41062         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41063         as a macro and a compat symbol.
41064         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41065         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41066         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41067         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41068         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41070         not use .hidden.
41071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41072         Likewise.
41073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41074         Likewise.
41075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41076         Likewise.
41077         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41078         Likewise.
41079         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41080         Likewise.
41081         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41082         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41083         from GLIBC_2.3.2.
41085 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41087         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41089 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41091         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41092         trailing whitespace removed.
41093         * scripts/config.guess: Update to version 2013-11-29.
41094         * scripts/config.sub: Update to version 2013-10-01.
41096         * math/auto-libm-test-in: Add tests of sincos.
41097         * math/auto-libm-test-out: Regenerated.
41098         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41099         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41100         mpfr_f_11.
41101         (func_calc_desc): Add mpfr_f_11 union field.
41102         (test_functions): Add sincos.
41103         (calc_generic_results): Handle mpfr_f_11.
41104         * sysdeps/i386/fpu/libm-test-ulps: Update.
41105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41107 2013-12-19  Andreas Schwab  <schwab@suse.de>
41109         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41110         CALL_MCOUNT.
41111         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41112         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41113         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41115 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41117         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41118         * sysdeps/i386/fpu/libm-test-ulps: Update.
41119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41121         [BZ #16293]
41122         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41123         round-to-nearest mode when using frndint.
41124         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41125         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41126         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41127         Likewise.
41128         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41129         sinh test to fail.
41130         * math/auto-libm-test-out: Regenerated.
41131         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41132         (TEST_COND_x86): Likewise.
41133         (expm1_tonearest_test_data): New array.
41134         (expm1_test_tonearest): New function.
41135         (expm1_towardzero_test_data): New array.
41136         (expm1_test_towardzero): New function.
41137         (expm1_downward_test_data): New array.
41138         (expm1_test_downward): New function.
41139         (expm1_upward_test_data): New array.
41140         (expm1_test_upward): New function.
41141         (main): Run the new test functions.
41142         * sysdeps/i386/fpu/libm-test-ulps: Update.
41143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41145         * include/features.h: Update comment documenting feature test
41146         macros.  Mention _DEFAULT_SOURCE in comment.
41147         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41148         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41149         _BSD_SOURCE and _SVID_SOURCE.
41150         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41151         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41152         !_SVID_SOURCE]: Likewise.
41153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41154         (__USE_POSIX_IMPLICITLY): Define.
41155         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41156         (_POSIX_SOURCE): Undefine and redefine.
41157         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41158         (_POSIX_C_SOURCE): Likewise.
41159         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41160         (Feature Test Macros): Update documentation of default features.
41162 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41164         * benchtests/Makefile: Add bench-strtok.
41165         * benchtests/bench-strtok.c: New file: strtok benchtest.
41167 2013-12-19  Allan McRae  <allan@archlinux.org>
41169         * manual/install.texi: Suppress menu for plain text output.
41170         * INSTALL: Regenerated.
41172 2013-12-18  Brooks Moses  <bmoses@google.com>
41174         [BZ #15846]
41175         * misc/getauxval.c: Include errno.h.
41176         (__getauxval): Set errno to ENOENT if the requested type is not
41177         found.
41178         * misc/sys/auxv.h (getauxval): Document that it may set errno;
41179         don't declare with __attribute_const__.
41180         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
41181         * manual/startup.texi: Document that getauxval sets errno.
41183 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41185         * math/auto-libm-test-in: Add tests of jn and yn.
41186         * math/auto-libm-test-out: Regenerated.
41187         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
41188         (yn_test_data): Likewise.
41189         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41190         mpfr_if_f.
41191         (func_calc_desc): Add mpfr_if_f union field.
41192         (FUNC_mpfr_if_f): New macro.
41193         (test_functions): Add jn and yn.
41194         (calc_generic_results): Assert type of second input for
41195         mpfr_ff_f.  Handle mpfr_if_f.
41196         (output_for_one_input_case): Disable all checking for arguments
41197         fitting floating-point types in case of an integer argument.
41198         * sysdeps/i386/fpu/libm-test-ulps: Update.
41199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
41202         Don't expect fegetround reference in libm.so.
41204 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
41206         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
41207         $(config-cflags-nofma).
41209 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
41211         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
41212         * math/auto-libm-test-out: Regenerated.
41214         [BZ #16338]
41215         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
41216         to determine exponent and adjust argument to have exponent of -1.
41217         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
41218         log2.
41219         * math/auto-libm-test-out: Regenerated.
41220         * sysdeps/i386/fpu/libm-test-ulps: Update.
41221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41223 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
41225         * manual/probes.texi: Remove cases when per-thread arenas are
41226         disabled.
41228 2013-12-18  Andreas Schwab  <schwab@suse.de>
41230         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
41231         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
41232         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
41233         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
41234         * sysdeps/i386/i686/multiarch/Makefile: Update.
41235         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
41237 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41239         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
41240         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
41242 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
41244         [BZ #15968]
41245         Support TZ transition times < 00:00:00.
41246         This is needed for version-3 tz-format files; it supports time
41247         stamps past 2037 for America/Godthab (the only entry in the tz
41248         database for which this change is relevant).
41249         * manual/time.texi (TZ Variable): Document transition times
41250         from -167:59:59 through -00:00:01.
41251         * time/tzset.c (tz_rule): Time of day is now signed.
41252         (__tzset_parse_tz): Parse negative time of day.
41254         Document TZ transition times >= 25:00:00.
41255         * manual/time.texi (TZ Variable): Document transition times from
41256         25:00:00 through 167:59:59.  These are already supported, and this
41257         support will help with version-3 tz-format files.
41259         * manual/time.texi (TZ Variable): Modernize North America example
41260         to reflect current (i.e., 2007-and-later) daylight saving rules.
41262         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
41264 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41266         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
41267         * sysdeps/unix/bsd/bits/stat.h: Likewise.
41268         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
41269         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41270         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
41271         * sysdeps/unix/bsd/bsdstat.h: Likewise.
41272         * sysdeps/unix/bsd/clock.c: Likewise.
41273         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
41274         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
41275         * sysdeps/unix/bsd/init-posix.c: Likewise.
41276         * sysdeps/unix/bsd/poll.c: Likewise.
41277         * sysdeps/unix/bsd/ptsname.c: Likewise.
41278         * sysdeps/unix/bsd/seekdir.c: Likewise.
41279         * sysdeps/unix/bsd/setegid.c: Likewise.
41280         * sysdeps/unix/bsd/seteuid.c: Likewise.
41281         * sysdeps/unix/bsd/setgid.c: Likewise.
41282         * sysdeps/unix/bsd/setrgid.c: Likewise.
41283         * sysdeps/unix/bsd/setruid.c: Likewise.
41284         * sysdeps/unix/bsd/setsid.c: Likewise.
41285         * sysdeps/unix/bsd/setuid.c: Likewise.
41286         * sysdeps/unix/bsd/sigaction.c: Likewise.
41287         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
41288         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
41289         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
41290         * sysdeps/unix/bsd/telldir.c: Likewise.
41291         * sysdeps/unix/bsd/times.c: Likewise.
41292         * sysdeps/unix/bsd/usleep.c: Likewise.
41294         * misc/Makefile (install-lib): Remove libbsd-compat.a.
41295         ($(objpfx)libbsd-compat.a): Remove rule.
41297         * include/features.h (__FAVOR_BSD): Do not define.
41298         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
41299         features conflicting with POSIX.
41300         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
41301         (_BSD_SOURCE): Remove description of not being a subset of other
41302         feature test macros.
41303         * manual/job.texi (getpgrp): Do not document BSD version.
41304         (getpgid): Do not document by reference to BSD getpgrp.
41305         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
41306         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
41307         * signal/signal.h [__FAVOR_BSD]: Likewise.
41308         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
41309         instead of making contents conditional on [__FAVOR_BSD].
41310         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
41312 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41314         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41316 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
41318         [BZ #16314]
41319         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
41320         values below 2**-450, not 2**-500.
41321         * math/auto-libm-test-in: Don't allow spurious underflow from
41322         hypot.
41323         * math/auto-libm-test-out: Regenerated.
41325         [BZ #16316]
41326         [BZ #16330]
41327         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
41328         values of ha and hb and sort them after adjusting subnormal
41329         arguments.
41330         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
41331         Likewise.
41332         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
41333         values of ea and eb and sort them after adjusting subnormal
41334         arguments.
41335         * math/auto-libm-test-in: Do not expect some hypot tests of
41336         subnormals to fail.  Add more hypot tests.
41337         * math/auto-libm-test-out: Regenerated.
41339 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41341         [BZ #13304]
41342         * sysdeps/sh/s_fma.c: New file.
41343         * sysdeps/sh/s_fmaf.c: New file.
41344         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
41345         version.
41346         * sysdeps/sh/Implies: Add sh/soft-fp.
41348 2013-12-16  Roland McGrath  <roland@hack.frob.com>
41350         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
41351         level of indirection to members `objname', `errstring', `malloced'.
41352         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
41353         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
41354         it as the __longjmp argument (just pass 1 instead).
41355         (_dl_catch_error): Initialize C with argument pointers and address of
41356         volatile local ERRCODE rather than copying values out of C at return.
41358 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
41360         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
41361         * math/auto-libm-test-out: Regenerated.
41362         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
41363         (hypot_test_data): Likewise.
41364         (pow_test_data): Likewise.
41365         (pow_tonearest_test_data): Likewise.
41366         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41367         mpfr_ff_f.
41368         (func_calc_desc): Add mpfr_ff_f union field.
41369         (FUNC_mpfr_ff_f): New macro.
41370         (test_functions): Add atan2, hypot and pow.
41371         (special_fill_min): New function.
41372         (special_fill_minus_min): Likewise.
41373         (special_fill_min_subnorm): Likewise.
41374         (special_fill_minus_min_subnorm): Likewise.
41375         (special_real_inputs): Add min, -min, min_subnorm and
41376         -min_subnorm.
41377         (calc_generic_results): Handle mpfr_ff_f.
41378         * sysdeps/i386/fpu/libm-test-ulps: Update.
41379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41381 2013-12-16  Will Newton  <will.newton@linaro.org>
41383         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
41384         (Aligned Memory Blocks): Add documentation for aligned_alloc
41385         and suggest it as an alternative to posix_memalign.
41386         (Hooks for Malloc): Document __memalign_hook is also called
41387         for aligned_alloc.  (Summary of Malloc): Add summary for
41388         aligned alloc.  Document __memalign_hook is also called
41389         for aligned_alloc.
41391 2013-12-16  Will Newton  <will.newton@linaro.org>
41393         * manual/memory.texi (Malloc Examples): Clarify default
41394         alignment documentation.  Suggest posix_memalign rather
41395         than memalign or valloc.
41396         (Aligned Memory Blocks): Remove suggestion to use memalign
41397         or valloc.  Remove obsolete comment about BSD.
41398         Document memalign errno values and mark the function obsolete.
41399         Document posix_memalign returned error codes.  Mark valloc
41400         as obsolete.  (Hooks for Malloc): __memalign_hook is also
41401         called for posix_memalign and valloc.
41402         (Summary of Malloc): Add posix_memalign to function summary.
41403         __memalign_hook is also called for posix_memalign and valloc.
41405 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41407         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
41408         TAYLOR_SIN.
41409         (__sin): Adjust.
41410         (__cos): Likewise.
41411         (sloww): Use mynumber union.  Expand ternary operator into
41412         if-else statements.
41413         (cslow): use mynumber union.
41415 2013-12-16  Allan McRae  <allan@archlinux.org>
41417         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
41418         * configure: Regenerated.
41420         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
41422         [BZ #14120]
41423         * configure.ac: Added --enable-maintainer-mode. Check for
41424         autoconf when enabled.
41425         * configure: Regenerated.
41427         * nscd/nscd.service: New file.
41428         * nscd/nscd.tmpfiles: New file.
41430 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
41432         [BZ #12100]
41433         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
41434         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
41435         * sysdeps/x86_64/multiarch/strstr.c: ... here.
41436         (strstr): Add __strstr_sse2_unaligned ifunc.
41437         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
41438         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
41439         (strcasestr): Remove __strcasestr_sse42 ifunc.
41440         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
41441         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
41442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
41444 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41446         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
41447         * sysdeps/sh/bits/fenv.h: ... here.
41448         * sysdeps/sh/sh4/fpu/bits: Remove directory.
41450 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41452         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
41454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
41455         hypotf multiarch implementations.
41456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
41457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
41458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
41459         multiarch hypot for PPC64.
41460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
41461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
41462         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
41463         multiarch hypotf for PPC64.
41465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
41466         modff multiarch implementations.
41467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
41468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
41469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
41470         multiarch modf for PPC64.
41471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
41472         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
41473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
41474         multiarch modff for PPC64.
41476         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
41477         and logl multiarch implementations.
41478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
41479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
41480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
41481         multiarch logb for PPC64.
41482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
41483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
41484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
41485         multiarch logb for PPC64.
41486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
41487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
41488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
41489         multiarch logb for PPC64.
41491         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
41492         isinff multiarch implementation.
41493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
41494         file.
41495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
41496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
41497         multiarch isinf for PPC64.
41498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
41499         file.
41500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
41501         multiarch isinff for PPC64.
41503         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
41504         finitef multiarch implementation.
41505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
41506         file.
41507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
41508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
41509         multiarch finite for PPC64.
41510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
41511         file.
41512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
41513         multiarch finitef for PPC64.
41515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
41516         lrint multiarch implementation.
41517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
41518         file.
41519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
41520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
41521         multiarch llrint for PPC64.
41522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
41523         multiarch lrint for PPC64.
41525         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
41526         copysignf multiarch implementation.
41527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
41528         file.
41529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
41530         file.
41531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
41532         multiarch copysign for PPC64.
41533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
41534         multiarch copysignf for PPC64.
41536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
41537         multiarch implementation.
41538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
41539         file.
41540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
41541         file.
41542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
41543         file.
41544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
41545         file.
41546         multiarch llround for PPC64.
41547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
41548         multiarch trunc for PPC64.
41549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
41550         multiarch truncf for PPC64.
41552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
41553         multiarch implementation.
41554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
41555         file.
41556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
41557         file.
41558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
41559         file.
41560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
41561         file.
41562         multiarch llround for PPC64.
41563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
41564         multiarch round for PPC64.
41565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
41566         multiarch roundf for PPC64.
41568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
41569         multiarch implementation.
41570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
41571         file.
41572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
41573         file.
41574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
41575         file.
41576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
41577         file.
41578         multiarch llround for PPC64.
41579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
41580         multiarch floor for PPC64.
41581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
41582         multiarch floorf for PPC64.
41584         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
41585         multiarch implementation.
41586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
41587         file.
41588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
41589         file.
41590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
41591         file.
41592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
41593         file.
41594         multiarch llround for PPC64.
41595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
41596         multiarch ceil for PPC64.
41597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
41598         multiarch ceilf for PPC64.
41600         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41601         multiarch implementation.
41602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
41603         file.
41604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
41605         file.
41606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
41607         file.
41608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
41609         multiarch llround for PPC64.
41610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
41611         multiarch lround for PPC64.
41613         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41614         multiarch implementation.
41615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
41616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
41617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
41618         file.
41619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
41620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
41621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
41622         multiarch isnan for PPC64.
41623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
41624         multiarch isnanf for PPC64.
41626         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
41627         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
41628         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
41629         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
41630         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
41631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
41633         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
41634         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
41635         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
41636         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
41638         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
41639         multiarch implementations.
41640         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41641         (__libc_ifunc_impl_list): Likewise.
41642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
41643         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
41644         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
41645         multiarch stpcpy for PPC64.
41647         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
41648         multiarch implementations.
41649         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41650         (__libc_ifunc_impl_list): Likewise.
41651         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
41652         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
41653         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
41654         multiarch strcpy for PPC64.
41656         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
41657         redefine function name.
41658         (_wordcopy_fwd_dest_aligned): Likewise.
41659         (_wordcopy_bwd_aligned): Likewise.
41660         (_wordcopy_bwd_dest_aligned): Likewise.
41661         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
41662         multiarch implementations.
41663         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41664         (__libc_ifunc_impl_list): Likewise.
41665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
41666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
41667         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
41668         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
41669         multiarch wcscpy for PPC64.
41671         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
41672         multiarch implementations.
41673         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41674         (__libc_ifunc_impl_list): Likewise.
41675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
41676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
41677         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
41678         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
41679         multiarch wcscpy for PPC64.
41681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
41682         multiarch implementations.
41683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41684         (__libc_ifunc_impl_list): Likewise.
41685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
41686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
41687         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
41688         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
41689         multiarch wcsrchr for PPC64.
41691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
41692         multiarch implementations.
41693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41694         (__libc_ifunc_impl_list): Likewise.
41695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
41696         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
41697         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
41698         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
41699         multiarch wcschr for PPC64.
41701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
41702         multiarch implementations.
41703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41704         (__libc_ifunc_impl_list): Likewise.
41705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
41706         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
41707         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
41708         multiarch strchrnul for PPC64.
41710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
41711         implementations.
41712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41713         (__libc_ifunc_impl_list): Likewise.
41714         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
41715         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
41716         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
41717         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
41718         strchr for PPC64.
41720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
41721         implementations.
41722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41723         (__libc_ifunc_impl_list): Likewise.
41724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
41725         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
41726         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
41727         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
41728         strncmp for PPC64.
41730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
41731         multiarch implementations.
41732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41733         (__libc_ifunc_impl_list): Likewise.
41734         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
41735         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
41736         strncasecmp for PPC64.
41737         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
41738         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
41739         multiarch strncasecmp_l for PPC64.
41741         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
41742         multiarch implementations.
41743         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41744         (__libc_ifunc_impl_list): Likewise.
41745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
41746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
41747         multiarch strcasecmp for PPC64.
41748         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
41749         file.
41750         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
41751         multiarch strcasecmp_l for PPC64.
41753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
41754         implementations.
41755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41756         (__libc_ifunc_impl_list): Likewise.
41757         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
41758         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
41759         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
41760         strnlen for PPC64.
41762         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
41763         implementations.
41764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41765         (__libc_ifunc_impl_list): Likewise.
41766         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
41767         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
41768         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
41769         strlen for PPC64.
41771         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
41772         implementations.
41773         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41774         (__libc_ifunc_impl_list): Likewise.
41775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
41776         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
41777         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
41778         rawmemrchr for PPC64.
41780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
41781         implementation.
41782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41783         (__libc_ifunc_impl_list): Likewise.
41784         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
41785         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
41786         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
41787         memrchr for PPC64.
41789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
41790         implementation.
41791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41792         (__libc_ifunc_impl_list): Likewise.
41793         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
41794         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
41795         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
41796         memchr for PPC64.
41798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
41799         implementation.
41800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41801         (__libc_ifunc_impl_list): Likewise.
41802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
41803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
41804         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
41805         mempcpy for PPC64.
41807         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
41808         avoid cretion of __bzero symbol.
41809         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
41810         Likewise.
41811         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
41812         Likewise.
41813         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
41814         Likewise.
41815         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
41816         multiarch implementations.
41817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41818         (__libc_ifunc_impl_list): Likewise.
41819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
41820         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
41821         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
41822         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
41823         bzero for PPC32.
41824         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
41825         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
41826         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
41827         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
41828         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
41829         memset for PPC64.
41830         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
41832         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
41833         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
41834         implementations.
41835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41836         (__libc_ifunc_impl_list): Likewise.
41837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
41838         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
41839         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
41840         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
41841         memcmp for PPC64.
41843         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
41844         multiarch for POWER/PPC64.
41845         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
41846         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
41847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
41848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
41849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
41850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
41851         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
41852         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
41853         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
41854         memcpy for PPC64.
41856         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
41857         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
41858         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
41859         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
41860         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
41861         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
41862         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
41863         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
41864         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
41865         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
41866         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
41867         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
41868         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
41869         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
41870         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
41871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
41873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
41874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
41875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
41876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
41877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
41879 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
41883 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41885         * benchtests/Makefile (bench): Add exp2 and log2.
41886         (LDLIBS-bench-exp2): Add -lm.
41887         (LDLIBS-bench-log2): Likewise.
41888         * benchtests/exp2-inputs: New inputs file.
41889         * benchtests/log2-inputs: New inputs file.
41890         * benchtests/log-inputs: Add new inputs.
41891         * benchtests/tan-inputs: Likewise.
41893 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
41895         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
41896         definition...
41897         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
41898         (csloww2): ... from here.
41900         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
41901         instead of structures.
41902         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
41903         (POLYNOMIAL): Likewise.
41904         (TAYLOR_SLOW): Likewise.
41905         (__sin): Likewise.
41906         (__cos): Likewise.
41907         (slow1): Likewise.
41908         (slow2): Likewise.
41909         (sloww): Likewise.
41910         (sloww1); Likewise.
41911         (sloww2): Likewise.
41912         (bsloww1): Likewise.
41913         (bsloww2): Likewise.
41914         (cslow2): Likewise.
41915         (csloww): Likewise.
41916         (csloww1): Likewise.
41917         (csloww2): Likewise.
41919 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
41921         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
41922         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
41923         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
41924         * malloc/hooks.c (realloc_check): Likewise.
41926         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
41927         * malloc/arena.c: Remove PER_THREAD conditional.
41928         [!PER_THREAD]: Remove code.
41929         (ptmalloc_unlock_all2): Likewise.
41930         (ptmalloc_init): Likewise.
41931         (_int_new_arena): Likewise.
41932         (arena_get2): Likewise.
41933         * malloc/hooks.c (__malloc_get_state): Likewise.
41934         (__malloc_set_state): Likewise.
41935         * malloc/malloc.c: Likewise.
41936         (struct malloc_state): Likewise.
41937         (struct malloc_par): Likewise.
41938         (__libc_realloc): Likewise.
41939         (__libc_mallopt): Likewise.
41941 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41943         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
41945 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
41947         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
41948         macro to a function.  Check for zero perturb_byte.
41949         (_int_malloc, _int_free): Remove zero perturb_byte checks.
41951         * malloc/malloc.c: (force_reg): Remove.
41952         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
41953         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
41954         force_reg by atomic_forced_read.
41955         * malloc/arena.c (ptmalloc_init): Likewise.
41956         * malloc/hooks.c (top_check): Likewise.
41958 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41960         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41962 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
41964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41966 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
41968         * math/auto-libm-test-in: Add tests of lgamma.
41969         * math/auto-libm-test-out: Regenerated.
41970         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
41971         (M_LOG_2_SQRT_PIl): Likewise.
41972         (lgamma_test_data): Use AUTO_TESTS_f_f1.
41973         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41974         mpfr_f_f1.
41975         (func_calc_desc): Add mpfr_f_f1 union field.
41976         (ARGS1): New macro.
41977         (ARGS2): Likewise.
41978         (ARGS3): Likewise.
41979         (ARGS4): Likewise.
41980         (RET1): Likewise.
41981         (RET2): Likewise.
41982         (CALC): Likewise.
41983         (FUNC): Likewise.
41984         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
41985         (test_functions): Add lgamma.
41986         (calc_generic_results): Handle mpfr_f_f1.
41987         * sysdeps/i386/fpu/libm-test-ulps: Update.
41988         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41990 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41992         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
41993         __mpn_add_n for PowerPC64/POWER7.
41994         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
41995         __mpn_sub_n for PowerPC64/POWER7.
41997         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
41998         __mpn_addmul_1 for PowerPC64.
41999         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42000         __mpn_submul_1 for PowerPC64.
42001         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42002         for PowerPC64.
42003         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42004         for PowerPC64.
42006 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42008         [BZ #15089]
42009         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42011 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42013         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42015         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42016         add multiarch folders.
42017         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42018         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42019         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42020         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42021         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42022         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42023         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42024         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42025         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42026         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42027         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42036         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42038         New file.
42039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42040         New file.
42041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42042         multiarch __ieee754_hypot for PowerPC32.
42043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42044         New file.
42045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42046         New file.
42047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42048         multiarch __ieee754_hypotf for PowerPC32.
42050         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42051         long_double_symbol only if __logbl is defined.
42052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42053         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42055         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42056         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42057         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42059         path for implementation.
42060         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42061         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42063         logb, and logbl multiarch implementations for PowerPC32.
42064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42065         file.
42066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42067         file.
42068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42069         multiarch logb for PowerPC32.
42070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42071         file.
42072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42073         file.
42074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42075         multiarch logbf for PowerPC32.
42076         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42078         file.
42079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42080         multiarch logbl implementation for PowerPC32.
42082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42083         and modff multiarch implementations.
42084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42085         New file.
42086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42087         New file.
42088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42089         multiarch modf for PowerPC32.
42090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42091         New file.
42092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42093         New file.
42094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42095         multiarch modff for PowerPC32.
42097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42098         and lrintf multiarch implementations.
42099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42100         New file.
42101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42102         New file.
42103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42104         multiarch lrint for PowerPC32.
42105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42106         file: multiarch lrintf for PowerPC32.
42108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42109         and lroundf multiarch implementations.
42110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42111         New file.
42112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42113         New file.
42114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42115         New file.
42116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42117         multiarch lround for PowerPC32.
42118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42119         file: multiarch lroundf for PowerPC32.
42121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42122         copysign and copysignf multiarch implementations.
42123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42124         New file.
42125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42126         New file.
42127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42128         file: multiarch copysign for PowerPC32.
42129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42130         file: multiarch copysignf for PowerPC32.
42132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42133         and truncf multiarch implementations.
42134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42135         New file.
42136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42137         file.
42138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42139         multiarch trunc for PowerPC32.
42140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42141         New file.
42142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42143         New file.
42144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42145         multiarch truncf for PowerPC32.
42147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42148         and roundf multiarch implementations.
42149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42150         New file.
42151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42152         file.
42153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42154         multiarch round for PowerPC32.
42155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42156         New file.
42157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42158         New file.
42159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42160         multiarch roundf for PowerPC32.
42162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
42163         and floorf multiarch implementations.
42164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
42165         New file.
42166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
42167         file.
42168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
42169         multiarch floor for PowerPC32.
42170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
42171         New file.
42172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
42173         New file.
42174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
42175         multiarch floorf for PowerPC32.
42177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
42178         and ceilf multiarch implementations.
42179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
42180         New file.
42181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
42182         file.
42183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
42184         multiarch ceil for PowerPC32.
42185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
42186         New file.
42187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
42188         file.
42189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
42190         multiarch ceilf for PowerPC32.
42192         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
42193         is defined.
42194         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
42195         FINITEF is defined.
42196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
42197         and finitef multiarch implementations.
42198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
42199         New file.
42200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
42201         file.
42202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
42203         multiarch finite for PowerPC32.
42204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
42205         New file.
42206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
42207         file: multiarch finitef for PowerPC32.
42209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
42210         and isinff multiarch implementations.
42211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
42212         file.
42213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
42214         file.
42215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
42216         multiarch isinf for PowerPC32.
42217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42218         New file.
42219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
42220         multiarch isinff for PowerPC32.
42222         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
42223         alias when __isnan is defined.
42224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
42225         and isnanf multiarch implementations.
42226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
42227         file.
42228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
42229         file.
42230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
42231         file.
42232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
42233         file.
42234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
42235         multiarch isnan for PowerPC32.
42236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
42237         New file.
42238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
42239         New file.
42240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
42241         multiarch isnanf for PowerPC32.
42243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
42244         and sqrtf multiarch implementations.
42245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
42246         file.
42247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
42248         file.
42249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
42250         multiarch sqrt for PowerPC32.
42251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
42252         file.
42253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
42254         file.
42255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
42256         multiarch sqrtf for PowerPC32.
42258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
42259         and llroundf multiarch implementations.
42260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
42261         New file.
42262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
42263         New file.
42264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
42265         New file.
42266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
42267         file: multiarch llround for PowerPC32.
42268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
42269         file: multiarch llroundf for PowerPC32.
42271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
42272         multiarch PowerPC32 fpu implementations.
42273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
42274         New file.
42275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
42276         New file.
42277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
42278         multiarch llrint for PowerPC32.
42279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
42280         New file.
42281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
42282         New file.
42283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
42284         file.
42286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
42288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
42289         file.
42290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
42291         file.
42292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
42293         file.
42294         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
42295         multiarch wordcopy for PPC32.
42296         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42297         wordcopy objects.
42298         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42299         (__libc_ifunc_impl_list): Likewise.
42300         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
42301         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
42302         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
42303         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
42304         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
42305         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
42307         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
42308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
42309         file.
42310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
42311         file.
42312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
42313         file.
42314         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
42315         multiarch wcscpy for PPC32.
42316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
42317         multiarch objects.
42318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42319         (__libc_ifunc_impl_list): Likewise.
42320         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42321         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42322         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
42323         sysdeps/powerpc/power6/wcscpy.c.
42325         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
42326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
42327         file.
42328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
42329         file.
42330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
42331         file.
42332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
42333         multiarch wcsrchr for PPC32.
42334         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42335         multiarch objects.
42336         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42337         (__libc_ifunc_impl_list): Likewise.
42338         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
42339         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
42340         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
42341         sysdeps/powerpc/power6/wcsrchr.c.
42343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
42344         file.
42345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
42346         file.
42347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
42348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
42349         multiarch wcschr for PPc32.
42350         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
42351         multiarch objects.
42352         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42353         (__libc_ifunc_impl_list): Likewise.
42354         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
42355         * sysdeps/powerpc/power6/wcschr.c: ... to here.
42356         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
42357         sysdeps/powerpc/power6/wcschr.c.
42359         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
42360         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
42361         file.
42362         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
42363         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
42364         file: multiarch strchr for PPC32.
42365         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
42366         multiarch objects.
42367         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42368         (__libc_ifunc_impl_list): Likewise.
42370         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
42371         name.
42372         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
42373         file.
42374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
42375         file.
42376         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
42377         multiarch strchrnul for PPC32.
42378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
42379         multiarch objects.
42380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42381         (__libc_ifunc_impl_list): Likewise.
42383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
42384         file.
42385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
42386         multiarch strncasecmp for PPC32.
42387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
42388         file.
42389         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
42390         multiarch strncasecmp_l for PPC32.
42391         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
42392         strncasecmp multiarch objects.
42393         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42394         (__libc_ifunc_impl_list): Likewise.
42396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
42397         file.
42398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
42399         multiarch strncasecmp for PPC32.
42400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
42401         New file.
42402         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
42403         multiarch strcasecmp_l for PPC32.
42404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
42405         multiarch objects.
42406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42407         (__libc_ifunc_impl_list): Likewise.
42409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
42410         file.
42411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
42412         file.
42413         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
42414         multiarch strncmp for PPC32.
42415         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
42416         multiarch objects.
42417         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42418         (__libc_ifunc_impl_list): Likewise.
42420         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
42421         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
42422         file.
42423         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
42424         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
42425         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
42426         multiarch objects.
42427         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42428         (__libc_ifunc_impl_list): Likewise.
42430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
42431         file.
42432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
42433         file.
42434         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
42435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
42436         multiarch objects.
42437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42438         (__libc_ifunc_impl_list): Likewise.
42440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
42441         file.
42442         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
42443         file.
42444         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
42445         multiarch rawmemchr for PPC32.
42446         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
42447         multiarch objects.
42448         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42449         (__libc_ifunc_impl_list): Likewise.
42451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
42452         file.
42453         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
42454         file.
42455         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
42456         file: memrchr multiarch for PPC32.
42457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
42458         multiarch objects.
42459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
42460         (__libc_ifunc_impl_list): Likewise.
42462         * string/memchr.c (__memchr): Using macro to redefine symbol name.
42463         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
42464         file.
42465         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
42466         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
42467         multiarch memchr for PPC32.
42468         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
42469         multiarch objects.
42470         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42471         (__libc_ifunc_impl_list): Likewise.
42473         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
42474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
42475         file.
42476         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
42477         file.
42478         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
42479         file: multiarch mempcpy for PPC32.
42480         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
42481         multiarch objects.
42482         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42483         (__libc_ifunc_impl_list): Likewise.
42485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
42486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
42487         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
42488         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
42489         multiarch bzero for PPC32.
42490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
42491         file.
42492         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
42493         file.
42494         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
42495         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
42496         file: multiarch memset for PPC32.
42497         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
42498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
42499         memset multiarch objects.
42500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42501         (__libc_ifunc_impl_list): Likewise.
42503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
42504         file.
42505         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
42506         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
42507         memcmp for PPC32.
42508         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
42509         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
42510         multiarch objects.
42511         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42512         (__libc_ifunc_impl_list): Likewise.
42514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
42515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
42516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
42517         file.
42518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
42519         file.
42520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
42521         file.
42522         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
42523         multiarch memcpy for PPC32.
42524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
42525         multiarch objects.
42526         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
42527         (__libc_ifunc_impl_list): Likewise.
42529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
42530         support multiarch for POWER/PPC32.
42531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
42532         Likewise.
42533         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
42535         Implies file to make multiarch folder appers before the fpu and
42536         default folder for power4 configuration.
42538 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
42540         * scripts/bench.pl: Append volatile keyword to type.
42542 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42544         * sysdeps/sh/sotruss-lib.c: New file.
42545         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
42547 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42551 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
42553         [BZ #6810]
42554         * math/w_tgamma.c: Include <errno.h>.
42555         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
42556         * math/w_tgammaf.c: Include <errno.h>.
42557         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
42558         * math/w_tgammal.c: Include <errno.h>.
42559         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
42560         * math/auto-libm-test-in: Do not allow missing errno on tgamma
42561         underflow.  Add more tgamma tests.
42562         * math/auto-libm-test-out: Regenerated.
42563         * sysdeps/i386/fpu/libm-test-ulps: Update.
42564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42566         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
42567         sin, sinh, tan, tanh, tgamma, y0 and y1.
42568         * math/auto-libm-test-out: Regenerated.
42569         * math/libm-test.inc (TEST_COND_x86_64): New macro.
42570         (TEST_COND_x86): Likewise.
42571         (M_E2l): Remove macro.
42572         (M_E3l): Likewise.
42573         (M_2_SQRT_PIl): Likewise.
42574         (M_SQRT_PIl): Likewise.
42575         (M_1_DIV_El): Likewise.
42576         (log_test_data): Use AUTO_TESTS_f_f.
42577         (log10_test_data): Likewise.
42578         (log1p_test_data): Likewise.
42579         (log2_test_data): Likewise.
42580         (sin_test_data): Likewise.
42581         (sin_tonearest_test_data): Likewise.
42582         (sin_towardzero_test_data): Likewise.
42583         (sin_downward_test_data): Likewise.
42584         (sin_upward_test_data): Likewise.
42585         (sinh_test_data): Likewise.
42586         (sinh_tonearest_test_data): Likewise.
42587         (sinh_towardzero_test_data): Likewise.
42588         (sinh_downward_test_data): Likewise.
42589         (sinh_upward_test_data): Likewise.
42590         (tan_test_data): Likewise.
42591         (tan_tonearest_test_data): Likewise.
42592         (tan_towardzero_test_data): Likewise.
42593         (tan_downward_test_data): Likewise.
42594         (tan_upward_test_data): Likewise.
42595         (tanh_test_data): Likewise.
42596         (tgamma_test_data): Likewise.
42597         (y0_test_data): Likewise.
42598         (y1_test_data): Likewise.
42599         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
42600         (special_real_inputs): Add pi/4.
42601         * sysdeps/i386/fpu/libm-test-ulps: Update.
42602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42604 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42606         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
42607         "longjmp_target" static probes.
42608         (__longjmp): Rename to __longjmp_symbol.
42609         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42610         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
42611         on which longjmp to generate.
42612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42613         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
42614         probe.
42615         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42616         (__sigjmp_save): Rename to __sigjmp_save_symbol.
42617         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
42619         and __sigjmp_save_symbol based on which sigsetjmp to generated.
42620         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
42622         __longjmp_symbol based on which __longjmp to generate.
42623         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
42624         probe.
42625         (setjmp): Rename to setjmp_symbol.
42626         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42627         (_setjmp): Rename to _setjmp_symbol.
42628         (__sigsetjmp): Rename to __sigsetjmp_symbol.
42629         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
42630         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
42631         which setjmp to generate.
42632         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
42633         "longjmp_target" static probes.
42635 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
42637         * benchtests/README: Add note about output arguments.
42638         * benchtests/bench-sincos.c: Remove file.
42639         * benchtests/sincos-inputs: New file.
42640         * scripts/bench.pl: Identify output arguments and define
42641         static variables for them.
42643         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
42645         [BZ #15941]
42646         * Makefile (INSTALL): Add install-plain.texi as the primary
42647         dependency.
42648         * manual/install-plain.texi: New file.
42649         * manual/install.texi: Include node directive only for
42650         non-plaintext output.
42652 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
42654         * stdlib/longlong.h: Update from GCC.
42656         [BZ #6807]
42657         [BZ #15901]
42658         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
42659         * math/w_j0f.c (y0f): Likewise.
42660         * math/w_j0l.c (__y0l): Likewise.
42661         * math/w_j1.c (y1): Likewise.
42662         * math/w_j1f.c (y1f): Likewise.
42663         * math/w_j1l.c (__y1l): Likewise.
42664         * math/w_jn.c (yn): Likewise.
42665         * math/w_jnf.c (ynf): Likewise.
42666         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
42667         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
42668         value for Bessel function domain errors outside _SVID_ mode.
42669         Adjust sign of return value for yn (negative integer, 0).
42670         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
42671         by zero in return for negative x and set sign appropriately for
42672         negative n.
42673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
42674         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
42675         * math/libm-test.inc (y0_test_data): Add more tests and adjust
42676         expectations in error cases.
42677         (y1_test_data): Likewise.
42678         (yn_test_data): Likewise.
42679         * sysdeps/i386/fpu/libm-test-ulps: Update.
42680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42682 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42684         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
42685         "64" to "64-v1".  Add "64-v2".
42686         (abi-64-options): Rename to ...
42687         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
42688         (abi-64-condition): Rename to ...
42689         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
42690         (abi-64-ld-soname): Rename to ...
42691         (abi-64-v1-ld-soname): ... this.
42692         (abi-64-v2-options): Define.
42693         (abi-64-v2-condition): Likewise.
42694         (abi-64-v2-ld-soname): Likewise.
42695         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
42696         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
42697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
42698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
42699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
42701 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42702             Alan Modra  <amodra@gmail.com>
42704         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
42705         New versions for use with the ELFv2 ABI.
42706         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
42707         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
42708         declaration.
42709         (struct La_ppc64v2_retval): Likewise.
42710         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
42711         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
42712         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
42713         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
42714         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
42715         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42716         Do not save or restore CR.
42717         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
42718         (_dl_profile_resolve): Do no save or restore CR.  Support extended
42719         return values for ELFv2 ABI.  Fix location of FPR return registers.
42720         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
42721         updated values for _CALL_ELF == 2.
42722         (La_regs, La_retval, int_retval): Likewise.
42724 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42726         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
42727         (FRAME_MIN_SIZE_PARM): Likewise.
42728         (FRAME_BACKCHAIN): Likewise.
42729         (FRAME_CR_SAVE): Likewise.
42730         (FRAME_LR_SAVE): Likewise.
42731         (FRAME_TOC_SAVE): Likewise.
42732         (FRAME_PARM_SAVE): Likewise.
42733         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
42734         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
42735         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42736         (call_mcount_parm_offset): New macro.
42737         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
42738         (PROF): Use symbolic stack frame offsets.
42739         (TAIL_CALL_SYSCALL_ERROR): Likewise.
42740         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
42741         Redefine in terms of FRAME_MIN_SIZE.
42742         (_dl_runtime_resolve): Use symbolic stack frame offsets.
42743         (_dl_profile_resolve): Likewise.  Update comment.
42744         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
42745         symbols stack frame offsets.
42746         (__sigsetjmp): Likewise.
42747         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
42748         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
42749         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
42750         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
42752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
42753         (FRAME_BACKCHAIN): Remove.
42754         (FRAME_CR_SAVE): Likewise.
42755         (FRAME_LR_SAVE): Likewise.
42756         (FRAME_COMPILER_DW): Likewise.
42757         (FRAME_LINKER_DW): Likewise.
42758         (FRAME_TOC_SAVE): Likewise.
42759         (FRAME_PARM_SAVE): Likewise.
42760         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
42761         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
42762         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
42763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
42764         (CHECK_SP): Use symbolic stack frame offsets.
42765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
42766         zone" instead of caller's parameter save area for temp storage.
42767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42768         Likewise.  Also, use symbolic stack frame offsets.
42769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
42770         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
42771         our own stack frame instead of the caller's.
42772         (__socket): Use symbolic stack frame offsets.
42774 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42775             Alan Modra  <amodra@gmail.com>
42777         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
42778         Define.
42779         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
42780         (PPC64_LOCAL_ENTRY_OFFSET): Define.
42781         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
42782         New function.
42783         (elf_machine_fixup_plt): Call it.
42784         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
42785         reloc arguments.
42786         (elf_machine_rela): Update call to elf_machine_plt_conflict.
42787         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42788         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
42789         r2 before calling target.
42791 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42792             Alan Modra  <amodra@gmail.com>
42794         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
42795         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
42796         versions of macros to support ELFv2 ABI.
42797         (LOCALENTRY): New macro.
42798         (ENTRY, EALIGN): Use it.
42799         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
42800         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
42801         fall through into ENTRY entry point.
42802         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
42803         Only define if _CALL_ELF != 2.
42805         (elf_machine_matches_host): Verify ABI version matches.
42806         (RTLD_START): Use LOCALENTRY.
42807         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
42808         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
42809         (PLT_ENTRY_WORDS): New macro.
42810         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
42811         (elf_machine_runtime_setup): Support ELFv2 ABI.
42812         (elf_machine_fixup_plt): Likewise.
42813         (elf_machine_plt_conflict): Likewise.
42814         (resolve_ifunc): Likewise.
42815         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42816         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
42817         Likewise.
42818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
42819         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
42820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42821         (makecontext): Support ELFv2 ABI.
42822         * elf/elf.h (EF_PPC64_ABI): Define.
42824 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42826         * sysdeps/powerpc/powerpc64/sysdep.h
42827         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
42828         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
42829         (ENTRY) [ASSEMBLER]: ... but instead here ...
42830         (EALIGN) [ASSEMBLER]: ... and here.
42831         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
42832         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
42833         (ENTRY_2) [!ASSEMBLER]: Use it.
42834         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
42835         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
42836         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
42837         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
42838         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
42839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
42840         Use PPC64_LOAD_FUNCPTR.
42842         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
42844 2013-12-04  Alan Modra  <amodra@gmail.com>
42846         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
42847         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
42848         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
42849         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
42851         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
42852         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
42853         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
42854         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
42855         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
42856         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
42858 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
42860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42861         (__makecontext): Fix incorrect CFI when backtracing out of
42862         context created via makecontext.
42863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
42864         (__setcontext): Fix incorrect CFI during switch to new context.
42865         (__novec_setcontext): Likewise.
42867 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42869         [BZ #4772]
42870         * time/strptime_l.c (__strptime_internal): Allow modifiers
42871         in strptime.
42872         * time/tst-strptime.c (day_tests): Add testcase.
42874 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42876         * scripts/bench.pl: Skip over blank lines.
42878 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
42880         [BZ #926]
42881         * manual/time.texi (Calendar Time): Clarify what timezone functions
42882         use.
42884 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42888 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
42890         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
42891         implementation.
42892         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
42893         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
42894         * debug/memset_chk.c (__memset_chk): Likewise.
42895         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
42896         * debug/strncpy_chk.c: Likewise.
42898 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42900         [BZ #15268]
42901         [BZ #15425]
42902         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
42903         (__ieee754_exp): For possibly underflowing results, check size of
42904         result and force underflow exception if required.
42905         * math/auto-libm-test-in: Add more tests of exp.
42906         * math/auto-libm-test-out: Regenerated.
42907         * sysdeps/i386/fpu/libm-test-ulps: Update.
42908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42910         [BZ #16283]
42911         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
42912         * math/w_exp2f.c (__exp2f): Likewise.
42913         * math/w_exp2l.c (__exp2l): Likewise.
42914         * math/auto-libm-test-in: Do not allow missing errno on exp2
42915         underflow.
42916         * math/auto-libm-test-out: Regenerated.
42918 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
42920         [BZ #16274]
42921         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
42922         handle filename validation.
42923         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
42924         (do_open): Delete.
42926 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
42928         [BZ #6786]
42929         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
42930         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
42931         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
42932         <float.h>.
42933         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
42934         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
42935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42936         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
42937         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42938         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
42939         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
42940         * math/auto-libm-test-in: Don't allow missing errno from erfc.
42941         Add more erfc tests.
42942         * math/auto-libm-test-out: Regenerated.
42943         * sysdeps/i386/fpu/libm-test-ulps: Update.
42944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42946         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
42947         exp2, expm1, j0 and j1.
42948         * math/auto-libm-test-out: Regenerated.
42949         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
42950         (erfc_test_data): Likewise.
42951         (exp_test_data): Likewise.
42952         (exp_tonearest_test_data): Likewise.
42953         (exp_towardzero_test_data): Likewise.
42954         (exp_downward_test_data): Likewise.
42955         (exp_upward_test_data): Likewise.
42956         (exp10_test_data): Likewise.
42957         (exp2_test_data): Likewise.
42958         (expm1_test_data): Likewise.
42959         (j0_test_data): Likewise.
42960         (j1_test_data): Likewise.
42961         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
42962         (input_flag_type): Add flag_xfail_rounding.
42963         (input_flags): Add xfail-rounding.
42964         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
42965         (output_for_one_input_case): Handle flag_xfail_rounding.
42966         * sysdeps/i386/fpu/libm-test-ulps: Update.
42967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42969 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
42971         [BZ #16289]
42972         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
42973         division by 0.
42975 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42977         [BZ #16195]
42978         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
42979         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
42980         (STAP_PROBE0): New macro.
42981         (STAP_PROBE1): Likewise.
42982         (STAP_PROBE2): Likewise.
42983         (STAP_PROBE3): Likewise.
42984         (STAP_PROBE4): Likewise.
42986 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
42988         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
42990 2013-12-02  Steve Ellcey  <sellcey@mips.com>
42992         * benchtests/Makefile (bench): Add sqrt.
42993         (LDLIBS-bench-sqrt): New.
42994         * benchtests/sqrt-input: New.
42996 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
42998         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
42999         (GAIH_EAI): Likewise.
43000         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43001         (gaih_inet): Likewise.
43002         (getaddrinfo): Don't use GAIH_EAI.
43004         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43005         (struct gaih): Remove definition.
43007 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43009         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43010         Use HERRNOP directly.
43012 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43016 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43018         * math/gen-auto-libm-tests.c (test_functions): Add more
43019         single-argument functions.
43020         (special_fill_pi_2): New function.
43021         (special_fill_minus_pi_2): Likewise.
43022         (special_fill_pi_6): Likewise.
43023         (special_fill_minus_pi_6): Likewise.
43024         (special_fill_pi_3): Likewise.
43025         (special_fill_2pi_3): Likewise.
43026         (special_fill_e): Likewise.
43027         (special_fill_1_e): Likewise.
43028         (special_fill_e_minus_1): Likewise.
43029         (special_real_inputs): Add more special inputs.
43030         (output_for_one_input_case): Do not require ERANGE on underflow to
43031         zero if round-to-nearest result does not underflow to zero, unless
43032         exact results required.
43033         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43034         atan, atanh, cbrt, cos and cosh.
43035         * math/auto-libm-test-out: Regenerated.
43036         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43037         (acos_tonearest_test_data): Likewise.
43038         (acos_towardzero_test_data): Likewise.
43039         (acos_downward_test_data): Likewise.
43040         (acos_upward_test_data): Likewise.
43041         (acosh_test_data): Likewise.
43042         (asin_test_data): Likewise.
43043         (asin_tonearest_test_data): Likewise.
43044         (asin_towardzero_test_data): Likewise.
43045         (asin_upward_test_data): Likewise.
43046         (asinh_test_data): Likewise.
43047         (atan_test_data): Likewise.
43048         (atanh_test_data): Likewise.
43049         (cbrt_test_data): Likewise.
43050         (cos_test_data): Likewise.
43051         (cos_tonearest_test_data): Likewise.
43052         (cos_towardzero_test_data): Likewise.
43053         (cos_downward_test_data): Likewise.
43054         (cos_upward_test_data): Likewise.
43055         (cosh_test_data): Likewise.
43056         (cosh_tonearest_test_data): Likewise.
43057         (cosh_towardzero_test_data): Likewise.
43058         (cosh_downward_test_data): Likewise.
43059         (cosh_upward_test_data): Likewise.
43060         * sysdeps/i386/fpu/libm-test-ulps: Update.
43061         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43063 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43065         [BZ #6787]
43066         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43067         * math/w_exp10f.c (__exp10f): Likewise.
43068         * math/w_exp10l.c (__exp10l): Likewise.
43069         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43070         errno settings in existing tests.
43072         [BZ #14032]
43073         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43074         precision control set to double precision.
43075         * sysdeps/i386/fpu/w_sqrt.c: New file.
43076         * math/auto-libm-test-in: Add more tests.
43077         * math/auto-libm-test-out: Update.
43079         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43080         (sqrt_test_tonearest): New function.
43081         (sqrt_towardzero_test_data): New variable.
43082         (sqrt_test_towardzero): New function.
43083         (sqrt_downward_test_data): New variable.
43084         (sqrt_test_downward): New function.
43085         (sqrt_upward_test_data): New variable.
43086         (sqrt_test_upward): New function.
43087         (main): Call the new functions.
43089         * math/gen-auto-libm-tests.c: New file.
43090         * math/auto-libm-test-in: Likewise.
43091         * math/auto-libm-test-out: New generated file.
43092         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43093         variables.
43094         (%beautify): Add generated representations of zero.
43095         (top level): Set $auto_input and call parse_auto_input.
43096         (beautify): Remove trailing "f" from hex float constants.
43097         (parse_args): Handle XFAIL_TEST.
43098         (convert_condition): New function.
43099         (or_value): Likewise.
43100         (or_cond_value): Likewise.
43101         (generate_testfile): Handle AUTO_TESTS_* lines.
43102         (parse_auto_input): New function.
43103         * math/libm-test.inc (XFAIL_TEST): New macro.
43104         (ERRNO_UNCHANGED): Update value.
43105         (ERRNO_EDOM): Likewise.
43106         (ERRNO_ERANGE): Likewise.
43107         (IGNORE_RESULT): Likewise.
43108         (TEST_COND_flt_32): New macro.
43109         (TEST_COND_dbl_64): Likewise.
43110         (TEST_COND_ldbl_96_intel): Likewise.
43111         (TEST_COND_ldbl_96_m68k): Likewise.
43112         (TEST_COND_ldbl_128): Likewise.
43113         (TEST_COND_ldbl_128ibm): Likewise.
43114         (TEST_COND_long32): Likewise.
43115         (TEST_COND_long64): Likewise.
43116         (TEST_COND_before_rounding): Likewise.
43117         (TEST_COND_after_rounding): Likewise.
43118         (enable_test): Handle XFAIL_TEST flag.
43119         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43120         with finite results.
43121         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43122         auto-libm-test-out.
43124 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43125             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43127         [BZ #16214]
43128         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43129         __tls_get_addr_internal instead of __tls_get_offset in order to
43130         avoid GOT pointer dependency.  Make rtld export
43131         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43132         __tls_get_addr since we are a __tls_get_offset platform.
43133         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43134         GOT pointer being set up before.
43135         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43137 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43139         * manual/math.texi (Errors in Math Functions): Document accuracy
43140         goals.
43142         [BZ #15004]
43143         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43144         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43145         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43146         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43147         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43148         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43149         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43150         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43151         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43155         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43156         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43157         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43158         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43160         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43161         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43162         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
43163         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
43164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
43165         Likewise.
43166         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
43167         Likewise.
43168         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
43169         Likewise.
43170         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
43171         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
43172         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
43173         atomic-feupdateenv and flt-rounds.
43174         * sysdeps/powerpc/nofpu/Versions (libc): Add
43175         __atomic_feholdexcept, __atomic_feclearexcept,
43176         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
43177         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
43178         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
43179         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
43180         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
43181         here.
43182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
43183         Update.
43185         * manual/arith.texi (FP Exceptions): Document that exceptions may
43186         not be raised when matherr is used.
43187         (Math Error Reporting): Document overflow in directed rounding
43188         modes.  Document that errno may not be set when finite values are
43189         returned on overflow.  Document intent to set errno on underflow
43190         only for underflow to zero.
43192         [BZ #16271]
43193         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
43194         round-to-nearest then adjust result for other rounding modes.
43195         * include/fenv.h (fegetround): Use libm_hidden_proto.
43196         * math/fegetround.c (fegetround): Use libm_hidden_def.
43197         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
43198         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
43199         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43200         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
43201         Likewise.
43202         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
43203         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
43204         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
43205         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
43207 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43209         [BZ #16077]
43210         * nss/Versions (libnss_files): Add
43211         _nss_files_gethostbyname3_r.
43212         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
43213         New function.
43214         (HOST_DB_LOOKUP): Remove macro.
43215         (_nss_files_gethostbyname_r): Implement function without the
43216         HOST_DB_LOOKUP macro.
43217         (_nss_files_gethostbyname2_r): Likewise.
43219 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
43221         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
43223 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
43225         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
43226         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
43227         warning.
43229 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43231         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
43232         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
43233         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43234         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
43235         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
43236         __fe_nomask_env_priv and attribute_hidden.
43237         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
43238         (libc_feupdateenv_test_ppc): Likewise.
43239         (libc_feresetround_ppc): Likewise.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43241         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
43242         compat_symbol macro.
43243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43244         (__fe_nomask_env): Likewise.
43245         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
43247 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43249         * string/Makefile: Remove ifunc tests.
43250         * string/test-string.h: Define TEST_IFUNC.
43251         * string/test-bcopy-ifunc.c: Remove.
43252         * string/test-bzero-ifunc.c: Likewise.
43253         * string/test-memccpy-ifunc.c: Likewise.
43254         * string/test-memchr-ifunc.c: Likewise.
43255         * string/test-memcmp-ifunc.c: Likewise.
43256         * string/test-memcpy-ifunc.c: Likewise.
43257         * string/test-memmem-ifunc.c: Likewise.
43258         * string/test-memmove-ifunc.c: Likewise.
43259         * string/test-mempcpy-ifunc.c: Likewise.
43260         * string/test-memrchr-ifunc.c: Likewise.
43261         * string/test-memset-ifunc.c: Likewise.
43262         * string/test-rawmemchr-ifunc.c: Likewise.
43263         * string/test-stpcpy-ifunc.c: Likewise.
43264         * string/test-stpncpy-ifunc.c: Likewise.
43265         * string/test-strcasecmp-ifunc.c: Likewise.
43266         * string/test-strcasestr-ifunc.c: Likewise.
43267         * string/test-strcat-ifunc.c: Likewise.
43268         * string/test-strchr-ifunc.c: Likewise.
43269         * string/test-strchrnul-ifunc.c: Likewise.
43270         * string/test-strcmp-ifunc.c: Likewise.
43271         * string/test-strcpy-ifunc.c: Likewise.
43272         * string/test-strcspn-ifunc.c: Likewise.
43273         * string/test-strlen-ifunc.c: Likewise.
43274         * string/test-strncasecmp-ifunc.c: Likewise.
43275         * string/test-strncat-ifunc.c: Likewise.
43276         * string/test-strncmp-ifunc.c: Likewise.
43277         * string/test-strncpy-ifunc.c: Likewise.
43278         * string/test-strnlen-ifunc.c: Likewise.
43279         * string/test-strpbrk-ifunc.c: Likewise.
43280         * string/test-strrchr-ifunc.c: Likewise.
43281         * string/test-strspn-ifunc.c: Likewise.
43282         * string/test-strstr-ifunc.c: Likewise.
43284 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43286         * benchtests/Makefile: Remove ifunc tests.
43287         * benchtests/bench-string.h: Define TEST_IFUNC.
43288         * benchtests/bench-bcopy-ifunc.c: Remove.
43289         * benchtests/bench-bzero-ifunc.c: Likewise.
43290         * benchtests/bench-memccpy-ifunc.c: Likewise.
43291         * benchtests/bench-memchr-ifunc.c: Likewise.
43292         * benchtests/bench-memcmp-ifunc.c: Likewise.
43293         * benchtests/bench-memcpy-ifunc.c: Likewise.
43294         * benchtests/bench-memmem-ifunc.c: Likewise.
43295         * benchtests/bench-memmove-ifunc.c: Likewise.
43296         * benchtests/bench-mempcpy-ifunc.c: Likewise.
43297         * benchtests/bench-memrchr-ifunc.c: Likewise.
43298         * benchtests/bench-memset-ifunc.c: Likewise.
43299         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
43300         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
43301         * benchtests/bench-stpcpy-ifunc.c: Likewise.
43302         * benchtests/bench-stpncpy-ifunc.c: Likewise.
43303         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
43304         * benchtests/bench-strcasestr-ifunc.c: Likewise.
43305         * benchtests/bench-strcat-ifunc.c: Likewise.
43306         * benchtests/bench-strchr-ifunc.c: Likewise.
43307         * benchtests/bench-strchrnul-ifunc.c: Likewise.
43308         * benchtests/bench-strcmp-ifunc.c: Likewise.
43309         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
43310         * benchtests/bench-strcpy-ifunc.c: Likewise.
43311         * benchtests/bench-strcspn-ifunc.c: Likewise.
43312         * benchtests/bench-strlen-ifunc.c: Likewise.
43313         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
43314         * benchtests/bench-strncat-ifunc.c: Likewise.
43315         * benchtests/bench-strncmp-ifunc.c: Likewise.
43316         * benchtests/bench-strncpy-ifunc.c: Likewise.
43317         * benchtests/bench-strnlen-ifunc.c: Likewise.
43318         * benchtests/bench-strpbrk-ifunc.c: Likewise.
43319         * benchtests/bench-strrchr-ifunc.c: Likewise.
43320         * benchtests/bench-strsep-ifunc.c: Likewise.
43321         * benchtests/bench-strspn-ifunc.c: Likewise.
43322         * benchtests/bench-strstr-ifunc.c: Likewise.
43324 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43326         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
43328 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
43330         * resolv/netdb.h: Use __glibc_reserved instead __unused.
43331         * rt/aio.h: Likewise.
43332         * sysdeps/gnu/bits/utmp.h: Likewise.
43333         * sysdeps/gnu/bits/utmpx.h: Likewise.
43334         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43335         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
43336         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
43337         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
43338         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
43339         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
43340         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
43341         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
43342         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
43343         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
43344         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
43345         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
43346         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
43347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
43348         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
43349         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
43350         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
43351         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
43352         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
43353         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
43354         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
43355         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
43356         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
43357         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
43358         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
43359         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43360         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
43361         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
43362         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
43363         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
43364         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
43365         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
43366         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
43367         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
43368         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
43369         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
43370         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
43371         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
43372         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
43373         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
43374         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
43375         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
43377 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
43379         [BZ #16245]
43380         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
43381         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
43383 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
43385         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
43386         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
43387         Likewise.
43389 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43391         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
43392         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
43393         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
43394         (__fesetround): Remove define.
43395         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
43396         rounding and exceptions handling.
43397         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
43398         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
43399         (__fe_nomask_env): Likewise.
43400         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
43401         __fegetround instead of fegetround.
43402         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
43403         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
43405 2013-11-21  Roland McGrath  <roland@hack.frob.com>
43407         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
43408         it's there.
43410         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
43412 2013-11-21  Meador Inge  <meadori@codesourcery.com>
43414         [BZ #11157]
43415         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
43416         (encrypt_r): Likewise.
43417         * malloc/obstack.h (obstack_free): Likewise.
43418         * posix/unistd.h (encrypt): Likewise.
43420 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
43422         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
43423         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
43424         DL_CALL_DT_FINI() that call the functions directly.
43425         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
43426         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
43427         * elf/dl-fini.c: Likewise.
43429 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
43431         * malloc/hooks.c (memalign_check): Add alignment rounding.
43432         * malloc/malloc.c (_mid_memalign): New function.
43433         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
43434         Implement by calling _mid_memalign.
43435         * manual/probes.texi (Memory Allocation Probes): Remove
43436         memory_valloc_retry and memory_pvalloc_retry.
43438 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43440         * locale/programs/locarchive.c (open_archive): Add const
43441         qualifier to ARCHIVEFNAME and copy default fname to
43442         DEFAULT_FNAME.
43444         [BZ #15601]
43445         * libio/tst-widetext.input: Rename Oriya to Odia.
43446         * locale/iso-639.def: Likewise.
43448         * manual/probes.texi (Mathematical Function Probes): Add
43449         documentation for sin, cos, asin and acos probes.
43450         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
43451         (__sin32): Add slowasin probe.
43452         (__cos32): Add slowacos probe.
43453         (__mpsin): Add slowsin probe.
43454         (__mpcos): Add slowcos probe.
43456 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
43458         [BZ #15483]
43459         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
43460         thread-local __sim_exceptions_thread and global
43461         __sim_exceptions_global.
43462         (__sim_disabled_exceptions): Change to thread-local
43463         __sim_disabled_exceptions_thread and global
43464         __sim_disabled_exceptions_global.
43465         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43466         and global __sim_round_mode_global.
43467         (__simulate_exceptions): Use thread-local floating-point state and
43468         set global state from it as needed.
43469         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
43470         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
43471         __sim_round_mode_thread.
43472         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
43473         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
43474         and global __sim_exceptions_global.
43475         (__sim_disabled_exceptions): Change to thread-local
43476         __sim_disabled_exceptions_thread and global
43477         __sim_disabled_exceptions_global.
43478         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
43479         and global __sim_round_mode_global.
43480         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
43481         (SIM_SET_GLOBAL): Likewise.
43482         * sysdeps/powerpc/soft-fp/sfp-machine.h
43483         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
43484         __sim_round_mode_thread.
43485         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
43486         __sim_disabled_exceptions_thread.
43487         (__sim_exceptions): Change to __sim_exceptions_thread.
43488         (__sim_disabled_exceptions): Change to
43489         __sim_disabled_exceptions_thread.
43490         (__sim_round_mode): Change to __sim_round_mode_thread.
43491         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
43492         thread-local floating-point state and set global state from it as
43493         needed.
43494         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
43495         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
43496         (__sim_disabled_exceptions): Remove extern declaration.
43497         (feenableexcept): Use thread-local floating-point state and set
43498         global state from it as needed.
43499         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
43500         extern declaration.
43501         (__sim_disabled_exceptions): Likewise.
43502         (__sim_round_mode): Likewise.
43503         (__fegetenv): Use thread-local floating-point state.
43504         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
43505         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
43506         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
43507         floating-point state and set global state from it as needed.
43508         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
43509         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
43510         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
43511         Likewise.
43512         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
43513         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
43514         Likewise.
43515         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
43516         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
43517         Use __sim_round_mode_thread.
43518         * math/test-fenv-tls.c: New file.
43519         * math/Makefile (tests): Add test-fenv-tls.
43520         ($(objpfx)test-fenv-tls): Depend on
43521         $(common-objpfx)nptl/libpthread.so.
43523 2013-11-19  Andreas Schwab  <schwab@suse.de>
43525         * locale/programs/locale.c (show_info): Decode wordarray elements.
43526         * locale/categories.def (LC_MONETARY): Add element for
43527         _NL_MONETARY_CRNCYSTR.
43528         * locale/C-monetary.c (conversion_rate): New variable.
43529         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
43530         element.
43532 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
43534         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
43535         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
43537 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43539         * elf/Makefile (tst-auxv): New test.
43540         * elf/tst-auxv.c: New
43541         * elf/rtld.c (dl_main): Adjust AT_EXECFN
43543 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
43545         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
43546         (hidden_proto): Caller changed.
43547         (hidden_tls_proto): New macro.
43548         (libc_hidden_tls_proto): Likewise.
43549         (rtld_hidden_tls_proto): Likewise.
43550         (libm_hidden_tls_proto): Likewise.
43551         (libresolv_hidden_tls_proto): Likewise.
43552         (librt_hidden_tls_proto): Likewise.
43553         (libdl_hidden_tls_proto): Likewise.
43554         (libnss_files_hidden_tls_proto): Likewise.
43555         (libnsl_hidden_tls_proto): Likewise.
43556         (libnss_nisplus_hidden_tls_proto): Likewise.
43557         (libutil_hidden_tls_proto): Likewise.
43559 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
43561         [BZ #10253]
43562         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
43563         (decompose_rpath): Defer expansion to fillin_rpath.
43564         (_dl_init_paths): Pass linkmap to fillin_rpath.
43566 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43568         * benchtests/Makefile: Add strsep.
43569         * benchtests/bench-strsep.c: New file: strsep benchtest.
43570         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
43572 2013-11-18  Andreas Schwab  <schwab@suse.de>
43574         * locale/programs/locale.c (show_info) [case byte]: Check for
43575         '\377' instead of '\177'.
43576         * locale/C-monetary.c (not_available): Always use "\377".
43577         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
43578         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
43579         detect unavailable sign_posn locale elements.
43580         * locale/localeconv.c (__localeconv): For grouping and
43581         mon_grouping handle "\177" and "\377" like no grouping.
43582         (INT_ELEM): New macro.  Use it to set all numeric members.
43583         * locale/programs/ld-monetary.c (monetary_read)
43584         <tok_mon_grouping>: Normalize single -1 to the empty string.
43585         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
43586         Likewise.
43588 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43590         [BZ #16055]
43591         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
43592         when we match (nil).
43593         * stdio-common/tst-sscanf.c (struct test): Add testcase.
43595 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
43597         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
43598         (NO_TEST_INLINE): Update value.
43599         (ERRNO_UNCHANGED): Likewise.
43600         (ERRNO_EDOM): Likewise.
43601         (ERRNO_ERANGE): Likewise.
43602         (IGNORE_RESULT): Likewise.
43603         (check_float_internal): Check signs of NaN results if
43604         TEST_NAN_SIGN used.
43605         (check_complex): Pass TEST_NAN_SIGN flag through to second
43606         check_float_internal call.
43607         (copysign_test_data): Add tests with quiet NaNs as second
43608         argument.  Use TEST_NAN_SIGN.
43609         (fabs_test_data): Add test of negative quiet NaN argument.  Use
43610         TEST_NAN_SIGN.
43611         (signbit_test_data): Add tests of quiet NaN argument.
43612         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
43614         * math/gen-libm-test.pl (show_exceptions): Take extra argument
43615         $ignore_result.
43616         (parse_args): Handle function results specified as IGNORE.
43617         * math/libm-test.inc (IGNORE_RESULT): New macro.
43618         (check_float_internal): Do not check numerical result if flag
43619         IGNORE_RESULT set.
43620         (check_complex): Pass through IGNORE_RESULT to second
43621         check_float_internal call.
43622         (check_int): Do not check numerical result if flag IGNORE_RESULT
43623         set.
43624         (check_long): Likewise.
43625         (check_bool): Likewise.
43626         (check_longlong): Likewise.
43627         (lrint_test_data): Add tests of infinite and NaN arguments.
43628         (lrint_tonearest_test_data): Likewise.
43629         (lrint_towardzero_test_data): Likewise.
43630         (lrint_downward_test_data): Likewise.
43631         (lrint_upward_test_data): Likewise.
43632         (llrint_test_data): Likewise.
43633         (llrint_tonearest_test_data): Likewise.
43634         (llrint_towardzero_test_data): Likewise.
43635         (llrint_downward_test_data): Likewise.
43636         (llrint_upward_test_data): Likewise.
43637         (lround_test_data): Likewise.
43638         (llround_test_data): Likewise.
43640         * math/libm-test.inc (NO_TEST_INLINE): New macro.
43641         (ERRNO_UNCHANGED): Update value.
43642         (ERRNO_EDOM): Likewise.
43643         (ERRNO_ERANGE): Likewise.
43644         (NO_TEST_INLINE_FLOAT): New macro.
43645         (NO_TEST_INLINE_DOUBLE): Likewise.
43646         (enable_test): New function.
43647         (RUN_TEST_f_f): Check enable_test before running test.
43648         (RUN_TEST_2_f): Likewise.
43649         (RUN_TEST_fff_f): Likewise.
43650         (RUN_TEST_c_f): Likewise.
43651         (RUN_TEST_f_f1): Likewise.
43652         (RUN_TEST_fF_f1): Likewise.
43653         (RUN_TEST_fI_f1): Likewise.
43654         (RUN_TEST_ffI_f1): Likewise.
43655         (RUN_TEST_c_c): Likewise.
43656         (RUN_TEST_cc_c): Likewise.
43657         (RUN_TEST_f_i): Likewise.
43658         (RUN_TEST_f_i_tg): Likewise.
43659         (RUN_TEST_ff_i_tg): Likewise.
43660         (RUN_TEST_f_b): Likewise.
43661         (RUN_TEST_f_b_tg): Likewise.
43662         (RUN_TEST_f_l): Likewise.
43663         (RUN_TEST_f_L): Likewise.
43664         (RUN_TEST_fFF_11): Likewise.
43665         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
43666         conditionals.
43667         (cosh_test_data): Likewise.
43668         (exp_test_data): Likewise.
43669         (expm1_test_data): Likewise.
43670         (hypot_test_data): Likewise.
43671         (pow_test_data): Likewise.
43672         (sinh_test_data): Likewise.
43673         (tanh_test_data): Likewise.
43674         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
43675         flags argument.
43677         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
43678         tests with quiet NaN input and output.
43679         (acosh_test_data): Likewise.
43680         (asin_test_data): Likewise.
43681         (asinh_test_data): Likewise.
43682         (atan_test_data): Likewise.
43683         (atanh_test_data): Likewise.
43684         (atan2_test_data): Likewise.
43685         (cbrt_test_data): Likewise.
43686         (cos_test_data): Likewise.
43687         (cosh_test_data): Likewise.
43688         (erf_test_data): Likewise.
43689         (erfc_test_data): Likewise.
43690         (exp_test_data): Likewise.
43691         (exp10_test_data): Likewise.
43692         (exp2_test_data): Likewise.
43693         (expm1_test_data): Likewise.
43694         (hypot_test_data): Likewise.
43695         (j0_test_data): Likewise.
43696         (j1_test_data): Likewise.
43697         (jn_test_data): Likewise.
43698         (lgamma_test_data): Likewise.
43699         (log_test_data): Likewise.
43700         (log10_test_data): Likewise.
43701         (log1p_test_data): Likewise.
43702         (log2_test_data): Likewise.
43703         (pow_test_data): Likewise.
43704         (scalb_test_data): Likewise.
43705         (sin_test_data): Likewise.
43706         (sincos_test_data): Likewise.
43707         (sinh_test_data): Likewise.
43708         (tan_test_data): Likewise.
43709         (tanh_test_data): Likewise.
43710         (tgamma_test_data): Likewise.
43711         (y0_test_data): Likewise.
43712         (y1_test_data): Likewise.
43713         (yn_test_data): Likewise.
43715         [BZ #16167]
43716         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
43717         argument being NaN and avoid computations with second argument in
43718         that case.
43719         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43720         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
43721         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43723 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
43725         * locale/iso-639.def: Add Chitwani Tharu (the).
43727 2013-11-14  Andreas Schwab  <schwab@suse.de>
43729         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
43730         word instead of empty string.
43732 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43735         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43737         (__fe_nomask_env): Likewise.
43739 2013-11-13  Steve Ellcey  <sellcey@mips.com>
43741         * benchtests/bench-timing.h: Include time.h.
43743 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
43745         [BZ #15997]
43746         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
43747         to 3.4.0 for x32.
43748         * sysdeps/unix/sysv/linux/configure: Regenerated.
43750 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
43752         [BZ #16151]
43753         * stdlib/strtod_l.c (round_and_return): Do not consider
43754         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43755         exponent one less than half the least subnormal exponent.
43756         * stdlib/test-strtod-round-data: Add more tests.
43757         * stdlib/tst-strtod-round.c (tests): Regenerated.
43759 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43761         [BZ #14143]
43762         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
43763         (__fe_mask_env): Likewise.
43764         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
43765         libm_hidden_proto and add function prototype.
43766         (__fe_mask_env): Add function prototype.
43767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43768         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
43769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43770         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
43771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43772         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
43774 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43776         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
43777         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
43779 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
43781         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
43782         of htab_find_slot().
43784 2013-11-11  David S. Miller  <davem@davemloft.net>
43786         [BZ #16150]
43787         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
43788         symbol in the non-vis3 case in static builds.
43789         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
43790         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
43791         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
43792         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
43794 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
43796         [BZ #387]
43797         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
43798         it is empty.
43800 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43802         * benchtests/Makefile: Add bench-strtod.
43803         * benchtests/bench-strtod.c: New file: strtod benchtest
43805 2013-11-11  Andreas Schwab  <schwab@suse.de>
43807         [BZ #16153]
43808         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
43809         terminating NUL in key length.
43811 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43813         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43814         Add artificial ODP entry for vDSO symbol for PPC64.
43815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
43816         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
43818 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
43820         [BZ #15374]
43821         * nss/getent.c (services_keys): Recognize services starting with digit.
43823 2013-11-06  David S. Miller  <davem@davemloft.net>
43825         [BZ #15985]
43826         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
43827         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
43829 2013-11-06  Will Newton  <will.newton@linaro.org>
43831         * manual/memory.texi (Malloc Examples): Remove register
43832         keyword from examples.
43834 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
43836         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
43838 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
43840         [BZ #6981]
43841         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
43842         depending on [__GCC_IEC_559 > 0].
43843         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
43844         depending on [__GCC_IEC_559_COMPLEX > 0].
43846 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
43848         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
43849         to iso-639.def.
43851 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
43853         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
43855 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
43857         [BZ #16112]
43858         * malloc/malloc (malloc_info): Do not handle first bin as
43859         special case.
43861 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
43863         * locale/iso-639.def: Add Central Nahuatl (nhn).
43865 2013-11-01  Bruno Haible  <bruno@clisp.org>
43867         [BZ #7003]
43868         * manual/math.texi (BSD Random): Specify range upper bound as
43869         in POSIX.
43871 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
43873         * locale/iso-639.def: Add Meadow Mari (mhr).
43875 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
43877         [BZ #14752], [BZ #15763]
43878         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
43879         Validate name.
43880         * rt/tst_shm.c: Add test for escaping directory.
43882 2013-10-31  Andreas Schwab  <schwab@suse.de>
43884         [BZ #15917]
43885         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
43886         followed by 'x' as part of digit sequence.
43887         * stdio-common/tst-sscanf.c (double_tests2): New tests.
43889 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
43891         [BZ #16037]
43892         * configure.ac: allow GNU Make 4.0 and greater.
43893         * configure: Regenerated.
43895 2013-10-30  Will Newton  <will.newton@linaro.org>
43897         [BZ #16038]
43898         * malloc/hooks.c (memalign_check): Limit alignment to the
43899         maximum representable power of two.
43900         * malloc/malloc.c (__libc_memalign): Likewise.
43901         * malloc/tst-memalign.c (do_test): Add test for very
43902         large alignment values.
43903         * malloc/tst-posix_memalign.c (do_test): Likewise.
43905 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43907         [BZ #11087]
43908         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
43909         (munmap_chunk): Likewise.
43910         (mremap_chunk): Likewise.
43912 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
43914         [BZ #15799]
43915         * stdlib/div.c (div): Remove obsolete code.
43916         * stdlib/ldiv.c (ldiv): Likewise.
43917         * stdlib/lldiv.c (lldiv): Likewise.
43919 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43921         [BZ #16071]
43922         * nss/nss_files/files-XXX.c (get_contents_ret): New
43923         enumerator.
43924         (get_contents): New function.
43925         (internal_getent): Use it.  Expand size of LINEBUFLEN.
43927 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
43929         * configure.in: Moved to ...
43930         * configure.ac: ... here. Change reference to configure.in
43931         to configure.ac.
43932         * sysdeps/arm/preconfigure.ac: ... here.
43933         configure.in to configure.ac.
43934         * sysdeps/gnu/configure.in: Moved to ...
43935         * sysdeps/gnu/configure.ac: ... here.
43936         * sysdeps/i386/configure.in: Moved to ...
43937         * sysdeps/i386/configure.ac: ... here.
43938         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
43939         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
43940         * sysdeps/mach/configure.in: Moved to ...
43941         * sysdeps/mach/configure.ac: ... here.
43942         * sysdeps/mach/hurd/configure.in: Moved to ...
43943         * sysdeps/mach/hurd/configure.ac: ... here.
43944         * sysdeps/powerpc/configure.in: Moved to ...
43945         * sysdeps/powerpc/configure.ac: ... here.
43946         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
43947         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
43948         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
43949         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
43950         * sysdeps/s390/s390-32/configure.in: Moved to ...
43951         * sysdeps/s390/s390-32/configure.ac: ... here.
43952         * sysdeps/s390/s390-64/configure.in: Moved to ...
43953         * sysdeps/s390/s390-64/configure.ac: ... here.
43954         * sysdeps/sh/configure.in: Moved to ...
43955         * sysdeps/sh/configure.ac: ... here.
43956         * sysdeps/sparc/configure.in: Moved to ...
43957         * sysdeps/sparc/configure.ac: ... here.
43958         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
43959         * sysdeps/unix/sysv/linux/configure.ac: ... here.
43960         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
43961         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
43962         * sysdeps/x86_64/configure.in: Moved to ...
43963         * sysdeps/x86_64/configure.ac: ... here.
43964         * sysdeps/x86_64/preconfigure.in: Moved to ...
43965         * sysdeps/x86_64/preconfigure.ac: ... here.
43966         * aclocal.m4: Change reference to configure.in to configure.ac.
43967         * config.h.in: Likewise.
43968         * manual/install.texi: Likewise.
43969         * manual/maint.texi: Likewise.
43970         * Makefile: Likewise.
43971         * malloc/Makefile: Likewise.
43972         * nscd/Makefile: Likewise.
43973         * Makeconfig: Change reference to configure.in and
43974         preconfigure.in to configure.ac and preconfigure.ac
43975         respectively.
43976         * INSTALL: Regenerated.
43977         * configure: Likewise.
43978         * sysdeps/gnu/configure: Likewise.
43979         * sysdeps/i386/configure: Likewise.
43980         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
43981         * sysdeps/mach/configure: Likewise.
43982         * sysdeps/mach/hurd/configure: Likewise.
43983         * sysdeps/powerpc/configure: Likewise.
43984         * sysdeps/powerpc/powerpc32/configure: Likewise.
43985         * sysdeps/powerpc/powerpc64/configure: Likewise.
43986         * sysdeps/s390/s390-32/configure: Likewise.
43987         * sysdeps/s390/s390-64/configure: Likewise.
43988         * sysdeps/sh/configure: Likewise.
43989         * sysdeps/sparc/configure: Likewise.
43990         * sysdeps/unix/sysv/linux/configure: Likewise.
43991         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
43992         * sysdeps/x86_64/configure: Likewise.
43993         * sysdeps/x86_64/preconfigure: Likewise.
43995 2013-10-29  Andreas Schwab  <schwab@suse.de>
43997         * stdio-common/Makefile (tst-swscanf-ENV): Define.
43999 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44001         * benchtests/pow-inputs: Add new inputs.
44003         * benchtests/exp-inputs: Add new inputs.
44005         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44006         conditional check for return value.
44007         (__cos32): Likewise.
44009 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44011         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44012         to provide a boost for large inputs with word alignment.
44013         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44014         implementation based on optimized PPC64 strcpy.
44015         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44016         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44017         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44018         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44020 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44022         [BZ #2801]
44023         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44025 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44027         [BZ #14876]
44028         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44029         * time/tst-strptime.c (day_tests): Add testcase.
44031 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44033         [BZ #14029]
44034         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44036 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44038         [BZ #16074]
44039         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44040         MAP_FAILED on error.
44042 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44044         [BZ #16072]
44045         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44046         heap for large requests.
44048 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44050         [BZ #9954]
44051         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44052         result if the result has no associated interface.
44053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44054         interface for all 127.X.Y.Z addresses.
44056 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44058         * locale/iso-639.def: Add Ligurian (lij)
44060 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44062         [BZ #15825]
44063         * sunrpc/rpc_main.c: Document rpcgen -5.
44065 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44067         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44069 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44071         [BZ #10278]
44072         * posix/glob.c: Match only directories when trailing slash is present.
44073         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44074         (main): Add testcase.
44076 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44078         [BZ #15670]
44079         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44081 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44083         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44084         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44085         AUTH_DES and cindex for FIPS 140-2.
44086         (DES Encryption): Add cindex FIPS 46-3.
44088         * locale/locarchive.h (struct locarhandle): Add fname.
44089         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44090         if an optional argument was specified to --list-archive,
44091         otherwise NULL.
44092         * locale/programs/locarchive.c (show_archive_content): Take new
44093         argument fname and pass it via ah.fname to open_archive.
44094         * locale/programs/localedef.h: Update decl.
44095         (open_archive): If AH->fname is non-null, open that file
44096         rather than the default file name, and don't ignore ENOENT.
44097         (create_archive): Set AH.fname to NULL.
44098         (delete_locales_from_archive): Likewise.
44099         (add_locales_to_archive): Likewise.
44100         * locale/programs/locfile.c (write_all_categories): Likewise.
44102 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44103             Aldy Hernandez  <aldyh@redhat.com>
44105         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44106         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44107         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44108         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44109         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44111         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44112         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44113         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44114         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44115         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44116         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44117         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44118         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44120         Likewise.
44121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44122         Likewise.
44123         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44124         Likewise.
44125         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44126         Likewise.
44127         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44129         Likewise.
44130         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44131         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44132         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44133         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44134         Likewise.
44135         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44136         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44137         * sysdeps/powerpc/preconfigure: Likewise.
44138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44139         Likewise.
44140         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44141         Replace contents of file by #include of <fenv_libc.h>.
44142         * sysdeps/powerpc/soft-fp/sfp-machine.h
44143         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44144         and <sys/prctl.h>.
44145         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44155         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44156         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44158         Allow copysignl PLT reference to be missing.
44160 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44161             Joseph Myers  <joseph@codesourcery.com
44163         [BZ #15948]
44164         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
44165         single character.
44166         (add_to_tablewc): Assert sequence of wide characters is nonempty.
44168 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
44170         * elf/tst-tls-dlinfo.c: Don't include tls.h.
44171         * elf/tst-tls1.c: Likewise.
44172         * elf/tst-tls10.h: Likewise.
44173         * elf/tst-tls14.c: Likewise.
44174         * elf/tst-tls2.c: Likewise.
44175         * elf/tst-tls3.c: Likewise.
44176         * elf/tst-tls4.c: Likewise.
44177         * elf/tst-tls5.c: Likewise.
44178         * elf/tst-tls6.c: Likewise.
44179         * elf/tst-tls7.c: Likewise.
44180         * elf/tst-tls8.c: Likewise.
44181         * elf/tst-tls9.c: Likewise.
44182         * elf/tst-tlsmod1.c: Likewise.
44183         * elf/tst-tlsmod13.c: Likewise.
44184         * elf/tst-tlsmod13a.c: Likewise.
44185         * elf/tst-tlsmod14a.c: Likewise.
44186         * elf/tst-tlsmod16a.c: Likewise.
44187         * elf/tst-tlsmod16b.c: Likewise.
44188         * elf/tst-tlsmod2.c: Likewise.
44189         * elf/tst-tlsmod3.c: Likewise.
44190         * elf/tst-tlsmod4.c: Likewise.
44191         * elf/tst-tlsmod5.c: Likewise.
44192         * elf/tst-tlsmod6.c: Likewise.
44194 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
44196         [BZ #12486]
44197         * malloc/malloc.c: remove checks for statistics.
44199 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44201         [BZ #15277]
44202         * inet/inet_net.c (inet_network): Detect additional invalid strings.
44203         * inet/tst-network.c: Add testcase.
44205 2013-10-17  Andreas Schwab  <schwab@suse.de>
44207         [BZ #15218]
44208         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
44209         to determine canonical name.
44211 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
44213         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
44214         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
44215         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
44216         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
44217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
44218         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
44219         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
44220         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
44221         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
44222         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
44223         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44224         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
44225         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
44226         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
44227         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
44228         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
44229         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
44230         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
44231         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
44232         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
44233         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
44234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
44235         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
44236         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
44237         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
44238         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
44239         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
44240         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
44241         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
44242         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
44243         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
44244         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
44245         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
44246         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
44247         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
44248         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
44249         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
44250         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
44251         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
44252         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
44253         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
44254         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
44255         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
44256         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
44257         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
44258         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
44259         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
44260         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
44261         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
44262         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
44263         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
44264         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
44265         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
44266         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
44267         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44268         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
44269         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
44270         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
44272 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
44274         [BZ #16041]
44275         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
44276         make result into a quiet NaN.
44278 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
44280         * soft-fp/adddf3.c: Fix horizontal whitespace.
44281         * soft-fp/addsf3.c: Likewise.
44282         * soft-fp/addtf3.c: Likewise.
44283         * soft-fp/divdf3.c: Likewise.
44284         * soft-fp/divsf3.c: Likewise.
44285         * soft-fp/divtf3.c: Likewise.
44286         * soft-fp/double.h: Likewise.
44287         * soft-fp/eqdf2.c: Likewise.
44288         * soft-fp/eqsf2.c: Likewise.
44289         * soft-fp/eqtf2.c: Likewise.
44290         * soft-fp/extenddftf2.c: Likewise.
44291         * soft-fp/extended.h: Likewise.
44292         * soft-fp/extendsfdf2.c: Likewise.
44293         * soft-fp/extendsftf2.c: Likewise.
44294         * soft-fp/extendxftf2.c: Likewise.
44295         * soft-fp/fixdfdi.c: Likewise.
44296         * soft-fp/fixdfsi.c: Likewise.
44297         * soft-fp/fixdfti.c: Likewise.
44298         * soft-fp/fixsfdi.c: Likewise.
44299         * soft-fp/fixsfsi.c: Likewise.
44300         * soft-fp/fixsfti.c: Likewise.
44301         * soft-fp/fixtfdi.c: Likewise.
44302         * soft-fp/fixtfsi.c: Likewise.
44303         * soft-fp/fixtfti.c: Likewise.
44304         * soft-fp/fixunsdfdi.c: Likewise.
44305         * soft-fp/fixunsdfsi.c: Likewise.
44306         * soft-fp/fixunsdfti.c: Likewise.
44307         * soft-fp/fixunssfdi.c: Likewise.
44308         * soft-fp/fixunssfsi.c: Likewise.
44309         * soft-fp/fixunssfti.c: Likewise.
44310         * soft-fp/fixunstfdi.c: Likewise.
44311         * soft-fp/fixunstfsi.c: Likewise.
44312         * soft-fp/fixunstfti.c: Likewise.
44313         * soft-fp/floatdidf.c: Likewise.
44314         * soft-fp/floatdisf.c: Likewise.
44315         * soft-fp/floatditf.c: Likewise.
44316         * soft-fp/floatsidf.c: Likewise.
44317         * soft-fp/floatsisf.c: Likewise.
44318         * soft-fp/floatsitf.c: Likewise.
44319         * soft-fp/floattidf.c: Likewise.
44320         * soft-fp/floattisf.c: Likewise.
44321         * soft-fp/floattitf.c: Likewise.
44322         * soft-fp/floatundidf.c: Likewise.
44323         * soft-fp/floatundisf.c: Likewise.
44324         * soft-fp/floatunditf.c: Likewise.
44325         * soft-fp/floatunsidf.c: Likewise.
44326         * soft-fp/floatunsisf.c: Likewise.
44327         * soft-fp/floatunsitf.c: Likewise.
44328         * soft-fp/floatuntidf.c: Likewise.
44329         * soft-fp/floatuntisf.c: Likewise.
44330         * soft-fp/floatuntitf.c: Likewise.
44331         * soft-fp/fmadf4.c: Likewise.
44332         * soft-fp/fmasf4.c: Likewise.
44333         * soft-fp/fmatf4.c: Likewise.
44334         * soft-fp/gedf2.c: Likewise.
44335         * soft-fp/gesf2.c: Likewise.
44336         * soft-fp/getf2.c: Likewise.
44337         * soft-fp/ledf2.c: Likewise.
44338         * soft-fp/lesf2.c: Likewise.
44339         * soft-fp/letf2.c: Likewise.
44340         * soft-fp/muldf3.c: Likewise.
44341         * soft-fp/mulsf3.c: Likewise.
44342         * soft-fp/multf3.c: Likewise.
44343         * soft-fp/negdf2.c: Likewise.
44344         * soft-fp/negsf2.c: Likewise.
44345         * soft-fp/negtf2.c: Likewise.
44346         * soft-fp/op-1.h: Likewise.
44347         * soft-fp/op-2.h: Likewise.
44348         * soft-fp/op-4.h: Likewise.
44349         * soft-fp/op-8.h: Likewise.
44350         * soft-fp/op-common.h: Likewise.
44351         * soft-fp/quad.h: Likewise.
44352         * soft-fp/single.h: Likewise.
44353         * soft-fp/soft-fp.h: Likewise.
44354         * soft-fp/sqrtdf2.c: Likewise.
44355         * soft-fp/sqrtsf2.c: Likewise.
44356         * soft-fp/sqrttf2.c: Likewise.
44357         * soft-fp/subdf3.c: Likewise.
44358         * soft-fp/subsf3.c: Likewise.
44359         * soft-fp/subtf3.c: Likewise.
44360         * soft-fp/truncdfsf2.c: Likewise.
44361         * soft-fp/trunctfdf2.c: Likewise.
44362         * soft-fp/trunctfsf2.c: Likewise.
44363         * soft-fp/trunctfxf2.c: Likewise.
44364         * soft-fp/unorddf2.c: Likewise.
44365         * soft-fp/unordsf2.c: Likewise.
44366         * soft-fp/unordtf2.c: Likewise.
44368 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
44370         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
44371         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
44373 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
44375         * elf/dl-libc.c: Clear initfini list after freeing.
44377 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
44379         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
44380         * soft-fp/addsf3.c: Likewise.
44381         * soft-fp/addtf3.c: Likewise.
44382         * soft-fp/divdf3.c: Likewise.
44383         * soft-fp/divsf3.c: Likewise.
44384         * soft-fp/divtf3.c: Likewise.
44385         * soft-fp/double.h: Likewise.
44386         * soft-fp/eqdf2.c: Likewise.
44387         * soft-fp/eqsf2.c: Likewise.
44388         * soft-fp/eqtf2.c: Likewise.
44389         * soft-fp/extenddftf2.c: Likewise.
44390         * soft-fp/extended.h: Likewise.
44391         * soft-fp/extendsfdf2.c: Likewise.
44392         * soft-fp/extendsftf2.c: Likewise.
44393         * soft-fp/extendxftf2.c: Likewise.
44394         * soft-fp/fixdfdi.c: Likewise.
44395         * soft-fp/fixdfsi.c: Likewise.
44396         * soft-fp/fixdfti.c: Likewise.
44397         * soft-fp/fixsfdi.c: Likewise.
44398         * soft-fp/fixsfsi.c: Likewise.
44399         * soft-fp/fixsfti.c: Likewise.
44400         * soft-fp/fixtfdi.c: Likewise.
44401         * soft-fp/fixtfsi.c: Likewise.
44402         * soft-fp/fixtfti.c: Likewise.
44403         * soft-fp/fixunsdfdi.c: Likewise.
44404         * soft-fp/fixunsdfsi.c: Likewise.
44405         * soft-fp/fixunsdfti.c: Likewise.
44406         * soft-fp/fixunssfdi.c: Likewise.
44407         * soft-fp/fixunssfsi.c: Likewise.
44408         * soft-fp/fixunssfti.c: Likewise.
44409         * soft-fp/fixunstfdi.c: Likewise.
44410         * soft-fp/fixunstfsi.c: Likewise.
44411         * soft-fp/fixunstfti.c: Likewise.
44412         * soft-fp/floatdidf.c: Likewise.
44413         * soft-fp/floatdisf.c: Likewise.
44414         * soft-fp/floatditf.c: Likewise.
44415         * soft-fp/floatsidf.c: Likewise.
44416         * soft-fp/floatsisf.c: Likewise.
44417         * soft-fp/floatsitf.c: Likewise.
44418         * soft-fp/floattidf.c: Likewise.
44419         * soft-fp/floattisf.c: Likewise.
44420         * soft-fp/floattitf.c: Likewise.
44421         * soft-fp/floatundidf.c: Likewise.
44422         * soft-fp/floatundisf.c: Likewise.
44423         * soft-fp/floatunsidf.c: Likewise.
44424         * soft-fp/floatunsisf.c: Likewise.
44425         * soft-fp/floatuntidf.c: Likewise.
44426         * soft-fp/floatuntisf.c: Likewise.
44427         * soft-fp/floatuntitf.c: Likewise.
44428         * soft-fp/fmadf4.c: Likewise.
44429         * soft-fp/fmasf4.c: Likewise.
44430         * soft-fp/fmatf4.c: Likewise.
44431         * soft-fp/gedf2.c: Likewise.
44432         * soft-fp/gesf2.c: Likewise.
44433         * soft-fp/getf2.c: Likewise.
44434         * soft-fp/ledf2.c: Likewise.
44435         * soft-fp/lesf2.c: Likewise.
44436         * soft-fp/letf2.c: Likewise.
44437         * soft-fp/muldf3.c: Likewise.
44438         * soft-fp/mulsf3.c: Likewise.
44439         * soft-fp/multf3.c: Likewise.
44440         * soft-fp/negdf2.c: Likewise.
44441         * soft-fp/negsf2.c: Likewise.
44442         * soft-fp/negtf2.c: Likewise.
44443         * soft-fp/op-1.h: Likewise.
44444         * soft-fp/op-2.h: Likewise.
44445         * soft-fp/op-4.h: Likewise.
44446         * soft-fp/op-8.h: Likewise.
44447         * soft-fp/op-common.h: Likewise.
44448         * soft-fp/quad.h: Likewise.
44449         * soft-fp/single.h: Likewise.
44450         * soft-fp/soft-fp.h: Likewise.
44451         * soft-fp/sqrtdf2.c: Likewise.
44452         * soft-fp/sqrtsf2.c: Likewise.
44453         * soft-fp/sqrttf2.c: Likewise.
44454         * soft-fp/subdf3.c: Likewise.
44455         * soft-fp/subsf3.c: Likewise.
44456         * soft-fp/subtf3.c: Likewise.
44457         * soft-fp/truncdfsf2.c: Likewise.
44458         * soft-fp/trunctfdf2.c: Likewise.
44459         * soft-fp/trunctfsf2.c: Likewise.
44460         * soft-fp/trunctfxf2.c: Likewise.
44461         * soft-fp/unorddf2.c: Likewise.
44462         * soft-fp/unordsf2.c: Likewise.
44463         * soft-fp/unordtf2.c: Likewise.
44465 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
44467         [BZ #15672]
44468         * misc/error.c (error_tail): Fix possible buffer overflow.
44470 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
44472         [BZ #13028]
44473         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
44474         address.
44476 2013-10-14  P. J. McDermott  <pj@pehjota.net>
44478         [BZ #832]
44479         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
44480         testing pipefail option.
44482 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44484         * soft-fp/double.h: Indent preprocessor directives inside #if.
44485         * soft-fp/extended.h: Likewise.
44486         * soft-fp/op-2.h: Likewise.
44487         * soft-fp/op-4.h: Likewise.
44488         * soft-fp/op-common.h: Likewise.
44489         * soft-fp/quad.h: Likewise.
44490         * soft-fp/single.h: Likewise.
44491         * soft-fp/soft-fp.h: Likewise.
44493 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
44495         * iconv/iconv_prog.c: Fix typos.
44496         * stdio-common/psiginfo-data.h: Likewise.
44498 2013-10-12   Reuben Thomas <rrt@sc3d.org>
44500         [BZ #15764]
44501         * locale/setlocale.c: Fix typo.
44503 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
44505         [BZ #16036]
44506         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
44507         signaling NaN arguments.
44508         * soft-fp/unordsf2.c (__unordsf2): Likewise.
44509         * soft-fp/unordtf2.c (__unordtf2): Likewise.
44511         [BZ #14910]
44512         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
44513         unordered operands.
44514         * soft-fp/gesf2.c (__gesf2): Likewise.
44515         * soft-fp/getf2.c (__getf2): Likewise.
44516         * soft-fp/ledf2.c (__ledf2): Likewise.
44517         * soft-fp/lesf2.c (__lesf2): Likewise.
44518         * soft-fp/letf2.c (__letf2): Likewise.
44520         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
44521         * soft-fp/eqsf2.c (__eqsf2): Likewise.
44522         * soft-fp/eqtf2.c (__eqtf2): Likewise.
44523         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
44524         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
44525         * soft-fp/fixdfti.c (__fixdfti): Likewise.
44526         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
44527         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
44528         * soft-fp/fixsfti.c (__fixsfti): Likewise.
44529         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
44530         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
44531         * soft-fp/fixtfti.c (__fixtfti): Likewise.
44532         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
44533         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
44534         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
44535         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
44536         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
44537         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
44538         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
44539         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
44540         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
44541         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
44542         * soft-fp/floatdisf.c (__floatdisf): Likewise.
44543         * soft-fp/floatsisf.c (__floatsisf): Likewise.
44544         * soft-fp/floattidf.c (__floattidf): Likewise.
44545         * soft-fp/floattisf.c (__floattisf): Likewise.
44546         * soft-fp/floattitf.c (__floattitf): Likewise.
44547         * soft-fp/floatundidf.c (__floatundidf): Likewise.
44548         * soft-fp/floatundisf.c (__floatundisf): Likewise.
44549         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
44550         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
44551         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
44552         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
44553         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
44554         * soft-fp/gesf2.c (__gesf2): Likewise.
44555         * soft-fp/getf2.c (__getf2): Likewise.
44556         * soft-fp/ledf2.c (__ledf2): Likewise.
44557         * soft-fp/lesf2.c (__lesf2): Likewise.
44558         * soft-fp/letf2.c (__letf2): Likewise.
44560         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
44561         Undefine and redefine.
44562         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
44563         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
44564         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
44565         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
44566         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44567         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
44568         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44569         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
44570         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44571         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
44572         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44573         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
44574         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44575         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
44576         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
44578         [BZ #16032]
44579         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
44580         without decrementing exponent if mantissa >= that for the
44581         denominator, not >.
44582         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
44583         denominator, not >.  Decrement exponent in < case instead of
44584         incrementing in >= case.
44585         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
44586         without decrementing exponent if mantissa >= that for the
44587         denominator, not >.
44589         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
44590         computing saturated result for unsigned overflow.
44592 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44593             Jeff Law  <law@redhat.com>
44595         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
44596         (atan2Mp): Add systemtap probe marker.
44597         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
44598         (__ieee754_log): Add systemtap probe marker.
44599         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
44600         (atanMp): Add systemtap probe marker.
44601         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
44602         (tanMp): Add systemtap probe marker.
44603         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
44604         (__slowexp): Add systemtap probe marker.
44605         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
44606         (__slowpow): Add systemtap probe marker.
44607         * manual/probes.texi: Document probes.
44609 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
44611         [BZ #15362]
44612         * libio/fileops.c (_IO_new_file_write): Return count of bytes
44613         written.
44614         (_IO_new_file_xsputn): Don't return EOF if nothing has been
44615         written.
44616         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
44617         written to buffer but not flushed.
44618         * libio/iofwrite_u.c:  Likewise.
44619         * libio/iopadn.c:  Return bytes returned even if EOF was
44620         encountered.
44621         * libio/iowpadn.c:  Likewise.
44622         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
44623         if _IO_padn does not write the whole buffer.
44624         [!COMPILE_WPRINTF] (PAD): Likewise.
44626 2013-10-10  David S. Miller  <davem@davemloft.net>
44628         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
44629         directory block.
44631 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44633         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
44634         instead of FSF address.
44635         * soft-fp/fixdfti.c: Likewise.
44636         * soft-fp/fixsfti.c: Likewise.
44637         * soft-fp/fixtfti.c: Likewise.
44638         * soft-fp/fixunsdfti.c: Likewise.
44639         * soft-fp/fixunssfti.c: Likewise.
44640         * soft-fp/fixunstfti.c: Likewise.
44641         * soft-fp/floattidf.c: Likewise.
44642         * soft-fp/floattisf.c: Likewise.
44643         * soft-fp/floattitf.c: Likewise.
44644         * soft-fp/floatuntidf.c: Likewise.
44645         * soft-fp/floatuntisf.c: Likewise.
44646         * soft-fp/floatuntitf.c: Likewise.
44647         * soft-fp/trunctfxf2.c: Likewise.
44649         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
44650         * soft-fp/fixdfti.c: Likewise.
44651         * soft-fp/fixsfti.c: Likewise.
44652         * soft-fp/fixtfti.c: Likewise.
44653         * soft-fp/fixunsdfti.c: Likewise.
44654         * soft-fp/fixunssfti.c: Likewise.
44655         * soft-fp/fixunstfti.c: Likewise.
44656         * soft-fp/floattidf.c: Likewise.
44657         * soft-fp/floattisf.c: Likewise.
44658         * soft-fp/floattitf.c: Likewise.
44659         * soft-fp/floatuntidf.c: Likewise.
44660         * soft-fp/floatuntisf.c: Likewise.
44661         * soft-fp/floatuntitf.c: Likewise.
44662         * soft-fp/trunctfxf2.c: Likewise.
44664 2013-10-10  David S. Miller  <davem@davemloft.net>
44666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44668 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
44670         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
44671         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
44672         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
44673         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
44674         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
44675         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
44676         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
44678         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
44679         for NaNs before doing comparisons on argument.
44680         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
44681         Likewise.
44683 2013-10-10  Will Newton  <will.newton@linaro.org>
44685         * malloc/hooks.c (memalign_check): Ensure the value of bytes
44686         passed to _int_memalign does not overflow.
44688 2013-10-10  Torvald Riegel  <triegel@redhat.com>
44690         * scripts/bench.pl: Add include-sources directive.
44691         * benchtests/README: Update documentation.
44693 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
44695         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
44696         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
44697         instead of FP_INIT_ROUNDMODE.
44698         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
44699         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
44701         [BZ #16034]
44702         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
44703         copy class of input value.
44704         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
44705         not handle exceptions.
44706         * soft-fp/negsf2.c (__negsf2): Likewise.
44707         * soft-fp/negtf2.c (__negtf2): Likewise.
44708         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
44710 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
44712         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
44713         semicolon.  From Linux kernel.
44715 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
44717         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
44719 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
44721         [BZ #156]
44722         * manual/socket.texi: Added statement about buffer
44723         for gethostbyname2_r.
44725 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
44727         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
44728         Use .p2align directive instead, throughout.
44729         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
44730         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
44731         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
44732         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44733         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44734         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
44735         * sysdeps/x86_64/strchr.S: Likewise.
44736         * sysdeps/x86_64/strrchr.S: Likewise.
44738 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44740         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
44742         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
44744         * sysdeps/generic/math_private.h (__mpsin1): Remove
44745         declaration.
44746         (__mpcos1): Likewise.
44747         (__mpsin): New argument __range_reduce.
44748         (__mpcos): Likewise.
44749         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
44750         (slow): Use __mpsin and __mpcos.
44751         (slow1): Likewise.
44752         (slow2): Likewise.
44753         (sloww): Likewise.
44754         (sloww1): Likewise.
44755         (sloww2): Likewise.
44756         (bsloww): Likewise.
44757         (bsloww1): Likewise.
44758         (bsloww2): Likewise.
44759         (cslow2): Likewise.
44760         (csloww): Likewise.
44761         (csloww1): Likewise.
44762         (csloww2): Likewise.
44763         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
44764         range_reduce.  Merge in __mpsin1.
44765         (__mpcos): Likewise.
44766         (__mpsin1): Remove.
44767         (__mpcos1): Likewise.
44769 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
44771         * locale/loadlocale.c (_nl_intern_locale_data): Use
44772         LOCFILE_ALIGNED_P.
44773         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
44774         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
44775         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
44776         obstack data is appropriately aligned.
44777         (obstack_int32_grow_fast): Likewise.
44778         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
44779         * locale/programs/locfile.c (add_locale_uint32): Likewise.
44780         (add_locale_uint32_array): Likewise.
44782 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
44784         * benchtests/Makefile: Remove ARGLIST and RET variables.
44785         ($(objpfx)bench-%.c): Pass only function name to the script.
44786         * benchtests/README: Update documentation.
44787         * benchtests/acos-inputs: Add new directives.
44788         * benchtests/acosh-inputs: Likewise.
44789         * benchtests/asin-inputs: Likewise.
44790         * benchtests/asinh-inputs: Likewise.
44791         * benchtests/atan-inputs: Likewise.
44792         * benchtests/atanh-inputs: Likewise.
44793         * benchtests/cos-inputs: Likewise.
44794         * benchtests/cosh-inputs: Likewise.
44795         * benchtests/exp-inputs: Likewise.
44796         * benchtests/log-inputs: Likewise.
44797         * benchtests/pow-inputs: Likewise.
44798         * benchtests/rint-inputs: Likewise.
44799         * benchtests/sin-inputs: Likewise.
44800         * benchtests/sinh-inputs: Likewise.
44801         * benchtests/tan-inputs: Likewise.
44802         * benchtests/tanh-inputs: Likewise.
44803         * scripts/bench.pl: Add support for new directives.
44805 2013-10-07  Alan Modra  <amodra@gmail.com>
44807         * README: Fix careless merge.
44809 2013-10-05  Alan Modra  <amodra@gmail.com>
44811         * NEWS: Mention powerpc64le support and bugs fixed.
44812         * README: Both big-endian and little-endian powerpc64 supported.
44814 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44816         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
44817         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
44818         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
44819         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
44821 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
44823         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
44824         match prototype.
44826 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
44828         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
44829         Move -mhard-float appending from
44830         ports/sysdeps/powerpc/powerpc32/Makefile.
44831         [$(with-fp) = yes] (ASFLAGS): Likewise.
44832         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
44833         * sysdeps/powerpc/nofpu: Move directory from
44834         ports/sysdeps/powerpc/nofpu.
44835         * sysdeps/powerpc/soft-fp: Move directory from
44836         ports/sysdeps/powerpc/soft-fp.
44837         * sysdeps/powerpc/powerpc32/405: Move directory from
44838         ports/sysdeps/powerpc/powerpc32/405.
44839         * sysdeps/powerpc/powerpc32/440: Move directory from
44840         ports/sysdeps/powerpc/powerpc32/440.
44841         * sysdeps/powerpc/powerpc32/464: Move directory from
44842         ports/sysdeps/powerpc/powerpc32/464.
44843         * sysdeps/powerpc/powerpc32/476: Move directory from
44844         ports/sysdeps/powerpc/powerpc32/476.
44845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
44846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
44847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
44848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
44849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
44850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
44851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
44852         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
44853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
44854         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
44855         * README: Update for powerpc-*-linux-gnu software floating point
44856         support in libc.
44858         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
44859         case to powerpc/powerpc32*.
44860         * sysdeps/unix/sysv/linux/configure: Regenerated.
44862         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
44863         (_FPU_MASK_OM): Define as 0x04.
44864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
44865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
44866         0x00c10080.
44867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
44868         0x0000003c.
44869         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
44871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
44872         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44873         getcontext_e500.
44874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
44875         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
44876         setcontext_e500.
44877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
44878         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
44879         and setcontext_e500.
44881 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
44883         * locale/iso-3166.def: Update iso-1366.def and related occurrences
44885 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44887         * manual/threads.texi (Default Thread Attributes): Fix typo.
44889 2013-10-04  Will Newton  <will.newton@linaro.org>
44891         * malloc/Makefile: Add tst-memalign.
44892         * malloc/tst-memalign.c: New file.
44894         * malloc/tst-posix_memalign.c: Add comments.
44895         (do_test): Add comments and call free on all potentially
44896         allocated pointers. Add space after cast.
44898         * malloc/tst-pvalloc.c: Add comments.
44899         (do_test): Add comments and call free on all potentially
44900         allocated pointers. Remove duplicate check for NULL pointer.
44901         Add space after cast.
44903         * malloc/tst-valloc.c: Add comments.
44904         (do_test): Add comments and call free on all potentially
44905         allocated pointers. Remove duplicate check for NULL pointer.
44906         Add space after cast.
44908 2013-10-04  Alan Modra  <amodra@gmail.com>
44910         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44911         Use stdint types in rather than __attribute__((mode())).
44912         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44914 2013-10-04  Alan Modra  <amodra@gmail.com>
44916         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44917         Correct handling of unaligned relocs for little-endian.
44918         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44920 2013-10-04  Alan Modra  <amodra@gmail.com>
44922         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
44923         * configure: Regenerate.
44924         * nptl/shlib-versions: Powerpc*le starts at 2.18.
44925         * shlib-versions: Likewise.
44927 2013-10-04  Alan Modra  <amodra@gmail.com>
44929         * string/tester.c (test_memrchr): Increment reported test cycle.
44931 2013-10-04  Alan Modra  <amodra@gmail.com>
44933         * string/test-memcpy.c (do_one_test): When reporting errors, print
44934         string address and don't overrun end of string.
44936 2013-10-04  Alan Modra  <amodra@gmail.com>
44938         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
44939         insrdi.  Make better use of reg selection to speed exit slightly.
44940         Schedule entry path a little better.  Remove useless "are we done"
44941         checks on entry to main loop.  Handle wrapping around zero address.
44942         Correct main loop count.  Handle single left-over word from main
44943         loop inline rather than by using loop_small.  Remove extra word
44944         case in loop_small caused by wrong loop count.  Add little-endian
44945         support.
44946         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
44947         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
44948         cache hint.
44949         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
44950         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
44951         support.  Avoid rlwimi.
44952         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
44954 2013-10-04  Alan Modra  <amodra@gmail.com>
44956         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
44957         insrdi.  Formatting.
44958         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
44959         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
44960         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
44961         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
44962         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
44963         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
44965 2013-10-04  Alan Modra  <amodra@gmail.com>
44967         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
44968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
44969         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44970         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
44971         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
44972         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
44973         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
44974         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
44975         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
44976         use of regs.  Use power7 mtocrf.  Tidy function tails.
44978 2013-10-04  Alan Modra  <amodra@gmail.com>
44980         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
44981         Formatting.  Consistently use rXXX register defines or rN defines.
44982         Use early exit labels that avoid restoring unused non-volatile regs.
44983         Make cr field use more consistent with rWORDn compares.  Rename
44984         regs used as shift registers for unaligned loop, using rN defines
44985         for short lifetime/multiple use regs.
44986         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
44987         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
44988         addi 1,1,64 to pop stack frame.  Simplify return value code.
44989         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
44991 2013-10-04  Alan Modra  <amodra@gmail.com>
44993         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
44994         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
44995         rather than rlwimi.
44996         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
44997         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
44998         little-endian support.  Correct typos.
44999         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45000         rather than rlwimi.
45001         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45002         in loop and entry code to keep "and." results.
45003         (strchr): Add little-endian support.  Comment.  Move cntlzd
45004         earlier in tail.
45005         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45007 2013-10-04  Alan Modra  <amodra@gmail.com>
45009         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45010         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45011         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45012         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45014 2013-10-04  Alan Modra  <amodra@gmail.com>
45016         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45017         (rTMP): Define as r11.
45018         (strcmp): Add little-endian support.  Optimise tail.
45019         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45020         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45021         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45022         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45023         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45024         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45027 2013-10-04  Alan Modra  <amodra@gmail.com>
45029         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45030         little-endian support.  Remove unnecessary "are we done" tests.
45031         Handle "s" wrapping around zero and extremely large "size".
45032         Correct main loop count.  Handle single left-over word from main
45033         loop inline rather than by using small_loop.  Correct comments.
45034         Delete "zero" tail, use "end_max" instead.
45035         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45037 2013-10-04  Alan Modra  <amodra@gmail.com>
45039         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45040         support.  Don't branch over align.
45041         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45042         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45043         support.  Rearrange tmp reg use to suit.  Comment.
45044         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45046 2013-10-04  Alan Modra  <amodra@gmail.com>
45048         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45050 2013-10-04  Alan Modra  <amodra@gmail.com>
45052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45053         conditional form of branch and link when obtaining pc.
45054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45056 2013-10-04  Alan Modra  <amodra@gmail.com>
45058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45059         HIWORD/LOWORD.
45060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45063 2013-10-04  Alan Modra  <amodra@gmail.com>
45065         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45066         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45067         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45068         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45069         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45070         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45071         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45072         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45073         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45074         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45076 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45077             Alistair Popple <alistair@ozlabs.au.ibm.com>
45078             Alan Modra <amodra@gmail.com>
45080         [BZ #15723]
45081         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45082         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45083         _dl_hwcap access for little-endian.
45084         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45085         destroy vmx regs when saving unaligned.
45086         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45087         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45088         destroy vmx regs when saving unaligned.
45090 2013-10-04  Alan Modra  <amodra@gmail.com>
45092         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45093         Don't use a union to pack hi/low value.
45095 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45097         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45098         for little-endian.
45099         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45100         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45101         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45102         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45103         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45105 2013-10-04  Alan Modra  <amodra@gmail.com>
45107         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45108         constants to usual value for .cst8 section, and remove redundant
45109         high address load.
45110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45111         constant for 0x1p52.  Load little-endian words of double from
45112         correct stack offsets.
45114 2013-10-04  Alan Modra  <amodra@gmail.com>
45116         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45117         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45118         words of double from correct stack offsets.
45119         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45120         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45121         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45122         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45123         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45124         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45125         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45126         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45127         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45129         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45130         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45131         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45132         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45133         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45134         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45135         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45137 2013-10-04  Alan Modra  <amodra@gmail.com>
45139         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45140         64-bit int/double union.
45141         (_FPU_SETCW): Likewise.
45142         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45143         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45145 2013-10-04  Alan Modra  <amodra@gmail.com>
45147         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45148         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45150 2013-10-04  Alan Modra  <amodra@gmail.com>
45152         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45153         use vector int constants.
45154         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45156 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45158         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45159         array with long long.
45160         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45161         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45162         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
45163         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
45164         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
45165         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
45166         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
45167         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
45168         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
45169         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
45170         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
45171         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
45172         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
45174 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45176         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
45177         (__signbit): Likewise.  Correct for little-endian.
45178         (__signbitl): Call __signbit.
45179         (lrint): Correct for little-endian.
45180         (lrintf): Call lrint.
45182 2013-10-04  Alan Modra  <amodra@gmail.com>
45184         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
45185         union 32-bit int array member with 64-bit int array.
45186         (t515, tm256): Double rather than long double.
45187         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
45189 2013-10-04  Alan Modra  <amodra@gmail.com>
45191         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
45192         Delete.
45193         (IEEE854_LONG_DOUBLE_BIAS): Delete.
45194         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
45195         version of math_ldbl.h.
45197 2013-10-04  Alan Modra  <amodra@gmail.com>
45199         [BZ #15734], [BZ #15735]
45200         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
45201         all uses of ieee875 long double macros and unions.  Simplify test
45202         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
45203         ldbl_extract_mantissa value for ix,iy exponents.  Properly
45204         normalize after ldbl_extract_mantissa, and don't add hidden bit
45205         already handled.  Don't treat low word of ieee854 mantissa like
45206         low word of IBM long double and mask off bit when testing for
45207         zero.
45208         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
45209         all uses of ieee875 long double macros and unions.  Simplify tests
45210         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
45211         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
45212         two1022, instead use their values.  Recognise that tests for large
45213         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
45214         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
45215         Rewrite all uses of ieee875 long double macros and unions.  Simplify
45216         test for 0.0L and nan.  Correct negation.
45217         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
45218         ieee875 long double macros and unions.  Correct output for large
45219         magnitude x.  Correct absolute value calculation.
45220         (__erfcl): Likewise.
45221         * math/libm-test.inc: Add tests for errors discovered in IBM long
45222         double versions of fmodl, remainderl, erfl and erfcl.
45224 2013-10-04  Alan Modra  <amodra@gmail.com>
45226         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
45227         all uses of ieee854 long double macros and unions.  Simplify tests
45228         for long doubles that are fully specified by the high double.
45229         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
45230         Likewise.
45231         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
45232         Remove dead code too.
45233         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
45234         (__ieee754_ynl): Likewise.
45235         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
45236         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
45237         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
45238         Remove dead code too.
45239         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
45240         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
45241         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
45242         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
45243         Simplify.
45244         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
45245         Simplify.
45246         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
45247         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
45248         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
45249         Comment on variable precision.
45250         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
45251         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
45252         Likewise.
45253         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
45254         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45255         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45256         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
45257         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
45259 2013-10-04  Alan Modra  <amodra@gmail.com>
45261         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
45262         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
45263         all uses of ieee854 long double macros and unions.
45264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
45265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45266         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
45267         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
45268         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
45269         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
45270         Likewise.
45271         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
45272         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45273         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
45274         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45275         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
45276         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
45277         Simplify sign and nan test too.
45278         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
45279         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
45280         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
45281         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
45282         Likewise.
45283         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
45284         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
45285         Likewise.
45286         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45287         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
45288         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
45289         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
45290         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
45291         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
45293 2013-10-04  Alan Modra  <amodra@gmail.com>
45295         * stdio-common/printf_size.c (__printf_size): Don't use
45296         union ieee854_long_double in fpnum union.
45297         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
45298         signbit macro to retrieve sign from long double.
45299         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
45300         retrieve sign from long double.
45301         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
45302         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
45303         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
45304         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45305         * math/test-misc.c (main): Don't use union ieee854_long_double.
45307 2013-10-04  Alan Modra  <amodra@gmail.com>
45309         [BZ #15680]
45310         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
45311         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
45312         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
45313         calculation.  Remove unnecessary test for denormal exponent.
45314         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
45315         Correct handling of denormals.  Avoid undefined shift behaviour.
45316         Correct normalisation of low mantissa when low double is denormal.
45317         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
45318         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
45319         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
45320         Correct normalisation of low mantissa.  Test for overflow of high
45321         mantissa and normalise.
45322         (ldbl_nearbyint): Use more readable constant for two52.
45323         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
45324         (__mpn_construct_long_double): Fix test for overflow of high
45325         mantissa and correct normalisation.  Avoid undefined shift.
45327 2013-10-04  Alan Modra  <amodra@gmail.com>
45329         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
45330         (union ibm_extended_long_double): Define as an array of ieee754_double.
45331         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
45332         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
45333         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
45334         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45335         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
45336         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
45337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
45338         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
45339         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45340         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
45341         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
45343 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
45345         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
45346         page size instead of calling getpagesize.
45348         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
45349         (LOCFILE_ALIGN_MASK): Likewise.
45350         (LOCFILE_ALIGN_UP): Likewise.
45351         (LOCFILE_ALIGNED_P): Likewise.
45352         * locale/programs/ld-collate.c (collate_output): Use the new
45353         macros instead of __alignof__ (int32_t).
45354         * locale/weight.h (findidx): Likewise.
45356 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
45358         [BZ #431]
45359         * manual/string.texi: Fix strncat and wcsncat.
45361 2013-10-03  Brooks Moses  <bmoses@google.com>
45363         [BZ #15915]
45364         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
45365         * Makerules: ...here, and adjust associated comments.
45367 2013-10-02  Will Newton  <will.newton@linaro.org>
45369         * malloc/Makefile: Add tst-pvalloc.
45370         * malloc/tst-pvalloc.c: New file.
45372 2013-10-02  Will Newton  <will.newton@linaro.org>
45374         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
45375         improve test coverage.
45377 2013-10-02  Will Newton  <will.newton@linaro.org>
45379         * malloc/Makefile: Add tst-posix_memalign.
45380         * malloc/tst-posix_memalign.c: New file.
45382 2013-10-01  Eric Blake  <eblake@redhat.com>
45384         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
45385         Use __THROWNL rather than __THROW on static functions.
45387 2013-09-30  Petr Machata  <pmachata@redhat.com>
45389         * elf/elf.h (R_AARCH64_ABS16): New macro.
45390         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
45391         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
45392         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
45393         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
45394         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
45395         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
45396         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
45397         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
45398         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
45399         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
45400         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
45401         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
45402         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
45403         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
45404         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
45405         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
45406         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
45407         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
45408         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
45409         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
45410         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
45411         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
45412         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
45413         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
45414         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
45415         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
45416         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
45417         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
45418         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
45419         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
45420         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
45421         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
45422         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
45423         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
45424         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
45425         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
45426         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
45427         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
45428         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
45429         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
45430         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
45431         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
45432         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
45433         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
45434         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
45435         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
45436         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
45437         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
45438         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
45439         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
45440         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
45441         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
45442         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
45443         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
45444         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
45445         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
45446         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
45447         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
45448         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
45449         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
45450         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
45451         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
45452         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
45453         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
45454         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
45455         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
45456         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
45457         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
45458         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
45459         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
45460         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
45461         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
45462         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
45463         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
45464         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
45465         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
45466         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
45467         (R_AARCH64_TLSDESC_LDR): Likewise.
45468         (R_AARCH64_TLSDESC_ADD): Likewise.
45469         (R_AARCH64_TLSDESC_CALL): Likewise.
45471 2013-09-30  Andreas Schwab  <schwab@suse.de>
45473         [BZ #15048]
45474         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
45475         the nss database lookup.
45476         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
45479 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
45481         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
45483 2013-09-28  P. J. McDermott  <pj@pehjota.net>
45485         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
45486         ${Bash-specific parameter/pattern/string} parameter expansion.
45487         * sysdeps/unix/make-syscalls.sh: Likewise.
45489 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45491         * sysdeps/sh/stackguard-macros.h: New file.
45493 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
45495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45496         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
45497         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
45498         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
45499         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
45500         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
45502 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45504         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
45505         Fix thread ID register.
45507 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
45509         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
45510         [POSIX || UNIX98]: Require rather than permitting all symbols from
45511         <time.h>.
45512         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
45513         element of struct sched_param.
45514         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
45515         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
45516         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
45517         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
45518         constant.
45520 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
45522         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
45523         argument calculation.
45525 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45527         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
45528         Expect macro.
45529         [POSIX] (pthread_attr_t): Do not require type.
45530         [POSIX] (pthread_cond_t): Likewise.
45531         [POSIX] (pthread_condattr_t): Likewise.
45532         [POSIX] (pthread_key_t): Likewise.
45533         [POSIX] (pthread_mutex_t): Likewise.
45534         [POSIX] (pthread_mutexattr_t): Likewise.
45535         [POSIX] (pthread_once_t): Likewise.
45536         [POSIX] (pthread_t): Likewise.
45537         [POSIX-based standards] (pthread_atfork): Expect function.
45539 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
45540             Richard Sandiford  <richard@codesourcery.com>
45542         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
45543         (swap_endianness_p): New extern variable.
45544         (set_big_endian): New inline function.
45545         (maybe_swap_uint32): Likewise.
45546         (maybe_swap_uint32_array): Likewise.
45547         (maybe_swap_uint32_obstack): Likewise.
45548         * locale/programs/locfile.c: Include <stdbool.h>.
45549         (swap_endianness_p): New variable.
45550         (add_locale_uint32): Call maybe_swap_uint32.
45551         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
45552         (write_locale_data): Call maybe_swap_uint32_array.
45553         * locale/programs/ld-collate.c (obstack_int32_grow): Call
45554         maybe_swap_uint32.
45555         (obstack_int32_grow_fast): Likewise.
45556         (output_weightwc): Call maybe_swap_uint32_obstack.
45557         (collate_output): Likewise.
45558         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
45559         (OPT_LITTLE_ENDIAN): Likewise.
45560         (options): Add --little-endian and --big-endian options.
45561         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
45562         * locale/programs/locarchive.c: Include "locfile.h".
45563         (GET): New macro.
45564         (SET): Likewise.
45565         (INC): Likewise.
45566         (create_archive): Use the new macros to access fields of
45567         structures directly mapped from or written to locale archives.
45568         (oldlocrecentcmp): Likewise.
45569         (enlarge_archive): Likewise.
45570         (insert_name): Likewise.
45571         (add_alias): Likewise.
45572         (add_locale): Likewise.
45573         (delete_locales_from_archive): Likewise.
45574         (show_archive_content): Likewise.
45575         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
45576         locale data.
45578 2013-09-24  Roland McGrath  <roland@hack.frob.com>
45580         * manual/freemanuals.texi: Updated from (newly) canonical copy at
45581         http://www.gnu.org/doc/freemanuals.texi.
45582         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
45584 2013-09-24  Will Newton  <will.newton@linaro.org>
45586         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
45587         macro.
45589 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
45591         * locale/hashval.h (compute_hashval): Interpret bytes of key as
45592         unsigned char.
45594 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
45596         * manual/threads.texi (POSIX Threads): Fix a typo.
45598 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
45600         [BZ #14547]
45601         * string/tst-strcoll-overflow.c: New test case.
45602         * string/Makefile (xtests): Add tst-strcoll-overflow.
45603         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
45604         cache if string sizes may cause integer overflow.
45606         [BZ #14547]
45607         * string/strcoll_l.c (coll_seq): New members rule, idx,
45608         save_idx and back_us.
45609         (get_next_seq_nocache): New function.
45610         (do_compare_nocache): New function.
45611         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
45612         when malloc fails.
45614 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
45616         [BZ #15754]
45617         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
45618         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
45619         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
45621         [BZ #15754]
45622         * elf/Makefile (tests): Add tst-ptrguard1.
45623         (tests-static): Add tst-ptrguard1-static.
45624         (tst-ptrguard1-ARGS): Define.
45625         (tst-ptrguard1-static-ARGS): Define.
45626         * elf/tst-ptrguard1.c: New file.
45627         * elf/tst-ptrguard1-static.c: New file.
45628         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
45629         * sysdeps/i386/stackguard-macros.h: Likewise.
45630         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
45631         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
45632         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
45633         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
45634         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
45635         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
45637 2013-09-23  Hector Marco  <hecmargi@upv.es>
45638             Ismael Ripoll  <iripoll@disca.upv.es>
45639             Carlos O'Donell  <carlos@redhat.com>
45641         [BZ #15754]
45642         * sysdeps/generic/stackguard-macros.h: Define
45643         __pointer_chk_guard_local and POINTER_CHK_GUARD.
45644         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
45645         Define __pointer_chk_guard_local.
45646         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
45647         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
45649 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
45651         [BZ #15859]
45652         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
45654 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
45656         * include/string.h (__ffs): Declare as hidden.
45657         * string/ffs.c (__ffs): Define as hidden.
45658         * sysdeps/i386/ffs.c (__ffs): Likewise.
45659         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
45660         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
45661         * sysdeps/s390/ffs.c (__ffs): Likewise.
45662         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
45664 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
45666         * NEWS: Mention malloc probes.
45668         * malloc/arena.c (new_heap): New memory_heap_new probe.
45669         (grow_heap): New memory_heap_more probe.
45670         (shrink_heap): New memory_heap_less probe.
45671         (heap_trim): New memory_heap_free probe.
45672         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
45673         (systrim): New memory_sbrk_less probe.
45674         * manual/probes.texi: Document them.
45676         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
45677         * manual/probes.texi: Document it.
45679         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
45680         (__libc_realloc): Add memory_realloc_retry probe.
45681         (__libc_memalign): Add memory_memalign_retry probe.
45682         (__libc_valloc): Add memory_valloc_retry probe.
45683         (__libc_pvalloc): Add memory_pvalloc_retry probe.
45684         (__libc_calloc): Add memory_calloc_retry probe.
45685         * manual/probes.texi: Document them.
45687         * malloc/arena.c (get_free_list): Add probe
45688         memory_arena_reuse_free_list.
45689         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
45690         and memory_arena_reuse.
45691         (arena_get2) [!PER_THREAD]: Likewise.
45692         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
45693         memory_arena_reuse_realloc.
45694         * manual/probes.texi: Document them.
45696         * malloc/malloc.c (__libc_free): Add
45697         memory_mallopt_free_dyn_thresholds probe.
45698         (__libc_mallopt): Add multiple memory_mallopt probes.
45699         * manual/probes.texi: Document them.
45701         * malloc/malloc.c: Include stap-probe.h.
45702         (__libc_mallopt): Add memory_mallopt probe.
45703         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
45704         * manual/probes.texi: New.
45705         * manual/Makefile (chapters): Add probes.
45706         * manual/threads.texi: Set next node.
45708 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
45710         [BZ #15963, #13985]
45711         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
45712         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
45713         Add `Chinese' to `nan' entry name.
45715 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45717         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
45718         (POLYNOMIAL): Likewise.
45719         (TAYLOR_SINCOS): Likewise.
45720         (TAYLOR_SLOW): Likewise.
45721         (__sin): Use TAYLOR_SINCOS.
45722         (__cos): Likewise.
45723         (slow): Use TAYLOR_SLOW.
45724         (sloww): Likewise.
45725         (bsloww): Likewise.
45726         (csloww): Likewise.
45728 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
45730         * stdlib/strtod_l.c: Fix buffer overrun.
45732 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
45734         * benchtests/Makefile (bench): Add sincos.
45735         * benchtests/bench-sincos.c: New file.
45737         * math/libm-test.inc (cos_test_data): New test inputs.
45738         (sin_test_data): Likewise.
45740         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
45741         macro.
45742         (__sin): Use it.
45743         (__cos): Likewise.
45744         (slow1): Likewise.
45745         (slow2): Likewise.
45746         (sloww1): Likewise.
45747         (sloww2): Likewise.
45748         (bsloww1): Likewise.
45749         (bsloww2): Likewise.
45750         (cslow2): Likewise.
45751         (csloww1): Likewise.
45752         (csloww2): Likewise.
45754         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
45755         function.
45756         (__sin): Use it.
45757         (__cos): Likewise.
45759         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
45760         gotos.
45761         (__cos): Likewise.
45763 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
45765         * config.h.in (HAVE_MIPS_NAN2008): New macro.
45766         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
45767         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
45768         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
45769         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
45770         * elf/cache.c (print_entry): Handle the new cache flags.
45772 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45773             Aldy Hernandez  <aldyh@redhat.com>
45775         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
45776         Change condition to [_SOFT_FLOAT].
45777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
45778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
45779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
45780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
45781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
45782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
45783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
45784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
45785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
45786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
45787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
45788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
45789         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
45790         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
45791         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
45792         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
45793         declaration.
45795 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
45797         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
45798         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45799         (__longjmp): Use LOAD_GP to load saved GPRs.
45800         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
45801         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
45802         (__sigsetjmp): Use SAVE_GP to save GPRs.
45804         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
45805         Do not append -msoft-float.
45806         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
45808 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45810         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
45812 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
45814         [BZ #15966]
45815         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
45816         (_FPU_GETCW): Use initial "__" on variable and field names but not
45817         on macro parameter name.
45818         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
45819         parentheses around reference to macro parameter.
45821 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
45823         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
45824         prototype.
45825         (ctype_startup): Use uint32_t in cast and sizeof for
45826         ctype->charnames.
45828 2013-09-11  Jia Liu  <proljc@gmail.com>
45830         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
45831         __daddr_t_defined.
45832         [__FreeBSD__]: Likewise.
45834 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
45836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
45837         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
45838         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
45839         (strchr): Remove __strchr_sse42 ifunc selection.
45840         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
45841         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
45843 2013-09-11  Will Newton  <will.newton@linaro.org>
45845         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
45846         parameter to RES. Remove hardcoded 1000 value.
45847         * benchtests/bench-skeleton.c (main): Pass RES parameter
45848         to TIMING_INIT and multiply result by 1000.
45850 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45854 2013-09-11  Andreas Schwab  <schwab@suse.de>
45856         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
45857         if not defined.
45858         (O_TMPFILE) [__USE_GNU]: Define.
45859         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
45860         Define.
45862 2013-09-11  Will Newton  <will.newton@linaro.org>
45864         [BZ #15857]
45865         * malloc/malloc.c (__libc_memalign): Check the value of bytes
45866         does not overflow.
45868 2013-09-11  Will Newton  <will.newton@linaro.org>
45870         [BZ #15856]
45871         * malloc/malloc.c (__libc_valloc): Check the value of bytes
45872         does not overflow.
45874 2013-09-11  Will Newton  <will.newton@linaro.org>
45876         [BZ #15855]
45877         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
45878         does not overflow.
45880 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
45882         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
45883         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45884         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45885         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45886         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45888 2013-09-10  Allan McRae  <allan@archlinux.org>
45890         [BZ #15748]
45891         * manual/arith.texi (Parsing of Floats): Clarify
45892         cross-reference.
45894         [BZ #15849]
45895         * manual/install.texi (Running make install): Mention
45896         --enable-pt-chown.
45897         * INSTALL: Regenerated.
45899 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
45901         * csu/init-first.c (_init): Remove the !SHARED condition around
45902         FPU control word initialization.
45903         * elf/dl-support.c (_dl_fpu_control): New variable.
45904         (_dl_aux_init) <AT_FPUCW>: Initialize it.
45905         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
45906         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
45907         * math/test-fpucw-static.c: New file.
45908         * math/test-fpucw-ieee.c: New file.
45909         * math/test-fpucw-ieee-static.c: New file.
45910         * math/Makefile (tests): Add `test-fpucw-ieee' and
45911         `$(tests-static)'.
45912         (tests-static): New variable.
45913         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
45914         dependency to...
45915         [($(build-shared),yes)]
45916         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
45917         ... this.
45918         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
45919         New dependency.
45921 2013-09-09  Allan McRae  <allan@archlinux.org>
45923         [BZ #15939]
45924         * manual/string.texi (Collation Functions): Fix typo in
45925         strcoll example.
45926         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
45928         [BZ #15893]
45929         * stdlib/isomac.c (get_null_defines): Fix memory leak.
45931         [BZ #15892]
45932         * libio/memstream.c (open_memstream): Fix memory leak.
45933         * libio/wmemstream.c (open_wmemstream): Likewise.
45935         [BZ #15895]
45936         * nscd/netgroupcache.c: Fix nesting of ifdefs.
45938 2013-09-09  Will Newton  <will.newton@linaro.org>
45940         * malloc/Makefile: Add tst-realloc to tests.
45941         * malloc/tst-realloc.c: New file.
45943 2013-09-09  Allan McRae  <allan@archlinux.org>
45945         [BZ #15844]
45946         * COPYING: Update from GNU website to fix FSF address.
45947         * COPYING.LIB: Likewise.
45949 2013-09-06  David S. Miller  <davem@davemloft.net>
45951         * po/zh_TW.po: Update Chinese (traditional) translation from
45952         translation project.
45954 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
45955             Joseph Myers  <joseph@codesourcery.com>
45957         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
45958         "localeinfo.h".
45959         (obstack_chunk_alloc): New macro.
45960         (obstack_chunk_free): Likewise.
45961         (record_offset): New function.
45962         (init_locale_data): Likewise.
45963         (align_locale_data): Likewise.
45964         (add_locale_empty): Likewise.
45965         (add_locale_raw_data): Likewise.
45966         (add_locale_raw_obstack): Likewise.
45967         (add_locale_string): Likewise.
45968         (add_locale_wstring): Likewise.
45969         (add_locale_uint32): Likewise.
45970         (add_locale_uint32_array): Likewise.
45971         (add_locale_char): Likewise.
45972         (start_locale_structure): Likewise.
45973         (end_locale_structure): Likewise.
45974         (start_locale_prelude): Likewise.
45975         (end_locale_prelude): Likewise.
45976         (write_locale_data): Take locale_file structure rather than an
45977         iovec.
45978         * locale/programs/locfile.h: Include "obstack.h".
45979         (struct locale_file): Change to store locale file contents instead
45980         of header.
45981         (init_locale_data): New prototype.
45982         (align_locale_data): Likewise.
45983         (add_locale_empty): Likewise.
45984         (add_locale_raw_data): Likewise.
45985         (add_locale_raw_obstack): Likewise.
45986         (add_locale_string): Likewise.
45987         (add_locale_wstring): Likewise.
45988         (add_locale_uint32): Likewise.
45989         (add_locale_uint32_array): Likewise.
45990         (add_locale_char): Likewise.
45991         (start_locale_structure): Likewise.
45992         (end_locale_structure): Likewise.
45993         (start_locale_prelude): Likewise.
45994         (end_locale_prelude): Likewise.
45995         (write_locale_data): Update prototype.
45996         * locale/programs/3level.h (struct TABLE): Remove result field.
45997         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
45998         Use new locale_file interface.
45999         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46000         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46001         * locale/programs/ld-address.c (address_output): Use new
46002         locale_file interface.
46003         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46004         NO_ADD_LOCALE.
46005         (collate_finish): Don't call collseq_table_finalize.
46006         (collate_output): Use new locale_file interface.
46007         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46008         in file.
46009         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46010         (TABLE): Move defines earlier in file.
46011         (ELEMENT): Likewise.
46012         (DEFAULT): Likewise.
46013         (wctrans_table_add): Move macro and inline function earlier in
46014         file.
46015         (struct wctype_table): Move type earlier in file.
46016         (add_locale_wctype_table): New static prototype.
46017         (struct locale_ctype_t): Use logical types instead of struct iovec
46018         pointers for members.
46019         (ctype_output): Use new locale_file interface.
46020         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46021         new locale_file interface.
46022         (allocate_arrays): Update for use of new locale_file interface.
46023         * locale/programs/ld-identification.c (identification_output): Use
46024         new locale_file interface.
46025         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46026         * locale/programs/ld-messages.c (messages_output): Likewise.
46027         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46028         * locale/programs/ld-name.c (name_output): Likewise.
46029         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46030         * locale/programs/ld-paper.c (paper_output): Likewise.
46031         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46032         * locale/programs/ld-time.c (time_output): Likewise.
46034 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46036         * benchtests/Makefile: Add memrchr benchmark.
46037         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46038         benchmark as memrchr.
46039         * benchtests/bench-memrchr-ifunc.c: New file.
46040         * benchtests/bench-memrchr.c: New file.
46042 2013-09-06   Will Newton  <will.newton@linaro.org>
46044         * benchtests/Makefile (string-bench): Add memcpy.
46046 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46047             Cong Wang  <amwang@redhat.com>
46049         [BZ #15850]
46050         * sysdeps/unix/sysv/linux/bits/in.h
46051         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46052         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46053         before __USE_KERNEL_IPV6_DEFS uses.
46054         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46055         IPPROTO_BEETPH.
46056         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46057         sockaddr_in6, or ipv6_mreq.
46059 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46061         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46062         memory access for final bytes in some large inputs.
46063         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46065 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46067         * string/test-memrchr.c: New file.
46068         * string/test-memrchr-ifunc.c: New file.
46069         * string/Makefile: Add new memrchr testcase.
46071 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46073         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46074         fanotify_init returns EPERM.
46076 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46078         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46079         errors.
46080         (top level): Treat second token from macro or constant entries for
46081         allowed headers as allowed.
46082         * include/complex.h: Condition internal declarations on
46083         [!_ISOMAC].
46084         * include/fenv.h: Condition include of <stdbool.h> and internal
46085         declarations on [!_ISOMAC].
46087 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46089         [BZ #15923]
46090         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46092 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46094         * configure.in (--enable-versioning): Remove configure option.
46095         (libc_cv_asm_symver_directive): Remove configure test.
46096         (libc_cv_ld_version_script_option): Likewise.
46097         (VERSIONING): Remove variable and AC_SUBST.
46098         (DO_VERSIONING): Remove AC_DEFINE.
46099         * configure: Regenerated.
46100         * config.h.in (DO_VERSIONING): Remove macro.
46101         * Makerules [$(versioning) = yes]: Change conditionals to
46102         [$(build-shared) = yes].
46103         * config.make.in (versioning): Remove variable.
46104         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46105         [$(build-shared) = yes].
46106         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46107         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46108         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46109         [$(build-shared) = yes].
46110         * extra-lib.mk [$(versioning) = yes]: Likewise.
46111         * hurd/Makefile [$(versioning) = yes]: Likewise.
46112         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46113         [SHARED].
46114         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46115         [SHARED].
46116         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46117         [SHARED && !NO_HIDDEN].
46118         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46119         [SHARED].
46120         [SHARED && DO_VERSIONING]: Likewise..
46121         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46122         [$(build-shared) = yes].
46123         * manual/install.texi (--disable-versioning): Remove
46124         documentation.
46125         * INSTALL: Regenerated.
46126         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46127         to [SHARED].
46128         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46129         [$(build-shared) = yes].
46130         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46131         * sysdeps/i386/i686/multiarch/strstr-c.c
46132         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46133         [SHARED && !NO_HIDDEN].
46134         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46135         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46136         * sysdeps/powerpc/powerpc32/dl-machine.c
46137         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46138         * sysdeps/powerpc/powerpc32/sysdep.h
46139         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46140         to [SHARED && PIC && !NO_HIDDEN].
46141         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46142         conditional to [SHARED].
46144 2013-09-04   Will Newton  <will.newton@linaro.org>
46146         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46147         * benchtests/bench-string.h: Include bench-timing.h instead
46148         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46149         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46150         call to HP_TIMING_DIFF_INIT.
46151         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46152         instead of hp-timing.h macros.
46153         * benchtests/bench-memchr.c: Likewise.
46154         * benchtests/bench-memcmp.c: Likewise.
46155         * benchtests/bench-memcpy.c: Likewise.
46156         * benchtests/bench-memmem.c: Likewise.
46157         * benchtests/bench-memmove.c: Likewise.
46158         * benchtests/bench-memset.c: Likewise.
46159         * benchtests/bench-rawmemchr.c: Likewise.
46160         * benchtests/bench-strcasecmp.c: Likewise.
46161         * benchtests/bench-strcasestr.c: Likewise.
46162         * benchtests/bench-strcat.c: Likewise.
46163         * benchtests/bench-strchr.c: Likewise.
46164         * benchtests/bench-strcmp.c: Likewise.
46165         * benchtests/bench-strcpy.c: Likewise.
46166         * benchtests/bench-strcpy_chk.c: Likewise.
46167         * benchtests/bench-strlen.c: Likewise.
46168         * benchtests/bench-strncasecmp.c: Likewise.
46169         * benchtests/bench-strncat.c: Likewise.
46170         * benchtests/bench-strncmp.c: Likewise.
46171         * benchtests/bench-strncpy.c: Likewise.
46172         * benchtests/bench-strnlen.c: Likewise.
46173         * benchtests/bench-strpbrk.c: Likewise.
46174         * benchtests/bench-strrchr.c: Likewise.
46175         * benchtests/bench-strspn.c: Likewise.
46176         * benchtests/bench-strstr.c: Likewise.
46178 2013-09-04  Will Newton  <will.newton@linaro.org>
46180         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
46182 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
46184         [BZ #15427]
46185         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
46186         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
46187         * math/libm-test.inc (lgamma_test_data): Add more tests.
46188         * sysdeps/i386/fpu/libm-test-ulps: Update.
46189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46191 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
46193         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
46194         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46195         Add ifunc.
46196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
46197         Add strcmp-sse2-unaligned
46198         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
46200 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46202         * Versions.def (libc): Add GLIBC_2.19.
46204 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
46206         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
46207         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
46209 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
46211         [BZ #14155]
46212         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
46213         intermediate calculations in recurrence.
46214         (__ieee754_ynf): Likewise.
46215         * math/libm-test.inc (jn_test_data): Do not allow spurious
46216         underflow exception.  Add more tests.
46217         (yn_test_data): Add more tests.
46218         * sysdeps/i386/fpu/libm-test-ulps: Update.
46219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46221 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
46223         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
46225 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46227         * csu/init-first.c: Fix then/than typos.
46228         * locale/programs/ld-collate.c: Likewise.
46229         * locale/programs/linereader.h: Likewise.
46230         * manual/charset.texi: Likewise.
46231         * manual/filesys.texi: Likewise.
46232         * manual/stdio.texi: Likewise.
46233         * manual/string.texi: Likewise.
46234         * stdlib/fmtmsg.c: Likewise.
46235         * sysdeps/i386/stpncpy.S: Likewise.
46236         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
46237         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
46238         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
46239         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46241 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
46243         * elf/dl-open.c: Fix typos.
46244         * iconvdata/gbbig5.c: Likewise.
46245         * iconvdata/iso-2022-jp.c: Likewise.
46246         * iconv/gconv_int.h: Likewise.
46247         * iconv/loop.c: Likewise.
46248         * nis/rpcsvc/nis.h: Likewise.
46249         * resolv/ns_name.c: Likewise.
46250         * stdio-common/vfscanf.c: Likewise.
46251         * streams/stropts.h: Likewise.
46252         * sunrpc/rpc_thread.c: Likewise.
46253         * sysdeps/i386/strpbrk.S: Likewise.
46254         * sysdeps/ieee754/k_standard.c: Likewise.
46255         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
46256         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46257         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
46258         * sysdeps/mach/hurd/profil.c: Likewise.
46259         * sysdeps/s390/dl-procinfo.h: Likewise.
46260         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
46261         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
46262         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
46263         * sysdeps/x86_64/dl-trampoline.S: Likewise.
46264         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
46266 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
46268         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
46269         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
46271 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
46273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
46274         aix specific files.
46275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
46276         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
46277         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
46278         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
46279         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
46280         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
46281         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
46282         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
46284 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46285             Roland McGrath  <roland@hack.frob.com>
46287         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
46288         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
46290 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46292         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
46293         __executable_start symbol instead of _start.
46295 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
46297         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
46298         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
46299         Move macros to...
46300         * sysdeps/gnu/ldsodefs.h: ... this new file.
46302         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
46303         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
46304         instead of ELFOSABI_LINUX.
46306         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
46307         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
46308         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
46309         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
46310         Likewise.
46311         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
46312         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
46313         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
46314         Likewise.
46315         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46316         (ibm_extended_long_double): Add ieee_nan member.
46317         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
46318         (do_test): New function.
46320         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
46321         TEST_TRUNC.
46322         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
46323         functions, renamed from truncdfsf_test, trunctfsf_test,
46324         trunctfdf_test.
46325         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
46326         functions.
46327         (do_test): Run all these.
46329 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
46331         * argp/argp-help.c: Fix typos.
46332         * argp/argp-parse.c: Likewise.
46333         * debug/backtracesyms.c: Likewise.
46334         * elf/elf.h: Likewise.
46335         * malloc/malloc.c: Likewise.
46336         * nis/nis_print.c: Likewise.
46337         * resolv/res_comp.c: Likewise.
46338         * stdlib/stdlib.h: Likewise.
46339         * sunrpc/clnt_tcp.c: Likewise.
46340         * sunrpc/clnt_udp.c: Likewise.
46341         * sunrpc/clnt_unix.c: Likewise.
46342         * sysdeps/unix/bsd/ptsname.c: Likewise.
46343         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
46344         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
46345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
46346         Likewise.
46347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
46348         Likewise.
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
46350         Likewise.
46351         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46353 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46355         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
46356         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46358 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
46360         [BZ #15897]
46361         * dlfcn/Makefile (tests): Add bug-dl-leaf.
46362         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
46363         ($(objpfx)bug-dl-leaf): New rule.
46364         ($(objpfx)bug-dl-leaf.so): Likewise.
46365         ($(objpfx)bug-dl-leaf.out): Likewise.
46366         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
46367         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
46368         * dlfcn/bug-dl-leaf.c: New test.
46369         * dlfcn/bug-dl-leaf-lib.c: Likewise.
46370         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
46371         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
46372         (dlclose): Likewise.
46373         (dlmopen): Likewise.
46375 2013-08-27  Roland McGrath  <roland@hack.frob.com>
46377         * include/netdb.h [!_ISOMAC]:
46378         Don't include <tls.h>.
46379         (h_errno, __libc_h_errno): Move declaration and macros out of
46380         [_LIBC_REENTRANT].
46382         * include/resolv.h [_RESOLV_H_]:
46383         Don't include <tls.h>.
46384         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
46385         * resolv/res_libc.c: Don't include <tls.h>.
46386         (_res): Use __attribute__ ((nocommon)) in place of
46387         __attribute__ ((section (".bss"))).
46389         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
46390         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
46392         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
46394         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
46395         only under [SIOCGIFCONF && SIOCGIFNETMASK].
46397         * resolv/res_mkquery.c: Include <sys/time.h>.
46399         * inet/ifreq.c: Moved to ...
46400         * sysdeps/unix/ifreq.c: ... here.
46401         * inet/ifreq.c: New file, true stub version.
46403         * socket/sa_len.c: New file.
46404         * socket/Makefile (aux): Add it.
46405         * sysdeps/unix/sysv/linux/Makefile
46406         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
46407         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
46408         and #include <socket/sa_len.c>.
46409         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
46410         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
46412         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
46413         * bits/socket.h: ... here.
46415         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
46416         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
46417         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
46419 2013-08-27  Andreas Schwab  <schwab@suse.de>
46421         [BZ #15736]
46422         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
46423         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
46424         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
46425         * string/test-strcasecmp.c (test_main): Run tests in several
46426         locales.
46427         * string/test-strncasecmp.c (test_main): Likewise.
46429         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
46430         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
46431         to __strcasecmp_nonascii and __strncasecmp_nonascii.
46432         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
46433         (__strncasecmp_ssse3) [PIC]: Likewise.
46435 2013-08-26  Roland McGrath  <roland@hack.frob.com>
46437         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
46439         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
46440         instead of explicitly declaring xdecrypt.
46441         * nis/nss_nis/nis-publickey.c: Likewise.
46443 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46445         [BZ #15890]
46446         * nscd/aicache.c: Include res_hconf.h.
46447         (addhstaiX): Initialize res_hconf.
46449 2013-08-26  Andreas Schwab  <schwab@suse.de>
46451         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
46452         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
46454 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
46456         * nscd/aicache.c (addhstaiX): Fix indentation.
46458 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
46460         * configure.ac: Quote $build_pt_chown test.
46461         * configure: Regenerated.
46463 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
46465         [BZ #15532]
46466         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
46467         * math/s_cexpf.c (__cexpf): Likewise.
46468         * math/s_cexpl.c (__cexpl): Likewise.
46469         * math/libm-test.inc (cexp_test_data): Correct expected return
46470         value for NaN + i0.  Add another test.
46472 2013-08-22  David S. Miller  <davem@davemloft.net>
46474         * po/ca.po: Update Catalan translation from translation project.
46475         * po/uk.po: Add Ukrainian translations from translation project.
46477 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
46479         [BZ #15797]
46480         * math/s_fdim.c (__fdim): Check for infinite arguments if result
46481         is infinite, not alongside NaN test.
46482         * math/s_fdimf.c (__fdimf): Likewise.
46483         * math/s_fdiml.c (__fdiml): Likewise.
46484         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
46485         errno is unchanged.
46487 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
46489         * argp/argp-help.c: Fix typos.
46490         * crypt/speeds.c: Likewise.
46491         * csu/check_fds.c: Likewise.
46492         * elf/dl-load.c: Likewise.
46493         * elf/dl-open.c: Likewise.
46494         * elf/reldep3.c: Likewise.
46495         * elf/reldep.c: Likewise.
46496         * elf/sprof.c: Likewise.
46497         * iconv/iconv_charmap.c: Likewise.
46498         * iconv/skeleton.c: Likewise.
46499         * iconv/strtab.c: Likewise.
46500         * io/lockf64.c: Likewise.
46501         * libio/libioP.h: Likewise.
46502         * resolv/gai_notify.c: Likewise.
46503         * resolv/ns_name.c: Likewise.
46504         * resolv/ns_samedomain.c: Likewise.
46505         * resolv/res_send.c: Likewise.
46506         * stdlib/random.c: Likewise.
46507         * sunrpc/rpc/xdr.h: Likewise.
46508         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
46509         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
46510         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
46511         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
46512         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
46513         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
46514         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
46515         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
46516         * sysdeps/mach/hurd/check_fds.c: Likewise.
46517         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
46518         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
46519         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
46520         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
46521         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
46522         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
46523         * sysdeps/pthread/aio_notify.c: Likewise.
46524         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
46525         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
46526         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
46527         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
46528         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46530 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46532         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
46533         version if bit_Slow_SSE4_2 is set.
46534         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46535         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46537 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46539         [BZ #15867]
46540         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
46541         trampoline stack frame information.
46542         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
46543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
46544         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
46545         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
46546         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
46547         * sysdeps/unix/sysv/linux/powerpc/init-first.c
46548         (_libc_vdso_platform_setup): Initialize the signal trampolines.
46549         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
46550         sa_flags value.
46551         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
46552         interrupting a syscall and set with option SA_SIGINFO.
46554 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46556         [BZ #15531]
46557         * math/s_cproj.c (__cproj): Only return an infinity if one part of
46558         argument is infinite.
46559         * math/s_cprojf.c (__cprojf): Likewise.
46560         * math/s_cprojl.c (__cprojl): Likewise.
46561         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
46562         * math/libm-test.inc (cproj_test_data): Add more tests.
46564         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
46566         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
46567         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
46568         size.  Use __ffs to determine corresponding shift.
46570 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
46571             Roland McGrath  <roland@hack.frob.com>
46573         * Makefile (INSTALL): Remove trailing blank lines from output of
46574         makeinfo.
46576 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46578         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
46579         Align 32 bit compat elf_greg to 8 bytes.
46581 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
46583         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
46585 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46587         * string/strcoll_l.c (coll_seq): New structure.
46588         (get_next_seq_cached): New function.
46589         (get_next_seq): New function.
46590         (do_compare): New function.
46591         (STRCOLL): Use GNU style definition.  Simplify implementation
46592         by using get_next_seq, get_next_seq_cached and do_compare.
46594 2013-08-16  Florian Weimer  <fweimer@redhat.com>
46596         [BZ #14699]
46597         CVE-2013-4237
46598         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
46599         member.
46600         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
46601         member.
46602         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
46603         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
46604         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
46605         conditional.
46606         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
46607         GETDENTS_64BIT_ALIGNED.
46608         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
46609         * manual/filesys.texi (Reading/Closing Directory): Document
46610         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
46611         strongly.
46612         * manual/conf.texi (Limits for Files): Add portability note to
46613         NAME_MAX, PATH_MAX.
46614         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
46616 2013-08-13  Andreas Schwab  <schwab@suse.de>
46618         [BZ #15749]
46619         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
46620         of fabs.
46621         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
46622         LDBL_MAX_EXP >= 16384]: Add tests for it.
46624 2013-08-12  David S. Miller  <davem@davemloft.net>
46626         * version.h (RELEASE): Set to "development".
46627         (VERSION): Set to "2.18.90".
46628         * NEWS: Add 2.19 section.
46630 2013-08-03  David S. Miller  <davem@davemloft.net>
46632         * po/ko.po: Update Korean translation from translation project.
46634 2013-08-01  David S. Miller  <davem@davemloft.net>
46636         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
46637         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
46638         Bilka.
46640 2013-07-30  David S. Miller  <davem@davemloft.net>
46642         * po/fr.po: Update French translation from translation project.
46644 2013-07-28  David S. Miller  <davem@davemloft.net>
46646         * po/cs.po: Update Czech translation from translation project.
46648         * po/sv.po: Update Swedish translation from translation project.
46650 2013-07-27  David S. Miller  <davem@davemloft.net>
46652         * po/eo.po: Update Esperanto translation from translation project.
46654         * po/vi.po: Update Vietnamese translation from translation project.
46656         * po/de.po: Update German translation from translation project.
46658 2013-07-26  David S. Miller  <davem@davemloft.net>
46660         * po/bg.po: Update Bulgarian translation from translation project.
46662         * po/nl.po: Update Dutch translation from translation project.
46663         * po/pl.po: Update Polish translation from translation project.
46664         * po/ru.po: Update Russian translation from translation project.
46666 2013-07-24  David S. Miller  <davem@davemloft.net>
46668         * po/libc.pot: Update.
46670 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46672         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
46673         variable page size.
46674         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
46675         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
46676         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
46678 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46680         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
46682 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46683             Andreas Schwab  <schwab@suse.de>
46684             Roland McGrath  <roland@hack.frob.com>
46685             Joseph Myers  <joseph@codesourcery.com>
46686             Carlos O'Donell  <carlos@redhat.com>
46688         [BZ #15755]
46689         * config.h.in: Define HAVE_PT_CHOWN.
46690         * config.make.in (build-pt-chown): New variable.
46691         * configure.in (--enable-pt_chown): New configure option.
46692         * configure: Regenerate.
46693         * login/Makefile: Include Makeconfig.  Build pt_chown only if
46694         build-pt-chown is enabled.
46695         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
46696         pt_chown to fix pty ownership.
46697         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
46698         CLOSE_ALL_FDS.
46699         * manual/install.texi (Configuring and compiling): Mention
46700         --enable-pt_chown. Add @findex for grantpt.
46701         * INSTALL: Regenerate.
46703 2013-07-20  David S. Miller  <davem@davemloft.net>
46705         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
46706         difference between 32-bit and 64-bit.
46708 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
46710         [BZ #15711]
46711         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
46712         Avoid system header dependency with -ffreestanding.
46713         ($(objpfx)bits/syscall%d): Likewise.
46715 2013-07-13  David S. Miller  <davem@davemloft.net>
46717         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
46718         underflows from atanl/atan2l due to bug 15319.
46719         (casinh_test_data): Likewise.
46721 2013-07-07  David S. Miller  <davem@davemloft.net>
46723         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
46725 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
46727         * sysdeps/i386/fpu/libm-test-ulps: Update.
46728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46730 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
46732         * configure.in (--enable-lock-elision): Fix message text.
46733         * INSTALL: Regenerate.
46734         * configure: Regenerate.
46736 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46738         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46740 2013-07-03  Andreas Jaeger  <aj@suse.de>
46742         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
46743         define.
46744         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
46745         (ptrace_peeksiginfo_args): Add.
46746         (__ptrace_peeksiginfo_flags): Add.
46747         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
46748         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
46749         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
46751 2013-07-03  Allan McRae  <allan@archlinux.org>
46753         * sysdeps/i386/fpu/libm-test-ulps: Update.
46755 2013-07-02  David S. Miller  <davem@davemloft.net>
46757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46759 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
46761         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46763 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46765         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46766         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46768 2013-07-02  Andi Kleen <ak@linux.intel.com>
46770         * config.h.in (ENABLE_LOCK_ELISION): Add.
46771         * configure.in (--enable-lock-elision): Add option.
46772         * manual/install.texi: Document --enable lock elision.
46773         * configure: Regenerate
46774         * INSTALL: Regenerate.
46776 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
46778         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
46779         SSE4.2 strcasecmp for libc.a.
46780         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
46782 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
46784         [BZ #13304]
46785         * soft-fp/op-common.h (_FP_FMA): New macro.
46786         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
46787         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
46788         (_FP_MUL_MEAT_1_imm): ... here.
46789         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
46790         (_FP_MUL_MEAT_1_wide): ... here.
46791         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
46792         (_FP_MUL_MEAT_1_hard): ... here.
46793         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
46794         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
46795         (_FP_MUL_MEAT_2_wide): ... here.
46796         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
46797         (_FP_MUL_MEAT_2_wide_3mul): ... here.
46798         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
46799         (_FP_MUL_MEAT_2_gmp): ... here.
46800         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
46801         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
46802         (_FP_MUL_MEAT_4_wide): ... here.
46803         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
46804         (_FP_MUL_MEAT_4_gmp): ... here.
46805         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
46806         (_FP_WFRACBITS_DW_S): Likewise.
46807         (_FP_WFRACXBITS_DW_S): Likewise.
46808         (_FP_HIGHBIT_DW_S): Likewise.
46809         (FP_FMA_S): Likewise.
46810         (_FP_FRAC_HIGH_DW_S): Likewise.
46811         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
46812         (_FP_WFRACBITS_DW_D): Likewise.
46813         (_FP_WFRACXBITS_DW_D): Likewise.
46814         (_FP_HIGHBIT_DW_D): Likewise.
46815         (FP_FMA_D): Likewise.
46816         (_FP_FRAC_HIGH_DW_D): Likewise.
46817         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
46818         (_FP_WFRACBITS_DW_E): Likewise.
46819         (_FP_WFRACXBITS_DW_E): Likewise.
46820         (_FP_HIGHBIT_DW_E): Likewise.
46821         (FP_FMA_E): Likewise.
46822         (_FP_FRAC_HIGH_DW_E): Likewise.
46823         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
46824         (_FP_WFRACBITS_DW_Q): Likewise.
46825         (_FP_WFRACXBITS_DW_Q): Likewise.
46826         (_FP_HIGHBIT_DW_Q): Likewise.
46827         (FP_FMA_Q): Likewise.
46828         (_FP_FRAC_HIGH_DW_Q): Likewise.
46829         * soft-fp/fmasf4.c: New file.
46830         * soft-fp/fmadf4.c: Likewise.
46831         * soft-fp/fmatf4.c: Likewise.
46833 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46836         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
46837         Silvermont.
46838         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
46839         macro.
46840         (index_Slow_SSE4_2): Likewise.
46841         (index_Prefer_PMINUB_for_stringop): Likewise.
46842         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
46843         bit_Slow_SSE4_2 is set.
46844         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46845         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46847 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46849         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
46850         rtld_global._dl_hwcap2.
46851         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
46852         POWER8.
46853         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
46854         POWER8 feature descriptions defined in _dl_hwcap2.
46855         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
46856         string handling for POWER8 feature bits.
46857         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
46858         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
46859         _dl_powerpc_cap_flags.
46860         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
46861         * sysdeps/powerpc/rtld-global-offsets.sym
46862         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
46863         _dl_hwcap2 in the rtld_global_ro structure.
46865 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46867         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
46868         hardware capabilities in support of AT_HWCAP2.
46869         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
46870         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
46871         GLRO(dl_hwcap2).
46872         (_dl_show_auxv): Add support for calling _dl_procinfo to display
46873         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
46874         explicitly the unknown a_type display mechanism is used.
46875         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
46876         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
46877         struct member.
46878         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
46879         to macro prototype for AT_HWCAP2 support.
46880         * sysdeps/i386/dl-procinfo.h: Likewise.
46881         * sysdeps/s390/dl-procinfo.h: Likewise.
46882         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
46883         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
46884         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
46885         return -1 for unknown a_type display fallback.
46886         * sysdeps/sparc/dl-procinfo.h: Likewise.
46887         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
46888         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
46890 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
46892         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
46893         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
46895 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
46897         [BZ #12492]
46898         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
46899         mprotect making __stack_prot writable.
46901 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
46902             Joseph Myers  <joseph@codesourcery.com>
46904         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
46905         as being properly aligned.
46907 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
46909         * dlfcn/modstatic5.c: New file.
46910         * dlfcn/tststatic5.c: New file.
46911         * dlfcn/Makefile (tests): Add tststatic5.
46912         (tests-static): Likewise.
46913         (modules-names): Add modstatic5.
46914         (tststatic5-ENV): New variable.
46915         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
46917         [BZ #15022]
46918         * elf/dl-support.c (_dl_main_map): New variable.
46919         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
46920         (_dl_nns, _dl_load_adds): Set to 1.
46921         (_dl_initial_searchlist): Refer to _dl_main_map.
46922         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
46923         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
46924         call to _dl_get_origin.
46925         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
46926         around call_map.
46927         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
46928         * dlfcn/modstatic3.c: New file.
46929         * dlfcn/tststatic3.c: New file.
46930         * dlfcn/tststatic4.c: New file.
46931         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
46932         (tests-static): Likewise.
46933         (modules-names): Add modstatic3.
46934         (tststatic3-ENV, tststatic4-ENV): New variables.
46935         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
46936         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
46938 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
46940         * configure.in (CC): Require GCC version 4.4 or later.
46941         * configure: Regenerated.
46942         * manual/install.texi (Tools for Compilation): Update GCC version
46943         requirement.
46944         * INSTALL: Regenerated.
46946 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46948         [BZ #15674]
46949         * string/test-memcmp.c (check2): New.
46950         (main): Call check2.
46952         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
46954 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
46956         [BZ #15022]
46957         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
46958         over to...
46959         (dl_open_worker) [!SHARED]: ... here.
46961 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
46963         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
46965 2013-06-25  Richard Henderson  <rth@redhat.com>
46967         * locale/programs/locarchive.c: Include <libc-internal.h>
46969 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
46971         * manual/texinfo.tex: Update to version 2013-06-21.17, with
46972         trailing whitespace removed.
46974 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46976         [BZ #10283]
46977         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
46978         * locale/programs/locarchive.c: Include libc-mmap.h.
46979         (prepare_address_space): Take two new outputs (the mmap base and len).
46980         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
46981         values.
46982         (create_archive): Declare new mmap base and len values for
46983         prepare_address_space, and store the result in ah.
46984         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
46985         (enlarge_archive): If ah->mmap_base is not NULL, use that and
46986         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46987         Declare new mmap base and len values for
46988         prepare_address_space, and store the result in new_ah.
46989         (open_archive): Declare new mmap base and len values for
46990         prepare_address_space, and store the result in ah.
46991         (close_archive): If ah->mmap_base is not NULL, use that and
46992         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
46993         * sysdeps/generic/libc-mmap.h: New file.
46995 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
46997         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
46998         (ALIGN_UP): Likewise.
46999         (PTR_ALIGN_DOWN): Likewise.
47000         (PTR_ALIGN_UP): Likewise.
47002 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47004         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47005         entry mapped to PPC_PLATFORM_POWER8.
47006         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47007         POWER8.
47008         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47009         (_dl_string_platform): Add case for exporting platform position for
47010         POWER8.
47011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47012         search path to sysdeps/powerpc/powerpc32/power8 directory.
47013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47014         search path to sysdeps/powerpc/powerpc64/power8 directory.
47015         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47016         power7 directories.
47017         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47018         power7 directories.
47020 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47022         * INSTALL: Regenerate.
47024         * nscd/connections.c (nscd_init): Fix comment.
47026 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47028         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47030         [BZ #15667]
47031         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47032         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47034 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47036         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47037         DL_DST_REQ_STATIC.
47038         (DL_DST_REQ_STATIC): Remove macro.
47040 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47042         [BZ #7006]
47043         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47044         with a shift of 0 bits.
47046 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47048         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47049         $(tststatic-ENV).
47051 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47053         [BZ #15655]
47054         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47056 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47058         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47059         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47060         accepts -fno-tree-loop-distribute-patterns.
47061         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47062         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47063         recursive call.
47064         * string/memset.c (memset): Likewise.
47065         * string/test-memmove.c (simple_memmove): Disable loop transformation
47066         to library calls.
47067         * string/test-memset.c (simple_memset): Likewise.
47068         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47069         * benchtests/bench-memset.c (simple_memset): Likewise.
47070         * configure: Regenerated.
47072 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47074         * math/test-misc.c (main): Ignore fesetround failure when failures
47075         of subsequent rounding tests would be ignored.
47077         [BZ #15654]
47078         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47079         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47080         * math/fegetenv.c (__fegetenv): Return 0.
47081         * math/fegetexcept.c (fegetexcept): Return 0.
47082         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47083         FE_TONEAREST.
47084         * math/feholdexcpt.c (feholdexcept): Return 0.
47085         * math/fesetenv.c (__fesetenv): Return 0.
47086         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47087         argument FE_TONEAREST.
47088         * math/feupdateenv.c (__feupdateenv): Return 0.
47089         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47091 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47093         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47094         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47095         ($(objpfx)rtld-%.os rules): Use them.
47097 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47099         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47100         fields.
47102 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47104         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47105         length of target pattern, then descending length of dependency pattern.
47106         * configure.in (AWK): Require gawk 3.1.2 or newer.
47107         * manual/install.texi (Tools for Compilation): Say that we do.
47108         * configure: Regenerated.
47110         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47111         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47112         * scripts/sysd-rules.awk: ... this new script.
47113         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47114         than a glob-style pattern.
47116 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47118         * math/test-misc.c (main): Do not treat incorrectly rounded
47119         conversions as failure unless ROUNDING_TESTS passes.
47121 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47123         [BZ #15631]
47124         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47125         restore exception state around main square root computation, then
47126         check for inexactness explicitly.
47128         * math/libm-test.inc (fma_test_data): Add another test.
47130 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47132         * manual/threads.texi (Non-POSIX Extensions): New document
47133         node.  Document pthread_getattr_default_np and
47134         pthread_setattr_default_np.
47136         * Versions.def (libpthread): Add GLIBC_2.18.
47137         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47139         Likewise.
47140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47141         Likewise.
47142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47143         Likewise.
47144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47145         Likewise.
47146         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47147         Likewise.
47148         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47149         Likewise.
47150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47151         Likewise.
47152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47153         Likewise.
47154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47155         Likewise.
47157 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47159         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47160         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47162 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
47163             H.J. Lu  <hjl.tools@gmail.com>
47165         [BZ #15627]
47166         * sysdeps/x86_64/rtld-memset.c: Remove file.
47167         * sysdeps/x86_64/rtld-memset.S: New file.
47169 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
47171         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
47172         (test_in_one_mode): Take arguments for whether the rounding mode
47173         is supported for each floating-point type.
47174         (do_test): Pass new arguments to test_in_one_mode using
47175         ROUNDING_TESTS.
47177 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47179         * posix/tst-waitid.c (do_test): Distinguish different instances of
47180         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
47181         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
47182         before entering the kernel for waitpid.
47184 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47186         * NEWS: Fix note on clock function precision.  Text by Roland
47187         McGrath.
47189 2013-06-13  Roland McGrath  <roland@hack.frob.com>
47191         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
47192         it into place only when and if the sanity check passes.
47194 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
47196         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
47197         output for whether conversion result is exact.  Take argument
47198         indicating whether type is IBM long double.
47199         (round_for_all): Change need_exact field to ibm_ld.
47200         * stdlib/tst-strtod-round.c (struct exactness): New type.
47201         (struct test): Change bool ld_ok field to struct exactness exact.
47202         (TEST): Update all definitions for change to field.
47203         (tests): Regenerate array contents.
47204         (test_in_one_mode): Take pointer to new field instead of old ld_ok
47205         field value.  Check for IBM long double here.
47206         (do_test): Update calls to test_in_one_mode.
47208 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
47210         [BZ #12515]
47211         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
47212         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
47214 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47216         [BZ #15605]
47217         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
47218         generated by the compiler on loop optimizations.
47219         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
47220         general definitions.
47222 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
47224         * math/bug-nextafter.c: Include <math-tests.h>.
47225         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47226         the relevant type.
47227         * math/bug-nexttoward.c: Include <math-tests.h>.
47228         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47229         the relevant type.
47230         * math/test-misc.c: Include <math-tests.h>.
47231         (main): Only test for exceptions if EXCEPTION_TESTS is true for
47232         the relevant type.
47234 2013-06-12  Andreas Jaeger  <aj@suse.de>
47236         * po/ia.po: Update Interlingua translation from translation
47237         project.
47239 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
47241         * include/fenv.h: Include stdbool.h.
47242         (struct rm_ctx): New structure.
47243         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
47244         Define macro.
47245         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
47246         (SET_RESTORE_ROUNDF): Likewise.
47247         (SET_RESTORE_ROUNDL): Likewise.
47248         (SET_RESTORE_ROUND_NOEX): Likewise.
47249         (SET_RESTORE_ROUND_NOEXF): Likewise.
47250         (SET_RESTORE_ROUND_NOEXL): Likewise.
47251         (SET_RESTORE_ROUND_53BIT): Likewise.
47252         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
47253         (libc_feresetround_noexf_ctx): Likewise.
47254         (libc_feresetround_noexl_ctx): Likewise.
47255         (libc_feholdsetround_53bit_ctx): Likewise.
47256         (libc_feresetround_53bit_ctx): Likewise.
47257         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
47258         (libc_feholdexcept_setround_sse_ctx): New function.
47259         (libc_fesetenv_sse_ctx): Likewise.
47260         (libc_feupdateenv_sse_ctx): Likewise.
47261         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
47262         (libc_feholdexcept_setround_387_ctx): Likewise.
47263         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
47264         (libc_feholdsetround_387_prec_ctx): Likewise.
47265         (libc_feholdsetround_387_ctx): Likewise.
47266         (libc_feholdsetround_387_53bit_ctx): Likewise.
47267         (libc_feholdsetround_sse_ctx): Likewise.
47268         (libc_feresetround_sse_ctx): Likewise.
47269         (libc_feresetround_387_ctx): Likewise.
47270         (libc_feupdateenv_387_ctx): Likewise.
47271         (libc_feholdexcept_setroundf_ctx): Define macro.
47272         (libc_fesetenvf_ctx): Likewise.
47273         (libc_feupdateenvf_ctx): Likewise.
47274         (libc_feholdsetroundf_ctx): Likewise.
47275         (libc_feresetroundf_ctx): Likewise.
47276         (libc_feholdexcept_setround_ctx): Likewise.
47277         (libc_fesetenv_ctx): Likewise.
47278         (libc_feupdateenv_ctx): Likewise.
47279         (libc_feholdsetround_ctx): Likewise.
47280         (libc_feresetround_ctx): Likewise.
47281         (libc_feholdexcept_setroundl_ctx): Likewise.
47282         (libc_feupdateenvl_ctx): Likewise.
47283         (libc_feholdsetroundl_ctx): Likewise.
47284         (libc_feresetroundl_ctx): Likewise.
47285         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
47286         (libc_feresetround_53bit_ctx): Likewise.
47288 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47290         * locale/iso-639.def: Convert to UTF-8.
47292 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
47294         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
47295         (EXCEPTION_TESTS_double): Likewise.
47296         (EXCEPTION_TESTS_long_double): Likewise.
47297         (EXCEPTION_TESTS): Likewise.
47298         * math/libm-test.inc (test_exceptions): Only test exceptions if
47299         EXCEPTION_TESTS (FLOAT).
47301 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47303         * benchtests/Makefile (string-bench): Add strcpy_chk and
47304         stpcpy_chk.
47305         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
47306         * benchtests/bench-stpcpy_chk.c: New file.
47307         * benchtests/bench-strcpy_chk-ifunc.c: New file.
47308         * benchtests/bench-strcpy_chk.c: New file.
47309         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
47310         code.
47311         (do_test): Likewise.
47313 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47315         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
47316         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
47317         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
47318         with tabs where appropriate.
47319         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
47320         dl-procinfo.h.
47321         [PPC_PLATFORM_PPC440]: Likewise.
47322         [PPC_PLATFORM_PPC464]: Likewise.
47323         [PPC_PLATFORM_PPC476]: Likewise.
47324         (_dl_string_platform): Add support for detecting ppc405, ppc440,
47325         ppc464, and ppc476 platform strings merging from ports/
47326         dl-procinfo.h.
47328 2013-06-11  Andreas Schwab  <schwab@suse.de>
47330         [BZ #14991]
47331         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
47332         (from_ucs4_idx): Regenerate.
47333         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
47334         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
47335         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
47336         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
47337         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
47338         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
47339         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
47340         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
47341         from FROM_LOOP and TO_LOOP specific macros.
47342         (BODY): Handle combining characters.
47343         * iconvdata/BIG5HKSCS.irreversible: Update.
47344         * iconvdata/BIG5HKSCS.precomposed: New file.
47345         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
47346         characters.
47347         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
47349 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47351         * include/sys/time.h: Fix indentation and add copyright header.
47353         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
47354         (do_test): Likewise.
47355         * string/test-memchr.c (do_one_test): Likewise.
47356         (do_test): Likewise.
47357         * string/test-memcmp.c (do_one_test): Likewise.
47358         (do_test): Likewise.
47359         * string/test-memcpy.c (do_one_test): Likewise.
47360         (do_test): Likewise.
47361         * string/test-memmem.c (do_one_test): Likewise.
47362         (do_test): Likewise.
47363         (do_random_tests): Likewise.
47364         * string/test-memmove.c (do_one_test): Likewise.
47365         (do_test): Likewise.
47366         * string/test-memset.c (do_one_test): Likewise.
47367         (do_test): Likewise.
47368         * string/test-rawmemchr.c (do_one_test): Likewise.
47369         (do_test): Likewise.
47370         * string/test-strcasecmp.c (do_one_test): Likewise.
47371         (do_test): Likewise.
47372         * string/test-strcasestr.c (do_one_test): Likewise.
47373         (do_test): Likewise.
47374         * string/test-strcat.c (do_one_test): Likewise.
47375         (do_test): Likewise.
47376         * string/test-strchr.c (do_one_test): Likewise.
47377         (do_test): Likewise.
47378         * string/test-strcmp.c (do_one_test): Likewise.
47379         (do_test): Likewise.
47380         * string/test-strcpy.c (do_one_test): Likewise.
47381         (do_test): Likewise.
47382         * string/test-string.h: Likewise.
47383         (test_init): Likewise.
47384         * string/test-strlen.c (do_one_test): Likewise.
47385         (do_test): Likewise.
47386         * string/test-strncasecmp.c (do_one_test): Likewise.
47387         (do_test): Likewise.
47388         * string/test-strncat.c (do_one_test): Likewise.
47389         (do_test): Likewise.
47390         * string/test-strncmp.c (do_one_test): Likewise.
47391         (do_test_limit): Likewise.
47392         (do_test): Likewise.
47393         * string/test-strncpy.c (do_one_test): Likewise.
47394         (do_test): Likewise.
47395         * string/test-strnlen.c (do_one_test): Likewise.
47396         (do_test): Likewise.
47397         * string/test-strpbrk.c (do_one_test): Likewise.
47398         (do_test): Likewise.
47399         * string/test-strrchr.c (do_one_test): Likewise.
47400         (do_test): Likewise.
47401         * string/test-strspn.c (do_one_test): Likewise.
47402         (do_test): Likewise.
47403         * string/test-strstr.c (do_one_test): Likewise.
47404         (do_test): Likewise.
47406         * benchtests/Makefile (string-bench): Add string benchmarks.
47407         * benchtests/bench-bcopy-ifunc.c: New file.
47408         * benchtests/bench-bcopy.c: New file.
47409         * benchtests/bench-bzero-ifunc.c: New file.
47410         * benchtests/bench-bzero.c: New file.
47411         * benchtests/bench-memccpy-ifunc.c: New file.
47412         * benchtests/bench-memccpy.c: New file.
47413         * benchtests/bench-memchr-ifunc.c: New file.
47414         * benchtests/bench-memchr.c: New file.
47415         * benchtests/bench-memcmp-ifunc.c: New file.
47416         * benchtests/bench-memcmp.c: New file.
47417         * benchtests/bench-memmem-ifunc.c: New file.
47418         * benchtests/bench-memmem.c: New file.
47419         * benchtests/bench-memmove-ifunc.c: New file.
47420         * benchtests/bench-memmove.c: New file.
47421         * benchtests/bench-mempcpy-ifunc.c: New file.
47422         * benchtests/bench-mempcpy.c: New file.
47423         * benchtests/bench-memset-ifunc.c: New file.
47424         * benchtests/bench-memset.c: New file.
47425         * benchtests/bench-rawmemchr-ifunc.c: New file.
47426         * benchtests/bench-rawmemchr.c: New file.
47427         * benchtests/bench-stpcpy-ifunc.c: New file.
47428         * benchtests/bench-stpcpy.c: New file.
47429         * benchtests/bench-stpncpy-ifunc.c: New file.
47430         * benchtests/bench-stpncpy.c: New file.
47431         * benchtests/bench-strcasecmp-ifunc.c: New file.
47432         * benchtests/bench-strcasecmp.c: New file.
47433         * benchtests/bench-strcasestr-ifunc.c: New file.
47434         * benchtests/bench-strcasestr.c: New file.
47435         * benchtests/bench-strcat-ifunc.c: New file.
47436         * benchtests/bench-strcat.c: New file.
47437         * benchtests/bench-strchr-ifunc.c: New file.
47438         * benchtests/bench-strchr.c: New file.
47439         * benchtests/bench-strchrnul-ifunc.c: New file.
47440         * benchtests/bench-strchrnul.c: New file.
47441         * benchtests/bench-strcmp-ifunc.c: New file.
47442         * benchtests/bench-strcmp.c: New file.
47443         * benchtests/bench-strcpy-ifunc.c: New file.
47444         * benchtests/bench-strcpy.c: New file.
47445         * benchtests/bench-strcspn-ifunc.c: New file.
47446         * benchtests/bench-strcspn.c: New file.
47447         * benchtests/bench-strlen-ifunc.c: New file.
47448         * benchtests/bench-strlen.c: New file.
47449         * benchtests/bench-strncasecmp-ifunc.c: New file.
47450         * benchtests/bench-strncasecmp.c: New file.
47451         * benchtests/bench-strncat-ifunc.c: New file.
47452         * benchtests/bench-strncat.c: New file.
47453         * benchtests/bench-strncmp-ifunc.c: New file.
47454         * benchtests/bench-strncmp.c: New file.
47455         * benchtests/bench-strncpy-ifunc.c: New file.
47456         * benchtests/bench-strncpy.c: New file.
47457         * benchtests/bench-strnlen-ifunc.c: New file.
47458         * benchtests/bench-strnlen.c: New file.
47459         * benchtests/bench-strpbrk-ifunc.c: New file.
47460         * benchtests/bench-strpbrk.c: New file.
47461         * benchtests/bench-strrchr-ifunc.c: New file.
47462         * benchtests/bench-strrchr.c: New file.
47463         * benchtests/bench-strspn-ifunc.c: New file.
47464         * benchtests/bench-strspn.c: New file.
47465         * benchtests/bench-strstr-ifunc.c: New file.
47466         * benchtests/bench-strstr.c: New file.
47468         * benchtests/Makefile: Disable parallel execution of targets.
47469         (string-bench): Add memcpy.
47470         (benchset): New variable to store a list of benchmark sets.
47471         (bench-func): Renamed from bench.
47472         (bench-set): New target.
47473         (bench): Depend on bench-func and bench-set.
47474         * benchtests/README: Add section on benchmark sets.
47475         * benchtests/bench-memcpy-ifunc.c: New file.
47476         * benchtests/bench-memcpy.c: New file.
47477         * benchtests/bench-string.h: New file.
47479 2013-06-11  Andreas Schwab  <schwab@suse.de>
47481         [BZ #15577]
47482         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
47483         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
47484         values in the triple.
47485         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
47486         terminator in the group key.
47488 2013-06-11  Andreas Jaeger  <aj@suse.de>
47490         * po/zh_TW.po: Update Chinese (traditional) translation from
47491         translation project.
47493 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47495         * include/time.h (__clock_gettime): Add libc_hidden_proto.
47496         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
47497         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
47498         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
47499         (clock_getcpuclockid): Likewise.
47500         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
47501         Add weak_alias and libc_hidden_def.
47502         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
47503         * rt/clock_gettime.c (clock_gettime): Rename to
47504         __clock_gettime.  Add weak_alias and libc_hidden_def.
47505         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
47506         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
47507         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
47508         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
47509         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
47510         Likewise.
47511         * rt/clock_settime.c (clock_settime): Rename to
47512         __clock_settime.  Add weak_alias and libc_hidden_def.
47513         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
47515 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
47517         * mach/err_boot.sub: Remove trailing whitespace.
47518         * mach/err_ipc.sub: Likewise.
47519         * mach/err_mach.sub: Likewise.
47521         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
47522         (ROUNDING_TESTS_double): Likewise.
47523         (ROUNDING_TESTS_long_double): Likewise.
47524         (ROUNDING_TESTS): Likewise.
47525         * math/libm-test.inc: Include <math-tests.h>.
47526         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
47527         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
47528         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
47529         (IF_ROUND_INIT_FE_UPWARD): Likewise.
47531 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47533         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
47534         of assigning.
47536 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
47538         * sysdeps/gnu/errlist.awk: Do not generate space at end of
47539         otherwise empty TRANS lines.
47540         * sysdeps/gnu/errlist.c: Regenerated.
47542         * catgets/gencat.c (error_print): Use (void) in function
47543         definition.
47544         * crypt/crypt_util.c (__init_des): Likewise.
47545         * crypt/speeds.c (Stop): Likewise.
47546         (main): Likewise.
47547         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
47548         * inet/ruserpass.c (token): Likewise.
47549         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
47550         * intl/localealias.c (extend_alias_table): Likewise.
47551         * intl/plural-exp.c (init_germanic_plural): Likewise.
47552         * libio/fcloseall.c (__fcloseall): Likewise.
47553         * libio/genops.c (_IO_flush_all): Likewise.
47554         (_IO_flush_all_linebuffered): Likewise.
47555         (_IO_cleanup): Likewise.
47556         (_IO_iter_begin): Likewise.
47557         (_IO_iter_end): Likewise.
47558         (_IO_list_lock): Likewise.
47559         (_IO_list_unlock): Likewise.
47560         (_IO_list_resetlock): Likewise.
47561         * libio/getchar.c (getchar): Likewise.
47562         * libio/getchar_u.c (getchar_unlocked): Likewise.
47563         * libio/getwchar.c (getwchar): Likewise.
47564         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
47565         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
47566         * login/getpt.c (__getpt): Likewise.
47567         * login/tst-utmp.c (main): Likewise.
47568         * malloc/hooks.c (__malloc_check_init): Likewise.
47569         * malloc/malloc.c (__malloc_stats): Likewise.
47570         * malloc/mtrace.c (tr_break): Likewise.
47571         (mtrace): Likewise.
47572         (muntrace): Likewise.
47573         * misc/fstab.c (endfsent): Likewise.
47574         * misc/getclktck.c (__getclktck): Likewise.
47575         * misc/getdtsz.c (__getdtablesize): Likewise.
47576         * misc/gethostid.c (gethostid): Likewise.
47577         * misc/getpagesize.c (__getpagesize): Likewise.
47578         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
47579         (__get_nprocs): Likewise.
47580         (__get_phys_pages): Likewise.
47581         (__get_avphys_pages): Likewise.
47582         * misc/getttyent.c (getttyent): Likewise.
47583         (setttyent): Likewise.
47584         (endttyent): Likewise.
47585         * misc/getusershell.c (getusershell): Likewise.
47586         (endusershell): Likewise.
47587         (setusershell): Likewise.
47588         (initshells): Likewise.
47589         * misc/hsearch.c (__hdestroy): Likewise.
47590         * misc/sync.c (sync): Likewise.
47591         * misc/syslog.c (closelog_internal): Likewise.
47592         (closelog): Likewise.
47593         * misc/ttyslot.c (ttyslot): Likewise.
47594         * misc/vhangup.c (vhangup): Likewise.
47595         * posix/fork.c (__fork): Likewise.
47596         * posix/getegid.c (__getegid): Likewise.
47597         * posix/geteuid.c (__geteuid): Likewise.
47598         * posix/getgid.c (__getgid): Likewise.
47599         * posix/getpid.c (__getpid): Likewise.
47600         * posix/getppid.c (__getppid): Likewise.
47601         * posix/getuid.c (__getuid): Likewise.
47602         * posix/pause.c (pause): Likewise.
47603         * posix/setpgrp.c (setpgrp): Likewise.
47604         * posix/setsid.c (__setsid): Likewise.
47605         * posix/test-vfork.c (noop): Likewise.
47606         * resolv/gethnamaddr.c (_endhtent): Likewise.
47607         (_gethtent): Likewise.
47608         (ht_endhostent): Likewise.
47609         (gethostent): Likewise.
47610         (dns_service): Likewise.
47611         * stdlib/drand48.c (drand48): Likewise.
47612         * stdlib/lrand48.c (lrand48): Likewise.
47613         * stdlib/mrand48.c (mrand48): Likewise.
47614         * stdlib/rand.c (rand): Likewise.
47615         * stdlib/random.c (__random): Likewise.
47616         * stdlib/setenv.c (clearenv): Likewise.
47617         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
47618         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
47619         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
47620         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
47621         (__get_nprocs): Likewise.
47622         (__get_phys_pages): Likewise.
47623         (__get_avphys_pages): Likewise.
47624         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
47625         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
47626         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
47627         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
47628         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
47629         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
47630         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
47631         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
47632         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
47633         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
47634         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
47635         * sysdeps/mach/hurd/sync.c (sync): Likewise.
47636         * sysdeps/posix/clock.c (clock): Likewise.
47637         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
47638         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
47639         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
47640         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
47641         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
47642         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
47643         (__get_nprocs_conf): Likewise.
47644         (__get_phys_pages): Likewise.
47645         (__get_avphys_pages): Likewise.
47646         * time/clock.c (clock): Likewise.
47647         * time/tzset.c (__tzname_max): Likewise.
47649 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
47651         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
47652         (__bswap_32): Do not use "register".
47653         * crypt/crypt.c (_ufc_doit_r): Likewise.
47654         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47655         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47656         * gmon/gmon.c (__monstartup): Likewise.
47657         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
47658         * hurd/hurdmalloc.c (more_memory): Likewise.
47659         (malloc): Likewise.
47660         (free): Likewise.
47661         (realloc): Likewise.
47662         (malloc_fork_prepare): Likewise.
47663         (malloc_fork_parent): Likewise.
47664         (malloc_fork_child): Likewise.
47665         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
47666         (_svcauth_des): Likewise.
47667         * inet/inet_lnaof.c (inet_lnaof): Likewise.
47668         * inet/inet_net.c (inet_network): Likewise.
47669         * inet/inet_netof.c (inet_netof): Likewise.
47670         * inet/rcmd.c (__validuser2_sa): Likewise.
47671         * io/fts.c (fts_open): Likewise.
47672         (fts_load): Likewise.
47673         (fts_close): Likewise.
47674         (fts_read): Likewise.
47675         (fts_children): Likewise.
47676         (fts_build): Likewise.
47677         (fts_stat): Likewise.
47678         (fts_sort): Likewise.
47679         (fts_alloc): Likewise.
47680         (fts_lfree): Likewise.
47681         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
47682         (_IO_file_xsgetn): Likewise.
47683         (_IO_file_xsgetn_mmap): Likewise.
47684         * libio/iofopncook.c (_IO_cookie_read): Likewise.
47685         (_IO_cookie_write): Likewise.
47686         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
47687         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
47688         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
47689         * malloc/obstack.c (_obstack_begin): Likewise.
47690         (_obstack_begin_1): Likewise.
47691         (_obstack_newchunk): Likewise.
47692         (_obstack_allocated_p): Likewise.
47693         (obstack_free): Likewise.
47694         (_obstack_memory_used): Likewise.
47695         * misc/getttyent.c (getttynam): Likewise.
47696         (getttyent): Likewise.
47697         (skip): Likewise.
47698         (value): Likewise.
47699         * misc/getusershell.c (initshells): Likewise.
47700         * misc/syslog.c (__vsyslog_chk): Likewise.
47701         * misc/ttyslot.c (ttyslot): Likewise.
47702         * nis/nis_hash.c (__nis_hash): Likewise.
47703         * posix/fnmatch_loop.c (FCT): Likewise.
47704         * posix/getconf.c (print_all): Likewise.
47705         (main): Likewise.
47706         * posix/getopt.c (exchange): Likewise.
47707         * posix/glob.c (globfree): Likewise.
47708         (prefix_array): Likewise.
47709         (__glob_pattern_type): Likewise.
47710         * resolv/arpa/nameser.h (NS_GET16): Likewise.
47711         (NS_GET32): Likewise.
47712         (NS_PUT16): Likewise.
47713         (NS_PUT32): Likewise.
47714         * resolv/gethnamaddr.c (getanswer): Likewise.
47715         (gethostbyname2): Likewise.
47716         (gethostbyaddr): Likewise.
47717         (_gethtent): Likewise.
47718         (_gethtbyname2): Likewise.
47719         (_gethtbyaddr): Likewise.
47720         * resolv/ns_print.c (dst_s_get_int16): Likewise.
47721         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
47722         * resolv/res_init.c (__res_vinit): Likewise.
47723         (net_mask): Likewise.
47724         * resolv/res_mkquery.c (outchar): Likewise.
47725         (PRINT): Likewise.
47726         * stdio-common/printf_fp.c (outchar): Likewise.
47727         (PRINT): Likewise.
47728         * stdio-common/printf_fphex.c (outchar): Likewise.
47729         (PRINT): Likewise.
47730         * stdio-common/printf_size.c (outchar): Likewise.
47731         (PRINT): Likewise.
47732         * stdio-common/test_rdwr.c (main): Likewise.
47733         * stdio-common/tfformat.c (matches): Likewise.
47734         * stdio-common/vfprintf.c (outchar): Likewise.
47735         (printf_unknown): Likewise.
47736         (buffered_vfprintf): Likewise.
47737         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47738         * stdio-common/xbug.c (AppendToBuffer): Likewise.
47739         (ReadFile): Likewise.
47740         * stdlib/qsort.c (SWAP): Likewise.
47741         (_quicksort): Likewise.
47742         * stdlib/setenv.c (__add_to_environ): Likewise.
47743         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47744         * stdlib/strtol_l.c (__strtol_l): Likewise.
47745         * stdlib/tst-strtod.c (main): Likewise.
47746         * stdlib/tst-strtol.c (main): Likewise.
47747         * stdlib/tst-strtoll.c (main): Likewise.
47748         * string/bits/string2.h (__strcmp_cc): Likewise.
47749         (__strcmp_cg): Likewise.
47750         (__strcspn_c1): Likewise.
47751         (__strcspn_c2): Likewise.
47752         (__strcspn_c3): Likewise.
47753         (__strspn_c1): Likewise.
47754         (__strspn_c2): Likewise.
47755         (__strspn_c3): Likewise.
47756         (__strsep_1c): Likewise.
47757         (__strsep_2c): Likewise.
47758         (__strsep_3c): Likewise.
47759         * string/memccpy.c (__memccpy): Likewise.
47760         * string/stpcpy.c (__stpcpy): Likewise.
47761         * string/strcmp.c (strcmp): Likewise.
47762         * string/strrchr.c (strrchr): Likewise.
47763         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
47764         Likewise.
47765         * sysdeps/mach/hurd/getcwd.c
47766         (_hurd_canonicalize_directory_name_internal): Likewise.
47767         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
47768         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
47769         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
47770         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
47771         Likewise, in both definitions.
47772         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
47773         definitions.
47774         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
47775         64] (__bswap_64): Likewise.
47776         * time/test_time.c (main): Likewise.
47777         * time/tzfile.c (__tzfile_read): Likewise.
47778         (__tzfile_compute): Likewise.
47779         * time/tzset.c (__tzset_parse_tz): Likewise.
47780         (tzset_internal): Likewise.
47781         (compute_change): Likewise.
47782         * wcsmbs/wcscat.c (__wcscat): Likewise.
47783         * wcsmbs/wcschr.c (wcschr): Likewise.
47784         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
47785         * wcsmbs/wcscspn.c (wcscspn): Likewise.
47786         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
47787         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
47788         * wcsmbs/wcsspn.c (wcsspn): Likewise.
47789         * wcsmbs/wcsstr.c (wcsstr): Likewise.
47790         * wcsmbs/wmemchr.c (wmemchr): Likewise.
47791         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47792         * wcsmbs/wmemset.c (wmemset): Likewise.
47794 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
47796         * scripts/config.guess: Update to version 2013-05-16.
47797         * scripts/config.sub: Update to version 2013-04-24.
47798         * scripts/install-sh: Update to version 2011-11-20.07.
47799         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
47800         * scripts/move-if-change: Update to version 2012-01-06 07:23.
47802 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
47804         * debug/fgetws_u_chk.c: Fix leading whitespaces.
47805         * elf/sln.c: Likewise.
47806         * hurd/hurd/ioctl.h: Likewise.
47807         * hurd/hurdmalloc.c: Likewise.
47808         * hurd/xattr.c: Likewise.
47809         * include/shlib-compat.h: Likewise.
47810         * inet/ruserpass.c: Likewise.
47811         * libio/iofgets_u.c: Likewise.
47812         * libio/iofgetws_u.c: Likewise.
47813         * locale/programs/ld-identification.c: Likewise.
47814         * locale/programs/ld-time.c: Likewise.
47815         * mach/msg-destroy.c: Likewise.
47816         * nss/nss_files/files-netgrp.c: Likewise.
47817         * resolv/res_data.c: Likewise.
47818         * soft-fp/op-1.h: Likewise.
47819         * soft-fp/op-2.h: Likewise.
47820         * soft-fp/op-4.h: Likewise.
47821         * soft-fp/op-common.h: Likewise.
47822         * stdio-common/printf_fphex.c: Likewise.
47823         * stdlib/strtod_l.c: Likewise.
47824         * sunrpc/rpc/clnt.h: Likewise.
47825         * sysdeps/generic/framestate.c: Likewise.
47826         * sysdeps/i386/bsd-_setjmp.S: Likewise.
47827         * sysdeps/i386/bsd-setjmp.S: Likewise.
47828         * sysdeps/i386/__longjmp.S: Likewise.
47829         * sysdeps/i386/setjmp.S: Likewise.
47830         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47831         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47832         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47833         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47837         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47839         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
47840         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47841         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47842         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47843         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47844         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47845         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47846         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47847         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
47848         * sysdeps/ieee754/support.c: Likewise.
47849         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47850         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
47851         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
47852         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
47853         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
47854         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
47855         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
47856         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
47857         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
47858         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
47859         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
47860         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
47861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
47862         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
47863         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
47864         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
47865         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
47866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
47868 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
47870         * posix/transbug.c: Remove executable mode.
47872 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
47874         * crypt/speeds.c: Remove trailing whitespace.
47875         * dlfcn/default.c: Likewise.
47876         * elf/ifuncdep2.c: Likewise.
47877         * elf/ifuncmain1.c: Likewise.
47878         * elf/ifuncmain1vis.c: Likewise.
47879         * elf/testobj.h: Likewise.
47880         * elf/tst-stackguard1.c: Likewise.
47881         * gmon/sys/gmon.h: Likewise.
47882         * hurd/hurdmsg.c: Likewise.
47883         * hurd/new-fd.c: Likewise.
47884         * hurd/ports-get.c: Likewise.
47885         * iconvdata/ibm1008_420.c: Likewise.
47886         * inet/tst-getni1.c: Likewise.
47887         * inet/tst-getni2.c: Likewise.
47888         * libio/ioungetc.c: Likewise.
47889         * libio/wfiledoalloc.c: Likewise.
47890         * manual/libm-err-tab.pl: Likewise.
47891         * math/w_dremf.c: Likewise.
47892         * misc/ftruncate.c: Likewise.
47893         * posix/bug-glob2.c: Likewise.
47894         * posix/tst-pcre.c: Likewise.
47895         * posix/wait4.c: Likewise.
47896         * resolv/README: Likewise.
47897         * resolv/res_debug.h: Likewise.
47898         * resolv/tst-inet_ntop.c: Likewise.
47899         * setjmp/bug269-setjmp.c: Likewise.
47900         * soft-fp/extended.h: Likewise.
47901         * soft-fp/op-1.h: Likewise.
47902         * soft-fp/op-2.h: Likewise.
47903         * soft-fp/op-4.h: Likewise.
47904         * soft-fp/op-8.h: Likewise.
47905         * soft-fp/testit.c: Likewise.
47906         * stdio-common/bug16.c: Likewise.
47907         * stdlib/random.c: Likewise.
47908         * sunrpc/rpcsvc/rquota.x: Likewise.
47909         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
47910         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47911         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47912         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47913         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47914         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47915         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47916         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47917         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47918         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47919         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47920         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47921         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47922         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47923         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47924         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47925         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47926         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47927         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47928         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47929         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47930         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47931         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
47932         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47933         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47934         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47935         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
47936         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47937         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47938         * sysdeps/ieee754/s_lib_version.c: Likewise.
47939         * sysdeps/mach/hurd/check_fds.c: Likewise.
47940         * sysdeps/mach/hurd/getsockname.c: Likewise.
47941         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
47942         * sysdeps/mach/hurd/recvfrom.c: Likewise.
47943         * sysdeps/powerpc/bits/link.h: Likewise.
47944         * sysdeps/powerpc/dl-procinfo.c: Likewise.
47945         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
47946         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
47947         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
47948         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
47949         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47950         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
47951         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
47952         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
47953         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
47954         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
47955         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
47956         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
47957         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
47958         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
47959         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
47960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
47961         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
47962         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
47963         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
47964         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
47965         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
47966         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47967         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47968         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
47969         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
47970         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
47971         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
47972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
47973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
47974         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
47975         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
47976         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47977         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
47978         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
47979         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
47980         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
47981         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
47982         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
47983         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
47984         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
47985         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
47986         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
47987         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
47988         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
47989         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
47990         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
47991         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
47992         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
47993         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
47994         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47995         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47996         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47997         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47998         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
47999         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48000         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48001         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48002         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48004         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48005         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48006         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48007         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48008         * sysdeps/powerpc/sysdep.h: Likewise.
48009         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48010         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48011         * sysdeps/sh/dl-trampoline.S: Likewise.
48012         * sysdeps/sh/memset.S: Likewise.
48013         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48014         * sysdeps/sh/strlen.S: Likewise.
48015         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48016         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48017         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48018         * sysdeps/sparc/sparc32/rem.S: Likewise.
48019         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48020         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48021         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48022         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48023         * sysdeps/sparc/sparc32/urem.S: Likewise.
48024         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48025         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48026         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48027         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48029         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48030         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48031         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48032         * sysdeps/unix/bsd/times.c: Likewise.
48033         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48034         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48038         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48039         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48040         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48041         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48042         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48043         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48044         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48045         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48046         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48047         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48048         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48049         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48050         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48051         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48052         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48053         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48054         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48055         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48056         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48057         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48058         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48059         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48060         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48061         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48062         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48063         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48064         * sysdeps/x86_64/strcspn.S: Likewise.
48066 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48068         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48069         generated file.  Regenerate properly from gen-translit.pl.
48070         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48071         locale/C-translit.h.
48073 2013-06-05  Andreas Schwab  <schwab@suse.de>
48075         [BZ #15100]
48076         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48077         week as 6 instead of -1.
48078         * time/tst-strptime.c (day_tests): Add test case.
48080 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48082         * sysdeps/generic/math_private.h
48083         (libc_feholdexcept_setround_53bit): Replace with
48084         libc_feholdsetround_53bit.
48085         (libc_feupdateenv_53bit): Replace with
48086         libc_feresetround_53bit.
48087         (SET_RESTORE_ROUND_53BIT): Adjust.
48089 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48091         * string/test-strchrnul.c: Add copyright header.
48093         * posix/tst-getaddrinfo4.c: Increase test timeout.
48095 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48097         [BZ #15536]
48098         * math/libm-test.inc (MAX_EXP): Remove
48099         (MIN_EXP): Define.
48100         (ulp): Use MIN_EXP - MANT_DIG.
48101         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48103 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48105         * po/be.po: Revert last change.
48106         * po/zh_CN.po: Likewise.
48107         * po/header.pot: Likewise.
48109 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48111         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48112         link-libc-deps to empty as target-specific variable.
48113         * Makerules (link-libc-args): New variable.
48114         (libc-for-link): Likewise.
48115         (link-libc-deps): Likewise.
48116         (lib%.so): Depend on $(link-libc-deps).  Link with
48117         $(link-libc-args).
48118         (build-module): Link with $(link-libc-args).
48119         (build-module-asneeded): Likewise.
48120         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48121         list of objects.
48122         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48123         target-specific variable.
48124         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48125         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48126         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48127         libc.
48128         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48129         libc and ld.so.
48130         ($(objpfx)libpcprofile.so): Likewise.
48131         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48132         libc_nonshared.a.
48133         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48134         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48135         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48136         $(link-libc-deps).
48137         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48138         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48139         * login/Makefile ($(objpfx)libutil.so): Likewise.
48140         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48141         * math/Makefile ($(objpfx)libm.so): Likewise.
48142         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48143         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48144         variable instead of depending directly on libc.
48145         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48146         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48147         $(link-libc-deps).
48148         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48149         libc.
48150         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48151         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48152         ($(objpfx)libanl.so): Likewise.
48153         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48154         ld.so.
48155         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48156         $(link-libc-deps).
48157         * sysdeps/i386/fpu/Makefile: Remove file.
48158         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48159         ($(objpfx)libm.so): Remove dependency on ld.so.
48161 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
48163         [BZ # 15553]
48164         * nis/yp_xdr.c (XDRMAXNAME): Define.
48165         (XDRMAXRECORD): Define.
48166         (xdr_domainname): Use XDRMAXNAME.
48167         (xdr_mapname): Likewise.
48168         (xdr_peername): Likewise.
48169         (xdr_keydat): Use XDRMAXRECORD.
48170         (xdr_valdat): Likewise.
48172 2013-05-30  Jeff Law  <law@redhat.com>
48174         [BZ #14256]
48175         * manual/errno.texi (ESTALE): Update to account for more than
48176         just NFS file systems.
48177         * sysdeps/gnu/errlist.c: Regenerated.
48179 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
48181         [BZ #15465]
48182         * elf/Makefile (tests): Add tst-null-argv.
48183         (modules-names):  Add tst-null-argv-lib.
48184         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
48185         (tst-null-argv-ENV): Set environment for tst-null-argv.
48186         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
48187         (RTLD_PROGNAME): New macro.
48188         * elf/tst-null-argv.c: New test case.
48189         * elf/tst-null-argv-lib.c: Library for test case.
48190         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
48191         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
48192         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
48193         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
48194         * elf/dl-init.c (call_init): Likewise.
48195         (_dl_init): Likewise.
48196         * elf/dl-load.c (print_search_path): Likewise.
48197         (_dl_map_object): Likewise.
48198         * elf/dl-lookup.c (do_lookup_x): Likewise.
48199         (add_dependency): Likewise.
48200         (_dl_lookup_symbol_x): Likewise.
48201         (_dl_debug_bindings): Likewise.
48202         * elf/dl-open.c (_dl_show_scope): Likewise.
48203         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
48204         * elf/dl-version.c (match_symbol): Likewise.
48205         (_dl_check_map_versions): Likewise.
48206         * elf/rtld.c (dl_main): Likewise.
48207         (print_unresolved): Use RTLD_PROGNAME.
48208         (print_missing_version): Likewise.
48209         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
48210         (elf_machine_rela): Likewise.
48211         * sysdeps/powerpc/powerpc32/dl-machine.c
48212         (__process_machine_rela): Likewise.
48213         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48214         Likewise.
48215         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
48216         Likewise.
48217         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
48218         Likewise.
48219         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48220         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
48221         Likewise.
48222         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
48223         Likewise.
48224         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48226 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
48228         * po/be.po: Add descriptive title.
48229         * po/zh_CN.po: Likewise.
48230         * po/header.pot: Likewise.
48232 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
48234         * locale/programs/locarchive.c (create_archive): Inlucde fname in
48235         error message.
48236         (enlarge_archive): Likewise.
48238 2013-05-28  Ben North  <ben@redfrontdoor.org>
48240         * manual/arith.texi (frexp): It is the magnitude of the return
48241         value which lies in [0.5, 1), not the return value itself.
48243 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48247 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
48249         * stdio-common/bug26.c (main): Correct fscanf template.
48251         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
48252         declare _dl_skip_args.
48254         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
48255         Don't declare.
48257         * manual/platform.texi: Add missing @end deftypefun.
48259 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48261         [BZ #15529]
48262         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
48263         bit of mantissa of 2^16382.
48264         * math/libm-test.inc (hypot_test_data): Add more tests.
48266         * math/libm-test.inc: Add drem and pow10 to list of tested
48267         functions.
48268         (pow10_test): New function.
48269         (drem_test): Likewise.
48270         (drem_test_tonearest): Likewise.
48271         (drem_test_towardzero): Likewise.
48272         (drem_test_downward): Likewise.
48273         (drem_test_upward): Likewise.
48274         (main): Call the new functions.
48276         * math/libm-test.inc (finite_test_data): Remove.
48277         (finite_test): Run tests from isfinite_test_data.
48278         (gamma_test_data): Remove.
48279         (gamma_test): Run tests from lgamma_test_data.
48280         * sysdeps/i386/fpu/libm-test-ulps: Update.
48281         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48283 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48285         * manual/platform.texi: Add PowerPC PPR function set documentation.
48286         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
48287         implementation.
48289 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
48291         * math/libm-test.inc (MAX_EXP): Define.
48292         (ULPDIFF): Define.
48293         (ulp): New function.
48294         (check_float_internal): Use ULPDIFF.
48295         (cpow_test): Disable failing test.
48296         (check_ulp): Test ulp() implemetnation.
48297         (main): Call check_ulp before starting tests.
48299 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
48301         * math/gen-libm-test.pl (generate_testfile): Do not handle
48302         START_DATA and END_DATA.
48303         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
48304         END_DATA.
48305         (acos_tonearest_test_data): Likewise.
48306         (acos_towardzero_test_data): Likewise.
48307         (acos_downward_test_data): Likewise.
48308         (acos_upward_test_data): Likewise.
48309         (acosh_test_data): Likewise.
48310         (asin_test_data): Likewise.
48311         (asin_tonearest_test_data): Likewise.
48312         (asin_towardzero_test_data): Likewise.
48313         (asin_downward_test_data): Likewise.
48314         (asin_upward_test_data): Likewise.
48315         (asinh_test_data): Likewise.
48316         (atan_test_data): Likewise.
48317         (atanh_test_data): Likewise.
48318         (atan2_test_data): Likewise.
48319         (cabs_test_data): Likewise.
48320         (cacos_test_data): Likewise.
48321         (cacosh_test_data): Likewise.
48322         (carg_test_data): Likewise.
48323         (casin_test_data): Likewise.
48324         (casinh_test_data): Likewise.
48325         (catan_test_data): Likewise.
48326         (catanh_test_data): Likewise.
48327         (cbrt_test_data): Likewise.
48328         (ccos_test_data): Likewise.
48329         (ccosh_test_data): Likewise.
48330         (ceil_test_data): Likewise.
48331         (cexp_test_data): Likewise.
48332         (cimag_test_data): Likewise.
48333         (clog_test_data): Likewise.
48334         (clog10_test_data): Likewise.
48335         (conj_test_data): Likewise.
48336         (copysign_test_data): Likewise.
48337         (cos_test_data): Likewise.
48338         (cos_tonearest_test_data): Likewise.
48339         (cos_towardzero_test_data): Likewise.
48340         (cos_downward_test_data): Likewise.
48341         (cos_upward_test_data): Likewise.
48342         (cosh_test_data): Likewise.
48343         (cosh_tonearest_test_data): Likewise.
48344         (cosh_towardzero_test_data): Likewise.
48345         (cosh_downward_test_data): Likewise.
48346         (cosh_upward_test_data): Likewise.
48347         (cpow_test_data): Likewise.
48348         (cproj_test_data): Likewise.
48349         (creal_test_data): Likewise.
48350         (csin_test_data): Likewise.
48351         (csinh_test_data): Likewise.
48352         (csqrt_test_data): Likewise.
48353         (ctan_test_data): Likewise.
48354         (ctan_tonearest_test_data): Likewise.
48355         (ctan_towardzero_test_data): Likewise.
48356         (ctan_downward_test_data): Likewise.
48357         (ctan_upward_test_data): Likewise.
48358         (ctanh_test_data): Likewise.
48359         (ctanh_tonearest_test_data): Likewise.
48360         (ctanh_towardzero_test_data): Likewise.
48361         (ctanh_downward_test_data): Likewise.
48362         (ctanh_upward_test_data): Likewise.
48363         (erf_test_data): Likewise.
48364         (erfc_test_data): Likewise.
48365         (exp_test_data): Likewise.
48366         (exp_tonearest_test_data): Likewise.
48367         (exp_towardzero_test_data): Likewise.
48368         (exp_downward_test_data): Likewise.
48369         (exp_upward_test_data): Likewise.
48370         (exp10_test_data): Likewise.
48371         (exp2_test_data): Likewise.
48372         (expm1_test_data): Likewise.
48373         (fabs_test_data): Likewise.
48374         (fdim_test_data): Likewise.
48375         (finite_test_data): Likewise.
48376         (floor_test_data): Likewise.
48377         (fma_test_data): Likewise.
48378         (fma_towardzero_test_data): Likewise.
48379         (fma_downward_test_data): Likewise.
48380         (fma_upward_test_data): Likewise.
48381         (fmax_test_data): Likewise.
48382         (fmin_test_data): Likewise.
48383         (fmod_test_data): Likewise.
48384         (fpclassify_test_data): Likewise.
48385         (frexp_test_data): Likewise.
48386         (gamma_test_data): Likewise.
48387         (hypot_test_data): Likewise.
48388         (ilogb_test_data): Likewise.
48389         (isfinite_test_data): Likewise.
48390         (isgreater_test_data): Likewise.
48391         (isgreaterequal_test_data): Likewise.
48392         (isinf_test_data): Likewise.
48393         (isless_test_data): Likewise.
48394         (islessequal_test_data): Likewise.
48395         (islessgreater_test_data): Likewise.
48396         (isnan_test_data): Likewise.
48397         (isnormal_test_data): Likewise.
48398         (issignaling_test_data): Likewise.
48399         (isunordered_test_data): Likewise.
48400         (j0_test_data): Likewise.
48401         (j1_test_data): Likewise.
48402         (jn_test_data): Likewise.
48403         (ldexp_test_data): Likewise.
48404         (lgamma_test_data): Likewise.
48405         (lrint_test_data): Likewise.
48406         (lrint_tonearest_test_data): Likewise.
48407         (lrint_towardzero_test_data): Likewise.
48408         (lrint_downward_test_data): Likewise.
48409         (lrint_upward_test_data): Likewise.
48410         (llrint_test_data): Likewise.
48411         (llrint_tonearest_test_data): Likewise.
48412         (llrint_towardzero_test_data): Likewise.
48413         (llrint_downward_test_data): Likewise.
48414         (llrint_upward_test_data): Likewise.
48415         (log_test_data): Likewise.
48416         (log10_test_data): Likewise.
48417         (log1p_test_data): Likewise.
48418         (log2_test_data): Likewise.
48419         (logb_test_data): Likewise.
48420         (logb_downward_test_data): Likewise.
48421         (lround_test_data): Likewise.
48422         (llround_test_data): Likewise.
48423         (modf_test_data): Likewise.
48424         (nearbyint_test_data): Likewise.
48425         (nextafter_test_data): Likewise.
48426         (nexttoward_test_data): Likewise.
48427         (pow_test_data): Likewise.
48428         (pow_tonearest_test_data): Likewise.
48429         (pow_towardzero_test_data): Likewise.
48430         (pow_downward_test_data): Likewise.
48431         (pow_upward_test_data): Likewise.
48432         (remainder_test_data): Likewise.
48433         (remainder_tonearest_test_data): Likewise.
48434         (remainder_towardzero_test_data): Likewise.
48435         (remainder_downward_test_data): Likewise.
48436         (remainder_upward_test_data): Likewise.
48437         (remquo_test_data): Likewise.
48438         (rint_test_data): Likewise.
48439         (rint_tonearest_test_data): Likewise.
48440         (rint_towardzero_test_data): Likewise.
48441         (rint_downward_test_data): Likewise.
48442         (rint_upward_test_data): Likewise.
48443         (round_test_data): Likewise.
48444         (scalb_test_data): Likewise.
48445         (scalbn_test_data): Likewise.
48446         (scalbln_test_data): Likewise.
48447         (signbit_test_data): Likewise.
48448         (sin_test_data): Likewise.
48449         (sin_tonearest_test_data): Likewise.
48450         (sin_towardzero_test_data): Likewise.
48451         (sin_downward_test_data): Likewise.
48452         (sin_upward_test_data): Likewise.
48453         (sincos_test_data): Likewise.
48454         (sinh_test_data): Likewise.
48455         (sinh_tonearest_test_data): Likewise.
48456         (sinh_towardzero_test_data): Likewise.
48457         (sinh_downward_test_data): Likewise.
48458         (sinh_upward_test_data): Likewise.
48459         (sqrt_test_data): Likewise.
48460         (tan_test_data): Likewise.
48461         (tan_tonearest_test_data): Likewise.
48462         (tan_towardzero_test_data): Likewise.
48463         (tan_downward_test_data): Likewise.
48464         (tan_upward_test_data): Likewise.
48465         (tanh_test_data): Likewise.
48466         (tgamma_test_data): Likewise.
48467         (trunc_test_data): Likewise.
48468         (y0_test_data): Likewise.
48469         (y1_test_data): Likewise.
48470         (yn_test_data): Likewise.
48471         (significand_test_data): Likewise.
48473         * math/gen-libm-test.pl (@functions): Remove variable.
48474         (generate_testfile): Don't handle START and END lines.
48475         * math/libm-test.inc (START): New macro.
48476         (END): Likewise.
48477         (END_COMPLEX): Likewise.
48478         (acos_test): Use END macro without arguments.
48479         (acos_test_tonearest): Likewise.
48480         (acos_test_towardzero): Likewise.
48481         (acos_test_downward): Likewise.
48482         (acos_test_upward): Likewise.
48483         (acosh_test): Likewise.
48484         (asin_test): Likewise.
48485         (asin_test_tonearest): Likewise.
48486         (asin_test_towardzero): Likewise.
48487         (asin_test_downward): Likewise.
48488         (asin_test_upward): Likewise.
48489         (asinh_test): Likewise.
48490         (atan_test): Likewise.
48491         (atanh_test): Likewise.
48492         (atan2_test): Likewise.
48493         (cabs_test): Likewise.
48494         (cacos_test): Use END_COMPLEX macro without arguments.
48495         (cacosh_test): Likewise.
48496         (carg_test): Use END macro without arguments.
48497         (casin_test): Use END_COMPLEX macro without arguments.
48498         (casinh_test): Likewise.
48499         (catan_test): Likewise.
48500         (catanh_test): Likewise.
48501         (cbrt_test): Use END macro without arguments.
48502         (ccos_test): Use END_COMPLEX macro without arguments.
48503         (ccosh_test): Likewise.
48504         (ceil_test): Use END macro without arguments.
48505         (cexp_test): Use END_COMPLEX macro without arguments.
48506         (cimag_test): Use END macro without arguments.
48507         (clog_test): Use END_COMPLEX macro without arguments.
48508         (clog10_test): Likewise.
48509         (conj_test): Likewise.
48510         (copysign_test): Use END macro without arguments.
48511         (cos_test): Likewise.
48512         (cos_test_tonearest): Likewise.
48513         (cos_test_towardzero): Likewise.
48514         (cos_test_downward): Likewise.
48515         (cos_test_upward): Likewise.
48516         (cosh_test): Likewise.
48517         (cosh_test_tonearest): Likewise.
48518         (cosh_test_towardzero): Likewise.
48519         (cosh_test_downward): Likewise.
48520         (cosh_test_upward): Likewise.
48521         (cpow_test): Use END_COMPLEX macro without arguments.
48522         (cproj_test): Likewise.
48523         (creal_test): Use END macro without arguments.
48524         (csin_test): Use END_COMPLEX macro without arguments.
48525         (csinh_test): Likewise.
48526         (csqrt_test): Likewise.
48527         (ctan_test): Likewise.
48528         (ctan_test_tonearest): Likewise.
48529         (ctan_test_towardzero): Likewise.
48530         (ctan_test_downward): Likewise.
48531         (ctan_test_upward): Likewise.
48532         (ctanh_test): Likewise.
48533         (ctanh_test_tonearest): Likewise.
48534         (ctanh_test_towardzero): Likewise.
48535         (ctanh_test_downward): Likewise.
48536         (ctanh_test_upward): Likewise.
48537         (erf_test): Use END macro without arguments.
48538         (erfc_test): Likewise.
48539         (exp_test): Likewise.
48540         (exp_test_tonearest): Likewise.
48541         (exp_test_towardzero): Likewise.
48542         (exp_test_downward): Likewise.
48543         (exp_test_upward): Likewise.
48544         (exp10_test): Likewise.
48545         (exp2_test): Likewise.
48546         (expm1_test): Likewise.
48547         (fabs_test): Likewise.
48548         (fdim_test): Likewise.
48549         (finite_test): Likewise.
48550         (floor_test): Likewise.
48551         (fma_test): Likewise.
48552         (fma_test_towardzero): Likewise.
48553         (fma_test_downward): Likewise.
48554         (fma_test_upward): Likewise.
48555         (fmax_test): Likewise.
48556         (fmin_test): Likewise.
48557         (fmod_test): Likewise.
48558         (fpclassify_test): Likewise.
48559         (frexp_test): Likewise.
48560         (gamma_test): Likewise.
48561         (hypot_test): Likewise.
48562         (ilogb_test): Likewise.
48563         (isfinite_test): Likewise.
48564         (isgreater_test): Likewise.
48565         (isgreaterequal_test): Likewise.
48566         (isinf_test): Likewise.
48567         (isless_test): Likewise.
48568         (islessequal_test): Likewise.
48569         (islessgreater_test): Likewise.
48570         (isnan_test): Likewise.
48571         (isnormal_test): Likewise.
48572         (issignaling_test): Likewise.
48573         (isunordered_test): Likewise.
48574         (j0_test): Likewise.
48575         (j1_test): Likewise.
48576         (jn_test): Likewise.
48577         (ldexp_test): Likewise.
48578         (lgamma_test): Likewise.
48579         (lrint_test): Likewise.
48580         (lrint_test_tonearest): Likewise.
48581         (lrint_test_towardzero): Likewise.
48582         (lrint_test_downward): Likewise.
48583         (lrint_test_upward): Likewise.
48584         (llrint_test): Likewise.
48585         (llrint_test_tonearest): Likewise.
48586         (llrint_test_towardzero): Likewise.
48587         (llrint_test_downward): Likewise.
48588         (llrint_test_upward): Likewise.
48589         (log_test): Likewise.
48590         (log10_test): Likewise.
48591         (log1p_test): Likewise.
48592         (log2_test): Likewise.
48593         (logb_test): Likewise.
48594         (logb_test_downward): Likewise.
48595         (lround_test): Likewise.
48596         (llround_test): Likewise.
48597         (modf_test): Likewise.
48598         (nearbyint_test): Likewise.
48599         (nextafter_test): Likewise.
48600         (nexttoward_test): Likewise.
48601         (pow_test): Likewise.
48602         (pow_test_tonearest): Likewise.
48603         (pow_test_towardzero): Likewise.
48604         (pow_test_downward): Likewise.
48605         (pow_test_upward): Likewise.
48606         (remainder_test): Likewise.
48607         (remainder_test_tonearest): Likewise.
48608         (remainder_test_towardzero): Likewise.
48609         (remainder_test_downward): Likewise.
48610         (remainder_test_upward): Likewise.
48611         (remquo_test): Likewise.
48612         (rint_test): Likewise.
48613         (rint_test_tonearest): Likewise.
48614         (rint_test_towardzero): Likewise.
48615         (rint_test_downward): Likewise.
48616         (rint_test_upward): Likewise.
48617         (round_test): Likewise.
48618         (scalb_test): Likewise.
48619         (scalbn_test): Likewise.
48620         (scalbln_test): Likewise.
48621         (signbit_test): Likewise.
48622         (sin_test): Likewise.
48623         (sin_test_tonearest): Likewise.
48624         (sin_test_towardzero): Likewise.
48625         (sin_test_downward): Likewise.
48626         (sin_test_upward): Likewise.
48627         (sincos_test): Likewise.
48628         (sinh_test): Likewise.
48629         (sinh_test_tonearest): Likewise.
48630         (sinh_test_towardzero): Likewise.
48631         (sinh_test_downward): Likewise.
48632         (sinh_test_upward): Likewise.
48633         (sqrt_test): Likewise.
48634         (tan_test): Likewise.
48635         (tan_test_tonearest): Likewise.
48636         (tan_test_towardzero): Likewise.
48637         (tan_test_downward): Likewise.
48638         (tan_test_upward): Likewise.
48639         (tanh_test): Likewise.
48640         (tgamma_test): Likewise.
48641         (trunc_test): Likewise.
48642         (y0_test): Likewise.
48643         (y1_test): Likewise.
48644         (yn_test): Likewise.
48645         (significand_test): Likewise.
48647 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
48649         [BZ #15381]
48650         * libio/genops.c (_IO_no_init): Initialize wide struct info.
48652 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
48654         [BZ #14894]
48655         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
48656         __ppc_mdoio and __ppc_mdoom.
48657         * manual/platform.texi: Document new functions __ppc_yield,
48658         __ppc_mdoio and __ppc_mdoom.
48660 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
48662         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
48663         (main): Mention "tls" pseudo-hwcap is legacy.
48664         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
48666 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48668         * math/gen-libm-test.pl (parse_args): Output only string of
48669         arguments as text for test name, not full call or descriptions of
48670         tests for extra outputs.
48671         (generate_testfile): Do not pass function name to parse_args.
48672         Generate this_func variable from START.
48673         * math/libm-test.inc (struct test_f_f_data): Rename test_name
48674         field to arg_str.
48675         (struct test_ff_f_data): Likewise.
48676         (test_ff_f_data_nexttoward): Likewise.
48677         (struct test_fi_f_data): Likewise.
48678         (struct test_fl_f_data): Likewise.
48679         (struct test_if_f_data): Likewise.
48680         (struct test_fff_f_data): Likewise.
48681         (struct test_c_f_data): Likewise.
48682         (struct test_f_f1_data): Likewise.  Remove field extra_name.
48683         (struct test_fF_f1_data): Likewise.
48684         (struct test_ffI_f1_data): Likewise.
48685         (struct test_c_c_data): Rename test_name field to arg_str.
48686         (struct test_cc_c_data): Likewise.
48687         (struct test_f_i_data): Likewise.
48688         (struct test_ff_i_data): Likewise.
48689         (struct test_f_l_data): Likewise.
48690         (struct test_f_L_data): Likewise.
48691         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
48692         and extra2_name.
48693         (COMMON_TEST_SETUP): New macro.
48694         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
48695         (COMMON_TEST_CLEANUP): Likewise.
48696         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
48697         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
48698         macros.
48699         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
48700         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
48701         macros.
48702         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
48703         (RUN_TEST_fff_f): Take argument string.  Call new setup and
48704         cleanup macros.
48705         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
48706         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
48707         macros.
48708         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
48709         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
48710         macros.
48711         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
48712         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
48713         cleanup macros.
48714         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
48715         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
48716         cleanup macros.
48717         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
48718         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
48719         cleanup macros.
48720         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
48721         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
48722         macros.
48723         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
48724         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
48725         macros.
48726         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
48727         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
48728         macros.
48729         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
48730         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
48731         cleanup macros.
48732         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
48733         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
48734         cleanup macros.
48735         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
48736         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
48737         macros.
48738         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
48739         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
48740         cleanup macros.
48741         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
48742         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
48743         macros.
48744         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
48745         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
48746         macros.
48747         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
48748         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
48749         cleanup macros.
48750         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
48752 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
48754         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
48755         to _sifields.sigfault.
48756         (si_addr_lsb): Define new macro.
48757         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
48758         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48759         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
48761 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
48763         [BZ #15441]
48764         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
48765         returns -1.
48766         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
48767         null return -1.
48768         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
48769         loading the domain.
48771 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
48773         * math/gen-libm-test.pl (parse_args): Do not include expected
48774         result in test name.
48775         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
48776         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48777         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48778         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48779         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48782 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48784         * benchtests/Makefile: Sort function entries.
48786         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
48787         tanh, asinh, acosh, atanh.
48788         * benchtests/acos-inputs: New file.
48789         * benchtests/acosh-inputs: New file.
48790         * benchtests/asin-inputs: New file.
48791         * benchtests/asinh-inputs: New file.
48792         * benchtests/atanh-inputs: New file.
48793         * benchtests/cosh-inputs: New file.
48794         * benchtests/log-inputs: New file.
48795         * benchtests/sinh-inputs: New file.
48796         * benchtests/tanh-inputs: New file.
48798 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
48800         [BZ #15339]
48801         * posix/tst-getaddrinfo4.c: New test.
48802         * posix/Makefile (tests): Add it.
48804 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48806         [BZ #15339]
48807         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
48808         when no services were used.
48809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
48810         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
48812 2013-05-21  Andreas Schwab  <schwab@suse.de>
48814         [BZ #15014]
48815         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
48816         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
48817         successful.
48818         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
48819         redundant variable declarations and reallocation of buffer when
48820         parsing as IPv6 address.  Always set NSS status when called from
48821         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
48822         buffer too small.  Correct computation of needed size.
48823         * nss/Makefile (tests): Add test-digits-dots.
48824         * nss/test-digits-dots.c: New test.
48826 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
48828         * benchtests/Makefile: Remove instructions for adding
48829         benchmark tests.
48830         * benchtests/README: New file to explain how to execute and
48831         enhance the benchmark tests.
48833 2013-05-21  Andreas Schwab  <schwab@suse.de>
48835         [BZ #15493]
48836         * setjmp/Makefile (tests): Add tst-sigsetjmp.
48837         * setjmp/tst-sigsetjmp.c: New test.
48839 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48841         * sysdeps/x86_64/memset.S (memset): New implementation.
48842         (__bzero): Likewise.
48843         (__memset_tail): New function.
48845 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
48847         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
48848         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
48849         __memcpy_sse2_unaligned ifunc selection.
48850         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
48851         Add memcpy-sse2-unaligned.S.
48852         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
48853         Add: __memcpy_sse2_unaligned.
48855 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
48857         [BZ #15490]
48858         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
48859         math_force_eval before restoring floating-point envrionment.
48860         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
48861         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
48862         Likewise.
48863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
48864         <math_private.h>.
48865         (__nearbyintl): Use math_force_eval before restoring
48866         floating-point environment.
48867         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
48869         * math/gen-libm-test.pl (special_functions): Remove.
48870         (parse_args): Don't handle TEST_extra.  Handle functions with no
48871         return value.
48872         * math/libm-test.inc (struct test_sincos_data): Replace with
48873         struct test_fFF_11_data.
48874         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
48875         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
48876         (sincos_test_data): Change element type to struct
48877         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
48878         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
48879         RUN_TEST_LOOP_sincos.
48880         * math/README.libm-test: Don't mention special handling of
48881         individual functions.
48882         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
48883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48884         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
48885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48886         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
48887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48889         * math/gen-libm-test.pl (get_variable): Remove function.
48890         (parse_args): Don't show pointer parameters to call in test
48891         names.  Use "extra output N" in test names for extra outputs
48892         rather than naming variables.
48894 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
48896         [BZ #15488]
48897         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
48898         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
48899         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
48900         double tests.
48901         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
48902         disable.
48903         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
48904         check_long_double.
48906         * math/gen-libm-test.pl (@tests): Remove variable.
48907         ($count): Likewise.
48908         (new_test): Remove function.
48909         (show_exceptions): New function.
48910         (special_functions): Use show_exceptions instead of new_test.
48911         (parse_args): Likewise.
48912         (generate_testfile): Pass only function name in generated call to
48913         print_max_error or print_complex_max_error.
48914         (get_ulps): Do not handle complex tests specially.
48915         (output_test): Rename to ...
48916         (get_all_ulps_for_test): ... this.  Return a string rather than
48917         printing to a file.  Require ulps to be present.
48918         (output_ulps): Generate arrays rather than #defines.
48919         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
48920         (struct ulp_data): New type.
48921         (BUILD_COMPLEX_ULP): Remove macro.
48922         (compare_ulp_data): New function.
48923         (find_ulps): Likewise.
48924         (find_test_ulps): Likewise.
48925         (find_function_ulps): Likewise.
48926         (find_complex_function_ulps): Likewise.
48927         (print_max_error): Determine allowed ulps using
48928         find_function_ulps.
48929         (print_complex_max_error): Determine allowed ulps using
48930         find_complex_function_ulps.
48931         (check_float_internal): Determine max ulps using find_test_ulps.
48932         (check_float): Do not take max_ulp parameter.  Update call to
48933         check_float_internal.
48934         (check_complex): Likewise.
48935         (check_int): Do not take max_ulp parameter.
48936         (check_long): Likewise.
48937         (check_bool): Likewise.
48938         (check_longlong): Likewise.
48939         (struct test_f_f_data): Remove max_ulp field.
48940         (struct test_ff_f_data): Likewise.
48941         (struct test_ff_f_data_nexttoward): Likewise.
48942         (struct test_fi_f_data): Likewise.
48943         (struct test_fl_f_data): Likewise.
48944         (struct test_if_f_data): Likewise.
48945         (struct test_fff_f_data): Likewise.
48946         (struct test_c_f_data): Likewise.
48947         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
48948         (struct test_fF_f1_data): Likewise.
48949         (struct test_ffI_f1_data): Likewise.
48950         (struct test_c_c_data): Remove max_ulp field.
48951         (struct test_cc_c_data): Likewise.
48952         (struct test_f_i_data): Likewise.
48953         (struct test_ff_i_data): Likewise.
48954         (struct test_f_l_data): Likewise.
48955         (struct test_f_L_data): Likewise.
48956         (struct test_sincos_data): Likewise.
48957         (RUN_TEST_f_f): Do not handle ulps.
48958         (RUN_TEST_LOOP_f_f): Likewise.
48959         (RUN_TEST_2_f): Likewise.
48960         (RUN_TEST_LOOP_2_f): Likewise.
48961         (RUN_TEST_fff_f): Likewise.
48962         (RUN_TEST_LOOP_fff_f): Likewise.
48963         (RUN_TEST_c_f): Likewise.
48964         (RUN_TEST_LOOP_c_f): Likewise.
48965         (RUN_TEST_f_f1): Likewise.
48966         (RUN_TEST_LOOP_f_f1): Likewise.
48967         (RUN_TEST_fF_f1): Likewise.
48968         (RUN_TEST_LOOP_fF_f1): Likewise.
48969         (RUN_TEST_fI_f1): Likewise.
48970         (RUN_TEST_LOOP_fI_f1): Likewise.
48971         (RUN_TEST_ffI_f1): Likewise.
48972         (RUN_TEST_LOOP_ffI_f1): Likewise.
48973         (RUN_TEST_c_c): Likewise.
48974         (RUN_TEST_LOOP_c_c): Likewise.
48975         (RUN_TEST_cc_c): Likewise.
48976         (RUN_TEST_LOOP_cc_c): Likewise.
48977         (RUN_TEST_f_i): Likewise.
48978         (RUN_TEST_LOOP_f_i): Likewise.
48979         (RUN_TEST_f_i_tg): Likewise.
48980         (RUN_TEST_LOOP_f_i_tg): Likewise.
48981         (RUN_TEST_ff_i_tg): Likewise.
48982         (RUN_TEST_LOOP_ff_i_tg): Likewise.
48983         (RUN_TEST_f_b): Likewise.
48984         (RUN_TEST_LOOP_f_b): Likewise.
48985         (RUN_TEST_f_b_tg): Likewise.
48986         (RUN_TEST_LOOP_f_b_tg): Likewise.
48987         (RUN_TEST_f_l): Likewise.
48988         (RUN_TEST_LOOP_f_l): Likewise.
48989         (RUN_TEST_f_L): Likewise.
48990         (RUN_TEST_LOOP_f_L): Likewise.
48991         (RUN_TEST_sincos): Likewise.
48992         (RUN_TEST_LOOP_sincos): Likewise.
48994 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
48996         [BZ #15480]
48997         [BZ #15485]
48998         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
48999         main case of finite arguments, set rounding mode to FE_TONEAREST
49000         and discard exceptions.
49001         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49002         exceptions.
49003         (remainder_tonearest_test_data): New variable.
49004         (remainder_test_tonearest): New function.
49005         (remainder_towardzero_test_data): New variable.
49006         (remainder_test_towardzero): New function.
49007         (remainder_downward_test_data): New variable.
49008         (remainder_test_downward): New function.
49009         (remainder_upward_test_data): New variable.
49010         (remainder_test_upward): New function.
49011         (main): Call the new test functions.
49013         * math/libm-test.inc (struct test_f_f1_data): Remove field
49014         extra_init.
49015         (struct test_fF_f1_data): Likewise.
49016         (struct test_ffI_f1_data): Likewise.
49017         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49018         based on value of EXTRA_EXPECTED.
49019         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49020         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49021         EXTRA_VAR based on value of EXTRA_EXPECTED.
49022         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49023         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49024         EXTRA_VAR based on value of EXTRA_EXPECTED.
49025         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49026         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49027         EXTRA_VAR based on value of EXTRA_EXPECTED.
49028         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49029         * math/gen-libm-test.pl (parse_args): Don't output initializers
49030         for extra output values.
49032         * math/libm-test.inc (check_int): Expect result to be exactly
49033         equal to expected value and do not handle ulps.
49034         (check_long): Likewise.
49035         (check_longlong): Likewise.
49037         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49038         exceptions.
49039         (cimag_test_data): Likewise.
49040         (conj_test_data): Likewise.
49041         (copysign_test_data): Likewise.
49042         (cproj_test_data): Likewise.
49043         (creal_test_data): Likewise.
49044         (fabs_test_data): Likewise.
49045         (fdim_test_data): Likewise.
49046         (finite_test_data): Likewise.
49047         (floor_test_data): Likewise.
49048         (fmax_test_data): Likewise.
49049         (fmin_test_data): Likewise.
49050         (fmod_test_data): Likewise.
49051         (fpclassify_test_data): Likewise.
49052         (frexp_test_data): Likewise.
49053         (ilogb_test_data): Likewise.
49054         (isfinite_test_data): Likewise.
49055         (isgreater_test_data): Likewise.
49056         (isgreaterequal_test_data): Likewise.
49057         (isinf_test_data): Likewise.
49058         (isless_test_data): Likewise.
49059         (islessequal_test_data): Likewise.
49060         (islessgreater_test_data): Likewise.
49061         (isnan_test_data): Likewise.
49062         (isnormal_test_data): Likewise.
49063         (issignaling_test_data): Likewise.
49064         (isunordered_test_data): Likewise.
49065         (ldexp_test_data): Likewise.
49066         (lrint_test_data): Likewise.
49067         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49068         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49069         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49070         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49071         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49072         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49073         test input.
49074         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49075         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49076         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49077         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49078         that test input.
49079         (lrint_downward_test_data): Test for "inexact" exceptions.
49080         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49081         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49082         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49083         test input.
49084         (lrint_upward_test_data): Test for "inexact" exceptions.
49085         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49086         test input.
49087         (llrint_test_data): Test for "inexact" exceptions.
49088         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49089         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49090         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49091         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49092         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49093         (llrint_downward_test_data): Test for "inexact" exceptions.
49094         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49095         (llrint_upward_test_data): Test for "inexact" exceptions.
49096         (logb_test_data): Likewise.
49097         (logb_downward_test_data): Likewise.
49098         (nextafter_test_data): Likewise.
49099         (nexttoward_test_data): Likewise.
49100         (remainder_test_data): Likewise.
49101         (remquo_test_data): Likewise.
49102         (scalbn_test_data): Likewise.
49103         (scalbln_test_data): Likewise.
49104         (signbit_test_data): Likewise.
49105         (sqrt_test_data): Likewise.
49106         (significand_test_data): Likewise.
49108 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49110         [BZ #15424]
49111         * benchtests/bench-modf.c (struct args): Mark arg0 as
49112         volatile.
49113         * scripts/bench.pl: Mark members of struct args as volatile.
49115 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49117         [BZ # 15497]
49118         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49119         negative infinity on POWER6 or lower.
49120         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49122 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49124         [BZ #15442]
49125         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49126         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49127         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49128         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49129         (_FP_SETQNAN): New macro.
49130         (_FP_SETQNAN_SEMIRAW): Likewise.
49131         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49132         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49133         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49134         (FP_EXTEND): Use _FP_FRAC_SNANP.
49135         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49136         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49137         into account.
49138         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49139         New macro.
49140         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49141         Likewise.
49143 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49145         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49146         with DIVIDE_BY_ZERO_EXCEPTION.
49147         (gamma_test_data): Likewise.
49148         (lgamma_test_data): Likewise.
49149         (log_test_data): Likewise.
49150         (log10_test_data): Likewise.
49151         (log2_test_data): Likewise.
49152         (tgamma_test_data): Likewise.
49154         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49155         (acos_test_tonearest): Likewise.
49156         (acos_test_towardzero): Likewise.
49157         (acos_test_downward): Likewise.
49158         (acos_test_upward): Likewise.
49159         (acosh_test): Likewise.
49160         (asin_test): Likewise.
49161         (asin_test_tonearest): Likewise.
49162         (asin_test_towardzero): Likewise.
49163         (asin_test_downward): Likewise.
49164         (asin_test_upward): Likewise.
49165         (asinh_test): Likewise.
49166         (atan_test): Likewise.
49167         (atanh_test): Likewise.
49168         (atan2_test): Likewise.
49169         (cabs_test): Likewise.
49170         (cacos_test): Likewise.
49171         (cacosh_test): Likewise.
49172         (casin_test): Likewise.
49173         (casinh_test): Likewise.
49174         (catan_test): Likewise.
49175         (catanh_test): Likewise.
49176         (cbrt_test): Likewise.
49177         (ccos_test): Likewise.
49178         (ccosh_test): Likewise.
49179         (cexp_test): Likewise.
49180         (clog_test): Likewise.
49181         (clog10_test): Likewise.
49182         (cos_test): Likewise.
49183         (cos_test_tonearest): Likewise.
49184         (cos_test_towardzero): Likewise.
49185         (cos_test_downward): Likewise.
49186         (cos_test_upward): Likewise.
49187         (cosh_test): Likewise.
49188         (cosh_test_tonearest): Likewise.
49189         (cosh_test_towardzero): Likewise.
49190         (cosh_test_downward): Likewise.
49191         (cosh_test_upward): Likewise.
49192         (cpow_test): Likewise.
49193         (csin_test): Likewise.
49194         (csinh_test): Likewise.
49195         (csqrt_test): Likewise.
49196         (ctan_test): Likewise.
49197         (ctan_test_tonearest): Likewise.
49198         (ctan_test_towardzero): Likewise.
49199         (ctan_test_downward): Likewise.
49200         (ctan_test_upward): Likewise.
49201         (ctanh_test): Likewise.
49202         (ctanh_test_tonearest): Likewise.
49203         (ctanh_test_towardzero): Likewise.
49204         (ctanh_test_downward): Likewise.
49205         (ctanh_test_upward): Likewise.
49206         (erf_test): Likewise.
49207         (erfc_test): Likewise.
49208         (exp_test): Likewise.
49209         (exp_test_tonearest): Likewise.
49210         (exp_test_towardzero): Likewise.
49211         (exp_test_downward): Likewise.
49212         (exp_test_upward): Likewise.
49213         (exp10_test): Likewise.
49214         (exp2_test): Likewise.
49215         (expm1_test): Likewise.
49216         (fmod_test): Likewise.
49217         (gamma_test): Likewise.
49218         (hypot_test): Likewise.
49219         (j0_test): Likewise.
49220         (j1_test): Likewise.
49221         (jn_test): Likewise.
49222         (lgamma_test): Likewise.
49223         (log_test): Likewise.
49224         (log10_test): Likewise.
49225         (log1p_test): Likewise.
49226         (log2_test): Likewise.
49227         (logb_test_downward): Likewise.
49228         (pow_test): Likewise.
49229         (pow_test_tonearest): Likewise.
49230         (pow_test_towardzero): Likewise.
49231         (pow_test_downward): Likewise.
49232         (pow_test_upward): Likewise.
49233         (remainder_test): Likewise.
49234         (remquo_test): Likewise.
49235         (sin_test): Likewise.
49236         (sin_test_tonearest): Likewise.
49237         (sin_test_towardzero): Likewise.
49238         (sin_test_downward): Likewise.
49239         (sin_test_upward): Likewise.
49240         (sincos_test): Likewise.
49241         (sinh_test): Likewise.
49242         (sinh_test_tonearest): Likewise.
49243         (sinh_test_towardzero): Likewise.
49244         (sinh_test_downward): Likewise.
49245         (sinh_test_upward): Likewise.
49246         (sqrt_test): Likewise.
49247         (tan_test): Likewise.
49248         (tan_test_tonearest): Likewise.
49249         (tan_test_towardzero): Likewise.
49250         (tan_test_downward): Likewise.
49251         (tan_test_upward): Likewise.
49252         (tanh_test): Likewise.
49253         (tgamma_test): Likewise.
49254         (y0_test): Likewise.
49255         (y1_test): Likewise.
49256         (yn_test): Likewise.
49258         * math/gen-libm-test.pl (adjust_arg): Remove function.
49259         (special_function): Remove argument $in_func.  Only handle
49260         generating output for tables of tests, not inside functions.
49261         (parse_args): Likewise.
49262         (generate_testfile): Remove variable $in_func.  Update call to
49263         parse_args.
49264         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
49265         (MINUS_ZERO_INIT): Rename macro to minus_zero.
49266         (PLUS_INFTY_INIT): Rename macro to plus_infty.
49267         (MINUS_INFTY_INIT): Rename macro to minus_infty.
49268         (QNAN_VALUE_INIT): Rename macro to qnan_value.
49269         (MAX_VALUE_INIT): Rename macro to max_value.
49270         (MIN_VALUE_INIT): Rename macro to min_value.
49271         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
49272         (plus_zero): Remove variable.
49273         (minus_zero): Likewise.
49274         (plus_infty): Likewise.
49275         (minus_infty): Likewise.
49276         (qnan_value): Likewise.
49277         (max_value): Likewise.
49278         (min_value): Likewise.
49279         (min_subnorm_value): Likewise.
49281 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49283         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
49284         uint64_t or uint32_t usage.
49285         * crypt/sha256-block.c: Likewise.
49286         * crypt/sha256-crypt.c: Likewise.
49287         * crypt/sha256.c: Likewise.
49288         * crypt/sha512-block.c: Likewise.
49289         * crypt/sha512-crypt.c: Likewise.
49290         * crypt/sha512.c: Likewise.
49291         * debug/backtrace-tst.c: Likewise.
49292         * debug/pcprofiledump.c: Likewise.
49293         * elf/cache.c: Likewise.
49294         * elf/dl-cache.c: Likewise.
49295         * elf/dl-misc.c: Likewise.
49296         * elf/dl-profile.c: Likewise.
49297         * elf/dl-support.c: Likewise.
49298         * elf/ldconfig.c: Likewise.
49299         * elf/sprof.c: Likewise.
49300         * iconv/dummy-repertoire.c: Likewise.
49301         * iconv/iconv_charmap.c: Likewise.
49302         * iconv/skeleton.c: Likewise.
49303         * iconvdata/8bit-generic.c: Likewise.
49304         * iconvdata/cp737.h: Likewise.
49305         * iconvdata/cp775.h: Likewise.
49306         * iconvdata/ibm1008.h: Likewise.
49307         * iconvdata/ibm1025.h: Likewise.
49308         * iconvdata/ibm1046.h: Likewise.
49309         * iconvdata/ibm1097.h: Likewise.
49310         * iconvdata/ibm1112.h: Likewise.
49311         * iconvdata/ibm1122.h: Likewise.
49312         * iconvdata/ibm1123.h: Likewise.
49313         * iconvdata/ibm1124.h: Likewise.
49314         * iconvdata/ibm1129.h: Likewise.
49315         * iconvdata/ibm1130.h: Likewise.
49316         * iconvdata/ibm1132.h: Likewise.
49317         * iconvdata/ibm1133.h: Likewise.
49318         * iconvdata/ibm1137.h: Likewise.
49319         * iconvdata/ibm1140.h: Likewise.
49320         * iconvdata/ibm1141.h: Likewise.
49321         * iconvdata/ibm1142.h: Likewise.
49322         * iconvdata/ibm1143.h: Likewise.
49323         * iconvdata/ibm1144.h: Likewise.
49324         * iconvdata/ibm1145.h: Likewise.
49325         * iconvdata/ibm1146.h: Likewise.
49326         * iconvdata/ibm1147.h: Likewise.
49327         * iconvdata/ibm1148.h: Likewise.
49328         * iconvdata/ibm1149.h: Likewise.
49329         * iconvdata/ibm1153.h: Likewise.
49330         * iconvdata/ibm1154.h: Likewise.
49331         * iconvdata/ibm1155.h: Likewise.
49332         * iconvdata/ibm1156.h: Likewise.
49333         * iconvdata/ibm1157.h: Likewise.
49334         * iconvdata/ibm1158.h: Likewise.
49335         * iconvdata/ibm1160.h: Likewise.
49336         * iconvdata/ibm1161.h: Likewise.
49337         * iconvdata/ibm1162.h: Likewise.
49338         * iconvdata/ibm1163.h: Likewise.
49339         * iconvdata/ibm1164.h: Likewise.
49340         * iconvdata/ibm1166.h: Likewise.
49341         * iconvdata/ibm1167.h: Likewise.
49342         * iconvdata/ibm12712.h: Likewise.
49343         * iconvdata/ibm1390.h: Likewise.
49344         * iconvdata/ibm1399.h: Likewise.
49345         * iconvdata/ibm16804.h: Likewise.
49346         * iconvdata/ibm4517.h: Likewise.
49347         * iconvdata/ibm4899.h: Likewise.
49348         * iconvdata/ibm4909.h: Likewise.
49349         * iconvdata/ibm4971.h: Likewise.
49350         * iconvdata/ibm5347.h: Likewise.
49351         * iconvdata/ibm803.h: Likewise.
49352         * iconvdata/ibm856.h: Likewise.
49353         * iconvdata/ibm901.h: Likewise.
49354         * iconvdata/ibm902.h: Likewise.
49355         * iconvdata/ibm9030.h: Likewise.
49356         * iconvdata/ibm9066.h: Likewise.
49357         * iconvdata/ibm921.h: Likewise.
49358         * iconvdata/ibm922.h: Likewise.
49359         * iconvdata/ibm9448.h: Likewise.
49360         * iconvdata/isiri-3342.h: Likewise.
49361         * iconvdata/jis0201.h: Likewise.
49362         * include/link.h: Likewise.
49363         * include/netdb.h: Likewise.
49364         * inet/check_native.c: Likewise.
49365         * inet/check_pf.c: Likewise.
49366         * inet/getipv4sourcefilter.c: Likewise.
49367         * inet/getnameinfo.c: Likewise.
49368         * inet/getsourcefilter.c: Likewise.
49369         * inet/htonl.c: Likewise.
49370         * inet/setipv4sourcefilter.c: Likewise.
49371         * inet/setsourcefilter.c: Likewise.
49372         * inet/test-inet6_opt.c: Likewise.
49373         * inet/tst-network.c: Likewise.
49374         * locale/C-collate.c: Likewise.
49375         * locale/C-ctype.c: Likewise.
49376         * locale/C-time.c: Likewise.
49377         * locale/C-translit.h: Likewise.
49378         * locale/loadarchive.c: Likewise.
49379         * locale/programs/3level.h: Likewise.
49380         * locale/programs/charmap.c: Likewise.
49381         * locale/programs/charmap.h: Likewise.
49382         * locale/programs/ld-address.c: Likewise.
49383         * locale/programs/ld-collate.c: Likewise.
49384         * locale/programs/ld-ctype.c: Likewise.
49385         * locale/programs/ld-identification.c: Likewise.
49386         * locale/programs/ld-measurement.c: Likewise.
49387         * locale/programs/ld-messages.c: Likewise.
49388         * locale/programs/ld-monetary.c: Likewise.
49389         * locale/programs/ld-name.c: Likewise.
49390         * locale/programs/ld-numeric.c: Likewise.
49391         * locale/programs/ld-paper.c: Likewise.
49392         * locale/programs/ld-telephone.c: Likewise.
49393         * locale/programs/ld-time.c: Likewise.
49394         * locale/programs/linereader.c: Likewise.
49395         * locale/programs/locale.c: Likewise.
49396         * locale/programs/locarchive.c: Likewise.
49397         * locale/programs/locfile.h: Likewise.
49398         * locale/programs/repertoire.c: Likewise.
49399         * locale/programs/simple-hash.c: Likewise.
49400         * locale/programs/simple-hash.h: Likewise.
49401         * malloc/memusage.c: Likewise.
49402         * malloc/memusagestat.c: Likewise.
49403         * nis/nis_defaults.c: Likewise.
49404         * nis/nis_hash.c: Likewise.
49405         * nis/nis_print.c: Likewise.
49406         * nis/nis_xdr.c: Likewise.
49407         * nscd/connections.c: Likewise.
49408         * nscd/hstcache.c: Likewise.
49409         * nscd/nscd_gethst_r.c: Likewise.
49410         * nscd/nscd_getserv_r.c: Likewise.
49411         * nscd/nscd_helper.c: Likewise.
49412         * nscd/servicescache.c: Likewise.
49413         * nss/makedb.c: Likewise.
49414         * nss/nss_db/db-XXX.c: Likewise.
49415         * nss/nss_db/db-initgroups.c: Likewise.
49416         * nss/nss_db/db-netgrp.c: Likewise.
49417         * nss/nss_files/files-network.c: Likewise.
49418         * nss/nss_files/files-parse.c: Likewise.
49419         * posix/bug-regex5.c: Likewise.
49420         * posix/fnmatch_loop.c: Likewise.
49421         * posix/regcomp.c: Likewise.
49422         * posix/regexec.c: Likewise.
49423         * posix/tst-rfc3484-2.c: Likewise.
49424         * posix/tst-rfc3484-3.c: Likewise.
49425         * posix/tst-rfc3484.c: Likewise.
49426         * resolv/nss_dns/dns-canon.c: Likewise.
49427         * resolv/nss_dns/dns-network.c: Likewise.
49428         * resolv/res_init.c: Likewise.
49429         * resolv/res_mkquery.c: Likewise.
49430         * resolv/tst-aton.c: Likewise.
49431         * stdlib/cxa_atexit.c: Likewise.
49432         * stdlib/cxa_finalize.c: Likewise.
49433         * stdlib/gen-fpioconst.c: Likewise.
49434         * stdlib/strtol_l.c: Likewise.
49435         * string/tst-endian.c: Likewise.
49436         * sunrpc/auth_des.c: Likewise.
49437         * sunrpc/clnt_udp.c: Likewise.
49438         * sunrpc/rtime.c: Likewise.
49439         * sunrpc/svcauth_des.c: Likewise.
49440         * sunrpc/xdr.c: Likewise.
49441         * sunrpc/xdr_intXX_t.c: Likewise.
49442         * sunrpc/xdr_rec.c: Likewise.
49443         * sysdeps/generic/ldconfig.h: Likewise.
49444         * sysdeps/generic/ldsodefs.h: Likewise.
49445         * sysdeps/generic/memusage.h: Likewise.
49446         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
49447         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
49448         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
49449         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
49450         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49451         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49452         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
49453         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
49454         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49456         * sysdeps/posix/getaddrinfo.c: Likewise.
49457         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49458         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49459         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49460         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49461         * sysdeps/powerpc/test-gettimebase.c: Likewise.
49462         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49463         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
49464         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
49465         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49466         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
49467         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49468         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49469         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
49470         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
49471         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
49472         * sysdeps/x86_64/dl-tls.h: Likewise.
49473         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
49474         * time/alt_digit.c: Likewise.
49475         * time/era.c: Likewise.
49476         * wcsmbs/tst-c16c32-1.c: Likewise.
49478 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49480         * math/libm-test.inc (struct test_sincos_data): New type.
49481         (RUN_TEST_LOOP_sincos): New macro.
49482         (sincos_test_data): New variable.
49483         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
49485 2013-05-16  Richard Henderson  <rth@redhat.com>
49487         * math/atest-exp2.c (LIMB64): New macro.
49488         (CONSTSZ): New macro.
49489         (mp_exp1, mp_exp_m1, mp_log2): New variables.
49490         (hexdig): Move ...
49491         (print_mpn_fp): ... to function scope.
49492         (read_mpn_hex): Remove.
49493         (get_log2): Remove.
49494         (exp2_mpn): Use mp_log2.
49495         (main): Use mp_exp1.
49497 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49499         * math/libm-test.inc: Remove comment about not testing "inexact"
49500         exceptions.
49501         (INEXACT_EXCEPTION): New macro.
49502         (NO_INEXACT_EXCEPTION): Likewise.
49503         (INVALID_EXCEPTION_OK): Update value.
49504         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
49505         (OVERFLOW_EXCEPTION_OK): Likewise.
49506         (UNDERFLOW_EXCEPTION_OK): Likewise.
49507         (IGNORE_ZERO_INF_SIGN): Likewise.
49508         (ERRNO_UNCHANGED): Likewise.
49509         (ERRNO_EDOM): Likewise.
49510         (ERRNO_ERANGE): Likewise.
49511         (test_exceptions): Handle testing "inexact" exceptions.
49512         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
49513         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
49514         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
49515         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
49516         INEXACT_EXCEPTION.
49517         (rint_towardzero_test_data): Likewise.
49518         (rint_downward_test_data): Likewise.
49519         (rint_upward_test_data): Likewise.
49521         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
49522         with OVERFLOW_EXCEPTION.
49523         (exp10_test_data): Likewise.
49524         (exp2_test_data): Likewise.
49525         (expm1_test_data): Likewise.
49526         (lgamma_test_data): Likewise.
49527         (pow_test_data): Likewise.
49528         (tgamma_test_data): Likewise.
49529         (yn_test_data): Remove duplicate test of overflow.
49531         * math/libm-test.inc (struct test_cc_c_data): New type.
49532         (RUN_TEST_LOOP_cc_c): New macro.
49533         (cpow_test_data): New variable.
49534         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
49536         * math/libm-test.inc (struct test_f_L_data): New type.
49537         (RUN_TEST_LOOP_f_L): New macro.
49538         (llrint_test_data): New variable.
49539         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
49540         (llrint_tonearest_test_data): New variable.
49541         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
49542         (llrint_towardzero_test_data): New variable.
49543         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
49544         (llrint_downward_test_data): New variable.
49545         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
49546         (llrint_upward_test_data): New variable.
49547         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
49548         (llround_test_data): New variable.
49549         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
49551 2013-05-13  Peter Collingbourne  <pcc@google.com>
49553         * math/atest-exp2.c (get_log2): Remove const attribute.
49555 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49557         * math/libm-test.inc (struct test_f_l_data): New type.
49558         (RUN_TEST_LOOP_f_l): New macro.
49559         (lrint_test_data): New variable.
49560         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
49561         (lrint_tonearest_test_data): New variable.
49562         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
49563         (lrint_towardzero_test_data): New variable.
49564         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
49565         (lrint_downward_test_data): New variable.
49566         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
49567         (lrint_upward_test_data): New variable.
49568         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
49569         (lround_test_data): New variable.
49570         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
49572 2013-05-15  Peter Collingbourne  <pcc@google.com>
49574         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
49575         (EXTRACT_WORDS64) Use where appropriate.
49576         (INSERT_WORDS64) Likewise.
49578         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
49579         constraints with x constraints.
49580         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
49582         * malloc/obstack.c (_obstack_compat): Add initializer.
49584 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49586         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
49587         si_trapno and add si_addr_lsb to _sifields.sigfault.
49588         (si_trapno): Remove macro.
49589         (si_addr_lsb): Define new macro.
49590         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49592 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
49594         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
49595         instead of TEST_f_l.
49596         (llrint_test_tonearest): Likewise.
49597         (llrint_test_towardzero): Likewise.
49598         (llrint_test_downward): Likewise.
49599         (llrint_test_upward): Likewise.
49600         (llround_test): Likewise.
49602         * math/libm-test.inc (struct test_f_i_data): Add comment.
49603         (RUN_TEST_LOOP_f_b): New macro.
49604         (RUN_TEST_LOOP_f_b_tg): Likewise.
49605         (finite_test_data): New variable.
49606         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
49607         (isfinite_test_data): New variable.
49608         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49609         (isinf_test_data): New variable.
49610         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49611         (isnan_test_data): New variable.
49612         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49613         (isnormal_test_data): New variable.
49614         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49615         (issignaling_test_data): New variable.
49616         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49617         (signbit_test_data): New variable.
49618         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
49620         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
49621         with INVALID_EXCEPTION.
49622         (acosh_test_data): Likewise.
49623         (asin_test_data): Likewise.
49624         (atanh_test_data): Likewise.
49625         (fmod_test_data): Likewise.
49626         (log_test_data): Likewise.
49627         (log10_test_data): Likewise.
49628         (log2_test_data): Likewise.
49629         (pow_test_data): Likewise.
49630         (sqrt_test_data): Likewise.
49631         (y0_test_data): Likewise.
49632         (y1_test_data): Likewise.
49633         (yn_test_data): Likewise.
49635         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
49636         function contents.
49638         * math/libm-test.inc (struct test_ff_i_data): New type.
49639         (RUN_TEST_LOOP_ff_i_tg): New macro.
49640         (isgreater_test_data): New variable.
49641         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49642         (isgreaterequal_test_data): New variable.
49643         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49644         (isless_test_data): New variable.
49645         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49646         (islessequal_test_data): New variable.
49647         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49648         (islessgreater_test_data): New variable.
49649         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49650         (isunordered_test_data): New variable.
49651         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
49653 2013-05-14  David S. Miller  <davem@davemloft.net>
49655         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49657 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
49659         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
49661         * math/libm-test.inc (struct test_fF_f1_data): Change type of
49662         extra_test to int.
49663         (struct test_f_i_data): Change type of max_ulp to int.
49665         * math/libm-test.inc (test_ffI_f1_data): New type.
49666         (RUN_TEST_LOOP_ffI_f1): New macro.
49667         (remquo_test_data): New variable.
49668         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
49670         * setjmp/tst-setjmp-fp.c: New file.
49671         * setjmp/Makefile (tests): Add tst-setjmp-fp.
49672         (link-libm): New variable.
49673         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
49675         * math/libm-test.inc (struct test_f_i_data): New type.
49676         (RUN_TEST_LOOP_f_i): New macro.
49677         (RUN_TEST_LOOP_f_i_tg): Likewise.
49678         (fpclassify_test_data): New variable.
49679         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
49680         (ilogb_test_data): New variable.
49681         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
49683         * math/libm-test.inc (scalbln_test): Correct function name in END
49684         call.
49686         * math/libm-test.inc (struct test_f_f1_data): Add comment.
49687         (RUN_TEST_LOOP_fI_f1): New macro.
49688         (frexp_test_data): New variable.
49689         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
49691         * math/libm-test.inc (struct test_fF_f1_data): New type.
49692         (RUN_TEST_LOOP_fF_f1): New macro.
49693         (modf_test_data): New variable.
49694         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
49696         * math/libm-test.inc (struct test_f_f1_data): New type.
49697         (RUN_TEST_LOOP_f_f1): New macro.
49698         (gamma_test_data): New variable.
49699         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49700         (lgamma_test_data): New variable.
49701         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
49703 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
49705         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
49706         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
49707         (main): Comment "tls" pseudo-hwcap.
49709 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
49711         * math/libm-test.inc (struct test_fl_f_data): New type.
49712         (RUN_TEST_LOOP_fl_f): New variable.
49713         (scalbln_test_data): New variable.
49714         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
49716         * math/libm-test.inc (struct test_fi_f_data): New type.
49717         (RUN_TEST_LOOP_fi_f): New macro.
49718         (ldexp_test_data): New variable.
49719         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
49720         (scalbn_test_data): New variable.
49721         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
49723         * math/libm-test.inc (struct test_c_f_data): New type.
49724         (RUN_TEST_LOOP_c_f): New macro.
49725         (cabs_test_data): New variable.
49726         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
49727         (carg_test_data): New variable.
49728         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
49729         (cimag_test_data): New variable.
49730         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
49731         (creal_test_data): New variable.
49732         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
49734         * math/libm-test.inc (struct test_if_f_data): New type.
49735         (RUN_TEST_LOOP_if_f): New macro.
49736         (jn_test_data): New variable.
49737         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
49738         (yn_test_data): New variable.
49739         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
49741         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
49743 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49745         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
49746         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
49748 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
49750         * benchtests/Makefile (CPPFLAGS-nonlib): Add
49751         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
49752         (bench-deps): Add bench-timing.h.
49753         * benchtests-bench-skeleton.c: Include bench-timing.h.
49754         (main): Use TIMING_* macros instead of clock_gettime.
49755         * benchtests/bench-timing.h: New file.
49757         [BZ #14582]
49758         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
49759         Renamed from _LIB_VERSION.
49760         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
49762 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
49764         * math/libm-test.inc (struct test_fff_f_data): New type.
49765         (RUN_TEST_LOOP_fff_f): New macro.
49766         (fma_test_data): New variable.
49767         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
49768         (fma_towardzero_test_data): New variable.
49769         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
49770         (fma_downward_test_data): New variable.
49771         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
49772         (fma_upward_test_data): New variable.
49773         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
49775         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
49776         (struct test_c_c_data): New type.
49777         (RUN_TEST_LOOP_c_c): New macro.
49778         (cacos_test_data): New variable.
49779         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
49780         (cacosh_test_data): New variable.
49781         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
49782         (casin_test_data): New variable.
49783         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
49784         (casinh_test_data): New variable.
49785         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
49786         (catan_test_data): New variable.
49787         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
49788         (catanh_test_data): New variable.
49789         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
49790         (ccos_test_data): New variable.
49791         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
49792         (ccosh_test_data): New variable.
49793         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
49794         (cexp_test_data): New variable.
49795         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
49796         (clog_test_data): New variable.
49797         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
49798         (clog10_test_data): New variable.
49799         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
49800         (conj_test_data): New variable.
49801         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
49802         (cproj_test_data): New variable.
49803         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
49804         (csin_test_data): New variable.
49805         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
49806         (csinh_test_data): New variable.
49807         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
49808         (csqrt_test_data): New variable.
49809         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
49810         (ctan_test_data): New variable.
49811         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
49812         (ctan_tonearest_test_data): New variable.
49813         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49814         (ctan_towardzero_test_data): New variable.
49815         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49816         (ctan_downward_test_data): New variable.
49817         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49818         (ctan_upward_test_data): New variable.
49819         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49820         (ctanh_test_data): New variable.
49821         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
49822         (ctanh_tonearest_test_data): New variable.
49823         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
49824         (ctanh_towardzero_test_data): New variable.
49825         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
49826         (ctanh_downward_test_data): New variable.
49827         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
49828         (ctanh_upward_test_data): New variable.
49829         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
49830         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
49831         of BUILD_COMPLEX.
49833         * math/libm-test.inc (struct test_ff_f_data): New type.
49834         (struct test_ff_f_data_nexttoward): Likewise.
49835         (RUN_TEST_LOOP_2_f): New macro.
49836         (RUN_TEST_LOOP_ff_f): Likewise.
49837         (atan2_test_data): New variable.
49838         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
49839         (copysign_test_data): New variable.
49840         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
49841         (fdim_test_data): New variable.
49842         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
49843         (fmax_test_data): New variable.
49844         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
49845         (fmin_test_data): New variable.
49846         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
49847         (fmod_test_data): New variable.
49848         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
49849         (hypot_test_data): New variable.
49850         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
49851         (nextafter_test_data): New variable.
49852         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
49853         (nexttoward_test_data): New variable.
49854         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
49855         (pow_test_data): New variable.
49856         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
49857         (pow_tonearest_test_data): New variable.
49858         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
49859         (pow_towardzero_test_data): New variable.
49860         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
49861         (pow_downward_test_data): New variable.
49862         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
49863         (pow_upward_test_data): New variable.
49864         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
49865         (remainder_test_data): New variable.
49866         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
49867         (scalb_test_data): New variable.
49868         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
49869         * sysdeps/i386/fpu/libm-test-ulps: Update.
49871 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
49873         * math/libm-test.inc (fma_test): Use max_value instead of local
49874         variable fltmax.
49875         (nextafter_test): Likewise.
49877         * math/libm-test.inc (acos_towardzero_test_data): New variable.
49878         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49879         (acos_downward_test_data): New variable.
49880         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49881         (acos_upward_test_data): New variable.
49882         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49883         (acosh_test_data): New variable.
49884         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
49885         (asin_test_data): New variable.
49886         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
49887         (asin_tonearest_test_data): New variable.
49888         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49889         (asin_towardzero_test_data): New variable.
49890         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49891         (asin_downward_test_data): New variable.
49892         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49893         (asin_upward_test_data): New variable.
49894         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49895         (asinh_test_data): New variable.
49896         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
49897         (atan_test_data): New variable.
49898         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
49899         (atanh_test_data): New variable.
49900         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
49901         (cbrt_test_data): New variable.
49902         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
49903         (ceil_test_data): New variable.
49904         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
49905         (cos_test_data): New variable.
49906         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
49907         (cos_tonearest_test_data): New variable.
49908         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49909         (cos_towardzero_test_data): New variable.
49910         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49911         (cos_downward_test_data): New variable.
49912         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49913         (cos_upward_test_data): New variable.
49914         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49915         (cosh_test_data): New variable.
49916         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
49917         (cosh_tonearest_test_data): New variable.
49918         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49919         (cosh_towardzero_test_data): New variable.
49920         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49921         (cosh_downward_test_data): New variable.
49922         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49923         (cosh_upward_test_data): New variable.
49924         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49925         (erf_test_data): New variable.
49926         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
49927         (erfc_test_data): New variable.
49928         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
49929         (exp_test_data): New variable.
49930         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
49931         (exp_tonearest_test_data): New variable.
49932         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49933         (exp_towardzero_test_data): New variable.
49934         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49935         (exp_downward_test_data): New variable.
49936         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49937         (exp_upward_test_data): New variable.
49938         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49939         (exp10_test_data): New variable.
49940         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
49941         (exp2_test_data): New variable.
49942         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
49943         (expm1_test_data): New variable.
49944         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
49945         (fabs_test_data): New variable.
49946         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
49947         (floor_test_data): New variable.
49948         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
49949         (j0_test_data): New variable.
49950         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
49951         (j1_test_data): New variable.
49952         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
49953         (log_test_data): New variable.
49954         (log_test): Run tests with RUN_TEST_LOOP_f_f.
49955         (log10_test_data): New variable.
49956         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
49957         (log1p_test_data): New variable.
49958         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
49959         (log2_test_data): New variable.
49960         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
49961         (logb_test_data): New variable.
49962         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
49963         (logb_downward_test_data): New variable.
49964         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49965         (nearbyint_test_data): New variable.
49966         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
49967         (rint_test_data): New variable.
49968         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
49969         (rint_tonearest_test_data): New variable.
49970         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49971         (rint_towardzero_test_data): New variable.
49972         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49973         (rint_downward_test_data): New variable.
49974         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49975         (rint_upward_test_data): New variable.
49976         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49977         (round_test_data): New variable.
49978         (round_test): Run tests with RUN_TEST_LOOP_f_f.
49979         (sin_test_data): New variable.
49980         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
49981         (sin_tonearest_test_data): New variable.
49982         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49983         (sin_towardzero_test_data): New variable.
49984         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49985         (sin_downward_test_data): New variable.
49986         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49987         (sin_upward_test_data): New variable.
49988         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49989         (sinh_test_data): New variable.
49990         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
49991         (sinh_tonearest_test_data): New variable.
49992         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
49993         (sinh_towardzero_test_data): New variable.
49994         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
49995         (sinh_downward_test_data): New variable.
49996         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
49997         (sinh_upward_test_data): New variable.
49998         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
49999         (sqrt_test_data): New variable.
50000         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50001         (tan_test_data): New variable.
50002         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50003         (tan_tonearest_test_data): New variable.
50004         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50005         (tan_towardzero_test_data): New variable.
50006         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50007         (tan_downward_test_data): New variable.
50008         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50009         (tan_upward_test_data): New variable.
50010         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50011         (tanh_test_data): New variable.
50012         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50013         (tgamma_test_data): New variable.
50014         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50015         (trunc_test_data): New variable.
50016         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50017         (y0_test_data): New variable.
50018         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50019         (y1_test_data): New variable.
50020         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50021         (significand_test_data): New variable.
50022         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50024 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50026         [BZ #12387]
50027         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50029 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50031         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50033 2013-05-10  Andreas Jaeger  <aj@suse.de>
50035         [BZ #15448]
50036         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50037         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50039 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50041         * math/gen-libm-test.pl (adjust_arg): New function.
50042         (special_functions): Handle generating output in both functions
50043         and arrays.
50044         (parse_args): Likewise.
50045         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50046         $in_func argument to parse_args.
50047         * math/libm-test.inc (struct test_f_f_data): New type.
50048         (IF_ROUND_INIT_): New macro.
50049         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50050         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50051         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50052         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50053         (ROUND_RESTORE_): Likewise.
50054         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50055         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50056         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50057         (ROUND_RESTORE_FE_UPWARD): Likewise.
50058         (RUN_TEST_LOOP_f_f): New macro.
50059         (acos_test_data): New variable.
50060         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50061         (acos_tonearest_test_data): New variable.
50062         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50064 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50066         * benchtests/bench-skeleton.c (startup): Fix coding style.
50068 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50070         [BZ #6809]
50071         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50072         negative infinity argument.
50073         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50074         negative infinity argument.
50075         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50076         negative infinity argument.
50077         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50078         domain errors.
50080 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50082         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50083         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50084         * iconv/iconv_prog.c (main): Likewise.
50085         * locale/programs/charmap-dir.c (charmap_readdir)
50086         (fopen_uncompressed): Likewise.
50087         * locale/programs/locfile.c (siblings_uncached)
50088         (write_locale_data): Use lstat64 instead of lstat.
50089         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50090         stat.
50092 2013-05-10  Andreas Jaeger  <aj@suse.de>
50094         [BZ #15395]
50095         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50096         localization.
50097         Include <locale.h>.
50099 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50101         * elf/dl-close.c (_dl_close_worker): Add comments.
50103 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50105         [BZ #15359]
50106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50107         high part of pi/2.
50108         (__ieee754_rem_pio2l): Update comments.
50110         [BZ #15429]
50111         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50112         high part of pi/2.
50113         (__ieee754_rem_pio2l): Update comments.
50115         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50116         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50118         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50119         M_PI_4l.
50121         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50122         (M_PI_34_LOG10El): Likewise.
50123         (M_PI2_LOG10El): Likewise.
50124         (M_PI4_LOG10El): Likewise.
50125         (M_PI_LOG10El): Likewise.
50127 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50131 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50133         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50134         (MINUS_ZERO_INIT): Likewise.
50135         (PLUS_INFTY_INIT): Likewise.
50136         (MINUS_INFTY_INIT): Likewise.
50137         (QNAN_VALUE_INIT): Likewise.
50138         (MAX_VALUE_INIT): Likewise.
50139         (MIN_VALUE_INIT): Likewise.
50140         (MIN_SUBNORM_VALUE_INIT): Likewise.
50141         (plus_zero): Initialize with PLUS_ZERO_INIT.
50142         (minus_zero): Initialize with MINUS_ZERO_INIT.
50143         (plus_infty): Initialize with PLUS_INFTY_INIT.
50144         (minus_infty): Initialize with MINUS_INFTY_INIT.
50145         (qnan_value): Initialize with QNAN_VALUE_INIT.
50146         (max_value): Initialize with MAX_VALUE_INIT.
50147         (min_value): Initialize with MIN_VALUE_INIT.
50148         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50150         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50151         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50152         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50153         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50155         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50156         (RUN_TEST_2_f): Likewise.
50157         (RUN_TEST_ff_f): Likewise.
50158         (RUN_TEST_fi_f): Likewise.
50159         (RUN_TEST_fl_f): Likewise.
50160         (RUN_TEST_fff_f): Likewise.
50161         (RUN_TEST_c_f): Likewise.
50162         (RUN_TEST_f_f1): Likewise.
50163         (RUN_TEST_fF_f1): Likewise.
50164         (RUN_TEST_fI_f1): Likewise.
50165         (RUN_TEST_ffI_f1): Likewise.
50166         (RUN_TEST_c_c): Likewise.
50167         (RUN_TEST_cc_c): Likewise.
50168         (RUN_TEST_f_i): Likewise.
50169         (RUN_TEST_f_i_tg): Likewise.
50170         (RUN_TEST_ff_i_tg): Likewise.
50171         (RUN_TEST_f_b): Likewise.
50172         (RUN_TEST_f_b_tg): Likewise.
50173         (RUN_TEST_f_l): Likewise.
50174         (RUN_TEST_f_L): Likewise.
50175         (RUN_TEST_sincos): Likewise.
50176         * math/gen-libm-test.pl (new_test): Take new argument to indicate
50177         whether to show exceptions.  Do not include ");\n" in return
50178         value.
50179         (special_functions): Output call to RUN_TEST_sincos instead of
50180         check_float calls.  Update calls to new_test.
50181         (parse_args): Output call to single RUN_TEST_* macro instead of
50182         check_* calls and other assignments.  Update calls to new_test.
50184         [BZ #2546]
50185         [BZ #2560]
50186         [BZ #5159]
50187         [BZ #15426]
50188         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
50189         input to result for tgamma overflow.
50190         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
50191         (gamma_coeff): New variable.
50192         (NCOEFF): New macro.
50193         (gamma_positive): New function.
50194         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
50195         underflow here.  Use gamma_positive instead of exp (lgamma) for
50196         other arguments.
50197         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
50198         (gamma_coeff): New variable.
50199         (NCOEFF): New macro.
50200         (gammaf_positive): New function.
50201         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
50202         underflow here.  Use gamma_positive instead of exp (lgamma) for
50203         other arguments.
50204         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
50205         (gamma_coeff): New variable.
50206         (NCOEFF): New macro.
50207         (gammal_positive): New function.
50208         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
50209         underflow here.  Use gamma_positive instead of exp (lgamma) for
50210         other arguments.
50211         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
50212         (gamma_coeff): New variable.
50213         (NCOEFF): New macro.
50214         (gammal_positive): New function.
50215         (__ieee754_gammal_r): Handle positive infinity, overflow and
50216         underflow here.  Handle NaN the same as positive infinity.  Remove
50217         check x < 0xffffffff for negative integers.  Use gamma_positive
50218         instead of exp (lgamma) for other arguments.
50219         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
50220         (gamma_coeff): New variable.
50221         (NCOEFF): New macro.
50222         (gammal_positive): New function.
50223         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
50224         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
50225         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
50226         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
50227         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
50228         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
50229         * sysdeps/generic/math_private.h (__gamma_productf): New
50230         prototype.
50231         (__gamma_product): Likewise.
50232         (__gamma_productl): Likewise.
50233         * math/Makefile (libm-calls): Add gamma_product.
50234         * math/libm-test.inc (tgamma_test): Add more tests.
50235         * sysdeps/i386/fpu/libm-test-ulps: Update.
50236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50238 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
50240         * benchtests/bench-skeleton.c (main): Preheat CPU.
50242 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
50244         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
50246 2013-05-07  Roland McGrath  <roland@hack.frob.com>
50248         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
50249         and _dl_skip_args_internal.
50251 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
50253         * manual/message.texi (Message Translation): Talk about users.
50254         Message to key mapping impacts design.
50256 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50258         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
50260         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
50262         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
50263         * sysdeps/wordsize-64/glob64.c: ... here.
50265         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
50266         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
50267         New macros.
50269         * debug/getlogin_r_chk.c: Moved to ...
50270         * login/getlogin_r_chk.c: ... here.
50271         * debug/Makefile (routines): Move getlogin_r_chk to ...
50272         * login/Makefile (routines): ... here.
50273         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
50274         * login/Versions (libc: GLIBC_2.4): ... here.
50276         * io/poll.c (__poll): Renamed from poll.
50277         Add libc_hidden_def.
50278         (poll): Define as weak alias.
50280         * debug/ptsname_r_chk.c: Moved to ...
50281         * login/ptsname_r_chk.c: ... here.
50282         * debug/Makefile (routines): Move ptsname_r_chk to ...
50283         * login/Makefile (routines): ... here.
50284         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
50285         * login/Versions (libc: GLIBC_2.4): ... here.
50287         * posix/getlogin.c: Moved to ...
50288         * login/getlogin.c: ... here.
50289         * posix/getlogin_r.c: Moved to ...
50290         * login/getlogin_r.c: ... here.
50291         * posix/getlogin_r.c: Moved to ...
50292         * login/getlogin_r.c: ... here.
50293         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
50294         * login/Makefile (routines): ... here.
50295         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
50296         * login/Versions (libc: GLIBC_2.0): ... here.
50298         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
50299         (setrlimit): Define as weak alias.
50301         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
50302         Call __ names for open, ftruncate, and close.
50303         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
50304         (truncate): Define as weak alias.
50306 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
50308         * math/gen-libm-test.pl (parse_args): Initialize x before each
50309         test of frexp, modf and remquo.
50311         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
50312         test signgam value.
50314 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50316         [BZ #15418]
50317         [BZ #15419]
50318         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
50319         internal tests.
50320         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50322 2013-05-06  Roland McGrath  <roland@hack.frob.com>
50324         * elf/dl-writev.h: New file.
50325         * elf/dl-misc.c: Include it.
50326         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
50327         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
50329 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
50331         * math/libm-test.inc (noXFails): Remove variable.
50332         (noXPasses): Likewise.
50333         (BUILD_COMPLEX_INT): Remove macro.
50334         (print_screen): Remove xfail argument.
50335         (print_screen_max_error): Likewise.
50336         (update_stats): Likewise.
50337         (print_max_error): Likewise.  Update calls to other affected
50338         functions.
50339         (print_complex_max_error): Likewise.
50340         (test_single_exception): Update calls to print_screen.
50341         (test_single_errno): Likewise.
50342         (check_float_internal): Remove xfail argument.  Update calls to
50343         other affected functions.
50344         (check_float): Likewise.
50345         (check_complex): Likewise.
50346         (check_int): Likewise.
50347         (check_long): Likewise.
50348         (check_bool): Likewise.
50349         (check_longlong): Likewise.
50350         (main): Don't print noXFails and noXPasses.
50351         * math/gen-libm-test.pl (top level): Don't mention expected
50352         failure handling in comment.
50353         (new_test): Don't handle expected failures.
50354         (parse_args): Don't mention expected failure handling in comment.
50355         (generate_testfile): Don't handle expected failures.
50356         (parse_ulps): Likewise.
50357         (print_ulps_file): Likewise.
50358         (get_failure): Remove function.
50359         (output_test): Don't handle expected failures.
50360         * make/README.libm-test: Don't mention expected failure handling.
50362         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
50363         (minus_zero): Likewise.
50364         (plus_infty): Likewise.
50365         (minus_infty): Likewise.
50366         (qnan_value): Likewise.
50367         (max_value): Likewise.
50368         (min_value): Likewise.
50369         (min_subnorm_value): Likewise.
50370         (initialize): Do not initialize those variables dynamically.
50372 2013-05-03  Roland McGrath  <roland@hack.frob.com>
50374         * io/open.c (__open_2): Moved to ...
50375         * io/open_2.c: ... this new file.
50376         * io/open64.c (__open64_2): Moved to ...
50377         * io/open64_2.c: ... this new file.
50378         * io/openat.c (__openat_2): Moved to ...
50379         * io/openat_2.c: ... this new file.
50380         * io/openat64.c (__openat64_2): Moved to ...
50381         * io/openat64_2.c: ... this new file.
50382         * io/Makefile (routines): Add them.
50383         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
50384         * sysdeps/unix/sysv/linux/open_2.c: File removed.
50385         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
50386         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
50387         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
50388         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
50389         (__openat64): Add hidden_ver.
50390         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
50391         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
50393         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
50394         Separately conditionalize setting of GLRO(dl_sysinfo) so
50395         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
50396         as well, but the actual setting is only under [NEED_DL_SYSINFO].
50398 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50400         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
50401         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
50402         definition.
50403         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
50404         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50405         (_libc_vdso_platform_setup): Add __vdso_time initialization.
50406         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
50407         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
50409 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
50411         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
50412         test signgam value.
50414         * math/libm-test.inc (hypot_test): Do not use
50415         IGNORE_ZERO_INF_SIGN.
50417 2013-05-03  Andreas Jaeger  <aj@suse.de>
50419         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
50420         Linux 3.9.
50421         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
50422         (PF_MAX): Adjust for VSOCK change.
50424 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50428 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
50430         [BZ #15264]
50431         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
50432         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
50433         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
50435 2013-05-02  David S. Miller  <davem@davemloft.net>
50437         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50439 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
50441         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
50443 2013-05-01  Roland McGrath  <roland@hack.frob.com>
50445         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
50447 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
50449         [BZ #14952]
50450         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
50451         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50452         Use __attribute__ ((__gnu_inline__)).
50453         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
50454         Don't use __attribute__ ((__gnu_inline__)).
50456 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
50458         [BZ #15423]
50459         * math/s_catan.c (__catan): Handle small real or imaginary part of
50460         input specially to avoid spurious underflow.
50461         * math/s_catanf.c (__catanf): Likewise.
50462         * math/s_catanh.c (__catanh): Likewise.
50463         * math/s_catanhf.c (__catanhf): Likewise.
50464         * math/s_catanhl.c (__catanhl): Likewise.
50465         * math/s_catanl.c (__catanl): Likewise.
50466         * math/libm-test.inc (catan_test): Add more tests.
50467         (catanh_test): Likewise.
50468         * sysdeps/i386/fpu/libm-test-ulps: Update.
50469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50471 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50475 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
50477         [BZ #15416]
50478         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
50479         accurately for denominator in atan2.
50480         * math/s_catanf.c (__catanf): Likewise.
50481         * math/s_catanh.c (__catanh): Likewise.
50482         * math/s_catanhf.c (__catanhf): Likewise.
50483         * math/s_catanhl.c (__catanhl): Likewise.
50484         * math/s_catanl.c (__catanl): Likewise.
50485         * math/libm-test.inc (catan_test): Add more tests.
50486         (catanh_test): Likewise.
50487         * sysdeps/i386/fpu/libm-test-ulps: Update.
50488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50490 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50492         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
50494         * benchtests/Makefile (bench): Remove slow benchmarks.
50495         * benchtests/atan-inputs: Add slow benchmark inputs.
50496         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
50497         (BENCH_FUNC): Accept variant offset.
50498         (VARIANT): Define.
50499         * benchtests/bench-skeleton.c (main): Run benchmark for each
50500         variant.
50501         * benchtests/cos-inputs: Add slow benchmark inputs.
50502         * benchtests/exp-inputs: Likewise.
50503         * benchtests/pow-inputs: Likewise.
50504         * benchtests/sin-inputs: Likewise.
50505         * benchtests/slowatan-inputs: Remove.
50506         * benchtests/slowatan.c: Remove.
50507         * benchtests/slowcos-inputs: Remove.
50508         * benchtests/slowcos.c: Remove.
50509         * benchtests/slowexp-inputs: Remove.
50510         * benchtests/slowexp.c: Remove.
50511         * benchtests/slowpow-inputs: Remove.
50512         * benchtests/slowpow.c: Remove.
50513         * benchtests/slowsin-inputs: Remove.
50514         * benchtests/slowsin.c: Remove.
50515         * benchtests/slowtan-inputs: Remove.
50516         * benchtests/slowtan.c: Remove.
50517         * benchtests/tan-inputs: Add slow benchmark inputs.
50518         * scripts/bench.pl: Parse comments and directives.
50520         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
50521         in CPPFLAGS.
50522         ($(objpfx)bench-%.c): Remove *-ITER.
50523         * benchtests/bench-modf.c: Remove definition of ITER.
50524         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
50525         (main): Loop for DURATION seconds instead of fixed number of
50526         iterations.
50527         * scripts/bench.pl: Don't expect iterations in parameters.
50529 2013-04-29  Roland McGrath  <roland@hack.frob.com>
50531         * io/fchdir.c (__fchdir): Renamed from fchdir.
50532         (fchdir): Define as weak alias.
50534 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50536         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
50537         (ERRNO_EDOM): Likewise.
50538         (ERRNO_ERANGE): Likewise.
50539         (noErrnoTests): New variable.
50540         (init_max_error): Set errno to 0.
50541         (test_single_errno): New function.
50542         (test_errno): Likewise.
50543         (check_float_internal): Call test_errno.  Set errno to 0.
50544         (check_complex): Refer to errno tests in comment.
50545         (check_int): Call test_errno.  Set errno to 0.
50546         (check_long): Likewise.
50547         (check_bool): Likewise.
50548         (check_longlong): Likewise.
50549         (cos_test): Use ERRNO_* flags for errno tests instead of
50550         check_int.
50551         (expm1_test): Likewise.
50552         (fmod_test): Likewise.
50553         (ilogb_test): Likewise.
50554         (lgamma_test): Likewise.
50555         (pow_test): Likewise.
50556         (remainder_test): Likewise.
50557         (sin_test): Likewise.
50558         (tan_test): Likewise.
50559         (yn_test): Likewise.
50560         (initialize): Set errno to 0.
50561         (main): Print number of errno tests.
50562         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
50564 2013-04-29  Andreas Jaeger  <aj@suse.de>
50566         [BZ #15084]
50567         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
50568         and RES_USEVC.
50570         [BZ #15085]
50571         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
50572         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
50573         unimplemented.
50575         [BZ #15380]
50576         * stdlib/random.c (__initstate): Return NULL if
50577         __initstate fails.
50579         [BZ #15086]
50580         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
50581         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
50582         RES_SNGLKUPREOP.
50584 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50586         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50588 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
50590         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
50591         of individual tests.
50592         (casin_test): Likewise.
50593         (casinh_test): Likewise.
50595 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
50597         [BZ #15409]
50598         * math/s_catan.c (__catan): Handle arguments with large real or
50599         imaginary part separately without squaring.
50600         * math/s_catanf.c (__catanf): Likewise.
50601         * math/s_catanh.c (__catanh): Likewise.
50602         * math/s_catanhf.c (__catanhf): Likewise.
50603         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50604         and redefine.
50605         (__catanhl): Handle arguments with large real or imaginary part
50606         separately without squaring.
50607         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
50608         and redefine.
50609         (__catanl): Handle arguments with large real or imaginary part
50610         separately without squaring.
50611         * math/libm-test.inc (catan_test): Add more tests.
50612         (catanh_test): Likewise.
50613         * sysdeps/i386/fpu/libm-test-ulps: Update.
50614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50616 2013-04-27  Andreas Jaeger  <aj@suse.de>
50618         [BZ #15007]
50619         * stdlib/stdlib.h: Update guards for qecvt.
50620         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
50621         <stdlib.h>.
50623 2013-04-27  Allan McRae  <allan@archlinux.org>
50625         * sysdeps/i386/fpu/libm-test-ulps: Update.
50627 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
50629         [BZ #15406]
50630         * math/s_catan.c: Include <float.h>.
50631         (__catan): Ensure underflow exception occurs for underflowed
50632         result.
50633         * math/s_catanf.c: Include <float.h>.
50634         (__catanf): Ensure underflow exception occurs for underflowed
50635         result.
50636         * math/s_catanh.c: Include <float.h>.
50637         (__catanh): Ensure underflow exception occurs for underflowed
50638         result.
50639         * math/s_catanhf.c: Include <float.h>.
50640         (__catanhf): Ensure underflow exception occurs for underflowed
50641         result.
50642         * math/s_catanhl.c: Include <float.h>.
50643         (__catanhl): Ensure underflow exception occurs for underflowed
50644         result.
50645         * math/s_catanl.c: Include <float.h>.
50646         (__catanl): Ensure underflow exception occurs for underflowed
50647         result.
50648         * math/libm-test.inc (catan_test): Add more tests.
50649         (catanh_test): Likewise.
50651         [BZ #15405]
50652         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
50653         underflowed result.
50654         * math/s_ccoshf.c (__ccoshf): Likewise.
50655         * math/s_ccoshl.c (__ccoshl): Likewise.
50656         * math/s_csin.c (__csin): Likewise.
50657         * math/s_csinf.c (__csinf): Likewise.
50658         * math/s_csinh.c (__csinh): Likewise.
50659         * math/s_csinhf.c (__csinhf): Likewise.
50660         * math/s_csinhl.c (__csinhl): Likewise.
50661         * math/s_csinl.c (__csinl): Likewise.
50662         * math/libm-test.inc (ccos_test): Add more tests.
50663         (ccosh_test): Likewise.
50664         (csin_test): Likewise.
50665         (csinh_test): Likewise.
50667 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50669         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
50670         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
50671         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
50672         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
50673         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
50674         powerpc/power5+/fpu folders.
50675         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
50678 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
50680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50682 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
50684         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
50685         additions to variable.
50686         [$(config-machine) = x86_64] (modules-names): Likewise.
50687         ($(objpfx)tst-audit3): Remove dependency.
50688         ($(objpfx)tst-audit3.out): Likewise.
50689         ($(objpfx)tst-audit4): Likewise.
50690         ($(objpfx)tst-audit4.out): Likewise.
50691         ($(objpfx)tst-audit5): Likewise.
50692         ($(objpfx)tst-audit5.out): Likewise.
50693         ($(objpfx)tst-audit6): Likewise.
50694         ($(objpfx)tst-audit6.out): Likewise.
50695         ($(objpfx)tst-audit7): Likewise.
50696         ($(objpfx)tst-audit7.out): Likewise.
50697         (tst-audit3-ENV): Remove variable.
50698         (tst-audit4-ENV): Likewise.
50699         (tst-audit5-ENV): Likewise.
50700         (tst-audit6-ENV): Likewise.
50701         (tst-audit7-ENV): Likewise.
50702         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
50703         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
50704         addition to variable.
50705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
50706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
50707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
50708         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
50709         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
50710         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
50711         tst-audit3, tst-audit4 and tst-audit5.
50712         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
50713         tst-audit6 and tst-audit7.
50714         [$(subdir) = elf] (modules-names): Add audit modules for those
50715         tests.
50716         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
50717         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
50718         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
50719         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
50720         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
50721         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
50722         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
50723         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
50724         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
50725         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
50726         [$(subdir) = elf] (tst-audit3-ENV): New variable.
50727         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
50728         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
50729         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
50730         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
50731         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
50732         Likewise.
50733         [$(subdir) = elf && $(config-cflags-avx) = yes]
50734         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
50735         [$(subdir) = elf && $(config-cflags-avx) = yes]
50736         (CFLAGS-tst-auditmod4a.c): Likewise.
50737         [$(subdir) = elf && $(config-cflags-avx) = yes]
50738         (CFLAGS-tst-auditmod4b.c): Likewise.
50739         [$(subdir) = elf && $(config-cflags-avx) = yes]
50740         (CFLAGS-tst-auditmod6b.c): Likewise.
50741         [$(subdir) = elf && $(config-cflags-avx) = yes]
50742         (CFLAGS-tst-auditmod6c.c): Likewise.
50743         [$(subdir) = elf && $(config-cflags-avx) = yes]
50744         (CFLAGS-tst-auditmod7b.c): Likewise.
50745         * elf/tst-audit3.c: Move to ...
50746         * sysdeps/x86_64/tst-audit3.c: ... here.
50747         * elf/tst-audit4.c: Move to ...
50748         * sysdeps/x86_64/tst-audit4.c: ... here.
50749         * elf/tst-audit5.c: Move to ...
50750         * sysdeps/x86_64/tst-audit5.c: ... here.
50751         * elf/tst-audit6.c: Move to ...
50752         * sysdeps/x86_64/tst-audit6.c: ... here.
50753         * elf/tst-audit7.c: Move to ...
50754         * sysdeps/x86_64/tst-audit7.c: ... here.
50755         * elf/tst-auditmod3a.c: Move to ...
50756         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
50757         * elf/tst-auditmod3b.c: Move to ...
50758         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
50759         * elf/tst-auditmod4a.c: Move to ...
50760         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
50761         * elf/tst-auditmod4b.c: Move to ...
50762         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
50763         * elf/tst-auditmod5a.c: Move to ...
50764         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
50765         * elf/tst-auditmod5b.c: Move to ...
50766         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
50767         * elf/tst-auditmod6a.c: Move to ...
50768         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
50769         * elf/tst-auditmod6b.c: Move to ...
50770         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
50771         * elf/tst-auditmod6c.c: Move to ...
50772         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
50773         * elf/tst-auditmod7a.c: Move to ...
50774         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
50775         * elf/tst-auditmod7b.c: Move to ...
50776         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
50778 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
50780         [BZ #15366]
50781         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
50782         define unconditionally.
50783         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
50784         define unconditionally.
50785         (INT8_C, INT16_C, etc.): Likewise.
50787 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
50789         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
50790         __ehdr_start with hidden visibility.
50792         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
50794 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
50796         * math/libm-test.inc (cos_test): Use accurate hex constants.
50797         (sincost_test): Likewise.
50799 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
50801         * math/libm-test.inc (catan_test): Add more tests.
50802         (catanh_test): Likewise.
50804         * math/s_catanf.c (__catanf): Use suffixed floating-point
50805         constants.
50806         * math/s_catanhf.c (__catanhf): Likewise.
50807         * math/s_catanhl.c (__catanhl): Likewise.
50808         * math/s_catanl.c (__catanl): Likewise.
50810         [BZ #15394]
50811         * math/s_catan.c (__catan): Calculate imaginary part of result
50812         with log1p not log unless computing log of number close to 0.
50813         * math/s_catanf.c (__catanf): Likewise.
50814         * math/s_catanl.c (__catanl): Likewise.
50815         * math/s_catanh.c (__catanh): Calculate real part of result with
50816         log1p not log unless computing log of number close to 0.
50817         * math/s_catanhf.c (__catanhf): Likewise.
50818         * math/s_catanhl.c (__catanhl): Likewise.
50819         * math/libm-test.inc (catan_test): Add more tests.
50820         (catanh_test): Likewise.
50821         * sysdeps/i386/fpu/libm-test-ulps: Update.
50822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50824 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
50826         * benchtests/Makefile: Mention files in which fast and slow
50827         paths of math functions are implemented.
50829 2013-04-23  Roland McGrath  <roland@hack.frob.com>
50831         * sysdeps/posix/timespec_get.c: New file.
50833 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50835         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
50836         POWER.
50837         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
50838         for POWER.
50839         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
50840         powerpc/power5/fpu folders.
50841         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
50842         * benchtests/Makefile: Add modf testcase.
50843         * benchtests/bench-modf.c: New file: Benchmark test for mo
50845 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50847         [BZ #14888]
50848         * time/Makefile (tests): Add tst-strptime-whitespace.
50849         * time/strptime_l.c (get_number): Use ISSPACE.
50850         (__strptime_internal): Likewise.
50851         * time/tst-strptime-whitespace.c: New test case.
50853 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
50855         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
50856         member.
50857         (_nss_files_init): Set it here.
50859 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
50861         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
50862         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
50863         unsigned.
50865 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
50867         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
50869 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50871         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
50872         size just once.
50874 2013-04-21  David S. Miller  <davem@davemloft.net>
50876         * po/ru.po: Update Russion translation from translation project.
50878 2013-04-17  Adam Conrad  <adconrad@0c3.net>
50880         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
50881         and setfsgid.
50883 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
50885         * configure.in: Remove i386 configure warning. Remove i386 case.
50886         * configure: Regenerate.
50887         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
50888         Add example to error message.
50889         * sysdeps/i386/configure: Regenerate.
50891 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
50893         * benchtests/Makefile (bench): Add cos, tan, slowcos and
50894         slowtan.
50895         * benchtests/cos-inputs: New file.
50896         * benchtests/slowcos-inputs: New file.
50897         * benchtests/slowcos.c: New file.
50898         * benchtests/slowtan-inputs: New file.
50899         * benchtests/slowtan.c: New file.
50900         * benchtests/tan-inputs: New file.
50902 2013-04-16  Roland McGrath  <roland@hack.frob.com>
50904         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
50905         considered kosher.
50907 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
50909         * benchtests/Makefile: Include cppflags-iterator.mk to add
50910         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
50912         * Makefile.in (bench-clean): New target.
50913         * benchtests/Makefile (bench-clean): Likewise.
50915 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
50917         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
50919 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
50921         * stdio-common/tstdiomisc.c: Fix coding-style violation.
50923 2013-04-15  Andreas Schwab  <schwab@suse.de>
50925         * nscd/grpcache.c (cache_addgr): Properly check for short write.
50926         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50927         * nscd/pwdcache.c (cache_addpw): Likewise.
50928         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
50929         more than recsize.
50931 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50933         * benchtests/Makefile (bench): Write all output to
50934         bench-out.tmp together.
50936 2013-04-15  Andreas Schwab  <schwab@suse.de>
50938         * nscd/nscd.c (main): Don't fork again after closing files.
50940 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50942         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
50944         * benchtests/Rules (bench-deps): Collect dependencies into a
50945         single variable.  Add Makefile to dependencies.
50946         ($(objpfx)bench-%.c): Depend on bench-deps.
50948 2013-04-12  Roland McGrath  <roland@hack.frob.com>
50949             Xavier Roche  <roche+kml2@exalead.com>
50951         [BZ #15361]
50952         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
50953         just that it's a file descriptor.
50954         * manual/llio.texi (Synchronizing AIO Operations): Update description
50955         for EBADF error from aio_fsync.
50957 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50959         * Rules (bench): Move target definition...
50960         * benchtests/Makefile: ... here.
50962 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
50964         * math/libm-test.inc (cos_test): Fix PI/2 test.
50965         (sincos_test): Likewise.
50966         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
50967         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
50969 2013-04-11  Andreas Schwab  <schwab@suse.de>
50971         [BZ #13988]
50972         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
50973         accept exponent character only when digits were seen.
50974         * stdio-common/Makefile (tests): Add bug26.
50975         * stdio-common/bug26.c: New file.
50977         [BZ #14293]
50978         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
50979         non-freeable.
50981 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50983         * Makeconfig (rtld-prefix): Define built linker prefix.
50984         * Rules (run-bench): Use it.
50985         * math/Makefile (run-regen-ulps): Likewise.
50987         * Rules (bench): Remove eval.
50989 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50990             Roland McGrath  <roland@hack.frob.com>
50991             Ondrej Bilka  <neleai@seznam.cz>
50993         [BZ #15346]
50994         * time/getdate.c: Include ctype.h and alloca.h.
50995         (__getdate_r): Trim leading and trailing spaces of input.
50996         * time/tst-getdate.c (tests): Add tests with leading and
50997         trailing spaces.
50999 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51001         [BZ #14280]
51002         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51003         when computing value.
51005 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51007         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51008         Use testrun.sh to run libm tests.
51010         [BZ #15309]
51011         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51013 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51015         [BZ #15264]
51016         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51018 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51020         * Makefile.in (regen-ulps): New target.
51021         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51022         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51023         [ifneq (no,$(PERL)] (regen-ulps): New target.
51024         [ifeq (no,$(PERL)] (regen-ulps): New target.
51025         * math/libm-test.inc (ulps_file_name): Define.
51026         (output_dir): New variable.
51027         (options): Add "output-dir" option.
51028         (parse_opt): Handle 'o' case.
51029         (main): If output_dir is non-NULL use it as a prefix
51030         otherwise use "".
51031         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51033 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51035         [BZ #10060, #10062]
51036         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51037         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51038         fail configure if __sync_val_compare_and_swap is not inlined.
51039         * sysdeps/i386/configure: Regenerate.
51040         * configure.in: Build for i686 when configured for i386.
51041         * configure: Regenerate.
51042         * README: Remove i386 reference.
51044 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51046         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51047         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51049 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51051         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51052         (lmsnanval): New variables.
51053         (F): Add conversion tests.
51054         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51055         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51057         * stdio-common/tstdiomisc.c (F): Properly collect individual
51058         tests' results.
51060         [BZ #14686, #15336]
51061         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51062         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51063         Instead, use input NaN values or generate a qNaN by arithmetic
51064         operation.  Also fix bugs to comply with the standard.
51065         * math/libm-test.inc (remainder_test): Add more tests.
51067         [BZ #15335, #15342]
51068         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51070         input NaN values or generate a qNaN by arithmetic operation.
51072         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51073         unreachable code.
51075         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51076         definitions.
51078 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51080         [BZ #14478]
51081         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51082         underflowed result.
51083         * math/s_cexpf.c (__cexpf): Likewise.
51084         * math/s_cexpl.c (__cexpl): Likewise.
51085         * math/libm-test.inc (cexp_test): Add more tests.
51087 2013-04-03  Andreas Schwab  <schwab@suse.de>
51089         [BZ #15330]
51090         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51091         order arrays from heap if bigger than alloca cutoff.
51093 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51095         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51096         (SNAN_TESTS_double): Refer to GCC PR56831.
51097         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51098         GCC PR56828.
51100 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51102         * Rules (bench): Move bench.out after the run is complete.
51104         * Rules (bench): Echo currently running benchmark.
51106         * benchtests/Makefile (bench): Add atan and slowatan.
51107         * benchtests/atan-inputs: New file.
51108         * benchtests/slowatan-inputs: New file.
51109         * benchtests/slowatan.c: New file.
51111         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51112         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51113         its value.
51115         [BZ #15305]
51116         * sysdeps/unix/sysv/linux/kernel-features.h
51117         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51118         __ASSUME_XFS_RESTRICTED_CHOWN.
51119         * sysdeps/unix/sysv/linux/pathconf.c
51120         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51121         Save and restore errno.
51123 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51125         [BZ #15327]
51126         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51127         arguments using __kernel_casinh.
51128         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51129         arguments using __kernel_casinhf.
51130         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51131         arguments using __kernel_casinhl.
51132         * math/libm-test.inc (cacosh_test): Add more tests.
51133         * sysdeps/i386/fpu/libm-test-ulps: Update.
51134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51136 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51138         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51139         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51141         * bench/Makefile (bench): Add sin and slowsin.
51142         * benchtests/sin-inputs: New file.
51143         * benchtests/slowsin-inputs: New file.
51144         * benchtests/slowsin.c: New file.
51146         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51147         (bench): Add slowexp and slowpow.
51148         (exp-ITER): Increase iterations.
51149         (pow-ITER): Likewise.
51150         * benchtests/exp-inputs: Change input.
51151         * benchtests/pow-inputs: Likewise.
51152         * benchtests/slowexp-inputs: New file.
51153         * benchtests/slowexp.c: New file.
51154         * benchtests/slowpow-inputs: New file.
51155         * benchtests/slowpow.c: New file.
51157 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51159         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51160         instructions.
51161         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51162         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
51163         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
51164         * benchtests/Makefile: Add rint benchtest.
51165         * benchtests/rint-inputs: Input for rint benchtest.
51167 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
51169         * Versions.def (libm): Add GLIBC_2.18.
51170         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
51171         hidden libm prototypes.
51172         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
51173         * math/Makefile (libm-calls): Add s_issignaling.
51174         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
51175         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
51176         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
51177         declaration.
51178         * math/math.h [__USE_GNU] (issignaling): New macro.
51179         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
51180         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
51181         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
51182         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
51183         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
51184         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
51185         * manual/arith.texi (issignaling): New section.
51186         * manual/libm-err-tab.pl (@all_functions): Update comment.
51187         * math/gen-libm-test.pl (parse_args): Apply special handling for
51188         issignaling.
51189         * math/libm-test.inc (print_float, issignaling_test): New
51190         functions.
51191         (check_float_internal): Add issignaling checks.
51192         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
51193         default definition.
51194         * sysdeps/powerpc/math-tests.h: New file.
51195         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
51196         tests.
51197         * math/test-snan.c (TEST_FUNC): Likewise.
51199 2013-03-30  David S. Miller  <davem@davemloft.net>
51201         * po/de.po: Update from translation team.
51203 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
51205         [BZ #10357]
51206         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51207         imaginary part less than 1.0 and real part less than 0.5
51208         specially.
51209         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51210         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51211         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
51212         (cacos_test): Add more tests.
51213         (casin_test): Likewise.
51214         (casinh_test): Likewise.
51215         * sysdeps/i386/fpu/libm-test-ulps: Update.
51216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51218 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51220         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
51221         ONE with its value.
51223         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
51224         (__pow_mp): Replace ONE and MONE with their values.
51225         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51226         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
51227         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51228         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
51229         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51232         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
51234         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
51235         (__pow_mp): Replace ZERO and MZERO with their values.
51236         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51237         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51238         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
51239         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
51240         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51241         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
51242         (__sqr): Likewise.
51244         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
51246         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
51248 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51250         * include/stdlib.h [!SHARED] (__call_tls_dtors):
51251         Declare with __attribute__ ((weak)).
51252         * stdlib/exit.c (__libc_atexit) [!SHARED]:
51253         Call __call_tls_dtors only if it's not NULL.
51255 2013-03-28  Roland McGrath  <roland@hack.frob.com>
51257         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
51258         didn't do it already, then set _dl_phdr and _dl_phnum based on the
51259         magic __ehdr_start linker symbol if it's defined.
51260         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
51261         them up here if it was already done.
51263         * elf/dl-support.c (_dl_phdr): Make pointer to const.
51264         (_dl_aux_init): Use const in cast when setting it.
51265         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
51266         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
51267         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
51269         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
51270         Declare them here.
51271         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
51272         * csu/libc-tls.c: Nor here.
51273         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
51275         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
51276         (__libc_message): Never call vsyslog.
51278 2013-03-28  Alan Modra  <amodra@gmail.com>
51280         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
51281         Define as empty.
51282         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
51283         Likewise.
51285 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51287         [BZ #15214]
51288         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
51289         underflow.
51290         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51292 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51294         [BZ #15304]
51295         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
51296         Don't add gid passed as argument.
51298         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
51300 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
51302         [BZ #15307]
51303         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51304         imaginary part between 1.0 and 1.5 and real part less than 0.5
51305         specially.
51306         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51307         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51308         * math/libm-test.inc (cacos_test): Add more tests.
51309         (casin_test): Likewise.
51310         (casinh_test): Likewise.
51311         * sysdeps/i386/fpu/libm-test-ulps: Update.
51312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51314 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51316         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
51317         constants.
51318         (norm): Likewise.
51319         (denorm): Likewise.
51320         (__dbl_mp): Likewise.
51321         (add_magnitudes): Likewise.
51322         (sub_magnitudes): Likewise.
51323         (__add): Likewise.
51324         (__sub): Likewise.
51325         (__mul): Likewise.
51326         (__sqr): Likewise.
51327         (__inv): Likewise.
51328         (__dvd): Likewise.
51330         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
51331         commented code.
51332         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
51333         (__dubcos): Likewise.
51334         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
51335         (__ieee754_acos): Likewise.
51336         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
51337         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
51338         (__exp1): Likewise.
51339         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
51340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
51341         (log1): Likewise.
51342         (my_log2): Likewise.
51343         (checkint): Likewise.
51344         * sysdeps/ieee754/dbl-64/e_remainder.c
51345         (__ieee754_remainder): Likewise.
51346         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
51347         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
51348         (bsloww): Likewise.
51349         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
51351         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51352         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
51353         MANTISSA_STORE_T to store computations on mantissa.  Use
51354         macros for rounding and division.
51355         (denorm): Likewise.
51356         (__dbl_mp): Likewise.
51357         (add_magnitudes): Likewise.
51358         (sub_magnitudes): Likewise.
51359         (__mul): Likewise.
51360         (__sqr): Likewise.
51361         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51362         powers of two in terms of TWOPOW macro.
51363         (mp_no): Make type of mantissa as MANTISSA_T.
51364         [!RADIXI]: Define RADIXI.
51365         [!TWO52]: Define TWO52.
51366         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51368 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51370         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
51371         llroundl symbol when building for PPC32.
51373 2013-03-24  Mark H Weaver  <mhw@netris.org>
51375         * manual/arith.texi (Normalization Functions): Fix prototypes for
51376         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
51378 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51380         [BZ #13889]
51381         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
51382         high value to check if expl overflow.
51383         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
51384         to check for underflow and overflow.
51385         * math/libm-test.inc: Add exp test.
51387 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
51389         [BZ #11120]
51390         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
51391         with NOT_IN_libc.
51393 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51395         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
51396         symbol.
51398 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
51400         * math/gen-libm-test.pl (parse_args, special_functions): Properly
51401         wrap blocks consisting of several statements.
51403         * sysdeps/generic/math-tests.h: New file.
51404         * sysdeps/i386/fpu/math-tests.h: Likewise.
51405         * math/test-snan.c: Include it.
51406         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
51408 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51410         [BZ #15285]
51411         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
51412         (__ieee754_j0l): Do not improve calculations using cos of twice
51413         input for inputs above LDBL_MAX / 2.0L.
51414         (__ieee754_y0l): Likewise.
51415         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
51416         (__ieee754_j1l): Do not improve calculations using cos of twice
51417         input for inputs above LDBL_MAX / 2.0L.
51418         (__ieee754_y1l): Likewise.
51419         * math/libm-test.inc (j0_test): Add another test.
51420         (j1_test): Likewise.
51421         (y0_test): Likewise.
51422         (y1_test): Likewise.
51423         * sysdeps/i386/fpu/libm-test-ulps: Update.
51425 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51427         * Rules ($(objpfx)bench-%.c): Include code from a C source
51428         file.
51430 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
51432         [BZ #15287]
51433         * math/k_casinh.c (__kernel_casinh): Handle arguments with
51434         imaginary part 1.0 and real part less than 0.5 specially.
51435         * math/k_casinhf.c (__kernel_casinhf): Likewise.
51436         * math/k_casinhl.c (__kernel_casinhl): Likewise.
51437         * math/libm-test.inc (cacos_test): Add more tests.
51438         (casin_test): Likewise.
51439         (casinh_test): Likewise.
51440         * sysdeps/i386/fpu/libm-test-ulps: Update.
51441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51443 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51445         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
51446         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
51448 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
51450         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
51451         * config.make.in (config-cflags-sse4): Remove variable.
51452         (config-cflags-avx): Likewise.
51453         (config-cflags-sse2avx): Likewise.
51454         (config-cflags-novzeroupper): Likewise.
51455         (config-asflags-i686): Likewise.
51456         (have-mfma4): Likewise.
51457         (have-as-vis3): Likewise.
51458         (MIG): Likewise.
51459         * configure.in (MIG): Do not AC_SUBST.
51460         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
51461         (libc_cv_cc_sse4): Do not AC_SUBST.
51462         (libc_cv_cc_avx): Likewise.
51463         (libc_cv_cc_sse2avx): Likewise.
51464         (libc_cv_cc_novzeroupper): Likewise.
51465         (libc_cv_cc_fma4): Likewise.
51466         (libc_cv_as_i686): Likewise.
51467         (libc_cv_sparc_as_vis3): Likewise.
51468         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
51469         LIBC_CONFIG_VAR.
51470         (config-asflags-i686): Likewise.
51471         (config-cflags-avx): Likewise.
51472         (config-cflags-sse2avx): Likewise.
51473         (have-mfma4): Likewise.
51474         (config-cflags-novzeroupper): Likewise.
51475         * sysdeps/mach/configure.in (MIG): Likewise.
51476         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
51477         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
51478         LIBC_CONFIG_VAR.
51479         (config-cflags-avx): Likewise.
51480         (config-cflags-sse2avx): Likewise.
51481         (have-mfma4): Likewise.
51482         (config-cflags-novzeroupper): Likewise.
51483         * configure: Regenerated.
51484         * sysdeps/i386/configure: Likewise.
51485         * sysdeps/mach/configure: Likewise.
51486         * sysdeps/sparc/configure: Likewise.
51487         * sysdeps/x86_64/configure: Likewise.
51489 2013-03-20  Roland McGrath  <roland@hack.frob.com>
51491         [BZ #14812]
51492         * locale/programs/localedef.c (options): Put N_ translation marker
51493         on argument names, not just descriptions.
51495 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51497         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
51499 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
51501         [BZ #14176]
51502         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
51504 2013-03-19  Roland McGrath  <roland@hack.frob.com>
51506         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
51507         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
51508         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
51509         [!BEFORE_ABORT] (before_abort): New function.
51510         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
51511         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
51512         (writev_for_fatal): New function.
51513         (WRITEV_FOR_FATAL): New macro; call that.
51514         (backtrace_and_maps): New function.
51515         (BEFORE_ABORT): New macro; call that.
51516         (struct str_list): Type removed.
51517         (__libc_message, __libc_fatal): Functions removed.
51518         Include <sysdeps/posix/libc_fatal.c> instead.
51520 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
51522         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
51523         constants.
51524         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
51525         double constants.
51527 2013-03-19  Andreas Schwab  <schwab@suse.de>
51529         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
51530         * sysdeps/gnu/configure: Regenerate.
51532         * configure.in: Substitute libc_cv_rtlddir.
51533         * configure: Regenerate.
51534         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
51535         * Makeconfig (rtlddir, inst_rtlddir): New variables.
51536         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
51537         * elf/Makefile (install-others, CFLAGS-interp.c)
51538         (ldso_install, common-ldd-rewrite): Likewise.
51539         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
51540         $(inst_slibdir)/$(rtld-installed-name).
51541         * scripts/rellns-sh: Add -p option.
51542         * Makerules (make-shlib-link): Use rellns-sh to get relative name
51543         for source.
51545 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
51547         * manual/nptl.texi: Renamed to ...
51548         * manual/threads.texi: ... this.
51549         * manual/Makefile (chapters): Update.
51551 2013-03-18  Roland McGrath  <roland@hack.frob.com>
51553         [BZ #14812]
51554         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
51555         on argument names, not just descriptions.
51556         * malloc/memusagestat.c (options): Likewise.
51557         * nss/getent.c (options): Likewise.
51559 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
51561         [BZ #14812]
51562         * iconv/iconv_prog.c (options): Put N_ translation marker
51563         on argument names, not just descriptions.
51564         * iconv/iconvconfig.c (options): Likewise.
51566 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
51568         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
51569         implementation which is faster on all x86_64 architectures.
51570         Tested on AMD, Intel Nehalem, SNB, IVB.
51571         * sysdeps/x86_64/strnlen.S: Likewise.
51573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51574         Remove all multiarch strlen and strnlen versions.
51575         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
51576         Remove strlen and strnlen related parts.
51578         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
51579         Inline strlen part.
51580         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
51582         * sysdeps/x86_64/multiarch/strlen.S: Remove.
51583         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
51584         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
51585         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
51586         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
51587         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
51589 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
51591         * manual/memory.texi (Malloc Tunable Parameters):
51592         Sort parameters alphabetically. Add comments for missing entries.
51594 2013-03-17  David S. Miller  <davem@davemloft.net>
51596         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51598 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
51600         [BZ #15283]
51601         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
51602         for arguments at most half maximum finite value.
51603         * math/libm-test.inc (j0_test): Add more tests.
51604         (j1_test): Likewise.
51605         (y0_test): Likewise.
51606         (y1_test): Likewise.
51607         * sysdeps/i386/fpu/libm-test-ulps: Update.
51608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51610         [BZ #14155]
51611         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
51612         1 / x and functions P and Q for arguments above 0x1p256L.
51613         (__ieee754_y0l): Likewise.
51614         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
51615         (__ieee754_y1l): Likewise.
51616         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
51617         (j1_test): Likewise.
51618         (y0_test): Likewise.
51619         (y1_test): Likewise.
51621 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
51623         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
51624         variable.
51626 2013-03-15  Roland McGrath  <roland@hack.frob.com>
51628         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
51629         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
51630         zero since it's initialized to EXEC_PAGESIZE.
51632         * sysdeps/unix/sysv/linux/ldsodefs.h
51633         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
51634         * sysdeps/generic/ldsodefs.h: ... here.
51636 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
51638         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
51640         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
51641         math/test-snan.c.
51642         * math/test-snan.c: Renamed from
51643         sysdeps/powerpc/fpu/test-powerpc-snan.c.
51644         * math/Makefile (tests): Add test-snan.
51645         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
51646         test-powerpc-snan.
51648         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
51649         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
51650         functions.
51651         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
51652         __builtin_nan family of functions.
51653         * math/libm-test.inc (initialize): Initialize qnan_value with
51654         __builtin_nan family of functions.
51655         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
51656         Remove variables.
51657         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
51658         Remove functions.
51659         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
51660         storage class.  Initialize qNaN_var and sNaN_var with
51661         __builtin_nan and __builtin_nans families of functions,
51662         respectively.
51664         * math/libm-test.inc (acosh_test): Also test with qNaN input.
51665         (sqrt_test): Remove duplicate test with qNaN input.
51666         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
51667         (round_test, signbit_test, significand_test): Note missing +/-Inf
51668         as well as qNaN tests.
51670         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
51671         qNaN_var.  Fix a few strings, too.
51672         * math/libm-test.inc (nan_value): Rename to qnan_value.
51673         * math/gen-libm-test.pl (%beautify): Adjust to that.
51674         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
51675         * math/test-misc.c (main): Likewise.
51676         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
51677         to __qnan_bytes, and __qnan_union, respectively.
51678         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
51679         Likewise.
51680         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
51681         and lqnanval, respectively.
51682         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
51683         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
51684         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
51685         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
51687         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
51688         * math/test-misc.c (main) [__x86_64__]: Enable test for long
51689         doubles.
51691         * math/test-misc.c (main): Fix copy'n'pastos.
51692         * misc/tst-efgcvt.c (special): Likewise.
51694         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
51695         Remove declarations.
51697 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51699         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
51700         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
51701         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
51702         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
51704 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51706         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
51707         macro to return vdso values correctly in IFUNC implementations.
51708         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
51709         Optimization by using IFUNC.
51711 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51712             Richard Henderson  <rth@redhat.com>
51713             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
51715         * Makefile.in (bench): New target.
51716         * NEWS: Mention the benchmark framework.
51717         * Rules (bench): Likewise.
51718         (binaries-bench): Generate binaries for functions to
51719         benchmark.
51720         * benchtests/Makefile: New makefile for benchmark tests.
51721         * benchtests/bench-skeleton.c: New skeleton file for benchmark
51722         programs.
51723         * benchtests/exp-inputs: New input file for EXP function.
51724         * benchtests/pow-inputs: New input file for POW function.
51725         * scripts/bench.pl: New script to generate source files for
51726         benchmark programs.
51728 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51730         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
51731         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
51732         computations on mantissa.  Use macros for rounding and
51733         division.
51734         (denorm): Likewise.
51735         (__dbl_mp): Likewise.
51736         (add_magnitudes): Likewise.
51737         (sub_magnitudes): Likewise.
51738         (__mul): Likewise.
51739         (__sqr): Likewise.
51740         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
51741         powers of two in terms of TWOPOW macro.
51742         (mp_no): Make type of mantissa as MANTISSA_T.
51743         [!RADIXI]: Define RADIXI.
51744         [!TWO52]: Define TWO52.
51745         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
51747         * manual/nptl.texi (cindex): Modify threads to pthreads.
51749 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
51751         * sysdeps/x86_64/preconfigure: Regenerated.
51753 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
51755         [BZ #14155]
51756         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
51757         0x1p28 and above.
51758         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
51759         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
51760         0x1p28 and above.
51761         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
51762         * math/libm-test.inc (j0_test): Do not allow one spurious
51763         underflow exception.
51764         (y1_test): Likewise.
51766 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51768         * manual/Makefile (chapters): Add nptl.
51769         * manual/debug.texi (Debugging Support): Add link to Threads
51770         chapter.
51771         * manual/nptl.texi: New file.
51773         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
51775 2013-03-14  Petr Baudis  <pasky@ucw.cz>
51777         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
51778         for non-NULL pointer before the memory validity test. Pointed
51779         out by Holger Brunck <holger.brunck@keymile.com>.
51781 2013-03-13  Andreas Schwab  <schwab@suse.de>
51783         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
51784         instead of .os.
51786 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
51788         * timezone/zic.c: Update from tzcode 2013b.
51790 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
51792         * manual/install.texi (Configuring and compiling):
51793         Mention i686 and i586.
51794         * INSTALL: Regenerate.
51796 2013-03-12  Roland McGrath  <roland@hack.frob.com>
51798         * sysdeps/init_array/elf-init.c: New file.
51799         * csu/elf-init.c
51800         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
51801         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
51803         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
51804         __gmon_start__ as global, but as static with a .preinit_array pointer.
51805         * sysdeps/init_array/gmon-start.c: New file.  Use that.
51806         * sysdeps/init_array/crti.S: New file, empty except for comments.
51807         * sysdeps/init_array/crtn.S: Likewise.
51809 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
51811         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
51812         definining bcopy.
51813         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51814         Remove Prefer_SSE_for_memop.
51815         * sysdeps/x86_64/multiarch/init-arch.h: Remove
51816         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
51817         HAS_PREFER_SSE_FOR_MEMOP.
51818         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
51819         memset-x86-64.
51820         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51821         Remove bzero, memset ifunc support.
51822         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
51823         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
51824         * sysdeps/x86_64/multiarch/memset.S: Likewise.
51825         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
51827 2013-03-11  Andreas Schwab  <schwab@suse.de>
51829         [BZ #15234]
51830         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
51831         by SHLIB_COMPAT.
51832         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
51833         (GLIBC_2.16): Remove pthread_atfork.
51835 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
51837         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
51838         (ptestcases.h): Likewise.
51840 2013-03-08  Roland McGrath  <roland@hack.frob.com>
51842         * Makeconfig ($(common-objpfx)config.status): Depend on
51843         sysdeps/*/preconfigure{,.in} too.
51845 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
51847         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
51848         (__free_hook): Use void * instead of __malloc_ptr_t.
51849         (__malloc_hook): Likewise.
51850         (__realloc_hook): Likewise.
51851         (__memalign_hook): Likewise.
51852         (__after_morecore_hook): Likewise.
51853         * malloc/arena.c (save_malloc_hook): Likewise.
51854         (save_free_hook): Likewise.
51855         * malloc/hooks.c (malloc_hook_ini): Likewise.
51856         (realloc_hook_ini): Likewise.
51857         (memalign_hook_ini): Likewise.
51858         * malloc/malloc.c (malloc_hook_ini): Likewise.
51859         (realloc_hook_ini): Likewise.
51860         (memalign_hook_ini): Likewise.
51861         (__free_hook): Likewise.
51862         (__malloc_hook): Likewise.
51863         (__realloc_hook): Likewise.
51864         (__memalign_hook): Likewise.
51865         (__libc_malloc): Likewise.
51866         (__libc_free): Likewise.
51867         (__libc_realloc): Likewise.
51868         (__libc_memalign): Likewise.
51869         (__libc_valloc): Likewise.
51870         (__libc_pvalloc): Likewise.
51871         (__libc_calloc): Likewise.
51872         (__posix_memalign): Likewise.
51873         * malloc/morecore.c (__sbrk): Likewise.
51874         (__default_morecore): Likewise.
51876         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
51878         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
51879         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
51880         __malloc_ptrdiff_t.
51882         * malloc/malloc.h (__malloc_size_t): Remove macro.
51883         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
51884         __malloc_size_t.
51885         (old_memalign_hook): Likewise.
51886         (old_realloc_hook): Likewise.
51887         (struct hdr): Likewise.
51888         (flood): Likewise.
51889         (mallochook): Likewise.
51890         (memalignhook): Likewise.
51891         (reallochook): Likewise.
51892         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
51893         (tr_old_realloc_hook): Likewise.
51894         (tr_old_memalign_hook): Likewise.
51895         (tr_mallochook): Likewise.
51896         (tr_reallochook): Likewise.
51897         (tr_memalignhook): Likewise.
51899 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51901         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
51902         default_ldbl_pack and using as default implementation.
51903         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
51904         implementation.
51905         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
51906         redundant definition.
51907         (ldbl_insert_mantissa): Likewise.
51908         (ldbl_canonicalize): Likewise.
51909         (ldbl_nearbyint): Likewise.
51910         (ldbl_pack): Rename to ldbl_pack_ppc.
51911         (ldbl_unpack): Rename to ldbl_unpack_ppc.
51912         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
51913         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
51915 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
51917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
51918         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
51919         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
51920         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
51921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
51922         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
51923         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
51924         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
51926 2013-03-07  Andreas Jaeger  <aj@suse.de>
51928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51929         bits/mman-linux.h.
51931 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
51933         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
51934         Include mpa.h and declare __MPEXP.
51935         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
51936         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51937         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51938         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
51939         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51940         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
51941         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
51943         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
51944         (__slowpow): Use long double EXPL and LOGL functions to
51945         compute POW.
51946         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
51947         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51948         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
51949         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
51950         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
51951         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
51953         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
51954         intermediate variable to calculate exponent.
51955         (__sqr): Likewise.
51956         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
51957         Likewise.
51958         (__sqr): Likewise.
51960         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
51961         [!NO__SQR]: Define __sqr.
51962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
51963         and NO__SQR.  Remove all code except __mul and __sqr.  Include
51964         sysdeps/ieee754/dbl-64/mpa.c.
51965         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
51967         [BZ #12723]
51968         * posix/Makefile (tests): Add tst-pathconf.
51969         * posix/tst-pathconf.c: New test case.
51970         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
51971         _PC_PIPE_BUF.
51972         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
51974 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
51976         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
51978 2013-03-06  Andreas Jaeger  <aj@suse.de>
51980         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
51981         definition via __MAP_ANONYMOUS.
51983         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
51984         it's not part of Linux headers.
51986         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
51987         (MAP_HUGE_MASK): Define.
51989         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51990         Define.
51991         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51992         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51993         Define.
51994         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51995         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
51996         Define.
51997         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
51998         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
51999         Define.
52000         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52002         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52003         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52004         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52005         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52006         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52007         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52009         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52010         Handle f2fs.
52012         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52013         Handle f2fs and efivarfs.
52015         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52016         f2fs.
52018         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52019         (EFIVARFS_MAGIC): Add.
52020         (F2FS_LINK_MAX): Add.
52022 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52024         * stdio-common/vfprintf.c: Replace __builtin_expect with
52025         __glibc_unlikely.
52027 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52029         [BZ #13550]
52030         * sysdeps/generic/bp-sym.h: Remove file.
52031         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52032         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52033         <bp-sym.h> and <bp-asm.h>.
52034         (__longjmp): Don't use BP_SYM.
52035         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52036         and <bp-asm.h>.
52037         (memcpy): Don't use BP_SYM.
52038         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52039         <bp-sym.h> and <bp-asm.h>.
52040         (memcpy): Don't use BP_SYM.
52041         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52042         <bp-asm.h>.
52043         (memcpy): Don't use BP_SYM.
52044         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52045         <bp-asm.h>.
52046         (memset): Don't use BP_SYM.
52047         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52048         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52049         (__bzero): Don't use BP_SYM.
52050         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52051         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52052         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52053         <bp-sym.h> and <bp-asm.h>.
52054         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52055         pointers.
52056         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52057         <bp-sym.h> and <bp-asm.h>.
52058         (memcpy): Don't use BP_SYM.
52059         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52060         <bp-sym.h> and <bp-asm.h>.
52061         (memset): Don't use BP_SYM.
52062         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52063         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52064         (__bzero): Don't use BP_SYM.
52065         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52066         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52067         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52068         <bp-sym.h> and <bp-asm.h>.
52069         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52070         pointers.
52071         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52072         <bp-sym.h> and <bp-asm.h>.
52073         (memcpy): Don't use BP_SYM.
52074         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52075         <bp-sym.h> and <bp-asm.h>.
52076         (memset): Don't use BP_SYM.
52077         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52078         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52079         (__bzero): Don't use BP_SYM.
52080         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52081         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52082         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52083         <bp-sym.h> and <bp-asm.h>.
52084         (__memchr): Don't use BP_SYM.
52085         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52086         <bp-sym.h> and <bp-asm.h>.
52087         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52088         pointers.
52089         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52090         <bp-sym.h> and <bp-asm.h>.
52091         (memcpy): Don't use BP_SYM.
52092         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52093         <bp-sym.h> and <bp-asm.h>.
52094         (__mempcpy): Don't use BP_SYM.
52095         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52096         <bp-sym.h> and <bp-asm.h>.
52097         (__memrchr): Don't use BP_SYM.
52098         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52099         <bp-sym.h> and <bp-asm.h>.
52100         (memset): Don't use BP_SYM.
52101         (__bzero): Likewise.
52102         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52103         <bp-sym.h> and <bp-asm.h>.
52104         (__rawmemchr): Don't use BP_SYM.
52105         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52106         <bp-sym.h> and <bp-asm.h>.
52107         (__STRCMP): Don't use BP_SYM.
52108         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52109         <bp-sym.h> and <bp-asm.h>.
52110         (strchr): Don't use BP_SYM.
52111         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52112         <bp-sym.h> and <bp-asm.h>.
52113         (__strchrnul): Don't use BP_SYM.
52114         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52115         <bp-sym.h> and <bp-asm.h>.
52116         (strlen): Don't use BP_SYM.
52117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52118         <bp-sym.h> and <bp-asm.h>.
52119         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52120         pointers.
52121         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52122         <bp-sym.h> and <bp-asm.h>.
52123         (__strnlen): Don't use BP_SYM.
52124         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52125         <bp-sym.h> and <bp-asm.h>.
52126         (__GI__setjmp): Don't use BP_SYM.
52127         (_setjmp): Likewise.
52128         (__sigsetjmp): Likewise.
52129         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52130         (L(start_addresses)): Don't use BP_SYM.
52131         (_start): Likewise.
52132         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52133         <bp-asm.h>.
52134         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52135         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52136         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52137         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52138         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52139         <bp-asm.h>.
52140         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52141         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52142         about bounded pointers.
52143         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52144         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52145         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52146         <bp-asm.h>.
52147         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52148         about bounded pointers.  Remove GKM FIXME comments.
52149         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52150         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52151         <bp-asm.h>.
52152         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52153         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52154         Remove GKM FIXME comments.
52155         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52156         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52157         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52158         <bp-asm.h>.
52159         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52160         about bounded pointers.  Remove GKM FIXME comment.
52161         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52162         and <bp-asm.h>.
52163         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52164         pointers.
52165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
52166         <bp-sym.h> and <bp-asm.h>.
52167         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
52169         <bp-sym.h> and <bp-asm.h>.
52170         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52171         comment.
52173 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52175         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
52176         call free(NULL).
52178 2013-03-05  David S. Miller  <davem@davemloft.net>
52180         * po/es.po: Update from translation team.
52182 2013-03-05  Andreas Jaeger  <aj@suse.de>
52184         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
52185         <bits/mman-linux.h>.
52186         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52187         is fine.
52188         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
52189         <bits/mman-linux.h> to end of file.
52190         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52191         is fine.
52192         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
52193         <bits/mman-linux.h> to end of file.
52194         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
52195         is fine.
52196         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
52197         <bits/mman-linux.h> to end of file.
52199         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
52200         (MCL_CURRENT, MCL_FUTURE): Define here.
52202 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52204         [BZ #15232]
52205         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
52206         attribute_hidden.
52207         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
52209 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52211         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
52212         fourth parameter needed for rt_sigprocmask syscall.
52213         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
52214         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52215         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
52216         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52217         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52218         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
52220 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
52222         [BZ #13550]
52223         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
52224         comment about bounded pointers.
52225         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
52226         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
52228 2013-03-04  Andreas Jaeger  <aj@suse.de>
52230         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
52231         common definitions.
52233         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
52234         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
52235         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
52236         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
52237         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
52238         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
52240 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52242         [BZ #15055]
52243         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
52244         __ieee754_sqrl instead of __sqrl.
52246 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
52248         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
52249         * sysdeps/powerpc/fpu_control.h: ... here.
52250         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
52251         * sysdeps/powerpc/bits/fenvinline.h: ... here.
52252         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
52253         * sysdeps/powerpc/bits/mathinline.h: ... here.
52255 2013-03-01  Roland McGrath  <roland@hack.frob.com>
52257         * elf/dl-hwcaps.c (_dl_important_hwcaps):
52258         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
52259         to just [NEED_DL_SYSINFO_DSO].
52260         * elf/dl-support.c: Likewise.
52261         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
52262         * elf/rtld.c (dl_main): Likewise.
52263         * elf/setup-vdso.h (setup_vdso): Likewise.
52264         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
52265         * sysdeps/unix/sysv/linux/dl-sysdep.c
52266         (_dl_discover_osversion): Likewise.
52268 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
52270         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
52271         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52273 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
52275         * NEWS: Mention libm performance improvements and non-x86 PI
52276         futex support.
52278         * csu/libc-start.c (__pthread_initialize_minimal): Change
52279         function arguments.
52280         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
52282 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
52284         [BZ #13550]
52285         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
52286         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
52287         <bp-sym.h> and <bp-asm.h>.
52288         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52289         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
52290         and <bp-asm.h>.
52291         (memcpy): Don't use BP_SYM.
52292         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
52293         <bp-asm.h>.
52294         (__mpn_add_n): Don't use BP_SYM.
52295         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
52296         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
52297         and <bp-asm.h>.
52298         (__mpn_addmul_1): Don't use BP_SYM.
52299         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52300         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
52301         <bp-sym.h>.
52302         (_setjmp): Don't use BP_SYM.
52303         (__novmx_setjmp): Likewise.
52304         (__GI__setjmp): Likewise.
52305         (__vmx_setjmp): Likewise.
52306         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
52307         <bp-sym.h>.
52308         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
52309         (__bzero): Don't use BP_SYM.
52310         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52311         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52312         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
52313         <bp-sym.h> and <bp-asm.h>.
52314         (memcpy): Don't use BP_SYM.
52315         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
52316         <bp-sym.h> and <bp-asm.h>.
52317         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52318         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
52319         <bp-sym.h> and <bp-asm.h>.
52320         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
52321         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
52322         <bp-asm.h>.
52323         (__mpn_lshift): Don't use BP_SYM.
52324         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52325         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
52326         <bp-asm.h>.
52327         (memset): Don't use BP_SYM.
52328         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52329         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52330         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
52331         <bp-asm.h>.
52332         (__mpn_mul_1): Don't use BP_SYM.
52333         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52334         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
52335         <bp-sym.h> and <bp-asm.h>.
52336         (memcmp): Don't use BP_SYM.
52337         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
52338         <bp-sym.h> and <bp-asm.h>.
52339         (memcpy): Don't use BP_SYM.
52340         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
52341         <bp-sym.h> and <bp-asm.h>.
52342         (memset): Don't use BP_SYM.
52343         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
52344         <bp-sym.h> and <bp-asm.h>.
52345         (strncmp): Don't use BP_SYM.
52346         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
52347         <bp-sym.h> and <bp-asm.h>.
52348         (memcpy): Don't use BP_SYM.
52349         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
52350         <bp-sym.h> and <bp-asm.h>.
52351         (memset): Don't use BP_SYM.
52352         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
52353         <bp-sym.h> and <bp-asm.h>.
52354         (__memchr): Don't use BP_SYM.
52355         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
52356         <bp-sym.h> and <bp-asm.h>.
52357         (memcmp): Don't use BP_SYM.
52358         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
52359         <bp-sym.h> and <bp-asm.h>.
52360         (memcpy): Don't use BP_SYM.
52361         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
52362         <bp-sym.h> and <bp-asm.h>.
52363         (__mempcpy): Don't use BP_SYM.
52364         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
52365         <bp-sym.h> and <bp-asm.h>.
52366         (__memrchr): Don't use BP_SYM.
52367         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
52368         <bp-sym.h> and <bp-asm.h>.
52369         (memset): Don't use BP_SYM.
52370         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
52371         <bp-sym.h> and <bp-asm.h>.
52372         (__rawmemchr): Don't use BP_SYM.
52373         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
52374         <bp-sym.h> and <bp-asm.h>.
52375         (__STRCMP): Don't use BP_SYM.
52376         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
52377         <bp-sym.h> and <bp-asm.h>.
52378         (strchr): Don't use BP_SYM.
52379         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
52380         <bp-sym.h> and <bp-asm.h>.
52381         (__strchrnul): Don't use BP_SYM.
52382         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
52383         <bp-sym.h> and <bp-asm.h>.
52384         (strlen): Don't use BP_SYM.
52385         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
52386         <bp-sym.h> and <bp-asm.h>.
52387         (strncmp): Don't use BP_SYM.
52388         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
52389         <bp-sym.h> and <bp-asm.h>.
52390         (__strnlen): Don't use BP_SYM.
52391         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
52392         <bp-asm.h>.
52393         (__mpn_rshift): Don't use BP_SYM.
52394         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
52395         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
52396         <bp-sym.h> and <bp-asm.h>.
52397         (__sigsetjmp): Don't use BP_SYM.
52398         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
52399         (L(start_addresses)): Don't use BP_SYM.
52400         (_start): Likewise.
52401         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
52402         <bp-asm.h>.
52403         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
52404         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52405         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52406         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
52407         <bp-asm.h>.
52408         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
52409         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52410         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52411         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
52412         <bp-asm.h>.
52413         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52414         comments.
52415         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52416         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
52417         <bp-asm.h>.
52418         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
52419         FIXME comments.
52420         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52421         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52422         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
52423         <bp-asm.h>.
52424         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
52425         comment.
52426         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
52427         and <bp-asm.h>.
52428         (strncmp): Don't use BP_SYM,
52429         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
52430         <bp-asm.h>.
52431         (__mpn_sub_n): Don't use BP_SYM.
52432         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
52433         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
52434         and <bp-asm.h>.
52435         (__mpn_submul_1): Don't use BP_SYM.
52436         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
52437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
52438         <bp-sym.h> and <bp-asm.h>.
52439         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
52440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
52441         <bp-sym.h> and <bp-asm.h>.
52442         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
52443         comment.
52445 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
52448         Use ZK to minimize writes to Z.
52449         (sub_magnitudes): Simplify code a bit.
52450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
52451         Use ZK to minimize writes to Z.
52452         (sub_magnitudes): Simplify code a bit.
52454 2013-02-27  Roland McGrath  <roland@hack.frob.com>
52456         * csu/gmon-start.c: Add special exception to license text.
52458 2013-02-27  Richard Henderson  <rth@redhat.com>
52460         * scripts/config.guess: Update from config.git.
52461         * scripts/config.sub: Likewise.
52463 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
52465         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
52467         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
52469         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
52471         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
52473         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
52475 2013-02-26  Roland McGrath  <roland@hack.frob.com>
52477         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
52478         [$(build-shared = yes].
52480 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52482         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
52483         (__mul): Reduce iterations for calculating mantissa.
52485         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
52486         MPTWO.
52487         (__mpranred): Likewise.
52489         [BZ #15160]
52490         * malloc/memusagestat.c (main): Draw graphs for heap and stack
52491         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
52493 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
52495         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
52496         Define __attribute__.
52498 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52500         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
52501         unused.
52502         * posix/regex_internal.h (__attribute): Remove.
52503         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
52504         (re_string_context_at): Likewise.
52505         (bitset_not): Use __attribute__ and mark function as possibly
52506         unused.
52507         (bitset_merge): Likewise.
52508         (bitset_mask): Likewise.
52509         (re_string_char_size_at): Likewise.
52510         (re_string_wchar_at): Likewise.
52511         (re_string_elem_size_at): Likewise.
52513 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
52515         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
52516         code.
52517         (cc32): Likewise.
52519         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
52520         (__acr): Likewise.
52521         (__cpy): Likewise.
52522         (norm): Likewise.
52523         (denorm): Likewise.
52524         (__dbl_mp): Likewise.
52525         (add_magnitudes): Likewise.
52526         (sub_magnitudes): Likewise.
52527         (__mul): Likewise.
52528         (__inv): Likewise.
52530         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
52531         style.
52533         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
52534         style.
52536         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
52537         code.
52539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
52540         up changes with default code.
52541         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
52542         Likewise.
52544 2013-02-24  Allan McRae  <allan@archlinux.org>
52546         * manual/socket.texi (The Internet Namespace): Order menu items
52547         to match that in the file.
52549         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
52550         node listing of the info page menu.
52552 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
52554         [BZ #13550]
52555         * sysdeps/i386/bp-asm.h: Remove file.
52556         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52557         (PARMS): Do not use macros from bp-asm.h.
52558         (S1): Likewise.
52559         (S2): Likewise.
52560         (SIZE): Likewise.
52561         (__mpn_add_n): Do not use BP_SYM
52562         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
52563         "bp-asm.h".
52564         (PARMS): Do not use macros from bp-asm.h.
52565         (S1): Likewise.
52566         (SIZE): Likewise.
52567         (__mpn_addmul_1): Do not use BP_SYM
52568         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
52569         "bp-asm.h".
52570         (PARMS): Do not use macros from bp-asm.h.
52571         (SIGMSK): Likewise.
52572         (_setjmp): Likewise.  Do not use BP_SYM.
52573         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
52574         "bp-asm.h".
52575         (PARMS): Do not use macros from bp-asm.h.
52576         (SIGMSK): Likewise.
52577         (setjmp): Likewise.  Do not use BP_SYM.
52578         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
52579         "bp-asm.h".
52580         (PARMS): Do not use macros from bp-asm.h.
52581         (__frexp): Do not use BP_SYM.
52582         (frexp): Likewise.
52583         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
52584         "bp-asm.h".
52585         (PARMS): Do not use macros from bp-asm.h.
52586         (__frexpf): Do not use BP_SYM.
52587         (frexpf): Likewise.
52588         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
52589         "bp-asm.h".
52590         (PARMS): Do not use macros from bp-asm.h.
52591         (__frexpl): Do not use BP_SYM.
52592         (frexpl): Likewise.
52593         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
52594         "bp-asm.h".
52595         (PARMS): Do not use macros from bp-asm.h.
52596         (__remquo): Do not use BP_SYM.
52597         (remquo): Likewise.
52598         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
52599         "bp-asm.h".
52600         (PARMS): Do not use macros from bp-asm.h.
52601         (__remquof): Do not use BP_SYM.
52602         (remquof): Likewise.
52603         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
52604         "bp-asm.h".
52605         (PARMS): Do not use macros from bp-asm.h.
52606         (__remquol): Do not use BP_SYM.
52607         (remquol): Likewise.
52608         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
52609         "bp-asm.h".
52610         (PARMS): Do not use macros from bp-asm.h.
52611         (DEST): Likewise.
52612         (SRC): Likewise.
52613         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
52614         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
52615         "bp-asm.h".
52616         (PARMS): Do not use macros from bp-asm.h.
52617         (strlen): Do not use BP_SYM.
52618         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
52619         "bp-asm.h".
52620         (PARMS): Do not use macros from bp-asm.h.
52621         (S1): Likewise.
52622         (S2): Likewise.
52623         (SIZE): Likewise.
52624         (__mpn_add_n): Do not use BP_SYM.
52625         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
52626         "bp-asm.h".
52627         (PARMS): Do not use macros from bp-asm.h.
52628         (S1): Likewise.
52629         (SIZE): Likewise.
52630         (__mpn_addmul_1): Do not use BP_SYM.
52631         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
52632         weak_alias.
52633         (bzero): Likewise.
52634         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
52635         "bp-asm.h".
52636         (PARMS): Do not use macros from bp-asm.h.
52637         (S): Likewise.
52638         (SIZE): Likewise.
52639         (__mpn_lshift): Do not use BP_SYM.
52640         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
52641         "bp-asm.h".
52642         (PARMS): Do not use macros from bp-asm.h.
52643         (DEST): Likewise.
52644         (SRC): Likewise.
52645         (LEN): Likewise.
52646         (memcpy): Likewise.  Do not use BP_SYM.
52647         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
52648         libc_hidden_def and weak_alias.
52649         (mempcpy): Do not use BP_SYM in weak_alias.
52650         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
52651         "bp-asm.h".
52652         (PARMS): Do not use macros from bp-asm.h.
52653         (DEST): Likewise.
52654         (LEN): Likewise.
52655         [!BZERO_P] (CHR): Likewise.
52656         (memset): Likewise.  Do not use BP_SYM.
52657         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
52658         "bp-asm.h".
52659         (PARMS): Do not use macros from bp-asm.h.
52660         (S1): Likewise.
52661         (SIZE): Likewise.
52662         (__mpn_mul_1): Do not use BP_SYM.
52663         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
52664         "bp-asm.h".
52665         (PARMS): Do not use macros from bp-asm.h.
52666         (S): Likewise.
52667         (SIZE): Likewise.
52668         (__mpn_rshift): Do not use BP_SYM.
52669         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
52670         "bp-asm.h".
52671         (PARMS): Do not use macros from bp-asm.h.
52672         (STR): Likewise.
52673         (CHR): Likewise.
52674         (strchr): Likewise.  Do not use BP_SYM.
52675         (index): Do not use BP_SYM in weak_alias.
52676         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
52677         "bp-asm.h".
52678         (PARMS): Do not use macros from bp-asm.h.
52679         (DEST): Likewise.
52680         (SRC): Likewise.
52681         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
52682         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
52683         "bp-asm.h".
52684         (PARMS): Do not use macros from bp-asm.h.
52685         (strlen): Do not use BP_SYM.
52686         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
52687         "bp-asm.h".
52688         (PARMS): Do not use macros from bp-asm.h.
52689         (S1): Likewise.
52690         (S2): Likewise.
52691         (SIZE): Likewise.
52692         (__mpn_sub_n): Do not use BP_SYM.
52693         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
52694         "bp-asm.h".
52695         (PARMS): Do not use macros from bp-asm.h.
52696         (S1): Likewise.
52697         (SIZE): Likewise.
52698         (__mpn_submul_1): Do not use BP_SYM.
52699         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
52700         "bp-asm.h".
52701         (PARMS): Do not use macros from bp-asm.h.
52702         (S1): Likewise.
52703         (S2): Likewise.
52704         (SIZE): Likewise.
52705         (__mpn_add_n): Do not use BP_SYM.
52706         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
52707         weak_alias.
52708         (bzero): Likewise.
52709         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
52710         "bp-asm.h".
52711         (PARMS): Do not use macros from bp-asm.h.
52712         (BLK2): Likewise.
52713         (LEN): Likewise.
52714         (memcmp): Do not use BP_SYM.
52715         (bcmp): Do not use BP_SYM in weak_alias.
52716         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
52717         "bp-asm.h".
52718         (PARMS): Do not use macros from bp-asm.h.
52719         (DEST): Likewise.
52720         (SRC): Likewise.
52721         (LEN): Likewise.
52722         (memcpy): Likewise.  Do not use BP_SYM.
52723         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
52724         "bp-asm.h".
52725         (PARMS): Do not use macros from bp-asm.h.
52726         (DEST): Likewise.
52727         (SRC): Likewise.
52728         (LEN): Likewise.
52729         (memmove): Likewise.  Do not use BP_SYM.
52730         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
52731         "bp-asm.h".
52732         (PARMS): Do not use macros from bp-asm.h.
52733         (DEST): Likewise.
52734         (SRC): Likewise.
52735         (LEN): Likewise.
52736         (__mempcpy): Likewise.  Do not use BP_SYM.
52737         (mempcpy): Do not use BP_SYM in weak_alias.
52738         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
52739         "bp-asm.h".
52740         (PARMS): Do not use macros from bp-asm.h.
52741         (DEST): Likewise.
52742         (LEN): Likewise.
52743         [!BZERO_P] (CHR): Likewise.
52744         (memset): Likewise.  Do not use BP_SYM.
52745         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
52746         "bp-asm.h".
52747         (PARMS): Do not use macros from bp-asm.h.
52748         (STR2): Likewise.
52749         (strcmp): Do not use BP_SYM.
52750         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
52751         "bp-asm.h".
52752         (PARMS): Do not use macros from bp-asm.h.
52753         (STR): Likewise.
52754         (DELIM): Likewise.
52755         [USE_AS_STRTOK_R] (SAVE): Likewise.
52756         (FUNCTION): Likewise.  Do not use BP_SYM.
52757         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
52758         aliases.
52759         (strtok_r): Likewise.
52760         (__GI___strtok_r): Likewise.
52761         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52762         (PARMS): Do not use macros from bp-asm.h.
52763         (S): Likewise.
52764         (SIZE): Likewise.
52765         (__mpn_lshift): Do not use BP_SYM.
52766         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52767         (PARMS): Do not use macros from bp-asm.h.
52768         (STR): Likewise.
52769         (CHR): Likewise.
52770         (__memchr): Do not use BP_SYM.
52771         (memchr): Do not use BP_SYM in weak_alias.
52772         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52773         (PARMS): Do not use macros from bp-asm.h.
52774         (BLK2): Likewise.
52775         (LEN): Likewise.
52776         (memcmp): Do not use BP_SYM.
52777         (bcmp): Do not use BP_SYM in weak_alias.
52778         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
52779         (PARMS): Do not use macros from bp-asm.h.
52780         (S1): Likewise.
52781         (SIZE): Likewise.
52782         (__mpn_mul_1): Do not use BP_SYM.
52783         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
52784         "bp-asm.h".
52785         (PARMS): Do not use macros from bp-asm.h.
52786         (STR): Likewise.
52787         (CHR): Likewise.
52788         (__rawmemchr): Do not use BP_SYM.
52789         (rawmemchr): Do not use BP_SYM in weak_alias.
52790         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
52791         (PARMS): Do not use macros from bp-asm.h.
52792         (S): Likewise.
52793         (SIZE): Likewise.
52794         (__mpn_rshift): Do not use BP_SYM.
52795         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
52796         (PARMS): Do not use macros from bp-asm.h.
52797         (SIGMSK): Likewise.
52798         (__sigsetjmp): Likewise.  Do not use BP_SYM.
52799         * sysdeps/i386/start.S: Do not include "bp-sym.h".
52800         (_start): Do not use BP_SYM.
52801         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
52802         (PARMS): Do not use macros from bp-asm.h.
52803         (DEST): Likewise.
52804         (SRC): Likewise.
52805         (__stpcpy): Likewise.  Do not use BP_SYM.
52806         (stpcpy): Do not use BP_SYM in weak_alias.
52807         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
52808         "bp-asm.h".
52809         (PARMS): Do not use macros from bp-asm.h.
52810         (DEST): Likewise.
52811         (SRC): Likewise.
52812         (LEN): Likewise.
52813         (__stpncpy): Likewise.  Do not use BP_SYM.
52814         (stpncpy): Do not use BP_SYM in weak_alias.
52815         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
52816         (PARMS): Do not use macros from bp-asm.h.
52817         (STR): Likewise.
52818         (CHR): Likewise.
52819         (strchr): Likewise.  Do not use BP_SYM.
52820         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
52821         "bp-asm.h".
52822         (PARMS): Do not use macros from bp-asm.h.
52823         (STR): Likewise.
52824         (CHR): Likewise.
52825         (__strchrnul): Likewise.  Do not use BP_SYM.
52826         (strchrnul): Do not use BP_SYM in weak_alias.
52827         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
52828         "bp-asm.h".
52829         (PARMS): Do not use macros from bp-asm.h.
52830         (STOP): Likewise.
52831         (strcspn): Do not use BP_SYM.
52832         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
52833         "bp-asm.h".
52834         (PARMS): Do not use macros from bp-asm.h.
52835         (STR): Likewise.
52836         (STOP): Likewise.
52837         (strpbrk): Likewise.  Do not use BP_SYM.
52838         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
52839         "bp-asm.h".
52840         (PARMS): Do not use macros from bp-asm.h.
52841         (STR): Likewise.
52842         (CHR): Likewise.
52843         (strrchr): Likewise.  Do not use BP_SYM.
52844         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
52845         (PARMS): Do not use macros from bp-asm.h.
52846         (SKIP): Likewise.
52847         (strspn): Do not use BP_SYM.
52848         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
52849         (PARMS): Do not use macros from bp-asm.h.
52850         (STR): Likewise.
52851         (DELIM): Likewise.
52852         (SAVE): Likewise.
52853         (FUNCTION): Likewise.  Do not use BP_SYM.
52854         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
52855         aliases.
52856         (strtok_r): Likewise.
52857         (__GI___strtok_r): Likewise.
52858         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
52859         (PARMS): Do not use macros from bp-asm.h.
52860         (S1): Likewise.
52861         (S2): Likewise.
52862         (SIZE): Likewise.
52863         (__mpn_sub_n): Do not use BP_SYM.
52864         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
52865         "bp-asm.h".
52866         (PARMS): Do not use macros from bp-asm.h.
52867         (S1): Likewise.
52868         (SIZE): Likewise.
52869         (__mpn_submul_1): Do not use BP_SYM.
52870         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
52871         <bp-sym.h>.
52872         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
52873         and <bp-asm.h>.
52874         (PARMS): Do not use macros from bp-asm.h.
52875         (FLAGS): Likewise.
52876         (PTID): Likewise.
52877         (TLS): Likewise.
52878         (CTID): Likewise.
52879         (__clone): Do not use BP_SYM.
52880         (clone): Do not use BP_SYM in weak_alias.
52881         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
52882         and <bp-asm.h>.
52883         (PARMS): Do not use macros from bp-asm.h.
52884         (LEN): Likewise.
52885         (__mmap64): Do not use BP_SYM.
52886         (mmap64): Do not use BP_SYM in weak_alias.
52887         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
52888         <bp-sym.h> and <bp-asm.h>.
52889         (PARMS): Do not use macros from bp-asm.h.
52890         (__posix_fadvise64_l64): Do not use BP_SYM.
52891         * sysdeps/unix/sysv/linux/i386/semtimedop.S
52892         (PARMS): Do not use macros from bp-asm.h.
52893         (NSOPS): Likewise.
52894         (semtimedop): Do not use BP_SYM.
52895         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
52896         and <bp-asm.h>.
52898 2013-02-21  Allan McRae  <allan@archlinux.org>
52900         * manual/message.texi (Charset conversion in gettext):
52901         Move @end statement to beginning of line.
52903 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
52906         static.
52907         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
52908         Likewise.
52910         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
52911         (denorm): Likewise.
52912         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
52913         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
52915 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52917         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
52918         tail-call to the resolved function if pltexit isn't needed.
52920 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
52923         or Y being zero as being unlikely.
52924         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52925         Likewise.
52927 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
52929         * manual/nss.texi (System Databases and Name Service Switch):
52930         Remove frobnicate @pxref.
52932 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52934         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52935         __attribute__ ((unused)) to __attribute__ ((__unused__)).
52937 2013-02-20  Petr Machata  <pmachata@redhat.com>
52939         * elf/elf.h (R_ARM_TARGET1): New macro.
52940         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
52941         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
52942         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
52943         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
52944         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
52945         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
52946         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
52947         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
52948         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
52949         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
52950         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
52951         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
52952         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
52953         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
52954         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
52955         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
52956         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
52957         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
52958         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
52959         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
52960         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
52961         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
52962         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
52963         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
52964         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
52965         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
52966         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
52967         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
52968         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
52969         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
52970         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
52971         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
52972         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
52973         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
52974         (R_ARM_THM_GOT_BREL12): Likewise.
52975         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
52976         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
52977         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
52978         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
52979         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
52980         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
52981         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
52982         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
52983         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
52985 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
52987         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
52988         __attribute_used__ to __attribute__ ((unused)).
52990 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
52992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
52993         powerpc mpa.c.
52994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
52995         comment formatting.
52996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
52998 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53000         [BZ #13550]
53001         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53002         Remove macro.
53003         (ENTER): Remove both macro definitions.
53004         (LEAVE): Likewise.
53005         (CHECK_BOUNDS_LOW): Likewise.
53006         (CHECK_BOUNDS_HIGH): Likewise.
53007         (CHECK_BOUNDS_BOTH): Likewise.
53008         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53009         (RETURN_BOUNDED_POINTER): Likewise.
53010         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53011         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53012         (POP_ERRNO_LOCATION_RETURN): Likewise.
53013         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53014         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53015         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53016         macros.
53017         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53018         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53019         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53020         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53021         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53022         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53023         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53024         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53025         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53026         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53027         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53028         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53029         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53030         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53031         removed macros.
53032         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53033         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53034         macros.
53035         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53036         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53037         * sysdeps/i386/i586/memset.S (memset): Likewise.
53038         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53039         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53040         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53041         macros.
53042         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53043         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53044         Change uses of L(2) to L(out).
53045         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53046         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53047         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53048         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53049         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53050         removed macros.
53051         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53052         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53053         macros.
53054         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53055         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53056         (RETURN): Do not use macro LEAVE.
53057         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53058         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53059         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53060         * sysdeps/i386/i686/memset.S (memset): Likewise.
53061         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53062         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53063         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53064         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53065         Likewise.
53066         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53067         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53068         L(1_2) and L(1_3) into L(1).
53069         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53070         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53071         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53072         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53073         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53074         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53075         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53076         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53077         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53078         macros.
53079         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53080         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53081         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53082         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53083         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53084         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53085         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53086         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53087         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53088         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53089         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53090         * sysdeps/i386/strspn.S (strspn): Likewise.
53091         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53092         conditional code.
53093         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53094         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53095         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53096         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53097         L(1_3) into L(1_1).
53098         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53099         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53100         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53101         macros.
53102         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53104 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53106         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53107         macro.
53109 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53111         * math/atest-exp.c (exp_mpn): Remove ROUND.
53112         * math/atest-exp2.c (exp_mpn): Likewise.
53113         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53115         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53116         * stdlib/tst-tls-atexit-lib.c: Likewise.
53117         * stdlib/tst-tls-atexit.c: Likewise.
53119 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53121         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53122         and __attribute_alloc_size__.
53124 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53126         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53127         __attribute_alloc_size__.
53128         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53129         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53131 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53133         * include/programs/xmalloc.h: New file.
53134         * catgets/gencat.c: Include it.
53135         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53136         * elf/pldd.c: Likewise.
53137         * iconv/iconv_charmap.c: Likewise.
53138         * iconv/iconvconfig.c: Likewise.
53139         * iconv/strtab.c: Likewise.
53140         * locale/programs/locale.c: Likewise.
53141         * locale/programs/localedef.h: Likewise.
53142         * locale/programs/simple-hash.c: Likewise.
53143         * nscd/nscd.h: Likewise.
53144         * nss/makedb.c: Likewise.
53145         * sysdeps/generic/ldconfig.h: Likewise.
53147 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53149         * Versions.def: Add GLIBC_2.18.
53150         * include/link.h (struct link_map): New member l_tls_dtor_count.
53151         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53152         (__call_tls_dtors): Likewise.
53153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53154         __cxa_thread_atexit_impl.
53155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53156         Likewise.
53157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53158         Likewise.
53159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53160         Likewise.
53161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53162         Likewise.
53163         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
53164         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
53165         Likewise.
53166         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
53167         Likewise.
53168         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
53169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
53170         Likewise.
53171         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
53172         (tests): Add test case tst-tls-atexit.
53173         (modules-names): Add shared library for tst-tls-atexit.
53174         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
53175         (GLIBC_PRIVATE): Add __call_tls_dtors.
53176         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
53177         for libstdc++.
53178         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
53179         * stdlib/tst-tls-atexit.c: New test case.
53180         * stdlib/tst-tls-atexit-lib.c: New test case.
53182         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
53184         * elf/Versions (ld): Add _dl_find_dso_for_object.
53185         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
53186         * elf/dl-open.c (_dl_find_dso_for_object): New function.
53187         (dl_open_worker): Use _dl_find_dso_for_object.
53188         * elf/dl-sym.c (do_sym): Likewise.
53189         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
53191 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53193         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
53194         Syntactic changes only.
53195         (_dl_runtime_profile): Do a tail-call to the resolved function.
53197 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
53199         [BZ #13550]
53200         * sysdeps/x86_64/bp-asm.h: Remove file.
53201         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
53202         <bp-sym.h> and <bp-asm.h>.
53203         (__clone): Do not use BP_SYM.
53204         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
53205         <bp-sym.h> and <bp-asm.h>.
53206         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53207         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
53208         "bp-asm.h".
53209         (_setjmp): Do not use BP_SYM.
53210         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
53211         "bp-asm.h".
53212         (setjmp): Do not use BP_SYM.
53213         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
53214         libc_hidden_def.
53215         (mempcpy): Do not use BP_SYM in weak_alias.
53216         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
53217         "bp-asm.h".
53218         (strchr): Do not use BP_SYM.
53219         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
53220         "bp-asm.h".
53221         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
53222         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
53223         (_start): Do not use BP_SYM.
53224         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
53225         "bp-asm.h".
53226         (strcat): Do not use BP_SYM.
53227         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
53228         "bp-asm.h".
53229         (STRCMP): Do not use BP_SYM.
53230         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
53231         "bp-asm.h".
53232         (STRCPY): Do not use BP_SYM.
53233         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
53234         "bp-asm.h".
53235         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
53236         "bp-asm.h".
53237         (FUNCTION): Do not use BP_SYM.
53238         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
53239         weak_alias.
53240         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
53242 2013-02-17  Andreas Jaeger  <aj@suse.de>
53244         * time/Versions: Sort entries.
53245         * string/Versions: Likewise.
53246         * resolv/Versions: Likewise.
53247         * posix/Versions: Likewise.
53248         * iconv/Versions: Likewise.
53249         * elf/Versions: Likewise.
53250         * wcsmbs/Versions: Likewise.
53252 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53254         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
53255         loop termination condition.
53257         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
53258         variable to calculate EZ.
53259         (__sqr): Likewise.
53261         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
53262         the lower precision input.
53264 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
53266         [BZ #13550]
53267         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
53268         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
53269         (run-via-rtld-prefix): Do not handle %-bp tests.
53270         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
53271         (all-object-suffixes): Remove .ob.
53272         (bppfx): Remove variable.
53273         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
53274         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
53275         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
53276         [$(build-bounded) = yes] (libtype.ob): Likewise.
53277         * Makerules (elide-routines.ob): Remove variable.
53278         (do-tests-clean): Do not handle *-bp.out.
53279         (common-mostlyclean): Do not handle *-bp and *-bp.out.
53280         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
53281         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
53282         (tests): Do not include $(tests-bp.out).
53283         (xtests): Do not include $(xtests-bp.out).
53284         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
53285         [$(build-bounded) = yes] ($(addprefix
53286         $(objpfx),$(binaries-bounded))): Remove rule.
53287         ($(objpfx)%-bp.out): Remove rule.
53288         * config.make.in (build-bounded): Remove variable.
53289         * crypt/Makefile [$(build-bounded) = yes]
53290         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
53291         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
53292         append to variable.
53293         [$(build-bounded) = yes] (install-lib): Likewise.
53294         [$(build-bounded) = yes] (generated): Likewise.
53295         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
53296         Remove rule.
53297         * intl/Makefile [$(build-bounded) = yes]
53298         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
53299         * math/Makefile [$(build-bounded) = yes]
53300         ($(tests:%=$(objpfx)%-bp): Likewise.
53301         * misc/Makefile [$(build-bounded) = yes]
53302         ($(objpfx)tst-tsearch-bp): Likewise.
53303         * nptl/Makeconfig (bounded-thread-library): Remove variable.
53304         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
53305         Remove dependency.
53306         * string/Makefile (o-objects.ob): Remove variable.
53307         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
53308         (CFLAGS-.ob): Remove variable.
53309         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
53310         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
53311         both definitions of variable.
53312         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
53313         (ASFLAGS-.ob): Remove variable.
53315 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
53317         [BZ #13550]
53318         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
53319         Remove __BOUNDED_POINTERS__ from condition.
53320         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
53321         * string/bits/string2.h [!__NO_STRING_INLINES &&
53322         !__BOUNDED_POINTERS__]: Likewise.
53323         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
53324         Likewise.
53325         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
53326         Remove conditional code.
53327         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
53328         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
53329         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
53330         condition.
53332         [BZ #13550]
53333         * csu/libc-start.c: Do not include <bp-sym.h>.
53334         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
53335         * elf/dl-open.c: Do not include <bp-sym.h>.
53336         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
53337         * math/fegetenv.c: Do not include <bp-sym.h>.
53338         (fegetenv): Do not use BP_SYM in versioned symbols.
53339         * nptl/sysdeps/pthread/bits/libc-lockP.h
53340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
53341         <bp-sym.h>.
53342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53343         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
53344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53345         (__pthread_mutex_destroy): Likewise.
53346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53347         (__pthread_mutex_lock): Likewise.
53348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53349         (__pthread_mutex_trylock): Likewise.
53350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53351         (__pthread_mutex_unlock): Likewise.
53352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53353         (__pthread_mutexattr_init): Likewise.
53354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53355         (__pthread_mutexattr_destroy): Likewise.
53356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53357         (__pthread_mutexattr_settype): Likewise.
53358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53359         (__pthread_rwlock_init): Likewise.
53360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53361         (__pthread_rwlock_destroy): Likewise.
53362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53363         (__pthread_rwlock_rdlock): Likewise.
53364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53365         (__pthread_rwlock_tryrdlock): Likewise.
53366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53367         (__pthread_rwlock_wrlock): Likewise.
53368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53369         (__pthread_rwlock_trywrlock): Likewise.
53370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53371         (__pthread_rwlock_unlock): Likewise.
53372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53373         (__pthread_key_create): Likewise.
53374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53375         (__pthread_setspecific): Likewise.
53376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53377         (__pthread_getspecific): Likewise.
53378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
53379         Likewise.
53380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53381         (_pthread_cleanup_push_defer): Likewise.
53382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53383         (_pthread_cleanup_pop_restore): Likewise.
53384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
53385         (pthread_setcancelstate): Likewise.
53386         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
53387         <bp-sym.h>.
53388         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
53389         (memchr): Do not use BP_SYM in weak_alias.
53390         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
53391         (fegetenv): Do not use BP_SYM in versioned symbols.
53392         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
53393         (fesetenv): Do not use BP_SYM in versioned symbols.
53394         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53395         (feupdateenv): Do not use BP_SYM in versioned symbols.
53396         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53397         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53398         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
53399         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
53400         (open64): Do not use BP_SYM in weak_alias.
53401         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
53402         (fegetenv): Do not use BP_SYM in versioned symbols.
53403         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
53404         (fesetenv): Do not use BP_SYM in versioned symbols.
53405         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
53406         (feupdateenv): Do not use BP_SYM in versioned symbols.
53407         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
53408         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
53409         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
53410         (feraiseexcept): Do not use BP_SYM in versioned symbols.
53411         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
53412         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
53413         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
53414         <bp-sym.h>.
53415         (__libc_start_main): Do not use BP_SYM.
53417 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
53419         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
53420         redundant return line.
53421         (norm): Likewise.
53422         (denorm): Likewise.
53423         (dbl_mp): Likewise.
53424         (sub_magnitudes): Likewise.
53425         (__add): Likewise.
53426         (__sub): Likewise.
53427         (__mul): Likewise.
53428         (__inv): Likewise.
53429         (__dvd): Likewise.
53430         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
53431         (norm): Likewise.
53432         (denorm): Likewise.
53433         (dbl_mp): Likewise.
53434         (sub_magnitudes): Likewise.
53435         (__add): Likewise.
53436         (__sub): Likewise.
53437         (__mul): Likewise.
53438         (__inv): Likewise.
53439         (__dvd): Likewise.
53441         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
53442         instead of __mul.
53443         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
53444         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
53445         (cc32): Likewise.
53447         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
53448         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
53449         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
53450         of __mul for squares.
53451         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
53452         function
53453         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
53454         Likewise.
53455         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
53456         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
53458 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
53460         [BZ #13550]
53461         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
53462         code.
53463         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
53464         prototype or function definition.  Rename ubp_* variables and
53465         parameters.  Remove argv definitions conditional on
53466         [__BOUNDED_POINTERS__].
53467         * debug/backtrace.c (__backtrace): Do not use __unbounded.
53468         * elf/dl-runtime.c (_dl_fixup): Likewise.
53469         * include/set-hooks.h (RUN_HOOK): Likewise.
53470         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
53471         definition.
53472         * string/strcpy.c (strcpy): Do not use __unbounded.
53473         * sysdeps/generic/frame.h (struct layout): Likewise.
53474         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
53475         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
53476         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
53477         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
53478         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
53479         (__backtrace): Likewise.
53480         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
53481         use __ptrvalue.
53482         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
53483         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
53484         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
53485         Likewise.
53486         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
53487         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
53488         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
53489         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53490         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
53491         Do not use __unbounded.
53492         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
53493         Rename __unboundedrlimits parameter to rlimits in prototype.
53494         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
53495         Do not use __unbounded.
53496         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
53497         not use __ptrvalue.
53498         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53499         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
53500         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53501         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
53502         __ptrvalue or __unbounded.
53503         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
53504         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
53505         use __unbounded.
53506         (__new_msgctl): Do not use __ptrvalue.
53507         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
53508         __unbounded.
53509         (__libc_msgrcv): Do not use __ptrvalue.
53510         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
53511         startup_info): Do not use __unbounded.
53512         (__libc_start_main): Likewise.  Rename ubp_* variables and
53513         parameters.  Remove argv definitions conditional on
53514         [__BOUNDED_POINTERS__].
53515         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
53516         __ptrvalue.
53517         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
53518         use __unbounded.
53519         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
53520         or __ptrvalue.
53521         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
53522         use __unbounded.
53523         (__new_shmctl): Do not use __ptrvalue.
53524         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
53525         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
53526         Likewise.
53527         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
53528         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
53529         (__libc_sigaction): Likewise.
53530         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
53531         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
53532         Likewise.
53533         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
53535 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
53537         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
53539         * string/mempcpy.c: Implement by calling memcpy.
53541 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
53543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
53545         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
53546         evaluation.
53548         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
53549         values in the mantissa.
53551         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
53552         minimize writes to Z.
53553         (sub_magnitudes): Simplify code a bit.
53555 2013-02-12  Roland McGrath  <roland@hack.frob.com>
53557         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
53558         from the message.  The linker prefixes all warnings with that already.
53560 2013-02-12  Andreas Schwab  <schwab@suse.de>
53562         [BZ #15078]
53563         * posix/regexec.c (extend_buffers): Add parameter min_len.
53564         (check_matching): Pass minimum needed length.
53565         (clean_state_log_if_needed): Likewise.
53566         (get_subexp): Likewise.
53567         * posix/Makefile (tests): Add bug-regex34.
53568         (bug-regex34-ENV): Define.
53569         * posix/bug-regex34.c: New file.
53571         [BZ #11561]
53572         * posix/regcomp.c (parse_bracket_exp): When looking up collating
53573         elements compare against the byte sequence of it, not its name.
53574         * posix/Makefile (tests): Add bug-regex35.
53575         (bug-regex35-ENV): Define.
53576         * posix/bug-regex35.c: New file.
53578 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53580         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
53581         comment.
53582         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
53583         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
53584         (CHECK_EOL): Add undef.
53586 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
53588         * bits/stdlib-bsearch.h: New file.
53589         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
53590         * stdlib/stdlib.h: Likewise.
53592 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53594         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
53595         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
53596         declaration.
53597         * manual/search.texi (Array Search Function): Add missing const in
53598         lfind prototype.
53599         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
53600         declaration to use rlim_t.
53601         (Basic Scheduling Functions): Remove erroneous const from
53602         sched_getparam prototype.  Remove erroneous * from
53603         sched_get_priority_max and sched_get_priority_min prototypes.
53604         (Resource Usage): Fix summary @comment on vtimes to refer to
53605         sys/vtimes.h rather than vtimes.h.
53606         Add missing *s in vtimes prototype.
53607         (Limits on Resources): Fix ulimit prototype to return long int.
53608         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
53609         prototypes to use long int rather than double.
53610         (BSD Random): Fix initstate and setstate to use char *, not void *.
53611         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
53612         prototype to make second argument 'struct aiocb64 *const[]'.
53613         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
53614         (Status of AIO Operations): Remove erroneous const in aio_return and
53615         aio_return64 prototypes.
53616         (Synchronizing I/O): Fix sync prototype to return void.
53617         * manual/startup.texi (Suboptions): Remove an erroneous const in
53618         getsubopt prototype.
53619         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
53620         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
53621         use size_t rather than int.
53622         (Scanning All Users): Likewise for getpwent_r.
53623         (Setting Groups): Add missing const to setgroups prototype.
53624         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
53625         * manual/socket.texi (Host Names): Fix gethostbyaddr and
53626         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
53627         'const void *' rather than 'const char *'.
53628         (Host Address Functions): Likewise for inet_ntop.
53629         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
53630         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
53631         ssize_t for return value.
53632         (Sending Data): Likewise for send, sendto, sendmsg.
53633         (Socket Option Functions): Add a missing const in setsockopt prototype.
53634         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
53635         use wchar_t for the argument.
53636         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
53637         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
53638         take no arguments.
53639         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
53640         double/float/long double for second argument.
53641         Fix return types of significand, significandf, significandl.
53642         * manual/filesys.texi (Setting Permissions): Use mode_t for second
53643         argument in fchmod prototype.
53644         (File Owner): Use uid_t and gid_t in fchown prototype.
53645         (File Times): Add const to utimes, futimes, and lutimes prototypes.
53646         (Making Special Files): Use mode_t and dev_t in mknod prototype.
53647         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
53648         use 'const struct dirent **' as argument types to CMP function pointer
53649         argument.
53650         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
53651         (File Times): Fix summary magic @comment for struct utimbuf and utime
53652         to refer to utime.h, not time.h.
53653         * manual/string.texi (Argz Functions): Add missing const in
53654         argz_extract and argz_next prototypes.
53655         (Finding Tokens in a String): Likewise for basename.
53656         (String/Array Comparison): Fix typo in wcscasecmp prototype.
53657         (Copying and Concatenation): Fix typo in wmemmove prototype.
53658         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
53659         (Signal Stack): Remove erroneous const in sigstack prototype.
53660         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
53661         prototype.
53662         (Simple Calendar Time): Likewise for stime.
53663         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
53664         prototype.
53665         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
53666         say sys/sysctl.h instead.
53667         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
53668         and vsyslog prototypes.
53670 2013-02-11  Tom de Vries  <tom@codesourcery.com>
53672         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
53673         Remove.
53675 2013-02-11  Roland McGrath  <roland@hack.frob.com>
53677         * misc/sys/mman.h: Fix typo in mremap comment.
53679 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53681         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
53682         the '\0' terminator.
53684 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53686         [BZ #13550]
53687         * debug/segfault.c: Don't include <bp-checks.h>.
53688         * sysdeps/generic/bp-checks.h: Remove file.
53689         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
53690         (__GETDENTS): Don't use CHECK_N.
53691         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
53692         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
53693         (__getgroups): Don't use CHECK_N.
53694         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
53695         (setgroups): Don't use CHECK_N.
53696         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
53697         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
53698         (__libc_msgrcv): Don't use CHECK_N.
53699         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
53700         (__libc_msgsnd): Don't use CHECK_N.
53701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
53702         <bp-checks.h>.
53703         (__libc_pread): Don't use CHECK_N.
53704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
53705         include <bp-checks.h>.
53706         (__libc_pread64): Don't use CHECK_N.
53707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
53708         include <bp-checks.h>.
53709         (__libc_pwrite): Don't use CHECK_N.
53710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
53711         include <bp-checks.h>.
53712         (__libc_pwrite64): Don't use CHECK_N.
53713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
53714         <bp-checks.h>.
53715         (__libc_pread): Don't use CHECK_N.
53716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
53717         include <bp-checks.h>.
53718         (__libc_pread64): Don't use CHECK_N.
53719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
53720         include <bp-checks.h>.
53721         (__libc_pwrite): Don't use CHECK_N.
53722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
53723         include <bp-checks.h>.
53724         (__libc_pwrite64): Don't use CHECK_N.
53725         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
53726         (do_pread): Don't use CHECK_N.
53727         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
53728         (do_pread64): Don't use CHECK_N.
53729         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
53730         (do_pwrite): Don't use CHECK_N.
53731         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
53732         (do_pwrite64): Don't use CHECK_N.
53733         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
53734         (__libc_readv): Don't use CHECK_N.
53735         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
53736         (semop): Don't use CHECK_N.
53737         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
53738         <bp-checks.h>.
53739         (semtimedop): Don't use CHECK_N.
53740         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
53741         (__libc_pread): Don't use CHECK_N.
53742         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
53743         <bp-checks.h>.
53744         (__libc_pread64): Don't use CHECK_N.
53745         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
53746         <bp-checks.h>.
53747         (__libc_pwrite): Don't use CHECK_N.
53748         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
53749         <bp-checks.h>.
53750         (__libc_pwrite64): Don't use CHECK_N.
53751         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
53752         <bp-checks.h>.
53753         (__libc_msgrcv): Don't use CHECK_N.
53754         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
53755         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
53756         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
53757         (__libc_writev): Don't use CHECK_N.
53759 2013-02-08  Roland McGrath  <roland@hack.frob.com>
53761         * string/strcpy.c: Removed unused variable.
53763         * Makeconfig (+sysdep-includes): Define with := rather than =.
53764         Use an existing include/ subdir of each sysdeps dir before it.
53766 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53768         * nscd/connection.c (register_traced_file): Comment function.
53769         [HAVE_INOTIFY] (union __inev): Define.
53770         [HAVE_INOTIFY] (inotify_check_files): New function.
53771         [HAVE_INOTIFY] (clear_db_cache): Likewise.
53772         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
53773         clear_db_cache.
53774         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
53776 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53778         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
53779         loaded if not already and that a failure is permanent.
53781 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
53783         [BZ #15006]
53784         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
53785         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
53787 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
53789         [BZ #13550]
53790         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
53791         (CHECK_1_NULL_OK): Likewise.
53792         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
53793         (__fxstat): Do not use CHECK_1.
53794         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
53795         <bp-checks.h>.
53796         (___fxstat64): Do not use CHECK_1.
53797         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
53798         <bp-checks.h>.
53799         (__fxstatat): Do not use CHECK_1.
53800         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
53801         <bp-checks.h>.
53802         (__fxstatat64): Do not use CHECK_1.
53803         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
53804         <bp-checks.h>.
53805         (__fxstat): Do not use CHECK_1.
53806         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
53807         <bp-checks.h>.
53808         (__fxstatat): Do not use CHECK_1.
53809         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
53810         <bp-checks.h>.
53811         (__getresgid): Do not use CHECK_1.
53812         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
53813         <bp-checks.h>.
53814         (__getresuid): Do not use CHECK_1.
53815         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
53816         <bp-checks.h>.
53817         (__lxstat): Do not use CHECK_1.
53818         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
53819         <bp-checks.h>.
53820         (__old_msgctl): Do not use CHECK_1.
53821         (__new_msgctl): Likewise.
53822         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
53823         <bp-checks.h>.
53824         (__new_setrlimit): Do not use CHECK_1.
53825         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
53826         <bp-checks.h>.
53827         (__old_shmctl): Do not use CHECK_1.
53828         (__new_shmctl): Likewise.
53829         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
53830         <bp-checks.h>.
53831         (__xstat): Do not use CHECK_1.
53832         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
53833         (__lxstat): Do not use CHECK_1.
53834         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
53835         <bp-checks.h>.
53836         (___lxstat64): Do not use CHECK_1.
53837         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
53838         (__old_msgctl): Do not use CHECK_1.
53839         (__new_msgctl): Likewise.
53840         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
53841         <bp-checks.h>.
53842         (__gettimeofday): Do not use CHECK_1.
53843         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
53844         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
53845         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
53846         <bp-checks.h>.
53847         (__gettimeofday): Do not use CHECK_1.
53848         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
53849         (__old_shmctl): Do not use CHECK_1_NULL_OK.
53850         (__new_shmctl): Do not use CHECK_1.
53851         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
53852         <bp-checks.h>.
53853         (do_sigtimedwait): Do not use CHECK_1.
53854         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
53855         <bp-checks.h>.
53856         (do_sigwaitinfo): Do not use CHECK_1.
53857         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
53858         <bp-checks.h>.
53859         (msgctl): Do not use CHECK_1.
53860         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
53861         <bp-checks.h>.
53862         (shmctl): Do not use CHECK_1.
53863         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
53864         (ustat): Do not use CHECK_1.
53865         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
53866         <bp-checks.h>.
53867         (__fxstat): Do not use CHECK_1.
53868         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
53869         <bp-checks.h>.
53870         (__fxstatat): Do not use CHECK_1.
53871         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
53872         <bp-checks.h>.
53873         (__lxstat): Do not use CHECK_1.
53874         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
53875         <bp-checks.h>.
53876         (__xstat): Do not use CHECK_1.
53877         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
53878         (__xstat): Do not use CHECK_1.
53879         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
53880         (___xstat64): Do not use CHECK_1.
53882         [BZ #13550]
53883         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
53884         definitions.
53885         (CHECK_BOUNDS_HIGH): Likewise.
53886         * string/strcpy.c: Do not include <bp-checks.h>.
53887         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
53889 2013-02-07  Roland McGrath  <roland@hack.frob.com>
53891         * nscd/nscd-client.h (__nscd_drop_map_ref):
53892         Add __attribute__ ((unused)).
53893         * nis/nss-nisplus.h (niserr2nss): Likewise.
53895         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
53896         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
53898         * csu/libc-tls.c (init_static_tls, init_slotinfo):
53899         Remove inline keyword.
53900         * include/rounding-mode.h (round_away): Likewise.
53901         * libio/wfileops.c (adjust_wide_data): Likewise.
53902         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
53903         (__m128i_strloadu_tolower): Likewise.
53904         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
53905         (__m128i_strloadu_tolower): Likewise.
53906         * time/mktime.c (ydhms_diff): Likewise.
53907         * locale/elem-hash.h (elem_hash): Likewise.
53908         * locale/setlocale.c (setdata): Likewise.
53909         * posix/regex_internal.h (re_string_char_size_at): Likewise.
53910         (re_string_wchar_at): Likewise.
53911         (bitset_not, bitset_merge, bitset_mask): Likewise.
53912         [!(__GNUC__ > 3)] (inline): Remove macro.
53913         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
53914         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
53915         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
53916         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
53917         * string/memcmp.c (memcmp_bytes): Likewise.
53918         * locale/programs/locarchive.c (compute_hashval): Likewise.
53919         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
53920         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
53921         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
53922         * nss/getent.c (print_rpc, print_protocols): Likewise.
53923         (print_passwd, print_group, print_aliases): Likewise.
53924         * nis/nss-nisplus.h (niserr2nss): Likewise.
53925         * nscd/connections.c (restart_p): Likewise.
53926         Change return type to bool.
53928 2013-02-05  Roland McGrath  <roland@hack.frob.com>
53930         * Makeconfig (all-Depend-files): Add existing
53931         $(sorted-subdirs:=/Depend) files.
53932         (all-subdirs): Remove nss.
53933         * sysdeps/unix/inet/Subdirs: Add it here instead.
53934         * hesiod/Depend: New file.
53936         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
53937         instead of calling alloca.
53939         * io/lseek.c (__lseek): Rename to __libc_lseek.
53940         Define __lseek as an alias.
53942         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
53944 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
53946         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
53947         else clause and remove check for non-standard endianness.
53949 2013-02-04  David S. Miller  <davem@davemloft.net>
53951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53953 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
53955         [BZ #13550]
53956         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
53957         (__ubp_memchr): Remove prototype.
53958         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
53959         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53960         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
53961         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
53962         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
53963         Remove alias.
53964         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
53965         (__ubp_memchr): Likewise.
53966         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
53967         (__ubp_memchr): Likewise.
53968         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
53969         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
53970         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
53971         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
53972         CHECK_STRING.
53973         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
53974         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
53975         (__getcwd): Do not use CHECK_STRING.
53976         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
53977         <bp-checks.h>.
53978         (__real_chown): Do not use CHECK_STRING.
53979         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
53980         <bp-checks.h>.
53981         (fchownat): Do not use CHECK_STRING.
53982         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
53983         CHECK_STRING.
53984         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
53985         <bp-checks.h>.
53986         (__lchown): Do not use CHECK_STRING.
53987         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
53988         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
53989         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
53990         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
53991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
53992         include <bp-checks.h>.
53993         (truncate64): Do not use CHECK_STRING.
53994         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
53995         <bp-checks.h>.
53996         (__real_chown): Do not use CHECK_STRING.
53997         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
53998         <bp-checks.h>.
53999         (__lchown): Do not use CHECK_STRING.
54000         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54001         <bp-checks.h>.
54002         (__chown): Do not use CHECK_STRING.
54003         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54004         <bp-checks.h>.
54005         (truncate64): Do not use CHECK_STRING.
54006         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54007         Likewise.
54008         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54009         (__xmknod): Do not use CHECK_STRING.
54010         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54011         <bp-checks.h>.
54012         (__xmknodat): Do not use CHECK_STRING.
54013         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54014         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54016 2013-02-04  Andreas Schwab  <schwab@suse.de>
54018         [BZ #14142]
54019         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54020         * include/netdb.h: Likewise for h_errno.
54021         * elf/tst-stackguard1.c: Include <tls.h>.
54023 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54025         * elf/link.h (struct link_map): Extend the l_addr comment.
54026         * include/link.h (struct link_map): Likewise.
54028 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54030         [BZ #13550]
54031         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54032         (BOUNDED_1): Remove macro.
54033         * debug/backtrace.c: Don't include <bp-checks.h>.
54034         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54035         (__backtrace): Likewise.
54036         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54037         <bp-checks.h>.
54038         (__backtrace): Don't use BOUNDED_1.
54039         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54040         <bp-checks.h>.
54041         (__backtrace): Don't use BOUNDED_1.
54042         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54043         (__backtrace): Don't use BOUNDED_1.
54044         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54045         (shmat): Don't use BOUNDED_N.
54047 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54049         [BZ #13550]
54050         * sysdeps/generic/bp-start.h: Remove file.
54051         * csu/libc-start.c: Don't include <bp-start.h>.
54052         (LIBC_START_MAIN): Set up __environ directly instead of using
54053         INIT_ARGV_and_ENVIRON.
54054         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54055         <bp-start.h>.
54057         [BZ #13550]
54058         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54059         definitions.
54060         (CHECK_FCNTL): Likewise.
54061         (CHECK_N_PAGES): Likewise.
54063         [BZ #13550]
54064         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54065         definitions.
54066         (CHECK_SIGSET_NULL_OK): Likewise.
54067         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54068         <bp-checks.h>.
54069         (sigpending): Don't use CHECK_SIGSET.
54070         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54071         <bp-checks.h>.
54072         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54073         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54074         <bp-checks.h>.
54075         (do_sigsuspend): Don't use CHECK_SIGSET.
54076         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54077         use CHECK_SIGSET.
54078         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54079         (do_sigwait): Don't use CHECK_SIGSET.
54080         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54081         use CHECK_SIGSET.
54082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54083         include <bp-checks.h>.
54084         (sigpending): Don't use CHECK_SIGSET.
54085         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54086         include <bp-checks.h>.
54087         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54088         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54089         <bp-checks.h>.
54090         (sigpending): Don't use CHECK_SIGSET.
54091         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54092         <bp-checks.h>.
54093         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54095         [BZ #13550]
54096         * sysdeps/generic/bp-semctl.h: Remove file.
54097         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54098         <bp-checks.h> and <bp-semctl.h>.
54099         (__old_semctl): Don't use CHECK_SEMCTL.
54100         (__new_semctl): Likewise.
54101         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54102         and <bp-semctl.h>.
54103         (__old_semctl): Don't use CHECK_SEMCTL.
54104         (__new_semctl): Likewise.
54105         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54106         <bp-checks.h> and <bp-semctl.h>.
54107         (__old_semctl): Don't use CHECK_SEMCTL.
54108         (__new_semctl): Likewise.
54109         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54110         <bp-checks.h> and <bp-semctl.h>.
54111         (semctl): Don't use CHECK_SEMCTL.
54113         [BZ #13550]
54114         * Makerules (elide-bp-thunks): Remove variable.
54115         (elide-routines.oS): Don't use $(elide-bp-thunks).
54116         (elide-routines.os): Likewise.
54117         (elide-routines.o): Likewise.
54118         (elide-routines.op): Likewise.
54119         (elide-routines.og): Likewise.
54120         (objects): Don't use $(bp-thunks).
54121         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54122         include.
54123         (common-generated): Do not add s-proto-bp.d.
54124         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54125         (int): Likewise.
54126         (typ): Likewise.
54127         Do not generate makefile rules for bounded-pointer thunks.
54128         * sysdeps/generic/bp-thunks.h: Remove file.
54129         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54130         * sysdeps/unix/s-proto-bp.S: Likewise.
54132         [BZ #15062]
54133         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54134         parts of result separately when argument is not close to line from
54135         -i to i and one part of argument is small.
54136         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54137         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54138         * math/libm-test.inc (cacos_test): Add more tests.
54139         (casin_test): Likewise.
54140         (casinh_test): Likewise.
54141         * sysdeps/i386/fpu/libm-test-ulps: Update.
54142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54144 2013-01-31  David S. Miller  <davem@davemloft.net>
54146         * po/de.po: Update from translation team.
54148 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54150         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54152 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54154         * configure.in (_AC_PROG_CC_C89): New definition.
54155         * configure: Regenerate.
54157         * configure.in (AC_PROG_CPP): New definition.
54158         * configure: Regenerate.
54160 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54162         * debug/tst-backtrace.h: New file.
54163         * debug/tst-backtrace2.c: Include tst-backtrace.h.
54164         (ret): Remove variable.
54165         (x): Likewise.
54166         (FAIL): Remove macro.
54167         (NO_INLINE): Likewise.
54168         (fn1): Use match function instead of strstr.
54169         * debug/tst-backtrace3.c: Include tst-backtrace.h.
54170         (ret): Remove variable.
54171         (x): Likewise.
54172         (FAIL): Remove macro.
54173         (NO_INLINE): Likewise.
54174         (fn): Use match function instead of strstr.
54175         * debug/tst-backtrace4.c: Include tst-backtrace.h.
54176         (ret): Remove variable.
54177         (x): Likewise.
54178         (FAIL): Remove macro.
54179         (NO_INLINE): Likewise.
54180         (handle_signal): Use match function instead of strstr.
54181         * debug/tst-backtrace5.c: Include tst-backtrace.h.
54182         (ret): Remove variable.
54183         (x): Likewise.
54184         (FAIL): Remove macro.
54185         (NO_INLINE): Likewise.
54186         (handle_signal): Use match function instead of strstr.
54188 2013-01-23  Roland McGrath  <roland@hack.frob.com>
54190         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
54192 2013-01-23  David S. Miller  <davem@davemloft.net>
54194         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
54195         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
54196         argument of CAS if possible.
54197         * sysdeps/sparc/sparc64/bits/atomic.h
54198         (__arch_compare_and_exchange_val_32_acq): Likewise.
54199         (__arch_compare_and_exchange_val_64_acq): Likewise.
54201 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
54203         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
54204         * sysdeps/posix/ulimit.c: ... this.
54205         Include <limits.h>.
54206         * sysdeps/unix/bsd/ulimit.c: Remove file.
54208 2013-01-23  Adam Conrad  <adconrad@0c3.net>
54210         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
54211         (LDFLAGS-tst-array5): Likewise.
54213 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54215         [BZ #15036]
54216         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
54217         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
54218         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
54219         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
54221 2013-01-21  David S. Miller  <davem@davemloft.net>
54223         * sysdeps/sparc/backtrace.c: New file.
54224         * sysdeps/sparc/sparc32/backtrace.h: New file.
54225         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
54226         * sysdeps/sparc/sparc64/backtrace.h: New file.
54227         * sysdeps/sparc/sparc64/backtrace.c: Delete.
54228         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
54229         -funwind-tables.
54231 2013-01-21  Andreas Schwab  <schwab@suse.de>
54233         [BZ #15020]
54234         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
54235         closed its stdout.
54237 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
54239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
54240         "mpa2.h".
54241         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54243 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
54244             Mark Mitchell  <mark@codesourcery.com>
54245             Tom de Vries  <tom@codesourcery.com>
54246             Paul Pluzhnikov  <ppluzhnikov@google.com>
54248         * debug/tst-backtrace2.c: New file.
54249         * debug/tst-backtrace3.c: Likewise.
54250         * debug/tst-backtrace4.c: Likewise.
54251         * debug/tst-backtrace5.c: Likewise.
54252         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
54253         (CFLAGS-tst-backtrace3.c): Likewise.
54254         (CFLAGS-tst-backtrace4.c): Likewise.
54255         (CFLAGS-tst-backtrace5.c): Likewise.
54256         (LDFLAGS-tst-backtrace2): Likewise.
54257         (LDFLAGS-tst-backtrace3): Likewise.
54258         (LDFLAGS-tst-backtrace4): Likewise.
54259         (LDFLAGS-tst-backtrace5): Likewise.
54260         (tests): Add new tests tst-backtrace2, tst-backtrace3,
54261         tst-backtrace4 and tst-backtrace5.
54263 2013-01-18  Anton Blanchard  <anton@samba.org>
54264             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54266         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
54267         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
54268         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
54269         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
54270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
54271         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
54272         "+r" and remove output regs list as redundant.  Add explicit inline
54273         asm to specify register of return val to work around compiler codegen
54274         bug.  Remove (int) cast on return value.  Add return type parameter to
54275         use in macro so that this macro does not truncate return value for
54276         64-bit values.
54277         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
54278         pass to INTERNAL_VSYSCALL_NCS.
54279         (INLINE_VSYSCALL): Add 'long int' as return type to
54280         INTERNAL_VSYSCALL_NCS macro invocation.
54281         (INTERNAL_VSYSCALL): Add 'long int' as return type to
54282         INTERNAL_VSYSCALL_NCS macro invocation.
54283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
54285 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
54287         [BZ #14496]
54288         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
54289         Fix application of SIMD FP exception mask.
54291         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
54292         mp_no from a power of two.
54293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
54294         __mpexp_twomm1.  Use __pow_mp.
54296         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
54297         multiplication.
54299 2013-01-17  David S. Miller  <davem@davemloft.net>
54301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54303 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54305         [BZ #15023]
54306         * include/complex.h: Condition contents on [!_COMPLEX_H].
54307         (__kernel_casinhf): New prototype.
54308         (__kernel_casinh): Likewise.
54309         (__kernel_casinhl): Likewise.
54310         * math/Makefile (libm_calls): Add k_casinh.
54311         * math/k_casinh.c: New file.
54312         * math/k_casinhf.c: Likewise.
54313         * math/k_casinhl.c: Likewise.
54314         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
54315         finite nonzero arguments.
54316         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
54317         finite nonzero arguments.
54318         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
54319         finite nonzero arguments.
54320         * math/s_casinh.c: Do not include <float.h>.
54321         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
54322         * math/s_casinhf.c: Do not include <float.h>.
54323         (__casinhf): Move code for finite nonzero arguments to
54324         k_casinhf.c.
54325         * math/s_casinhl.c: Do not include <float.h>.
54326         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
54327         redefine.
54328         (__casinhl): Move code for finite nonzero arguments to
54329         k_casinhl.c.
54330         * math/libm-test.inc (cacos_test): Add more tests.
54331         * sysdeps/i386/fpu/libm-test-ulps: Update.
54332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54334 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
54336         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
54337         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
54338         [!HAVE_MREMAP]: Remove [defined linux] case.
54339         * malloc/arena.c: Do not include <malloc-sysdep.h>.
54341 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54343         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
54345 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
54347         * elf/elf.h (R_386_SIZE32): New relocation.
54348         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
54349         R_386_SIZE32.
54350         (elf_machine_rela): Likewise.
54351         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
54352         R_X86_64_SIZE64 and R_X86_64_SIZE32.
54354 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
54356         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
54357         (FP_FAST_FMA): Do not define.
54358         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
54359         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
54360         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
54361         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
54362         !_SOFT_FLOAT]: Likewise.
54363         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
54364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
54365         value.
54366         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
54367         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
54368         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
54369         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
54370         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
54371         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
54372         file.
54374 2013-01-16  Andreas Schwab  <schwab@suse.de>
54376         [BZ #14327]
54377         * include/stdlib.h (__mktemp): Add declaration.
54378         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
54379         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
54381 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
54383         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
54384         definitions.
54385         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
54386         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
54387         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
54388         definitions here.
54389         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
54390         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
54391         definitions.
54392         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
54393         and ONE.
54394         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
54395         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
54396         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
54397         definitions.
54398         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
54399         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
54400         definitions.
54401         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
54403         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
54405 2013-01-15  David S. Miller  <davem@davemloft.net>
54407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54408         trunc{,f} to libm-sysdep_routes.
54409         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
54411         file.
54412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
54413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
54414         file.
54415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
54416         file.
54417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
54418         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
54419         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
54420         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
54421         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
54422         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
54423         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
54424         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
54426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54427         nearbyint{,f} to libm-sysdep_routes.
54428         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
54430         New file.
54431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
54432         file.
54433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
54434         New file.
54435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
54436         file.
54437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
54438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
54439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
54440         file.
54441         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
54442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
54443         file.
54444         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
54445         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
54446         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
54448         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
54449         libc_feholdexcept and libc_fesetenv.
54451 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
54453         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
54455 2013-01-14  David S. Miller  <davem@davemloft.net>
54457         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
54458         (SPARC_ASM_VIS2_IFUNC): Likewise.
54459         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
54460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
54461         use of 'siam' instruction.
54462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
54463         Likewise.
54464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
54465         Likewise.
54466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
54467         Likewise.
54468         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
54469         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
54470         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
54471         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
54472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
54473         file.
54474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
54475         file.
54476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
54477         file.
54478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
54479         file.
54480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
54481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
54482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
54483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
54484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
54485         new VIS2 routines.
54486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
54487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
54488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
54489         Likewise.
54490         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
54491         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
54492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
54493         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
54494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
54495         routines to libm-sysdep_routines.
54496         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
54498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
54499         fdim/fdimf to libm-sysdep_routines.
54500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
54501         file.
54502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
54503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
54504         file.
54505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
54506         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
54507         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
54508         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
54509         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
54510         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
54511         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
54513 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54515         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
54516         to optimize copies.
54518         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
54519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54520         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
54523         local variable MPTWO.
54524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
54525         Likewise.
54527 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54529         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
54530         GLOB_NOESCAPE.
54532 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54534         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
54536 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
54538         * manual/pattern.texi (glob_t): Document gl_flags.
54539         (glob64_t): Likewise.
54541 2013-01-11  David S. Miller  <davem@davemloft.net>
54543         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
54544         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
54545         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
54546         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
54547         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
54548         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
54549         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
54550         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
54551         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
54552         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
54553         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
54554         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
54555         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
54557         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54558         sparc V9 rather than using V8 code.
54559         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54560         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54562         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
54563         Move to...
54564         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
54565         Here.
54567 2013-01-11  Roland McGrath  <roland@hack.frob.com>
54569         [BZ #14941]
54570         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
54571         not in the main loop.
54572         * configure: Regenerated.
54574 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
54576         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
54577         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
54578         to just #else.
54579         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
54580         [!__GLIBC_HAVE_LONG_LONG] case.
54581         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
54582         condition to just #else.
54583         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
54584         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
54585         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
54586         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
54587         unconditional.
54588         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
54589         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54590         #elif condition to just #else.
54591         * sysdeps/unix/sysv/linux/sys/sysmacros.h
54592         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
54593         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
54594         #elif condition to just #else.
54596 2013-01-11  Steve Ellcey  <sellcey@mips.com>
54598         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
54599         (EF_MIPS_ARCH_64): Fix value.
54600         (EF_MIPS_ARCH_32R2): New.
54601         (EF_MIPS_ARCH_64R2): New.
54603 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
54605         * Makeconfig (+link-pie-before-libc): New.
54606         (+link-pie-after-libc): Likewise.
54607         (+link-pie-tests): Likewise.
54608         (+link-pie): Rewritten.
54609         (link-before-libc): Remove $(config-LDFLAGS).
54610         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
54611         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
54612         (config-LDFLAGS): Renamed to ...
54613         (rtld-LDFLAGS): This.
54614         (rtld-tests-LDFLAGS): New macro.
54615         (link-libc-rpath-link): Likewise.
54616         (link-libc-tests-rpath-link): Likewise.
54617         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
54618         (link-libc): Prepand $(link-libc-rpath-link).
54619         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
54620         (test-program-prefix): New macro.
54621         (test-via-rtld-prefix): Likewise.
54622         (test-program-cmd): Likewise.
54623         (host-test-program-cmd): Likewise.
54624         * Makefile ($(common-objpfx)testrun.sh): Replace
54625         $(run-program-prefix) with $(test-program-prefix).
54626         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
54627         $(rtld-LDFLAGS).
54628         ($(common-objpfx)shlib.lds): Likewise.
54629         (build-module-helper): Likewise.
54630         ($(common-objpfx)format.lds): Likewise.
54631         * Rules (binaries-pie-tests): New.
54632         (binaries-pie-notests): Likewise.
54633         (binaries-pie): Rewritten.
54634         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
54635         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
54636         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
54637         (make-test-out): Replace $(host-built-program-cmd) with
54638         $(host-test-program-cmd).
54639         * config.make.in (build-hardcoded-path-in-tests): New variable.
54640         * configure.in (--enable-hardcoded-path-in-tests): New configure
54641         option.
54642         (hardcoded_path_in_tests): New AC_SUBST.
54643         * configure: Regenerated.
54644         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
54645         $(built-program-cmd) with $(test-program-cmd).
54646         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
54647         (test_program_cmd): This.
54648         * elf/Makefile ($(objpfx)order.out): Run test with
54649         $(test-program-prefix).
54650         ($(objpfx)order2.out): Likewise.
54651         ($(objpfx)tst-initorder.out): Likewise.
54652         ($(objpfx)tst-initorder2.out): Likewise.
54653         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
54654         $(test-program-cmd).
54655         ($(objpfx)tst-array1-static.out): Likewise.
54656         ($(objpfx)tst-array2.out): Likewise.
54657         ($(objpfx)tst-array3.out): Likewise.
54658         ($(objpfx)tst-array4.out): Likewise.
54659         ($(objpfx)tst-array5.out): Likewise.
54660         ($(objpfx)tst-array5-static.out): Likewise.
54661         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
54662         $(test-program-cmd).
54663         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
54664         $(run-program-prefix) with $(test-program-prefix).
54665         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
54666         (test_program_prefix): This.
54667         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
54668         $(run-program-prefix) with $(test-program-prefix).
54669         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
54670         (test_program_prefix): This.
54671         * iconvdata/tst-tables.sh: Likewise.
54672         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
54673         $(run-program-prefix) with $(test-program-prefix).
54674         ($(objpfx)tst-translit.out): Likewise.
54675         ($(objpfx)tst-gettext2.out): Likewise.
54676         ($(objpfx)tst-gettext4.out): Likewise.
54677         ($(objpfx)tst-gettext6.out): Likewise.
54678         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
54679         (test_program_prefix): This.
54680         * intl/tst-gettext2.sh: Likewise.
54681         * intl/tst-gettext4.sh  Likewise.
54682         * intl/tst-gettext6.sh: Likewise.
54683         * intl/tst-translit.sh: Likewise.
54684         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
54685         with $(test-program-cmd).
54686         * libio/Makefile ($(objpfx)test-freopen.out): Replace
54687         $(run-program-prefix) with $(test-program-prefix).
54688         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
54689         (test_program_prefix): This.
54690         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
54691         $(run-program-prefix) with $(test-program-prefix).
54692         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
54693         (test_program_prefix): This.
54694         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
54695         * posix/Makefile ($(objpfx)globtest.out): Replace
54696         $(run-via-rtld-prefix) and $(test-wrapper) with
54697         $(test-program-prefix) and $(test-via-rtld-prefix).
54698         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
54699         $(test-program-prefix).
54700         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
54701         $(host-test-program-cmd).
54702         (tst-spawn-ARGS): Likewise.
54703         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
54704         $(test-program-prefix).
54705         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
54706         (test_via_rtld_prefix): This.
54707         (test_wrapper): Renamed to ...
54708         (test_program_prefix): This.
54709         (run_program_prefix): Replaced by test_program_prefix.
54710         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
54711         (test_program_prefix): This.
54712         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
54713         with $(host-test-program-cmd).
54714         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
54715         $(run-program-prefix) with $(test-program-prefix).
54716         ($(objpfx)tst-printf.out): Likewise.
54717         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
54718         $(test-program-cmd).
54719         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
54720         (test_program_prefix): This.
54721         * stdio-common/tst-unbputc.sh: Likewise.
54722         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
54723         $(run-program-prefix) with $(test-program-prefix).
54724         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
54725         (test_program_prefix): This.
54726         * string/Makefile ($(objpfx)tst-svc.out):  Replace
54727         $(built-program-cmd) with $(test-program-cmd).
54729 2013-01-11  Andreas Jaeger  <aj@suse.de>
54731         [BZ #15003]
54732         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
54733         value. Sync with Linux 3.7.
54735 2013-01-10  David S. Miller  <davem@davemloft.net>
54737         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
54738         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54739         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54741 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54743         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
54744         never set.
54745         * configure: Regenerated.
54747 2013-01-10  David S. Miller  <davem@davemloft.net>
54749         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
54750         sparc V9 rather than using V8 code.
54751         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
54752         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
54754 2013-01-10  Roland McGrath  <roland@hack.frob.com>
54756         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
54757         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
54758         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
54759         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
54760         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
54761         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
54762         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
54763         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
54764         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
54765         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
54766         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
54767         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
54768         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
54769         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
54770         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
54771         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
54772         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
54773         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
54774         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
54775         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
54776         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
54777         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
54778         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
54779         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
54780         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
54781         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
54782         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
54784 2013-01-10  David S. Miller  <davem@davemloft.net>
54786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54788 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54790         * posix/Makefile (tests-static): New variable.
54791         (tests): Add $(tests-static).
54792         (tst-exec-static-ARGS): New variable.
54793         (tst-spawn-static-ARGS): Likewise.
54794         * posix/tst-exec-static.c: New file.
54795         * posix/tst-spawn-static.c: Likewise.
54796         * posix/tst-exec.c: Support run directly.
54797         * posix/tst-spawn.c: Likewise.
54799 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
54801         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
54802         long.
54803         * math/bits/mathcalls.h (llrint): Likewise.
54804         (llround): Likewise.
54805         * stdlib/stdlib.h (struct drand48_data): Likewise.
54806         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
54807         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
54808         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
54809         Likewise.
54810         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
54811         Likewise.
54812         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
54813         (elf_greg_t): Likewise.
54814         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
54815         (__jmp_buf): Likewise.
54816         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
54817         definitions.
54818         (llrint): Likewise, for all definitions.
54819         (llrintl): Likewise.
54821         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
54822         Remove [__GNUC__] condition.
54823         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
54824         condition to just [__USE_ISOC99].
54825         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
54827 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
54829         [BZ #14200]
54830         * sysdeps/unix/sysv/linux/x86/bits/environments.h
54831         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
54832         defined.
54833         (_POSIX_V6_ILP32_OFF32): Likewise.
54834         (_XBS5_ILP32_OFF32): Likewise.
54835         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
54836         (__ILP32_OFFBIG_LDFLAGS): Likewise.
54838 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54840         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
54842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
54843         doubles __mpexp_twomm1.  Adjust usage.
54844         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
54845         Remove.
54847 2013-01-10  Andreas Schwab  <schwab@suse.de>
54849         [BZ #14964]
54850         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
54851         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
54853 2013-01-09  David S. Miller  <davem@davemloft.net>
54855         [BZ #15003]
54856         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
54857         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
54858         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
54859         (TCP_FASTOPEN): Define.
54860         (tcp_repair_opt): New structure.
54861         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
54862         enum values.
54863         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
54864         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
54865         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
54866         (tcp_cookie_transactions): New structure.
54868 2013-01-09  Anton Blanchard  <anton@samba.org>
54870         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
54871         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
54872         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
54873         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
54875 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
54877         * include/features.h (__USE_ANSI): Remove.
54879 2013-01-09  Roland McGrath  <roland@hack.frob.com>
54881         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
54883         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
54885 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
54887         * sysdeps/s390/fpu/libm-test-ulps: Update.
54889         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54891         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
54892         (__acr): Likewise.
54893         (__cpy): Likewise.
54894         (norm): Likewise.
54895         (denorm): Likewise.
54896         (__mp_dbl): Likewise.
54897         (__dbl_mp): Likewise.
54898         (add_magnitudes): Likewise.
54899         (sub_magnitudes): Likewise.
54900         (__add): Likewise.
54901         (__sub): Likewise.
54902         (__mul): Likewise.
54903         (__inv): Likewise.
54904         (__dvd): Likewise.
54905         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
54906         (__acr): Likewise.
54907         (__cpy): Likewise.
54908         (norm): Likewise.
54909         (denorm): Likewise.
54910         (__mp_dbl): Likewise.
54911         (__dbl_mp): Likewise.
54912         (add_magnitudes): Likewise.
54913         (sub_magnitudes): Likewise.
54914         (__add): Likewise.
54915         (__sub): Likewise.
54916         (__mul): Likewise.
54917         (__inv): Likewise.
54918         (__dvd): Likewise.
54919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
54920         (__acr): Likewise.
54921         (__cpy): Likewise.
54922         (norm): Likewise.
54923         (denorm): Likewise.
54924         (__mp_dbl): Likewise.
54925         (__dbl_mp): Likewise.
54926         (add_magnitudes): Likewise.
54927         (sub_magnitudes): Likewise.
54928         (__add): Likewise.
54929         (__sub): Likewise.
54930         (__mul): Likewise.
54931         (__inv): Likewise.
54932         (__dvd): Likewise.
54934 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
54936         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
54937         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
54938         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
54939         2 && __USE_EXTERN_INLINES]: Likewise.
54941 2013-01-08  Andreas Jaeger  <aj@suse.de>
54943         [BZ# 14985]
54944         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
54945         Remove.
54946         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54947         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
54949 2013-01-07  Anton Blanchard  <anton@samba.org>
54951         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
54952         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
54953         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
54954         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
54955         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54956         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
54957         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
54958         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
54959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
54960         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
54961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54963         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
54964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54965         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
54966         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54967         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54968         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
54969         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
54970         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54971         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
54972         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
54973         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54974         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
54975         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
54976         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54977         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54978         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
54979         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
54980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
54981         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
54982         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54983         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
54984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
54985         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
54986         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54987         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
54988         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
54989         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
54990         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
54991         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
54992         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54993         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
54995 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
54997         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
54998         (__MALLOC_PMT): Likewise.
54999         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55000         [__GNUC__], only on [_LIBC].
55001         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55002         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55003         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55004         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55005         forward declaration.
55006         (realloc_hook_ini): Likewise.
55007         (memalign_hook_ini): Likewise.
55008         (__libc_memalign): Do not use __MALLOC_PMT in variable
55009         declaration.
55010         (__libc_valloc): Likewise.
55011         (__libc_pvalloc): Likewise.
55012         (__libc_calloc): Likewise.
55013         (__posix_memalign): Likewise.
55015         [BZ #14996]
55016         * math/s_casinh.c: Include <float.h>.
55017         (__casinh): Do not do computation with squaring and square root
55018         for large arguments.
55019         * math/s_casinhf.c: Include <float.h>.
55020         (__casinhf): Do not do computation with squaring and square root
55021         for large arguments.
55022         * math/s_casinhl.c: Include <float.h>.
55023         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55024         (__casinhl): Do not do computation with squaring and square root
55025         for large arguments.
55026         * math/libm-test.inc (casin_test): Add more tests.
55027         (casinh_test): Likewise.
55028         * sysdeps/i386/fpu/libm-test-ulps: Update.
55029         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55031 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55033         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55034         (__x86_64_raw_data_cache_size): Likewise.
55035         (__x86_64_data_cache_size_half): Likewise.
55036         (__x86_64_raw_data_cache_size_half): Likewise.
55037         (__x86_64_shared_cache_size): Likewise.
55038         (__x86_64_raw_shared_cache_size): Likewise.
55039         (__x86_64_shared_cache_size_half): Likewise.
55040         (__x86_64_raw_shared_cache_size_half): Likewise.
55041         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55042         to ...
55043         (__x86_data_cache_size): This.
55044         (__x86_64_raw_data_cache_size): Renamed to ...
55045         (__x86_raw_data_cache_size): This.
55046         (__x86_64_data_cache_size_half): Renamed to ...
55047         (__x86_data_cache_size_half): This.
55048         (__x86_64_raw_data_cache_size_half): Renamed to ...
55049         (__x86_raw_data_cache_size_half): This.
55050         (__x86_64_shared_cache_size): Renamed to ...
55051         (__x86_shared_cache_size): This.
55052         (__x86_64_raw_shared_cache_size): Renamed to ...
55053         (__x86_raw_shared_cache_size): This.
55054         (__x86_64_shared_cache_size_half): Renamed to ...
55055         (__x86_shared_cache_size_half): This.
55056         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55057         (__x86_raw_shared_cache_size_half): This.
55058         * sysdeps/x86_64/memcpy.S: Updated.
55059         * sysdeps/x86_64/memset.S: Likewise.
55060         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55061         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55062         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55064 2013-01-04  David S. Miller  <davem@davemloft.net>
55066         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55068 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55070         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55071         1 to avoid redefinition warning.
55072         (__USE_GNU): Don't define.
55073         (init_signaling_nan): Protoize.
55075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55077 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55079         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55080         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55081         (__cpymn): Likewise.
55082         (norm): Remove commented code.
55083         (denorm): Likewise.
55084         (__mp_dbl): Likewise.
55085         (__inv): Likewise.
55086         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55087         (__cpymn): Likewise.
55088         (norm): Remove commented code.
55089         (denorm): Likewise.
55090         (__mp_dbl): Likewise.
55091         (__inv): Likewise.
55093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55094         mp_no value for 1.0 and 2.0.
55095         (norm): Use RADIXI instead of radixi.d.
55096         (denorm): Likewise.
55097         (__mul): Use 0.0 instead of zero.d.
55098         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55099         mp_no value for 1.0 and 2.0.
55100         (norm): Use RADIXI instead of radixi.d.
55101         (denorm): Likewise.
55102         (__mul): Use 0.0 instead of zero.d.
55104 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55106         [BZ #14994]
55107         * math/s_casinh.c (__casinh): Reduce finite argument to first
55108         quadrant then set signs of results at the end.
55109         * math/s_casinhf.c (__casinhf): Likewise.
55110         * math/s_casinhl.c (__casinhl): Likewise.
55111         * math/libm-test.inc (casin_test): Add more tests.
55112         (casinh_test): Likewise.
55113         * sysdeps/i386/fpu/libm-test-ulps: Update.
55114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55116 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55118         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55120         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55122         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55123         declarations.
55124         (denorm): Likewise.
55125         (__mp_dbl): Likewise.
55126         (__inv): Likewise.
55128         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55129         and adjust the header comment.
55131         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55132         variable name from declaration.
55134 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55136         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55137         Initialize COMMON_CPUID_INDEX_7 element.
55138         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55139         (CPUID_RTM): Likewise.
55140         (HAS_RTM): Likewise.
55141         (COMMON_CPUID_INDEX_7): New enum.
55143 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55145         [BZ #14981]
55146         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55147         size is zero, record memory as freed.
55149 2013-01-03  Andreas Jaeger  <aj@suse.de>
55151         * po/ia.po: Add new Interlingua translation.
55153 2012-01-03  Allan McRae  <allan@archlinux.org>
55155         * locale/programs/localedef.c: Fix description of '--posix' flag.
55157 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55159         * NEWS: Update dates in second copyright notice.
55160         * README: Update copyright dates in example.
55161         * manual/libc.texinfo: Update copyright dates.
55162         * scripts/test-installation.pl: Update copyright date in --version
55163         output.
55165         * hurd/ctty-input.c: Fix copyright notice formatting.
55166         * hurd/ctty-output.c: Likewise.
55167         * hurd/dtable.c: Likewise.
55168         * hurd/hurd-raise.c: Likewise.
55169         * hurd/hurdprio.c: Likewise.
55170         * hurd/msgportdemux.c: Likewise.
55171         * misc/sys/file.h: Likewise.
55172         * misc/sys/ioctl.h: Likewise.
55173         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
55174         * sysdeps/mach/hurd/chdir.c: Likewise.
55175         * sysdeps/mach/hurd/fchdir.c: Likewise.
55176         * sysdeps/mach/hurd/rename.c: Likewise.
55177         * sysdeps/mach/hurd/rmdir.c: Likewise.
55178         * sysdeps/mach/hurd/seekdir.c: Likewise.
55179         * sysdeps/mach/hurd/setsid.c: Likewise.
55180         * sysdeps/posix/wait3.c: Likewise.
55182         * All files with FSF copyright notices: Update copyright dates
55183         using scripts/update-copyrights.
55184         * intl/plural.c: Regenerated.
55185         * locale/programs/charmap-kw.h: Likewise.
55186         * locale/programs/locfile-kw.h: Likewise.
55188 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55190         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
55191         four values.
55193         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
55194         calculation loop and add branch prediction.
55196         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
55197         check access beyond bounds of m1np.
55199         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55200         MPTWO.
55201         (__inv): Remove local variable MPTWO to use the global
55202         constant.
55203         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
55204         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55205         variable MPTWO.
55206         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
55207         MP3HALFS static const.
55209 2013-01-01  David S. Miller  <davem@davemloft.net>
55211         * po/ca.po: Update from translation team.
55213 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
55215         * scripts/update-copyrights: New file.
55216         * Makeconfig: Reformat copyright notice.
55217         * ctype/ctype.h: Likewise.
55218         * debug/swprintf_chk.c: Likewise.
55219         * elf/dl-cache.c: Likewise.
55220         * elf/dl-debug.c: Likewise.
55221         * elf/dl-object.c: Likewise.
55222         * grp/initgroups.c: Likewise.
55223         * hurd/Makefile: Likewise.
55224         * hurd/hurd/signal.h: Likewise.
55225         * hurd/hurdfault.c: Likewise.
55226         * hurd/hurdioctl.c: Likewise.
55227         * hurd/hurdlookup.c: Likewise.
55228         * hurd/intr-msg.c: Likewise.
55229         * iconv/gconv_open.c: Likewise.
55230         * libio/swprintf.c: Likewise.
55231         * locale/lc-ctype.c: Likewise.
55232         * locale/nl_langinfo.c: Likewise.
55233         * mach/Machrules: Likewise.
55234         * mach/Makefile: Likewise.
55235         * malloc/obstack.h: Likewise.
55236         * manual/Makefile: Likewise.
55237         * manual/tsort.awk: Likewise.
55238         * misc/bits/stab.def: Likewise.
55239         * nis/nis_print_group_entry.c: Likewise.
55240         * nis/nis_table.c: Likewise.
55241         * nis/nss_compat/compat-pwd.c: Likewise.
55242         * nis/nss_compat/compat-spwd.c: Likewise.
55243         * po/Makefile: Likewise.
55244         * posix/fnmatch.c: Likewise.
55245         * posix/regex.h: Likewise.
55246         * resolv/Makefile: Likewise.
55247         * resolv/nss_dns/dns-network.c: Likewise.
55248         * resolv/res_hconf.c: Likewise.
55249         * scripts/gen-sorted.awk: Likewise.
55250         * soft-fp/soft-fp.h: Likewise.
55251         * stdio-common/printf.h: Likewise.
55252         * stdlib/monetary.h: Likewise.
55253         * stdlib/random.c: Likewise.
55254         * stdlib/random_r.c: Likewise.
55255         * sysdeps/generic/Makefile: Likewise.
55256         * sysdeps/gnu/Makefile: Likewise.
55257         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55258         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55259         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55260         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55261         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55262         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55263         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55264         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55265         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55266         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55267         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55268         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55269         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55270         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55271         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
55272         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55273         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55274         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55275         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55276         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55277         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55278         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55279         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55280         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55281         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
55282         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55283         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
55284         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
55285         * sysdeps/mach/hurd/errnos.awk: Likewise.
55286         * sysdeps/mach/hurd/fork.c: Likewise.
55287         * sysdeps/mach/hurd/getcwd.c: Likewise.
55288         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
55289         * sysdeps/mach/hurd/mmap.c: Likewise.
55290         * sysdeps/mach/hurd/utimes.c: Likewise.
55291         * sysdeps/mach/hurd/xmknod.c: Likewise.
55292         * sysdeps/posix/profil.c: Likewise.
55293         * sysdeps/posix/readdir_r.c: Likewise.
55294         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55295         * sysdeps/powerpc/bits/setjmp.h: Likewise.
55296         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
55297         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55298         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55299         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
55300         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55301         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
55302         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55303         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
55304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55305         * sysdeps/pthread/lio_listio.c: Likewise.
55306         * sysdeps/sparc/dl-procinfo.h: Likewise.
55307         * sysdeps/unix/i386/sysdep.S: Likewise.
55308         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
55309         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
55310         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
55311         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
55312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55313         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
55314         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
55315         * sysdeps/unix/sysv/linux/speed.c: Likewise.
55316         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
55317         * sysdeps/wordsize-32/divdi3.c: Likewise.
55318         * time/sys/time.h: Likewise.
55319         * wcsmbs/Makefile: Likewise.
55321 2013-01-01  David S. Miller  <davem@davemloft.net>
55323         * po/fr.po: Update from translation team.
55325         * catgets/gencat.c: Update copyright year.
55326         * csu/version.c: Likewise.
55327         * debug/catchsegv.sh: Likewise.
55328         * debug/pcprofiledump.c: Likewise.
55329         * debug/xtrace.sh: Likewise.
55330         * elf/ldconfig.c: Likewise.
55331         * elf/ldd.bash.in: Likewise.
55332         * elf/pldd.c: Likewise.
55333         * elf/sotruss.ksh: Likewise.
55334         * elf/sprof.c: Likewise.
55335         * iconv/iconv_prog.c: Likewise.
55336         * iconv/iconvconfig.c: Likewise.
55337         * locale/programs/locale.c: Likewise.
55338         * locale/programs/localedef.c: Likewise.
55339         * login/programs/pt_chown.c: Likewise.
55340         * malloc/memusage.sh: Likewise.
55341         * malloc/memusagestat.c: Likewise.
55342         * malloc/mtrace.pl: Likewise.
55343         * nscd/nscd.c: Likewise.
55344         * nss/getent.c: Likewise.
55345         * nss/makedb.c: Likewise.
55346         * posix/getconf.c: Likewise.
55348 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55350         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
55351         numbers.
55353 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
55355         * math/bits/mathcalls.h (modf): Use __nonnull.
55357 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55359         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
55360         (split): Use macro CN instead of the bare value.
55361         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
55362         could be used.
55363         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
55364         instead of the bare value.
55365         (power1): Likewise.
55367 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55369         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
55370         __ATAN_TWOM.
55371         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55373         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
55374         their values.
55375         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55376         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55377         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
55378         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55380 2012-12-28  Andreas Jaeger  <aj@suse.de>
55382         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
55383         values are from Linux 3.7.
55385         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
55386         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
55388 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55390         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
55391         TRUE case.
55393         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
55394         (norm): Likewise.
55395         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
55396         variables with preprocessor constants.
55397         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55398         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55399         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55401 2012-12-27  Bruno Haible  <bruno@clisp.org>
55403         [BZ #14317]
55404         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
55405         only if needed.
55407 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55409         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
55410         and use variable directly.
55411         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
55413         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
55414         MPONE.
55415         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
55416         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
55417         variable MPONE.
55418         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55420         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
55421         include directive.  Remove local variable MPONE.
55422         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
55423         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
55424         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55426 2012-12-25  David S. Miller  <davem@davemloft.net>
55428         * version.h (RELEASE): Set to "development".
55429         (VERSION): Set to "2.17.90".
55430         * NEWS: Add 2.18 section.
55432 2012-12-21  David S. Miller  <davem@davemloft.net>
55434         * po/hr.po: Update from translation team.
55436 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55438         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
55440 2012-12-19  Steve Ellcey  <sellcey@mips.com>
55442         * NEWS:  Mention new memcpy for MIPS.
55444 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55446         * manual/contrib.texi (Contributors): Spelling correction.
55448 2012-12-15  David S. Miller  <davem@davemloft.net>
55450         * po/ru.po: Update from translation team.
55452 2012-12-13  David S. Miller  <davem@davemloft.net>
55454         * NEWS: Mention IFUNC testsuite enhancements.
55456         * po/pl.po: Update from translation team.
55457         * po/bg.po: Likewise.
55459         * manual/contrib.texi (Contributors): Update entries for Hongjiu
55460         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
55462 2012-12-11  David S. Miller  <davem@davemloft.net>
55464         * po/sv.po: Update from translation team.
55466         * po/vi.po: Update from translation team.
55468         * po/cs.po: Update from translation team.
55470         * po/de.po: Update from translation team.
55471         * po/eo.po: Likewise.
55472         * po/nl.po: Likewise.
55474 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55476         [BZ #14246]
55477         * manual/argp.texi (Argp Helper Functions): Move node to follow
55478         Argp Parsing State.
55480         [BZ #14872]
55481         * manual/conf.texi (Limits on File System Capacity): Mention if
55482         terminating null is included in the max size.
55484 2012-12-10  Andreas Jaeger  <aj@suse.de>
55486         * po/cs.po: Update from translation team.
55488 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
55490         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
55491         void pointer and cast to uintptr_t.
55492         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
55493         path.
55494         * sysdeps/s390/s390-64/memcpy.S: Likewise.
55495         * sysdeps/s390/s390-64/memset.S: Likewise.
55497 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
55499         [BZ #14833]
55500         * menual/message.texi (Message Translation): Fix typos.
55501         (Helper programs for gettext): Likewise.
55503 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
55505         [BZ #14898]
55506         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
55507         Change to -1.
55509 2012-12-07  David S. Miller  <davem@davemloft.net>
55511         * po/libc.pot: Update.
55513 2012-12-07  Richard Henderson  <rth@redhat.com>
55515         [BZ #10114]
55516         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
55517         normal/normal case to before the switch.
55518         (_FP_DIV): Likewise.
55520 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
55521             Mike Frysinger  <vapier@gentoo.org>
55523         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
55524         check for __NR_fadvise64_64.
55526 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
55528         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
55529         0, not just to plain "0" as a statement.
55530         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
55531         with cw.
55533 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
55535         * NEWS: Use sourceware.org in Bugzilla URL.
55537 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
55539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
55540         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55542         * stdio-common/tst-put-error.c (do_test): Add newline to the
55543         padded test to ensure flush.
55545 2012-12-05  Jeff Law  <law@redhat.com>
55547         * sunrpc/etc.rpc (fedfs_admin): Add entry.
55549 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
55551         * README: Don't refer to ports add-on as distributed separately.
55552         Mention AArch64 in list of systems supported in the ports add-on.
55554         * LICENSES: Add more non-FSF copyright and license notices.
55556         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
55557         ((unused)).
55559         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
55561         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
55562         10000 as width of padded output.
55564 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55566         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
55568         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
55569         variable LX with __attribute__ ((unused)).
55570         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
55571         Likewise.
55572         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
55573         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
55574         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
55575         with __attribute__ ((unused)).
55577 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
55579         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
55581 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
55583         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
55584         (CFLAGS-nldbl-acos.c): New variable.
55585         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
55586         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
55587         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
55588         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
55589         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
55590         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
55591         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
55592         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
55593         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
55594         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
55595         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
55596         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
55597         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
55598         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
55599         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
55600         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
55601         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
55602         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
55603         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
55604         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
55605         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
55606         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
55607         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
55608         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
55609         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
55610         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
55611         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
55612         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
55613         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
55614         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
55615         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
55616         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
55617         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
55618         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
55619         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
55620         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
55621         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
55622         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
55623         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
55624         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
55625         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
55626         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
55627         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
55628         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
55629         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
55630         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
55631         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
55632         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
55633         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
55634         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
55635         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
55636         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
55637         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
55638         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
55639         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
55640         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
55641         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
55642         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
55643         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
55644         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
55645         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
55646         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
55647         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
55648         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
55649         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
55650         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
55651         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
55652         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
55653         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
55654         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
55655         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
55656         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
55657         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
55658         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
55659         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
55660         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
55661         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
55662         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
55663         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
55664         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
55665         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
55666         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
55667         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
55668         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
55669         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
55670         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
55671         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
55672         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
55673         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
55674         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
55675         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
55676         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
55677         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
55678         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
55679         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
55680         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
55681         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
55683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55684         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
55686         [BZ #14914]
55687         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
55688         whole low double instead of just low 47 bits when splitting values
55689         into two parts.
55691 2012-12-03  Allan McRae  <allan@archlinux.org>
55693         * manual/stdio.texi (Predefined Printf Handlers): Remove
55694         @hsep and @vsep usage.
55696 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
55698         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
55699         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
55701 2012-12-03  Jeff Law  <law@redhat.com>
55703         * time/sys/time.h (settimeofday): Do not mark TV argument
55704         as __nonnull.
55706 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
55708         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
55709         when currently writing and seek to current position when not.
55710         * libio/Makefile (tests): Remove bug-fclose1.
55711         * libio/bug-fclose1.c: Delete.
55713 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
55715         * manual/arith.texi (feenableexcept): Fix typo.
55716         (fedisableexcept): Likewise.
55718 2012-11-30  Roland McGrath  <roland@hack.frob.com>
55720         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
55721         second, differently-typed declaration, rather than a cast.
55723 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
55725         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
55726         * include/rpc/svc.h: ... here.
55728 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
55730         [BZ #13013]
55731         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
55732         depending n and resplen2 to catch cases where answer
55733         equals answerp2.
55735 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
55737         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
55738         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
55740 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
55742         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
55744 2012-11-29  Roland McGrath  <roland@hack.frob.com>
55746         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
55748 2012-11-28  Jeff Law  <law@redhat.com>
55750         [BZ #13761]
55751         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
55752         dataset_temporary.  Track alloca usage into alloca_used.
55753         If dataset is large allocate and release it via malloc/free.
55755 2012-06-04  Florian Weimer  <fweimer@redhat.com>
55757         [BZ #14197]
55758         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
55760 2012-11-28  David S. Miller  <davem@davemloft.net>
55762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55764 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55766         [BZ #14803]
55767         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
55768         of pi/2 rounded to nearest to 64 bits.
55769         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
55770         nearest to 64 bits.
55771         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
55772         bits.
55774 2012-11-28  Jeff Law <law@redhat.com>
55775             Martin Osvald <mosvald@redhat.com>
55777         [BZ #14889]
55778         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
55779         * sunrpc/svc.c: Include time.h.
55780         (__svc_accept_failed): New function.
55781         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
55782         any reason other than EINTR, call __svc_accept_failed.
55783         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
55784         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
55786 2012-11-28  Andreas Schwab  <schwab@suse.de>
55788         * scripts/abilist.awk: Also handle indirect functions in .opd
55789         section.
55791 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
55793         [BZ #13881]
55794         * sysdeps/x86/fpu/powl_helper.c: New file.
55795         * sysdeps/x86/fpu/Makefile: Likewise.
55796         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
55797         (p3): New object.
55798         (__ieee754_powl): Use __powl_helper for finite arguments except
55799         integer exponents below 8.
55800         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
55801         (p3): New object.
55802         (__ieee754_powl): Use __powl_helper for finite arguments except
55803         integer exponents below 8.
55804         * math/libm-test.inc (pow_test): Add more tests and enable some
55805         previously disabled tests.
55806         * sysdeps/i386/fpu/libm-test-ulps: Update.
55807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55809 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55810             Carlos O'Donell  <carlos_odonell@mentor.com>
55812         * nss/makedb.c (is_prime): Assert that input is odd and greater
55813         than 4.  Note that fact in a comment too.
55814         (next_prime): Add 4 to input.
55816 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55818         [BZ #11741]
55819         * libio/Makefile (tests): Add test case tst-fwrite-error.
55820         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
55821         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
55822         * libio/tst-fwrite-error.c: New test case.
55824 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
55826         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
55827         before casting to void *.
55828         * include/libc-internal.h (__pointer_type): New macro.
55829         (__integer_if_pointer_type_sub): Likewise.
55830         (__integer_if_pointer_type): Likewise.
55831         (cast_to_integer): Likewise.
55832         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
55833         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
55834         before casting to atomic64_t.
55835         (atomic_exchange_acq): Likewise.
55836         (__arch_exchange_and_add_body): Likewise.
55837         (__arch_add_body): Likewise.
55838         (atomic_add_negative): Likewise.
55839         (atomic_add_zero): Likewise.
55841 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
55843         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
55844         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
55845         (add_fdes): Likewise.
55846         (linear_search_fdes): Likewise.
55847         (binary_search_unencoded_fdes): Likewise.
55849 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
55851         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
55853 2012-11-24  Adam Conrad  <adconrad@0c3.net>
55855         * configure.in: Autodetect C++ header directories.
55856         * configure: Regenerated.
55858 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
55860         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
55862 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
55864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55866 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
55868         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
55869         LDBL_MANT_DIG == 106]: Disable some tests.
55870         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55871         Likewise.
55872         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
55873         Likewise.
55875         [BZ #14871]
55876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
55877         input for small inputs.  Return +/- pi/2 for large inputs.
55878         * math/libm-test.inc (atan_test): Add more tests.
55880         * sysdeps/generic/unwind-dw2-fde-glibc.c
55881         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
55882         __attribute__ ((unused)).
55884         [BZ #14645]
55885         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
55886         x * y if x and y are nonzero and z is zero.
55888         [BZ #14811]
55889         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
55890         nonzero exponents with absolute value below 0x1p-117 to +/-
55891         0x1p-117.
55893         [BZ #14869]
55894         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
55895         up arguments below 2**-450, not just those below 2**-500.
55896         * math/libm-test.inc (hypot_test): Add another test.
55898         [BZ #14868]
55899         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
55900         Return a+b for ratio over 2**120, not 2**60.
55901         * math/libm-test.inc (hypot_test): Add another test.
55903         * math/libm-test.inc (clog_test): Use
55904         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
55905         (clog10_test): Likewise.
55907         [BZ #6778]
55908         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
55910 2012-11-22  Andreas Schwab  <schwab@suse.de>
55912         * sysdeps/i386/fpu/libm-test-ulps: Update.
55914 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
55916         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
55917         printf output with newline.
55919 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
55921         [BZ #14865]
55922         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
55923         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
55924         -z nodlopen, -z initfirst and -z execstack support.
55925         * configure: Regenerated.
55927         * elf/elf.h (DF_1_NODIRECT): New macro.
55928         (DF_1_IGNMULDEF): Likewise.
55929         (DF_1_NOKSYMS): Likewise.
55930         (DF_1_NOHDR): Likewise.
55931         (DF_1_EDITED): Likewise.
55932         (DF_1_NORELOC): Likewise.
55933         (DF_1_SYMINTPOSE): Likewise.
55934         (DF_1_GLOBAUDIT): Likewise.
55935         (DF_1_SINGLETON): Likewise.
55936         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
55937         DT_1_SUPPORTED_MASK bits.
55938         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
55940 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
55942         * sysdeps/unix/make-syscalls.sh: Document prefixes.
55944 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
55946         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
55947         macro.
55949         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
55950         (sendmmsg): Move declarations...
55951         * socket/sys/socket.h: ... here.
55952         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
55953         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
55954         include it from...
55955         * socket/recvmmsg.c: ... this new file.
55956         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
55957         (sendmmsg): Rename to __sendmmsg, create weak alias and make
55958         definition of __sendmmsg hidden.
55959         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
55960         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
55961         Move ENOSYS stub into and include it from...
55962         * socket/sendmmsg.c: ... this new file.
55963         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
55964         (sysdep_routines): Move recvmmsg and sendmmsg...
55965         * socket/Makefile (routines): ... here.
55966         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
55967         (GLIBC_PRIVATE): Add __sendmmsg.
55968         * include/sys/socket.h (__sendmmsg): Add declarations.
55969         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
55970         sendmmsg.
55972 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
55974         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
55975         variable I1 with __attribute__ ((unused)).
55976         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
55978 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
55980         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
55981         DUMMY variables with __attribute__ ((unused)).
55983         * bits/byteswap.h: Include <bits/types.h>.
55984         (__bswap_64): Use __uint64_t instead of unsigned long long int.
55986 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
55988         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
55989         string_t.  Do not manually set errno.
55990         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
55991         length with __strnlen.  Make sure to both set errno and return it on
55992         failure.
55994 2012-11-19  David S. Miller  <davem@davemloft.net>
55996         With help from Joseph Myers.
55997         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
55998         very large arguments properly.
55999         * math/libm-test.inc (atan_test): New tests.
56000         (atan2_test): New tests.
56001         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56004 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56006         [BZ #14856]
56007         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56008         Define to 3.
56010         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56011         [POSIX] (EADDRNOTAVAIL): Likewise.
56012         [POSIX] (EAFNOSUPPORT): Likewise.
56013         [POSIX] (EALREADY): Likewise.
56014         [POSIX] (ECONNABORTED): Likewise.
56015         [POSIX] (ECONNREFUSED): Likewise.
56016         [POSIX] (ECONNRESET): Likewise.
56017         [POSIX] (EDESTADDRREQ): Likewise.
56018         [POSIX] (EDQUOT): Likewise.
56019         [POSIX] (EHOSTUNREACH): Likewise.
56020         [POSIX] (EIDRM): Likewise.
56021         [POSIX] (EISCONN): Likewise.
56022         [POSIX] (ELOOP): Likewise.
56023         [POSIX] (EMULTIHOP): Likewise.
56024         [POSIX] (ENETDOWN): Likewise.
56025         [POSIX] (ENETUNREACH): Likewise.
56026         [POSIX] (ENOBUFS): Likewise.
56027         [POSIX] (ENODATA): Likewise.
56028         [POSIX] (ENOLINK): Likewise.
56029         [POSIX] (ENOMSG): Likewise.
56030         [POSIX] (ENOPROTOOPT): Likewise.
56031         [POSIX] (ENOSR): Likewise.
56032         [POSIX] (ENOSTR): Likewise.
56033         [POSIX] (ENOTCONN): Likewise.
56034         [POSIX] (ENOTSOCK): Likewise.
56035         [POSIX] (EOPNOTSUPP): Likewise.
56036         [POSIX] (EOVERFLOW): Likewise.
56037         [POSIX] (EPROTO): Likewise.
56038         [POSIX] (EPROTONOSUPPORT): Likewise.
56039         [POSIX] (EPROTOTYPE): Likewise.
56040         [POSIX] (ESTALE): Likewise.
56041         [POSIX] (ETIME): Likewise.
56042         [POSIX] (ETXTBSY): Likewise.
56043         [POSIX] (EWOULDBLOCK): Likewise.
56044         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56045         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56046         [POSIX] (SEEK_CUR): Likewise.
56047         [POSIX] (SEEK_END): Likewise.
56048         [POSIX || UNIX98] (mode_t): Do not require.
56049         [POSIX] (off_t): Likewise.
56050         [POSIX] (pid_t): Likewise.
56051         [POSIX] (sys/stat.h): Do not allow header.
56052         [POSIX] (unistd.h): Likewise.
56053         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56054         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56055         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56056         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56057         require.
56058         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56059         sigevent): Specify elements.
56060         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56061         entry.
56062         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56063         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56065         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56066         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56067         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56068         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56069         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56070         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56071         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56072         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56073         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56074         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56075         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56076         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56077         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56079         Likewise.
56080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56081         Likewise.
56082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56083         Likewise.
56084         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56085         Likewise.
56086         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56088         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56089         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56090         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56091         Specify lower bound on value.
56092         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56093         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56094         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56095         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56096         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56097         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56098         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56099         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56100         value.
56101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56102         as optional.
56103         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56104         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56105         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56106         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56107         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56108         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56109         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56110         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56111         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56112         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56113         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56114         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56115         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56116         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56117         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56118         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56119         entry.
56120         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56121         optional.
56122         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56123         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56124         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56125         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56126         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56128         Likewise.
56129         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56130         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56131         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56132         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56133         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56134         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56136         as optional.
56137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56138         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56139         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56140         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56141         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56142         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56143         specify as optional.
56144         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56145         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56146         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56147         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56148         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56149         [XPG3] (NL_LANGMAX): Likewise.
56150         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56151         [POSIX || XPG3] (NL_NMAX): Likewise.
56152         [POSIX || XPG3] (NL_SETMAX): Likewise.
56153         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56154         [XPG3] (NZERO): Likewise.
56155         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56156         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56157         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56158         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56159         (REG_ERANGE): Expect.
56160         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56161         optional-constant.
56162         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
56163         Use (void) in prototype.
56164         [POSIX] (*_t): Allow.
56165         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
56166         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
56167         (WRDE_BADVAL): Expect.
56169         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
56170         expect.
56171         [XPG3 || XPG4] (O_RSYNC): Likewise.
56172         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
56173         Likewise.
56174         [XPG3 || XPG4] (pthread_sigmask): Likewise.
56175         [XPG3 || XPG4] (sigqueue): Likewise.
56176         [XPG3 || XPG4] (sigtimedwait): Likewise.
56177         [XPG3 || XPG4] (sigwaitinfo): Likewise.
56178         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
56179         [XPG3 || XPG4] (vsnprintf): Likewise.
56180         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
56181         Likewise.
56182         [XPG3 || XPG4] (blksize_t): Likewise.
56183         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
56184         Likewise.
56185         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
56186         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
56187         [XPG3 || XPG4] (struct itimerspec): Likewise.
56188         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
56189         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
56190         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
56191         [XPG3 || XPG4] (clockid_t): Likewise.
56192         [XPG3 || XPG4] (timer_t): Likewise.
56193         [XPG3 || XPG4] (clock_getres): Likewise.
56194         [XPG3 || XPG4] (clock_gettime): Likewise.
56195         [XPG3 || XPG4] (clock_settime): Likewise.
56196         [XPG3 || XPG4] (nanosleep): Likewise.
56197         [XPG3 || XPG4] (timer_create): Likewise.
56198         [XPG3 || XPG4] (timer_delete): Likewise.
56199         [XPG3 || XPG4] (timer_gettime): Likewise.
56200         [XPG3 || XPG4] (timer_getoverrun): Likewise.
56201         [XPG3 || XPG4] (timer_settime): Likewise.
56202         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
56203         [XPG3 || XPG4] (getlogin_r): Likewise.
56204         [XPG3 || XPG4] (pread): Likewise.
56205         [XPG3 || XPG4] (pthread_atfork): Likewise.
56206         [XPG3 || XPG4] (pwrite): Likewise.
56208         [BZ #14835]
56209         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
56210         <bits/siginfo.h>.
56212 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56214         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
56215         finalizing MALLSTREAM.
56217         * sysdeps/mach/hurd/syncfs.c: New file.
56219 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56221         [BZ #14719]
56222         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
56223         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
56224         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
56225         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
56226         (_nss_dns_gethostbyname4_r): Likewise.
56227         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
56228         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
56230 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
56232         [BZ #13763]
56233         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
56235 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
56237         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
56238         * elf/cache.c (print_entry): Print ",AArch64" for
56239         FLAG_AARCH64_LIB64
56241         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
56242         * elf/cache.c (print_entry): Print ",hard-float" for
56243         FLAG_ARM_LIBHF.
56245 2012-11-18  David S. Miller  <davem@davemloft.net>
56247         With help from Joseph Myers.
56248         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
56249         cutoff to 2**-13.
56250         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
56251         cutoff to 2**-25.
56252         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
56253         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
56254         small.
56255         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
56256         * math/libm-test.inc (y0_test): New tests.
56257         (y1_test): New tests.
56258         * sysdeps/i386/fpu/libm-test-ulps: Update.
56259         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56260         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56262 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
56264         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
56265         64-bit targets.
56266         * configure: Regenerated.
56268 2012-11-17  David S. Miller  <davem@davemloft.net>
56270         [BZ #14811]
56271         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
56272         nonzero exponents with absolute value below 0x1p-128 to +/-
56273         0x1p-128.
56275 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
56277         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
56279         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
56281         * posix/getconf-speclist.c: New file.
56282         * posix/posix-envs.def: Likewise.
56283         * posix/confstr.c (START_ENV_GROUP): New macro.
56284         (END_ENV_GROUP): Likewise.
56285         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56286         (KNOWN_PRESENT_ENV_STRING): Likewise.
56287         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56288         (UNKNOWN_ENVIRONMENT): Likewise.
56289         (confstr): Include posix-envs.def instead of handling
56290         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
56291         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
56292         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
56293         (END_ENV_GROUP): Likewise.
56294         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
56295         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
56296         (UNKNOWN_ENVIRONMENT): Likewise.
56297         (__sysconf): Include posix-envs.def instead of handling associated
56298         cases directly here.
56299         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
56300         preprocessing getconf-speclist.c rather than running getconf or
56301         generating empty file.
56303 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
56305         * scripts/check-local-headers.sh: Ignore 'mach' headers.
56307 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
56309         [BZ #14672]
56310         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
56312 2012-11-16  David S. Miller  <davem@davemloft.net>
56314         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
56315         smaller than LDBL_EPSILON/2.0L, just return xm1.
56317 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
56319         * elf/tst-array1.c (init): Set constructor priority to 1000.
56320         (fini): Set destructor priority to 1000.
56321         * elf/tst-array2dep.c: Likewise.
56323 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56325         [BZ #11741]
56326         * libio/fileops.c (_IO_new_file_write): Correctly return error.
56327         (_IO_new_file_xsputn): Also return EOF if none of the input
56328         data was written when overflow failed.
56329         * libio/iopadn.c (_IO_padn): Likewise.
56330         * libio/iowpadn.c (_IO_wpadn): Likewise.
56331         * stdio-common/tst-put-error.c: Add copyright notice.
56332         (do_test): Add case for printing padded string.
56333         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
56334         _IO_padn returned error.
56335         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
56336         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
56337         return EOF.
56339 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56341         * libio/libioP.h: Add comment note that the references to C++
56342         bits are now obsolete.
56344 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56346         * math/libm-test.inc (check_complex): Use asprintf.
56348 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
56350         * debug/pcprofiledump.c (print_version): Update copyright year.
56351         * malloc/memusagestat.c (print_version): Likewise.
56353 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
56355         [BZ #14831]
56356         * elf/Makefile (tests): Add tst-audit8.
56357         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
56358         ($(objpfx)tst-audit8.out): New target.
56359         (tst-audit8-ENV): New variable.
56360         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
56361         audit if l_reloc_result is NULL.
56362         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
56363         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
56364         * elf/tst-audit8.c: New file.
56366 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56368         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
56369         * misc/Makefile (CFLAGS-select.c): Define.
56370         * posix/Makefile (CFLAGS-pause.c): Define.
56372 2012-11-13  David S. Miller  <davem@davemloft.net>
56374         * crypt/Makefile: Move test targets after toplevel Rules
56375         inclusion.  Grab any necessary sysdep routines when linking.
56376         * crypt/md5.c (md5_process_block): Remove define, we will always
56377         name it __md5_process_block.
56378         (md5_finish_ctx): Update md5_process_block call.
56379         (md5_stream): Likewise.
56380         (md5_process_bytes): Likewise.
56381         (md5_process_block): Rename to __md5_process_block and move to ...
56382         * crypt/md5-block.c: ... here.
56383         * crypt/sha256.c (sha256_process_block): Move to ...
56384         * crypt/sha256-block.c: ... here.
56385         * crypt/sha512.c (sha512_process_block): Move to ...
56386         * crypt/sha512-block.c: ... here.
56387         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
56388         path.
56389         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
56390         * sysdeps/sparc/sparc64/multiarch/Makefile
56391         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
56392         crypt subdir.
56393         (localedef-aux): Add md5 crypto assembler when in locale subdir.
56394         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
56395         multiarch changes.
56396         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
56397         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
56398         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
56399         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
56400         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
56401         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
56402         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
56403         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
56404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
56405         file.
56406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
56407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
56408         file.
56409         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
56411 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
56413         * timezone/tzselect.ksh: Update from tzcode git revision
56414         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
56415         * timezone/zdump.c: Likewise.
56416         * timezone/zic.c: Likewise.
56417         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
56418         in TZVERSION setting, not $(PKGVERSION).
56419         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
56420         REPORT_BUGS_TO settings.
56422         [BZ #14838]
56423         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
56424         macro.
56426 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56428         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
56429         detection to immediately after _FP_ROUND().
56430         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
56431         bits are 0.
56433 2012-11-11  David S. Miller  <davem@davemloft.net>
56435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
56436         inttypes.h
56437         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
56438         __close rather than their public counterparts.
56440 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
56442         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
56443         file.
56444         [UNIX98] (sem_timedwait): Do not expect.
56445         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
56446         [XPG4 || UNIX98] (sockatmark): Do not expect.
56447         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
56448         (clock_getcpuclockid): Do not expect.
56449         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
56450         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
56451         Do not expect.
56452         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
56453         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
56454         [UNIX98] (vwscanf): Likewise.
56455         [UNIX98] (vswscanf): Likewise.
56457 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
56459         * timezone/version.h: Remove file.
56460         * timezone/README: Do not refer to version.h.
56461         * timezone/Makefile ($(objpfx)zic.o): New dependency on
56462         $(objpfx)version.h.
56463         ($(objpfx)zdump.o): Likewise.
56464         ($(objpfx)version.h): New target.
56466         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
56467         2012i.
56468         * timezone/README: Don't mention modification to tzselect.ksh.
56469         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
56470         work on unmodified tzselect.ksh.  Substitute version numbers in
56471         tzselect.ksh.
56473         * Makefile (format-me): Remove.
56474         (INSTALL): Adjust indentation.  Use commands directly instead of
56475         using $(format-me).
56477         * aclocal.m4 (ACX_PKGVERSION): New macro.
56478         (ACX_BUGURL): Likewise.
56479         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
56480         (PKGVERSION): New AC_DEFINE_UNQUOTED.
56481         (REPORT_BUGS_TO): Likewise.
56482         * configure: Regenerated.
56483         * config.h.in (PKGVERSION): New macro.
56484         (REPORT_BUGS_TO): Likewise.
56485         * config.make.in (PKGVERSION): New variable.
56486         (PKGVERSION_TEXI): Likewise.
56487         (REPORT_BUGS_TO): Likewise.
56488         (REPORT_BUGS_TEXI): Likewise.
56489         * Makefile (format-me): Use -I$(common-objpfx)manual.
56490         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
56491         ($(common-objpfx)manual/%): New target.
56492         (manual/%): Remove target.
56493         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
56494         (print_version): Use PKGVERSION.
56495         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
56496         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
56497         and REPORT_BUGS_TO.
56498         ($(objpfx)xtrace): Likewise.
56499         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
56500         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
56501         (print_version): Use PKGVERSION.
56502         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
56503         (do_version): Use PKGVERSION.
56504         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
56505         REPORT_BUGS_TO.
56506         (common-ldd-rewrite): Likewise.
56507         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
56508         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
56509         (print_version): Use PKGVERSION.
56510         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
56511         * elf/pldd.c (argp_program_bug_address): Remove variable.
56512         (more_help): New function.
56513         (argp): Use more_help.
56514         (print_version): Use PKGVERSION.
56515         * elf/sln.c (main): Use PKGVERSION.
56516         (usage): Use REPORT_BUGS_TO.
56517         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
56518         (top level): Use PKGVERSION.
56519         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
56520         (print_version): Use PKGVERSION.
56521         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
56522         (print_version): Use PKGVERSION.
56523         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
56524         (print_version): Use PKGVERSION.
56525         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
56526         (print_version): Use PKGVERSION.
56527         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
56528         (print_version): Use PKGVERSION.
56529         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
56530         (print_version): Use PKGVERSION.
56531         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
56532         and BUGURL.
56533         ($(objpfx)memusage): Likewise.
56534         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
56535         (do_version): Use PKGVERSION.
56536         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
56537         (print_version): Use PKGVERSION.
56538         * malloc/mtrace.pl ($PACKAGE): Remove variable.
56539         ($PKGVERSION): New variable.
56540         ($REPORT_BUGS_TO): Likewise.
56541         (usage): Use $REPORT_BUGS_TO.
56542         (top level): Use $PKGVERSION.
56543         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
56544         ($(objpfx)pkgvers.texi): New rule.
56545         ($(objpfx)stamp-pkgvers): Likewise.
56546         * manual/install.texi: Include pkgvers.texi.
56547         (--with-pkgversion): Document new configure option.
56548         (--with-bugurl): Likewise.
56549         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
56550         than necessarily for this particular distribution.  Use
56551         REPORT_BUGS_TO for where to report bugs.
56552         * INSTALL: Regenerated.
56553         * manual/libc.texinfo: Include pkgvers.texi.
56554         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
56555         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
56556         (print_version): Use PKGVERSION.
56557         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
56558         (print_version): Use PKGVERSION.
56559         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
56560         (print_version): Use PKGVERSION.
56561         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
56562         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
56563         macro.
56564         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
56565         (print_version): Use PKGVERSION.
56566         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
56567         (print_version): Use PKGVERSION.
56568         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
56569         and PKGVERSION.
56571         * timezone/checktab.awk: Update from tzcode 2012i.
56572         * timezone/ialloc.c: Likewise.
56573         * timezone/private.h: Likewise.
56574         * timezone/scheck.c: Likewise.
56575         * timezone/tzfile.h: Likewise.
56576         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
56577         (TZVERSION): Hardcode tzcode version number.
56578         * timezone/zdump.c: Update from tzcode 2012i.
56579         * timezone/zic.c: Likewise.
56580         * timezone/version.h: New file.
56581         * timezone/README: Describe version.h.  Update upstream location.
56583         [BZ #14824]
56584         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
56585         (mktemp): Enable declaration.
56586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
56587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
56588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
56589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
56590         Likewise.
56591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
56592         Likewise.
56593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
56594         Likewise.
56595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
56596         Likewise.
56597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
56598         Likewise.
56599         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
56600         Likewise.
56602         [BZ #14821]
56603         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
56604         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
56605         for copies of such integer values.
56606         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56607         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56609 2012-11-09  Andreas Jaeger  <aj@suse.de>
56611         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
56612         definitions and declarations that are provided by
56613         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
56615 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56617         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
56618         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
56619         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
56620         definition.
56622 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56624         * elf/elf.h: Update comment before AArch64 relocations.
56626 2012-11-07  David S. Miller  <davem@davemloft.net>
56628         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
56629         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
56630         (__start_context): Declare.
56631         (__makecontext_ret): Delete.
56632         (__makecontext): Hook up __start_context instead of
56633         __makecontext_ret.
56634         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
56635         (sysdep_routines): Add __start_context when in stdlib.
56637 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56639         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
56640         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
56641         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
56642         hardcoded "nm".
56643         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
56644         (READELF): New variable.  Use it instead of hardcoded "readelf".
56646 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56648         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
56649         * sysdeps/x86/Makefile: Here.
56650         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
56651         * sysdeps/x86/tst-xmmymm.sh: This.
56653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
56655         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
56656         expectations.
56657         [UNIX98] (pthread_barrier_t): Do not expect.
56658         [UNIX98] (pthread_barrierattr_t): Likewise.
56659         [UNIX98] (pthread_spinlock_t): Likewise.
56660         [UNIX98] (pthread_barrier_destroy): Likewise.
56661         [UNIX98] (pthread_barrier_init): Likewise.
56662         [UNIX98] (pthread_barrier_wait): Likewise.
56663         [UNIX98] (pthread_barrierattr_destroy): Likewise.
56664         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
56665         [UNIX98] (pthread_barrierattr_init): Likewise.
56666         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
56667         [UNIX98] (pthread_getcpuclockid): Likewise.
56668         [UNIX98] (pthread_mutex_timedlock): Likewise.
56669         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
56670         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
56671         [UNIX98] (pthread_sigmask): Likewise.
56672         [UNIX98] (pthread_spin_destroy): Likewise.
56673         [UNIX98] (pthread_spin_init): Likewise.
56674         [UNIX98] (pthread_spin_lock): Likewise.
56675         [UNIX98] (pthread_spin_trylock): Likewise.
56676         [UNIX98] (pthread_spin_unlock): Likewise.
56677         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
56678         Do not expect.
56679         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
56680         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
56681         [XPG3 || XPG4] (pthread_cond_t): Likewise.
56682         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
56683         [XPG3 || XPG4] (pthread_key_t): Likewise.
56684         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
56685         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
56686         [XPG3 || XPG4] (pthread_once_t): Likewise.
56687         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
56688         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
56689         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
56690         [XPG3 || XPG4] (pthread_t): Likewise.
56692         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
56693         not expect.
56694         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
56696         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
56697         Change function return type to int.
56699         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
56700         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
56701         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
56702         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
56703         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
56704         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
56705         [!POSIX] (posix_madvise): Likewise.
56706         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
56707         && !UNIX98].
56708         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
56709         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
56710         (mode_t): Likewise.
56711         (posix_mem_offset): Likewise.
56712         (posix_typed_mem_get_info): Likewise.
56713         (posix_typed_mem_open): Likewise.
56715         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
56716         Change condition to [XOPEN2K8].
56718         * conform/conformtest.pl: Preprocess allow-header data with -x c
56719         instead of from stdin.
56720         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
56721         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
56722         [C99-based standards] (cerfc): Likewise.
56723         [C99-based standards] (cexp2): Likewise.
56724         [C99-based standards] (cexpm1): Likewise.
56725         [C99-based standards] (clog10): Likewise.
56726         [C99-based standards] (clog1p): Likewise.
56727         [C99-based standards] (clog2): Likewise.
56728         [C99-based standards] (clgamma): Likewise.
56729         [C99-based standards] (ctgamma): Likewise.
56730         [C99-based standards] (cerff): Likewise.
56731         [C99-based standards] (cerfcf): Likewise.
56732         [C99-based standards] (cexp2f): Likewise.
56733         [C99-based standards] (cexpm1f): Likewise.
56734         [C99-based standards] (clog10f): Likewise.
56735         [C99-based standards] (clog1pf): Likewise.
56736         [C99-based standards] (clog2f): Likewise.
56737         [C99-based standards] (clgammaf): Likewise.
56738         [C99-based standards] (ctgammaf): Likewise.
56739         [C99-based standards] (cerfl): Likewise.
56740         [C99-based standards] (cerfcl): Likewise.
56741         [C99-based standards] (cexp2l): Likewise.
56742         [C99-based standards] (cexpm1l): Likewise.
56743         [C99-based standards] (clog10l): Likewise.
56744         [C99-based standards] (clog1pl): Likewise.
56745         [C99-based standards] (clog2l): Likewise.
56746         [C99-based standards] (clgammal): Likewise.
56747         [C99-based standards] (ctgammal): Likewise.
56748         * conform/data/inttypes.h-data [C99-based standards]: Include
56749         stdint.h-data.  Remove all expectations for stdint.h contents.
56750         [C99-based standards] (PRI*): Do not allow.
56751         [C99-based standards] (SCN*): Likewise.
56752         [C99-based standards] (*_t): Likewise.
56753         [C99-based-standards] (PRId8): Expect macro.
56754         [C99-based-standards] (PRIi8): Likewise.
56755         [C99-based-standards] (PRIo8): Likewise.
56756         [C99-based-standards] (PRIu8): Likewise.
56757         [C99-based-standards] (PRIx8): Likewise.
56758         [C99-based-standards] (PRIX8): Likewise.
56759         [C99-based-standards] (SCNd8): Likewise.
56760         [C99-based-standards] (SCNi8): Likewise.
56761         [C99-based-standards] (SCNo8): Likewise.
56762         [C99-based-standards] (SCNu8): Likewise.
56763         [C99-based-standards] (SCNx8): Likewise.
56764         [C99-based-standards] (PRIdLEAST8): Likewise.
56765         [C99-based-standards] (PRIiLEAST8): Likewise.
56766         [C99-based-standards] (PRIoLEAST8): Likewise.
56767         [C99-based-standards] (PRIuLEAST8): Likewise.
56768         [C99-based-standards] (PRIxLEAST8): Likewise.
56769         [C99-based-standards] (PRIXLEAST8): Likewise.
56770         [C99-based-standards] (SCNdLEAST8): Likewise.
56771         [C99-based-standards] (SCNiLEAST8): Likewise.
56772         [C99-based-standards] (SCNoLEAST8): Likewise.
56773         [C99-based-standards] (SCNuLEAST8): Likewise.
56774         [C99-based-standards] (SCNxLEAST8): Likewise.
56775         [C99-based-standards] (PRIdFAST8): Likewise.
56776         [C99-based-standards] (PRIiFAST8): Likewise.
56777         [C99-based-standards] (PRIoFAST8): Likewise.
56778         [C99-based-standards] (PRIuFAST8): Likewise.
56779         [C99-based-standards] (PRIxFAST8): Likewise.
56780         [C99-based-standards] (PRIXFAST8): Likewise.
56781         [C99-based-standards] (SCNdFAST8): Likewise.
56782         [C99-based-standards] (SCNiFAST8): Likewise.
56783         [C99-based-standards] (SCNoFAST8): Likewise.
56784         [C99-based-standards] (SCNuFAST8): Likewise.
56785         [C99-based-standards] (SCNxFAST8): Likewise.
56786         [C99-based-standards] (PRId16): Likewise.
56787         [C99-based-standards] (PRIi16): Likewise.
56788         [C99-based-standards] (PRIo16): Likewise.
56789         [C99-based-standards] (PRIu16): Likewise.
56790         [C99-based-standards] (PRIx16): Likewise.
56791         [C99-based-standards] (PRIX16): Likewise.
56792         [C99-based-standards] (SCNd16): Likewise.
56793         [C99-based-standards] (SCNi16): Likewise.
56794         [C99-based-standards] (SCNo16): Likewise.
56795         [C99-based-standards] (SCNu16): Likewise.
56796         [C99-based-standards] (SCNx16): Likewise.
56797         [C99-based-standards] (PRIdLEAST16): Likewise.
56798         [C99-based-standards] (PRIiLEAST16): Likewise.
56799         [C99-based-standards] (PRIoLEAST16): Likewise.
56800         [C99-based-standards] (PRIuLEAST16): Likewise.
56801         [C99-based-standards] (PRIxLEAST16): Likewise.
56802         [C99-based-standards] (PRIXLEAST16): Likewise.
56803         [C99-based-standards] (SCNdLEAST16): Likewise.
56804         [C99-based-standards] (SCNiLEAST16): Likewise.
56805         [C99-based-standards] (SCNoLEAST16): Likewise.
56806         [C99-based-standards] (SCNuLEAST16): Likewise.
56807         [C99-based-standards] (SCNxLEAST16): Likewise.
56808         [C99-based-standards] (PRIdFAST16): Likewise.
56809         [C99-based-standards] (PRIiFAST16): Likewise.
56810         [C99-based-standards] (PRIoFAST16): Likewise.
56811         [C99-based-standards] (PRIuFAST16): Likewise.
56812         [C99-based-standards] (PRIxFAST16): Likewise.
56813         [C99-based-standards] (PRIXFAST16): Likewise.
56814         [C99-based-standards] (SCNdFAST16): Likewise.
56815         [C99-based-standards] (SCNiFAST16): Likewise.
56816         [C99-based-standards] (SCNoFAST16): Likewise.
56817         [C99-based-standards] (SCNuFAST16): Likewise.
56818         [C99-based-standards] (SCNxFAST16): Likewise.
56819         [C99-based-standards] (PRId32): Likewise.
56820         [C99-based-standards] (PRIi32): Likewise.
56821         [C99-based-standards] (PRIo32): Likewise.
56822         [C99-based-standards] (PRIu32): Likewise.
56823         [C99-based-standards] (PRIx32): Likewise.
56824         [C99-based-standards] (PRIX32): Likewise.
56825         [C99-based-standards] (SCNd32): Likewise.
56826         [C99-based-standards] (SCNi32): Likewise.
56827         [C99-based-standards] (SCNo32): Likewise.
56828         [C99-based-standards] (SCNu32): Likewise.
56829         [C99-based-standards] (SCNx32): Likewise.
56830         [C99-based-standards] (PRIdLEAST32): Likewise.
56831         [C99-based-standards] (PRIiLEAST32): Likewise.
56832         [C99-based-standards] (PRIoLEAST32): Likewise.
56833         [C99-based-standards] (PRIuLEAST32): Likewise.
56834         [C99-based-standards] (PRIxLEAST32): Likewise.
56835         [C99-based-standards] (PRIXLEAST32): Likewise.
56836         [C99-based-standards] (SCNdLEAST32): Likewise.
56837         [C99-based-standards] (SCNiLEAST32): Likewise.
56838         [C99-based-standards] (SCNoLEAST32): Likewise.
56839         [C99-based-standards] (SCNuLEAST32): Likewise.
56840         [C99-based-standards] (SCNxLEAST32): Likewise.
56841         [C99-based-standards] (PRIdFAST32): Likewise.
56842         [C99-based-standards] (PRIiFAST32): Likewise.
56843         [C99-based-standards] (PRIoFAST32): Likewise.
56844         [C99-based-standards] (PRIuFAST32): Likewise.
56845         [C99-based-standards] (PRIxFAST32): Likewise.
56846         [C99-based-standards] (PRIXFAST32): Likewise.
56847         [C99-based-standards] (SCNdFAST32): Likewise.
56848         [C99-based-standards] (SCNiFAST32): Likewise.
56849         [C99-based-standards] (SCNoFAST32): Likewise.
56850         [C99-based-standards] (SCNuFAST32): Likewise.
56851         [C99-based-standards] (SCNxFAST32): Likewise.
56852         [C99-based-standards] (PRId64): Likewise.
56853         [C99-based-standards] (PRIi64): Likewise.
56854         [C99-based-standards] (PRIo64): Likewise.
56855         [C99-based-standards] (PRIu64): Likewise.
56856         [C99-based-standards] (PRIx64): Likewise.
56857         [C99-based-standards] (PRIX64): Likewise.
56858         [C99-based-standards] (SCNd64): Likewise.
56859         [C99-based-standards] (SCNi64): Likewise.
56860         [C99-based-standards] (SCNo64): Likewise.
56861         [C99-based-standards] (SCNu64): Likewise.
56862         [C99-based-standards] (SCNx64): Likewise.
56863         [C99-based-standards] (PRIdLEAST64): Likewise.
56864         [C99-based-standards] (PRIiLEAST64): Likewise.
56865         [C99-based-standards] (PRIoLEAST64): Likewise.
56866         [C99-based-standards] (PRIuLEAST64): Likewise.
56867         [C99-based-standards] (PRIxLEAST64): Likewise.
56868         [C99-based-standards] (PRIXLEAST64): Likewise.
56869         [C99-based-standards] (SCNdLEAST64): Likewise.
56870         [C99-based-standards] (SCNiLEAST64): Likewise.
56871         [C99-based-standards] (SCNoLEAST64): Likewise.
56872         [C99-based-standards] (SCNuLEAST64): Likewise.
56873         [C99-based-standards] (SCNxLEAST64): Likewise.
56874         [C99-based-standards] (PRIdFAST64): Likewise.
56875         [C99-based-standards] (PRIiFAST64): Likewise.
56876         [C99-based-standards] (PRIoFAST64): Likewise.
56877         [C99-based-standards] (PRIuFAST64): Likewise.
56878         [C99-based-standards] (PRIxFAST64): Likewise.
56879         [C99-based-standards] (PRIXFAST64): Likewise.
56880         [C99-based-standards] (SCNdFAST64): Likewise.
56881         [C99-based-standards] (SCNiFAST64): Likewise.
56882         [C99-based-standards] (SCNoFAST64): Likewise.
56883         [C99-based-standards] (SCNuFAST64): Likewise.
56884         [C99-based-standards] (SCNxFAST64): Likewise.
56885         [C99-based-standards] (PRIdMAX): Likewise.
56886         [C99-based-standards] (PRIiMAX): Likewise.
56887         [C99-based-standards] (PRIoMAX): Likewise.
56888         [C99-based-standards] (PRIuMAX): Likewise.
56889         [C99-based-standards] (PRIxMAX): Likewise.
56890         [C99-based-standards] (PRIXMAX): Likewise.
56891         [C99-based-standards] (SCNdMAX): Likewise.
56892         [C99-based-standards] (SCNiMAX): Likewise.
56893         [C99-based-standards] (SCNoMAX): Likewise.
56894         [C99-based-standards] (SCNuMAX): Likewise.
56895         [C99-based-standards] (SCNxMAX): Likewise.
56896         [C99-based-standards] (PRIdPTR): Likewise.
56897         [C99-based-standards] (PRIiPTR): Likewise.
56898         [C99-based-standards] (PRIoPTR): Likewise.
56899         [C99-based-standards] (PRIuPTR): Likewise.
56900         [C99-based-standards] (PRIxPTR): Likewise.
56901         [C99-based-standards] (PRIXPTR): Likewise.
56902         [C99-based-standards] (SCNdPTR): Likewise.
56903         [C99-based-standards] (SCNiPTR): Likewise.
56904         [C99-based-standards] (SCNoPTR): Likewise.
56905         [C99-based-standards] (SCNuPTR): Likewise.
56906         [C99-based-standards] (SCNxPTR): Likewise.
56907         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
56908         allow.
56909         * conform/data/stdint.h-data: Update comments to clarify
56910         requirements.
56911         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
56912         type.
56913         [C99-based standards] (INT8_MAX): Likewise.
56914         [C99-based standards] (INT16_MIN): Likewise.
56915         [C99-based standards] (INT16_MAX): Likewise.
56916         [C99-based standards] (INT32_MIN): Likewise.
56917         [C99-based standards] (INT32_MAX): Likewise.
56918         [C99-based standards] (INT64_MIN): Likewise.
56919         [C99-based standards] (INT64_MAX): Likewise.
56920         [C99-based standards] (UINT8_MAX): Likewise.
56921         [C99-based standards] (UINT16_MAX): Likewise.
56922         [C99-based standards] (UINT32_MAX): Likewise.
56923         [C99-based standards] (UINT64_MAX): Likewise.
56924         [C99-based standards] (INT_LEAST8_MIN): Likewise.
56925         [C99-based standards] (INT_LEAST8_MAX): Likewise.
56926         [C99-based standards] (INT_LEAST16_MIN): Likewise.
56927         [C99-based standards] (INT_LEAST16_MAX): Likewise.
56928         [C99-based standards] (INT_LEAST32_MIN): Likewise.
56929         [C99-based standards] (INT_LEAST32_MAX): Likewise.
56930         [C99-based standards] (INT_LEAST64_MIN): Likewise.
56931         [C99-based standards] (INT_LEAST64_MAX): Likewise.
56932         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
56933         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
56934         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
56935         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
56936         [C99-based standards] (INT_FAST8_MIN): Likewise.
56937         [C99-based standards] (INT_FAST8_MAX): Likewise.
56938         [C99-based standards] (INT_FAST16_MIN): Likewise.
56939         [C99-based standards] (INT_FAST16_MAX): Likewise.
56940         [C99-based standards] (INT_FAST32_MIN): Likewise.
56941         [C99-based standards] (INT_FAST32_MAX): Likewise.
56942         [C99-based standards] (INT_FAST64_MIN): Likewise.
56943         [C99-based standards] (INT_FAST64_MAX): Likewise.
56944         [C99-based standards] (UINT_FAST8_MAX): Likewise.
56945         [C99-based standards] (UINT_FAST16_MAX): Likewise.
56946         [C99-based standards] (UINT_FAST32_MAX): Likewise.
56947         [C99-based standards] (UINT_FAST64_MAX): Likewise.
56948         [C99-based standards] (INTPTR_MIN): Likewise.
56949         [C99-based standards] (INTPTR_MAX): Likewise.
56950         [C99-based standards] (UINTPTR_MAX): Likewise.
56951         [C99-based standards] (INTMAX_MIN): Likewise.
56952         [C99-based standards] (INTMAX_MAX): Likewise.
56953         [C99-based standards] (UINTMAX_MAX): Likewise.
56954         [C99-based standards] (PTRDIFF_MIN): Likewise.
56955         [C99-based standards] (PTRDIFF_MAX): Likewise.
56956         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
56957         [C99-based standards] (SIZE_MAX): Likewise.
56958         [C99-based standards] (WCHAR_MAX): Likewise.
56959         [C99-based standards] (WINT_MAX): Likewise.
56960         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
56961         constraint on value.
56962         [C99-based standards] (WCHAR_MIN): Likewise.
56963         [C99-based standards] (WINT_MIN): Likewise.
56964         [C99-based standards] (*_t): Allow.
56965         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
56966         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
56967         Include math.h-data and complex.h-data.  Remove all expectations
56968         of math.h and complex.h contents.
56969         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
56970         at end of line.
56971         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
56972         (struct tm): Expect tag.
56973         [C99-based-standards] (wcstof): Expect function.
56974         [C99-based-standards] (wcstold): Likewise.
56975         [C99-based-standards] (wcstoll): Likewise.
56976         [C99-based-standards] (wcstoull): Likewise.
56977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
56978         macro-int-constant.  Specify type.
56979         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
56980         constraint on value.
56981         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56982         Specify type.
56983         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
56984         Specify value.
56985         [ISO C standards]: Do not allow headers.
56986         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
56987         wcs[abcdefghijklmnopqrstuvwxyz]*.
56988         [ISO C standards] (*_t): Do not allow.
56989         * conform/data/wctype.h-data [C99-based standards] (iswblank):
56990         Expect function.
56991         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
56992         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
56993         Specify type.
56994         [ISO C standards]: Do not allow headers.
56995         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
56996         is[abcdefghijklmnopqrstuvwxyz]*.
56997         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
56998         to[abcdefghijklmnopqrstuvwxyz]*.
56999         [ISO C standards] (*_t): Do not allow.
57000         * conform/data/stdalign.h-data: New file.
57001         * conform/data/stdbool.h-data: Likewise.
57002         * conform/data/stdnoreturn.h-data: Likewise.
57004 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57006         [BZ #14815]
57007         * manual/filesys.texi (Directory Entries): Typo fix.
57008         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57010 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57012         * elf/elf.h (EM_AARCH64): New macro.
57013         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57014         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57015         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57016         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57017         (R_AARCH64_TLSDESC): Likewise.
57018         (NT_ARM_TLS): Likewise.
57019         (NT_ARM_HW_BREAK): Likewise.
57020         (NT_ARM_HW_WATCH): Likewise.
57022 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57024         [BZ #14811]
57025         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57026         (__ieee754_powl): Saturate nonzero exponents with absolute value
57027         below 0x1p-79 to +/- 0x1p-79.
57028         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57029         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57030         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57031         nonzero exponents with absolute value below 0x1p-32 to +/-
57032         0x1p-32.
57033         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57034         (__ieee754_powl): Saturate nonzero exponents with absolute value
57035         below 0x1p-79 to +/- 0x1p-79.
57036         * math/libm-test.inc (pow_test): Add more tests.
57038 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57040         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57041         _dl_s390_cap_flags with kernel. Increase string length.
57042         (_dl_s390_platforms): Add z196 and zEC12.
57044 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57046         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57047         Change XOPEN21K to XOPEN2K.
57049 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57051         * string/memmove.c: Use memcpy when possible.
57053 2012-11-06  Andreas Jaeger  <aj@suse.de>
57055         * po/eo.po: Update from translation team.
57057 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57059         [BZ #14793]
57060         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57061         exponent and small x and y exponents, scale x or y up.  Increase
57062         by 2 the exponent used in scaling up.
57063         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57064         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57065         * math/libm-test.inc (fma_test): Add more tests.
57066         (fma_test_towardzero): Likewise.
57067         (fma_test_downward): Likewise.
57068         (fma_test_upward): Likewise.
57070 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57072         [BZ #14805]
57073         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57074         fenv_t *.
57076         [BZ #14801]
57077         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57078         namespace for names of struct fields.
57079         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57080         fenv_t fields.
57081         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57082         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57084 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57086         [BZ #3665]
57087         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57089 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57091         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57092         PTR_DEMANGLE.
57094         [BZ #5246]
57095         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57096         PTR_DEMANGLE.
57098 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57100         [BZ #14797]
57101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57102         definitely overflow as x * y not x * y + z.
57103         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57104         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57105         * math/libm-test.inc (fma_test): Add more tests.
57106         (fma_test_towardzero): Likewise.
57107         (fma_test_downward): Likewise.
57108         (fma_test_upward): Likewise.
57110 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57112         [BZ #157]
57114         * include/stub-tag.h: Remove file.
57115         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57116         '#include' of it.
57117         * manual/maint.texi (Porting): Don't reference it.
57118         * Makerules ($(objpfx)stubs): Likewise.
57119         * dirent/closedir.c: Don't include <stub-tag.h>.
57120         * dirent/dirfd.c: Likewise.
57121         * dirent/fdopendir.c: Likewise.
57122         * dirent/getdents.c: Likewise.
57123         * dirent/getdents64.c: Likewise.
57124         * dirent/opendir.c: Likewise.
57125         * dirent/readdir.c: Likewise.
57126         * dirent/readdir64.c: Likewise.
57127         * dirent/readdir64_r.c: Likewise.
57128         * dirent/readdir_r.c: Likewise.
57129         * dirent/rewinddir.c: Likewise.
57130         * dirent/seekdir.c: Likewise.
57131         * dirent/telldir.c: Likewise.
57132         * gmon/profil.c: Likewise.
57133         * grp/setgroups.c: Likewise.
57134         * inet/if_index.c: Likewise.
57135         * io/access.c: Likewise.
57136         * io/chdir.c: Likewise.
57137         * io/chmod.c: Likewise.
57138         * io/chown.c: Likewise.
57139         * io/close.c: Likewise.
57140         * io/dup.c: Likewise.
57141         * io/dup2.c: Likewise.
57142         * io/dup3.c: Likewise.
57143         * io/euidaccess.c: Likewise.
57144         * io/faccessat.c: Likewise.
57145         * io/fchdir.c: Likewise.
57146         * io/fchmod.c: Likewise.
57147         * io/fchmodat.c: Likewise.
57148         * io/fchown.c: Likewise.
57149         * io/fchownat.c: Likewise.
57150         * io/fcntl.c: Likewise.
57151         * io/flock.c: Likewise.
57152         * io/fstatfs.c: Likewise.
57153         * io/fstatfs64.c: Likewise.
57154         * io/fstatvfs.c: Likewise.
57155         * io/fstatvfs64.c: Likewise.
57156         * io/futimens.c: Likewise.
57157         * io/fxstat.c: Likewise.
57158         * io/fxstat64.c: Likewise.
57159         * io/fxstatat.c: Likewise.
57160         * io/fxstatat64.c: Likewise.
57161         * io/getcwd.c: Likewise.
57162         * io/isatty.c: Likewise.
57163         * io/lchmod.c: Likewise.
57164         * io/lchown.c: Likewise.
57165         * io/link.c: Likewise.
57166         * io/linkat.c: Likewise.
57167         * io/lseek.c: Likewise.
57168         * io/lseek64.c: Likewise.
57169         * io/lxstat64.c: Likewise.
57170         * io/mkdir.c: Likewise.
57171         * io/mkdirat.c: Likewise.
57172         * io/mkfifo.c: Likewise.
57173         * io/mkfifoat.c: Likewise.
57174         * io/open.c: Likewise.
57175         * io/open64.c: Likewise.
57176         * io/openat.c: Likewise.
57177         * io/openat64.c: Likewise.
57178         * io/pipe.c: Likewise.
57179         * io/pipe2.c: Likewise.
57180         * io/poll.c: Likewise.
57181         * io/posix_fadvise.c: Likewise.
57182         * io/posix_fadvise64.c: Likewise.
57183         * io/posix_fallocate.c: Likewise.
57184         * io/posix_fallocate64.c: Likewise.
57185         * io/read.c: Likewise.
57186         * io/readlink.c: Likewise.
57187         * io/readlinkat.c: Likewise.
57188         * io/rmdir.c: Likewise.
57189         * io/sendfile.c: Likewise.
57190         * io/sendfile64.c: Likewise.
57191         * io/statfs.c: Likewise.
57192         * io/statfs64.c: Likewise.
57193         * io/statvfs.c: Likewise.
57194         * io/statvfs64.c: Likewise.
57195         * io/symlink.c: Likewise.
57196         * io/symlinkat.c: Likewise.
57197         * io/ttyname.c: Likewise.
57198         * io/ttyname_r.c: Likewise.
57199         * io/umask.c: Likewise.
57200         * io/unlink.c: Likewise.
57201         * io/unlinkat.c: Likewise.
57202         * io/utime.c: Likewise.
57203         * io/utimensat.c: Likewise.
57204         * io/write.c: Likewise.
57205         * io/xmknod.c: Likewise.
57206         * io/xmknodat.c: Likewise.
57207         * io/xstat.c: Likewise.
57208         * io/xstat64.c: Likewise.
57209         * login/getpt.c: Likewise.
57210         * login/grantpt.c: Likewise.
57211         * login/unlockpt.c: Likewise.
57212         * math/e_acoshl.c: Likewise.
57213         * math/e_acosl.c: Likewise.
57214         * math/e_asinl.c: Likewise.
57215         * math/e_atan2l.c: Likewise.
57216         * math/e_atanhl.c: Likewise.
57217         * math/e_coshl.c: Likewise.
57218         * math/e_expl.c: Likewise.
57219         * math/e_fmodl.c: Likewise.
57220         * math/e_gammal_r.c: Likewise.
57221         * math/e_hypotl.c: Likewise.
57222         * math/e_j0l.c: Likewise.
57223         * math/e_j1l.c: Likewise.
57224         * math/e_jnl.c: Likewise.
57225         * math/e_lgammal_r.c: Likewise.
57226         * math/e_log10l.c: Likewise.
57227         * math/e_log2l.c: Likewise.
57228         * math/e_logl.c: Likewise.
57229         * math/e_powl.c: Likewise.
57230         * math/e_rem_pio2l.c: Likewise.
57231         * math/e_sinhl.c: Likewise.
57232         * math/e_sqrtl.c: Likewise.
57233         * math/fclrexcpt.c: Likewise.
57234         * math/fedisblxcpt.c: Likewise.
57235         * math/feenablxcpt.c: Likewise.
57236         * math/fegetenv.c: Likewise.
57237         * math/fegetexcept.c: Likewise.
57238         * math/fegetround.c: Likewise.
57239         * math/feholdexcpt.c: Likewise.
57240         * math/fesetenv.c: Likewise.
57241         * math/fesetround.c: Likewise.
57242         * math/feupdateenv.c: Likewise.
57243         * math/fgetexcptflg.c: Likewise.
57244         * math/fraiseexcpt.c: Likewise.
57245         * math/fsetexcptflg.c: Likewise.
57246         * math/ftestexcept.c: Likewise.
57247         * math/k_cosl.c: Likewise.
57248         * math/k_rem_pio2l.c: Likewise.
57249         * math/k_sinl.c: Likewise.
57250         * math/k_tanl.c: Likewise.
57251         * math/s_asinhl.c: Likewise.
57252         * math/s_atanl.c: Likewise.
57253         * math/s_cbrtl.c: Likewise.
57254         * math/s_erfl.c: Likewise.
57255         * math/s_expm1l.c: Likewise.
57256         * math/s_log1pl.c: Likewise.
57257         * math/s_tanhl.c: Likewise.
57258         * misc/acct.c: Likewise.
57259         * misc/brk.c: Likewise.
57260         * misc/chflags.c: Likewise.
57261         * misc/chroot.c: Likewise.
57262         * misc/fchflags.c: Likewise.
57263         * misc/fgetxattr.c: Likewise.
57264         * misc/flistxattr.c: Likewise.
57265         * misc/fremovexattr.c: Likewise.
57266         * misc/fsetxattr.c: Likewise.
57267         * misc/fsync.c: Likewise.
57268         * misc/ftruncate.c: Likewise.
57269         * misc/futimes.c: Likewise.
57270         * misc/futimesat.c: Likewise.
57271         * misc/getdomain.c: Likewise.
57272         * misc/getdtsz.c: Likewise.
57273         * misc/gethostid.c: Likewise.
57274         * misc/gethostname.c: Likewise.
57275         * misc/getloadavg.c: Likewise.
57276         * misc/getpagesize.c: Likewise.
57277         * misc/getsysstats.c: Likewise.
57278         * misc/getxattr.c: Likewise.
57279         * misc/gtty.c: Likewise.
57280         * misc/ioctl.c: Likewise.
57281         * misc/lgetxattr.c: Likewise.
57282         * misc/listxattr.c: Likewise.
57283         * misc/llistxattr.c: Likewise.
57284         * misc/lremovexattr.c: Likewise.
57285         * misc/lsetxattr.c: Likewise.
57286         * misc/lutimes.c: Likewise.
57287         * misc/madvise.c: Likewise.
57288         * misc/mincore.c: Likewise.
57289         * misc/mlock.c: Likewise.
57290         * misc/mlockall.c: Likewise.
57291         * misc/mmap.c: Likewise.
57292         * misc/mprotect.c: Likewise.
57293         * misc/msync.c: Likewise.
57294         * misc/munlock.c: Likewise.
57295         * misc/munlockall.c: Likewise.
57296         * misc/munmap.c: Likewise.
57297         * misc/preadv.c: Likewise.
57298         * misc/preadv64.c: Likewise.
57299         * misc/ptrace.c: Likewise.
57300         * misc/pwritev.c: Likewise.
57301         * misc/pwritev64.c: Likewise.
57302         * misc/readv.c: Likewise.
57303         * misc/reboot.c: Likewise.
57304         * misc/remap_file_pages.c: Likewise.
57305         * misc/removexattr.c: Likewise.
57306         * misc/revoke.c: Likewise.
57307         * misc/select.c: Likewise.
57308         * misc/setdomain.c: Likewise.
57309         * misc/setegid.c: Likewise.
57310         * misc/seteuid.c: Likewise.
57311         * misc/sethostid.c: Likewise.
57312         * misc/sethostname.c: Likewise.
57313         * misc/setregid.c: Likewise.
57314         * misc/setreuid.c: Likewise.
57315         * misc/setxattr.c: Likewise.
57316         * misc/sstk.c: Likewise.
57317         * misc/stty.c: Likewise.
57318         * misc/swapoff.c: Likewise.
57319         * misc/swapon.c: Likewise.
57320         * misc/sync.c: Likewise.
57321         * misc/syncfs.c: Likewise.
57322         * misc/syscall.c: Likewise.
57323         * misc/truncate.c: Likewise.
57324         * misc/ualarm.c: Likewise.
57325         * misc/usleep.c: Likewise.
57326         * misc/ustat.c: Likewise.
57327         * misc/utimes.c: Likewise.
57328         * misc/vhangup.c: Likewise.
57329         * misc/writev.c: Likewise.
57330         * posix/_exit.c: Likewise.
57331         * posix/alarm.c: Likewise.
57332         * posix/execve.c: Likewise.
57333         * posix/fexecve.c: Likewise.
57334         * posix/fork.c: Likewise.
57335         * posix/fpathconf.c: Likewise.
57336         * posix/getaddrinfo.c: Likewise.
57337         * posix/getegid.c: Likewise.
57338         * posix/geteuid.c: Likewise.
57339         * posix/getgid.c: Likewise.
57340         * posix/getgroups.c: Likewise.
57341         * posix/getlogin.c: Likewise.
57342         * posix/getlogin_r.c: Likewise.
57343         * posix/getpgid.c: Likewise.
57344         * posix/getpid.c: Likewise.
57345         * posix/getppid.c: Likewise.
57346         * posix/getresgid.c: Likewise.
57347         * posix/getresuid.c: Likewise.
57348         * posix/getsid.c: Likewise.
57349         * posix/getuid.c: Likewise.
57350         * posix/glob64.c: Likewise.
57351         * posix/nanosleep.c: Likewise.
57352         * posix/pathconf.c: Likewise.
57353         * posix/pause.c: Likewise.
57354         * posix/posix_madvise.c: Likewise.
57355         * posix/pread.c: Likewise.
57356         * posix/pread64.c: Likewise.
57357         * posix/pwrite.c: Likewise.
57358         * posix/pwrite64.c: Likewise.
57359         * posix/sched_getaffinity.c: Likewise.
57360         * posix/sched_getp.c: Likewise.
57361         * posix/sched_gets.c: Likewise.
57362         * posix/sched_primax.c: Likewise.
57363         * posix/sched_primin.c: Likewise.
57364         * posix/sched_rr_gi.c: Likewise.
57365         * posix/sched_setaffinity.c: Likewise.
57366         * posix/sched_setp.c: Likewise.
57367         * posix/sched_sets.c: Likewise.
57368         * posix/sched_yield.c: Likewise.
57369         * posix/setgid.c: Likewise.
57370         * posix/setlogin.c: Likewise.
57371         * posix/setpgid.c: Likewise.
57372         * posix/setresgid.c: Likewise.
57373         * posix/setresuid.c: Likewise.
57374         * posix/setsid.c: Likewise.
57375         * posix/setuid.c: Likewise.
57376         * posix/sleep.c: Likewise.
57377         * posix/spawni.c: Likewise.
57378         * posix/sysconf.c: Likewise.
57379         * posix/times.c: Likewise.
57380         * posix/wait.c: Likewise.
57381         * posix/wait3.c: Likewise.
57382         * posix/wait4.c: Likewise.
57383         * posix/waitpid.c: Likewise.
57384         * resolv/gai_sigqueue.c: Likewise.
57385         * resource/getpriority.c: Likewise.
57386         * resource/getrlimit.c: Likewise.
57387         * resource/getrusage.c: Likewise.
57388         * resource/nice.c: Likewise.
57389         * resource/setpriority.c: Likewise.
57390         * resource/setrlimit.c: Likewise.
57391         * resource/ulimit.c: Likewise.
57392         * rt/aio_cancel.c: Likewise.
57393         * rt/aio_fsync.c: Likewise.
57394         * rt/aio_read.c: Likewise.
57395         * rt/aio_sigqueue.c: Likewise.
57396         * rt/aio_suspend.c: Likewise.
57397         * rt/aio_write.c: Likewise.
57398         * rt/clock_getres.c: Likewise.
57399         * rt/clock_gettime.c: Likewise.
57400         * rt/clock_nanosleep.c: Likewise.
57401         * rt/clock_settime.c: Likewise.
57402         * rt/lio_listio.c: Likewise.
57403         * rt/mq_close.c: Likewise.
57404         * rt/mq_getattr.c: Likewise.
57405         * rt/mq_notify.c: Likewise.
57406         * rt/mq_open.c: Likewise.
57407         * rt/mq_receive.c: Likewise.
57408         * rt/mq_send.c: Likewise.
57409         * rt/mq_setattr.c: Likewise.
57410         * rt/mq_timedreceive.c: Likewise.
57411         * rt/mq_timedsend.c: Likewise.
57412         * rt/mq_unlink.c: Likewise.
57413         * rt/shm_open.c: Likewise.
57414         * rt/shm_unlink.c: Likewise.
57415         * rt/timer_create.c: Likewise.
57416         * rt/timer_delete.c: Likewise.
57417         * rt/timer_getoverr.c: Likewise.
57418         * rt/timer_gettime.c: Likewise.
57419         * rt/timer_settime.c: Likewise.
57420         * setjmp/__longjmp.c: Likewise.
57421         * setjmp/setjmp.c: Likewise.
57422         * signal/kill.c: Likewise.
57423         * signal/killpg.c: Likewise.
57424         * signal/raise.c: Likewise.
57425         * signal/sigaction.c: Likewise.
57426         * signal/sigaltstack.c: Likewise.
57427         * signal/sigblock.c: Likewise.
57428         * signal/sigignore.c: Likewise.
57429         * signal/sigintr.c: Likewise.
57430         * signal/signal.c: Likewise.
57431         * signal/sigpause.c: Likewise.
57432         * signal/sigpending.c: Likewise.
57433         * signal/sigqueue.c: Likewise.
57434         * signal/sigreturn.c: Likewise.
57435         * signal/sigset.c: Likewise.
57436         * signal/sigsetmask.c: Likewise.
57437         * signal/sigstack.c: Likewise.
57438         * signal/sigsuspend.c: Likewise.
57439         * signal/sigtimedwait.c: Likewise.
57440         * signal/sigvec.c: Likewise.
57441         * signal/sigwait.c: Likewise.
57442         * signal/sigwaitinfo.c: Likewise.
57443         * signal/sysv_signal.c: Likewise.
57444         * socket/accept.c: Likewise.
57445         * socket/accept4.c: Likewise.
57446         * socket/bind.c: Likewise.
57447         * socket/connect.c: Likewise.
57448         * socket/getpeername.c: Likewise.
57449         * socket/getsockname.c: Likewise.
57450         * socket/getsockopt.c: Likewise.
57451         * socket/isfdtype.c: Likewise.
57452         * socket/listen.c: Likewise.
57453         * socket/recv.c: Likewise.
57454         * socket/recvfrom.c: Likewise.
57455         * socket/recvmsg.c: Likewise.
57456         * socket/send.c: Likewise.
57457         * socket/sendmsg.c: Likewise.
57458         * socket/sendto.c: Likewise.
57459         * socket/setsockopt.c: Likewise.
57460         * socket/shutdown.c: Likewise.
57461         * socket/sockatmark.c: Likewise.
57462         * socket/socket.c: Likewise.
57463         * socket/socketpair.c: Likewise.
57464         * stdio-common/ctermid.c: Likewise.
57465         * stdio-common/cuserid.c: Likewise.
57466         * stdio-common/remove.c: Likewise.
57467         * stdio-common/rename.c: Likewise.
57468         * stdio-common/renameat.c: Likewise.
57469         * stdio-common/tempname.c: Likewise.
57470         * stdlib/getcontext.c: Likewise.
57471         * stdlib/makecontext.c: Likewise.
57472         * stdlib/setcontext.c: Likewise.
57473         * stdlib/swapcontext.c: Likewise.
57474         * stdlib/system.c: Likewise.
57475         * streams/fattach.c: Likewise.
57476         * streams/fdetach.c: Likewise.
57477         * streams/getmsg.c: Likewise.
57478         * streams/getpmsg.c: Likewise.
57479         * streams/putmsg.c: Likewise.
57480         * streams/putpmsg.c: Likewise.
57481         * sysdeps/unix/bsd/getpt.c: Likewise.
57482         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
57483         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
57484         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
57485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
57486         Likewise.
57487         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
57488         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
57489         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
57490         * sysvipc/msgctl.c: Likewise.
57491         * sysvipc/msgget.c: Likewise.
57492         * sysvipc/msgrcv.c: Likewise.
57493         * sysvipc/msgsnd.c: Likewise.
57494         * sysvipc/semctl.c: Likewise.
57495         * sysvipc/semget.c: Likewise.
57496         * sysvipc/semop.c: Likewise.
57497         * sysvipc/semtimedop.c: Likewise.
57498         * sysvipc/shmat.c: Likewise.
57499         * sysvipc/shmctl.c: Likewise.
57500         * sysvipc/shmdt.c: Likewise.
57501         * sysvipc/shmget.c: Likewise.
57502         * termios/tcdrain.c: Likewise.
57503         * termios/tcflow.c: Likewise.
57504         * termios/tcflush.c: Likewise.
57505         * termios/tcgetattr.c: Likewise.
57506         * termios/tcgetpgrp.c: Likewise.
57507         * termios/tcsendbrk.c: Likewise.
57508         * termios/tcsetattr.c: Likewise.
57509         * termios/tcsetpgrp.c: Likewise.
57510         * time/adjtime.c: Likewise.
57511         * time/clock.c: Likewise.
57512         * time/getitimer.c: Likewise.
57513         * time/gettimeofday.c: Likewise.
57514         * time/setitimer.c: Likewise.
57515         * time/settimeofday.c: Likewise.
57516         * time/stime.c: Likewise.
57517         * time/time.c: Likewise.
57519 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
57521         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
57522         /usr/old/bin.
57524         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
57525         instead of spaces.
57526         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
57528 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
57530         [BZ #14796]
57531         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
57532         FE_TONEAREST before applying Dekker multiplication and Knuth
57533         addition.  Clear inexact exceptions and check for exact zero
57534         results afterwards.
57535         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57536         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57537         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57538         * math/libm-test.inc (fma_test): Add more tests.
57539         (fma_test_towardzero): Likewise.
57540         (fma_test_downward): Likewise.
57541         (fma_test_upward): Likewise.
57542         * sysdeps/generic/math_private.h (default_libc_fesetround): New
57543         function.
57544         (libc_fesetround): New macro.
57545         (libc_fesetroundf): Likewise.
57546         (libc_fesetroundl): Likewise.
57547         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
57548         function.
57549         (libc_fesetround_387): Likewise.
57550         (libc_fesetroundf): New macro.
57551         (libc_fesetround): Likewise.
57552         (libc_fesetroundl): Likewise.
57553         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
57554         function.
57555         (libc_fesetroundf): New macro.
57556         (libc_fesetround): Likewise.
57557         (libc_fesetroundl): Likewise.
57558         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
57559         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
57560         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
57561         libm_hidden_ver.
57562         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
57563         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
57564         libm_hidden_def.
57565         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
57566         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
57567         libm_hidden_ver.
57568         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
57569         libm_hidden_def.
57571         [BZ #3439]
57572         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
57573         integer constant usable in #if and use that to give value to enum
57574         constant.
57575         (FE_DIVBYZERO): Likewise.
57576         (FE_UNDERFLOW): Likewise.
57577         (FE_OVERFLOW): Likewise.
57578         (FE_INVALID): Likewise.
57579         (FE_INVALID_SNAN): Likewise.
57580         (FE_INVALID_ISI): Likewise.
57581         (FE_INVALID_IDI): Likewise.
57582         (FE_INVALID_ZDZ): Likewise.
57583         (FE_INVALID_IMZ): Likewise.
57584         (FE_INVALID_COMPARE): Likewise.
57585         (FE_INVALID_SOFTWARE): Likewise.
57586         (FE_INVALID_SQRT): Likewise.
57587         (FE_INVALID_INTEGER_CONVERSION): Likewise.
57588         (FE_TONEAREST): Likewise.
57589         (FE_TOWARDZERO): Likewise.
57590         (FE_UPWARD): Likewise.
57591         (FE_DOWNWARD): Likewise.
57592         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
57593         (FE_DIVBYZERO): Likewise.
57594         (FE_OVERFLOW): Likewise.
57595         (FE_UNDERFLOW): Likewise.
57596         (FE_INEXACT): Likewise.
57597         (FE_TONEAREST): Likewise.
57598         (FE_DOWNWARD): Likewise.
57599         (FE_UPWARD): Likewise.
57600         (FE_TOWARDZERO): Likewise.
57601         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
57602         (FE_UNDERFLOW): Likewise.
57603         (FE_OVERFLOW): Likewise.
57604         (FE_DIVBYZERO): Likewise.
57605         (FE_INVALID): Likewise.
57606         (FE_TONEAREST): Likewise.
57607         (FE_TOWARDZERO): Likewise.
57608         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
57609         (FE_OVERFLOW): Likewise.
57610         (FE_UNDERFLOW): Likewise.
57611         (FE_DIVBYZERO): Likewise.
57612         (FE_INEXACT): Likewise.
57613         (FE_TONEAREST): Likewise.
57614         (FE_TOWARDZERO): Likewise.
57615         (FE_UPWARD): Likewise.
57616         (FE_DOWNWARD): Likewise.
57617         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
57618         (FE_DIVBYZERO): Likewise.
57619         (FE_OVERFLOW): Likewise.
57620         (FE_UNDERFLOW): Likewise.
57621         (FE_INEXACT): Likewise.
57622         (FE_TONEAREST): Likewise.
57623         (FE_DOWNWARD): Likewise.
57624         (FE_UPWARD): Likewise.
57625         (FE_TOWARDZERO): Likewise.
57627 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
57629         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
57631 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
57633         * scripts/cross-test-ssh.sh (command): Use newlines to separate
57634         commands.  Quote $PWD.
57635         (blacklist_exports): Don't use remove_newlines.  Replace "declare
57636         -x" by "export".
57637         (remove_newlines): Remove.
57639 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
57641         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
57642         * stdlib/stdlib.h (atof): Moved to ...
57643         * include/bits/stdlib-float.h: Here.  New file.
57644         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
57645         * stdlib/bits/stdlib-float.h: New file.
57646         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
57647         -mno-sse -mno-mmx.
57648         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
57649         <xmmintrin.h>.
57651 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57653         * conform/conformtest.pl (@headers): Add fenv.h.
57654         * conform/data/fenv.h-data: New file.
57655         * include/fenv.h [_ISOMAC]: Disable all contents of file except
57656         include of <math/fenv.h>.
57658         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
57659         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
57660         && !UNIX98].  Enables tests for XOPEN2K8.
57661         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
57662         POSIX2008]: Likewise.
57664         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
57665         (struct rusage): Do not expect type or its members.
57667         [BZ #3439]
57668         * math/math.h (FP_NAN): Define macro to integer constant usable in
57669         #if and use that to give value to enum constant.
57670         (FP_INFINITE): Likewise.
57671         (FP_ZERO): Likewise.
57672         (FP_SUBNORMAL): Likewise.
57673         (FP_NORMAL): Likewise.
57675 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
57677         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
57678         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
57679         arguments.
57681 2012-11-02  Roland McGrath  <roland@hack.frob.com>
57683         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
57684         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
57685         autoconf-time if not.
57686         * configure.in: Remove AC_PREREQ.
57688 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57690         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
57691         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
57692         of the internal implementation.
57694 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
57696         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
57697         except include of <misc/sys/syslog.h>.
57699 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
57702         function returns with a NULL context exit with zero.
57704 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57706         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
57708 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
57710         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
57711         (run_program_cmd): This.
57712         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
57713         (tst_langinfo): New variable.  Use it.
57715 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
57717         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
57718         floating point opcodes.
57720 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57722         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
57723         variable.
57725         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
57727         * sysdeps/mach/hurd/powerpc: Remove directory.
57728         * sysdeps/mach/powerpc: Likewise.
57730 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
57732         * scripts/check-local-headers.sh: Ignore c++ headers.
57734 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57736         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
57737         __libc_cleanup_region_start argument.
57739 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
57741         [BZ #14784]
57742         [BZ #14785]
57743         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
57744         x * y using scaling, not as x * y + z.
57745         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57746         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57747         * math/libm-test.inc (fma_test): Add more tests.
57748         (fma_test_towardzero): Likewise.
57749         (fma_test_downward): Likewise.
57750         (fma_test_upward): Likewise.
57752 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
57754         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
57756 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57758         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
57759         New variable.
57761 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
57763         * rt/tst-shm.c (worker): Correct checking for mmap failure.
57765 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57768         Fix sort order.
57769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57770         Likewise.
57772 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
57774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57775         Fix the order of the list for glibc 2.17.
57776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57777         Likewise.
57779 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
57781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57783 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
57785         [BZ #14610]
57786         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
57787         for low part of x being zero before using __atanl (y).
57788         * math/libm-test.inc (atan2_test): Add another test.
57790         * manual/install.texi (Configuring and compiling): Document
57791         general use of test-wrapper and test-wrapper-env.
57792         * INSTALL: Regenerated.
57794         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
57795         (__fma): Do not extract and scale down low bits on after-rounding
57796         systems when result rounded to normal precision would have normal
57797         exponent.
57798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
57799         (__fmal): Do not extract and scale down low bits on after-rounding
57800         systems when result rounded to normal precision would have normal
57801         exponent.
57802         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
57803         (__fmal): Do not extract and scale down low bits on after-rounding
57804         systems when result rounded to normal precision would have normal
57805         exponent.
57806         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
57807         macro.
57808         (fma_test): Add more tests.
57809         (fma_test_towardzero): Likewise.
57810         (fma_test_downward): Likewise.
57811         (fma_test_upward): Likewise.
57813 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
57815         * sysdeps/i386/tininess.h: Renamed to ...
57816         * sysdeps/x86/tininess.h: This.
57817         * sysdeps/x86_64/tininess.h: Removed.
57819 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57821         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
57822         input.  Use $(build-program-cmd).
57823         ($(objpfx)tst-array1-static.out): Likewise.
57824         ($(objpfx)tst-array2.out): Likewise.
57825         ($(objpfx)tst-array3.out): Likewise.
57826         ($(objpfx)tst-array4.out): Likewise.
57827         ($(objpfx)tst-array5.out): Likewise.
57828         ($(objpfx)tst-array5-static.out): Likewise.
57830 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
57832         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
57833         if defined.
57835         * nss/nsswitch.h (nss_interface_function): Provide new
57836         macro for use with NSS functions.
57837         * grp/initgroups.c: Use new macro.
57838         * nss/getXXbyYY.c: Likewise.
57839         * nss/getXXbyYY_r.c: Likewise.
57840         * nss/getXXent.c: Likewise.
57841         * nss/getXXent_r.c: Likewise.
57842         * sysdeps/posix/getaddrinfo.c: Likewise.
57844 2012-10-30  Andreas Jaeger  <aj@suse.de>
57846         * po/ru.po: Update Russion translation from translation project.
57848 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
57850         [BZ #14152]
57851         [BZ #14783]
57852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
57853         result and shift together with sticky bit instead of replicating
57854         round-to-nearest rounding.
57855         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57856         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57857         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
57858         missing underflow exceptions.
57859         (fma_test_towardzero): Add more tests.
57860         (fma_test_downward): Likewise.
57861         (fma_test_upward): Likewise.
57863         [BZ #14047]
57864         * sysdeps/generic/tininess.h: New file.
57865         * sysdeps/i386/tininess.h: Likewise.
57866         * sysdeps/sh/tininess.h: Likewise.
57867         * sysdeps/x86_64/tininess.h: Likewise.
57868         * stdlib/tst-strtod-underflow.c: Likewise.
57869         * stdlib/tst-tininess.c: Likewise.
57870         * stdlib/strtod_l.c: Include <tininess.h>.
57871         (round_and_return): Do not set errno for exact underflow cases.
57872         Force an underflow exception when setting errno for underflow.
57873         Determine underflow based on rounding to normal precision if
57874         TININESS_AFTER_ROUNDING.
57875         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
57876         ERANGE for exact underflow cases.
57877         * stdlib/Makefile (tests): Add tst-tininess and
57878         tst-strtod-underflow.
57879         ($(objpfx)tst-tininess): Use $(link-libm).
57880         ($(objpfx)tst-strtod-underflow): Likewise.
57882 2012-10-30  Andreas Jaeger  <aj@suse.de>
57884         [BZ#14767]
57885         * elf/Makefile (tests): Remove conditional for have-initfini-array
57886         since this is now always required and the variable does not exist
57887         anymore.
57888         (tests-static): Likewise.
57889         (modules-names): Likewise.
57891         * po/eo.po: Add Esperanto translation from translation project.
57893         * elf/tst-array1.c (fini_array): Make writeable so that it can be
57894         merged with constructor/destructor.
57895         (init_array): Likewise.
57896         * elf/tst-array2dep.c (fini_array): Likewise.
57897         (init_array): Likewise.
57899 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
57901         * manual/message.texi: Delete @cartouche tags.
57903 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
57905         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
57906         EOPNOTSUPP.
57907         * sysdeps/mach/hurd/fsync.c: Likewise.
57909         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
57910         [_POSIX_REALTIME_SIGNALS]: Change condition to
57911         [_POSIX_REALTIME_SIGNALS > 0].
57913 2012-10-27  Andreas Jaeger  <aj@suse.de>
57915         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
57916         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
57917         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
57918         [__WORDSIZE != 64]: Likewise.
57920 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
57922         *  iconvdata/tst-table.sh: Remove ${SHELL}.
57923         *  iconvdata/tst-tables.sh: Likewise.
57925 2012-10-25  David S. Miller  <davem@davemloft.net>
57927         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57928         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
57929         of strtoull.
57931         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
57932         ifunc-impl-list.c
57933         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57934         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
57935         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
57936         file.
57938 2012-10-25  Roland McGrath  <roland@hack.frob.com>
57940         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57941         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
57942         __getdirentries.
57944 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57945             Jim Blandy  <jimb@codesourcery.com>
57947         * scripts/cross-test-ssh.sh: New file.
57948         * manual/install.texi (Configuring and compiling): Document use of
57949         cross-test-ssh.sh.
57950         * INSTALL: Regenerated.
57952 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
57954         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
57955         EOPNOTSUPP.
57957 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
57959         * Makeconfig (run-program-prefix): Fix comment.
57961 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
57962             Jim Blandy  <jimb@codesourcery.com>
57964         * Makeconfig (test-wrapper): New variable,
57965         (test-wrapper-env): Likewise.
57966         [$(cross-compiling) = yes && $(test-wrapper) != ""]
57967         (run-built-tests): Define to yes.
57968         (run-program-prefix): Use $(test-wrapper).
57969         (built-program-cmd): Likewise.
57970         * Rules (make-test-out): Use $(test-wrapper-env) and
57971         $(host-built-program-cmd).
57972         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
57973         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
57974         tst-pathopt.sh.
57975         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
57976         $(test-wrapper-env) to tst-rtld-load-self.sh.
57977         ($(objpfx)order2.out): Use $(test-wrapper).
57978         ($(objpfx)tst-initorder.out): Likewise.
57979         ($(objpfx)tst-initorder2.out): Likewise.
57980         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
57981         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
57982         (test_wrapper_env): New variable.  Use it to run ld.so.
57983         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
57984         Use it to run ld.so.
57985         (test_wrapper_env): Likewise.
57986         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
57987         $(test-wrapper) to run-iconv-test.sh.
57988         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
57989         (ICONV): Use $test_wrapper.
57990         * posix/Makefile ($(objpfx)globtest.out): Pass
57991         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
57992         globtest.sh, not $(run-program-prefix).
57993         * posix/globtest.sh (run_via_rtld_prefix): New variable.
57994         (test_wrapper): Likewise.
57995         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
57996         set together with run_via_rtld_prefix.
57997         (run_program_prefix): Define in terms of test_wrapper and
57998         run_via_rtld_prefix.
58000 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58002         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58003         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58004         Targets removed.
58006         [BZ #14743]
58007         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58008         Declare __clock_getres, __clock_gettime, __clock_settime,
58009         __clock_nanosleep, and __clock_getcpuclockid.
58010         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58011         Remove librt_hidden_def (clock_gettime).
58012         * sysdeps/unix/clock_gettime.c: Likewise.
58013         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58015         * rt/clock_getres.c: Define __clock_getres as an alias.
58016         * sysdeps/posix/clock_getres.c: Likewise.
58017         * rt/clock_settime.c: Define __clock_settime as an alias.
58018         * sysdeps/unix/clock_settime.c: Likewise.
58019         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58020         * sysdeps/unix/clock_nanosleep.c: Likewise.
58021         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58022         * rt/clock-compat.c: New file.
58023         * rt/Makefile (librt-routines): Add clock-compat and move
58024         $(clock-routines) to ...
58025         (routines): ... here, new variable.
58026         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58027         Don't add get_clockfreq here.
58028         * rt/Versions (libc: GLIBC_2.17): New version set.
58029         Add clock_* symbols here.
58030         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58031         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58032         (GLIBC_2.17): Add clock_* symbols.
58033         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58035         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58037         Likewise.
58038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58039         Likewise.
58040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58042         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58043         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58044         * NEWS: Mention the move.
58046         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58047         Use __open, __read, __close rather than their public counterparts.
58048         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58049         (__get_clockfreq_via_cpuinfo): Likewise.
58050         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58051         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58053         * config.h.in (HAVE_IFUNC): New #undef.
58054         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58055         was successful.
58056         * configure: Regenerated.
58058 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58060         * configure.in: Move READELF check to start of file.
58061         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58062         libc_cv_asm_gnu_indirect_function in the process.
58063         * configure: Regenerated.
58065 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58067         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58068         send the output to /dev/null.
58069         (libc_cv_cc_with_libunwind): Likewise.
58070         (libc_cv_as_noexecstack): Likewise.
58071         * configure: Regenerate.
58073 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58075         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58077         * posix/globtest.sh (TMPDIR): Do not set.
58078         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58079         (testout): Likewise.
58081 2012-10-24  Andreas Jaeger  <aj@suse.de>
58083         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58084         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58085         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58086         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58087         posix_fadvise64, posix_fallocate64.
58089         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58090         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58091         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58092         Likewise.
58093         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58094         Likewise.
58095         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58098         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58099         <bits/fcntl-linux.h>.
58100         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58103         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58104         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58105         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58106         [__WORDSIZE != 64]: Likewise.
58108 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58110         * Makeconfig (run-built-tests): New variable.
58111         * Rules [$(cross-compiling) = yes]: Change condition to
58112         [$(run-built-tests) = no].
58113         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58114         to [$(run-built-tests) = yes].
58115         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58116         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58117         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58118         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58119         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58120         * io/Makefile [$(cross-compiling) = no]: Likewise.
58121         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58122         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58123         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58124         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58125         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58126         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58127         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58128         * string/Makefile [$(cross-compiling) = no]: Likewise.
58130         * posix/Makefile ($(objpfx)globtest.out): Pass
58131         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58132         $(rtld-installed-name).
58133         * posix/globtest.sh (elf_objpfx): Remove variable.
58134         (rtld_installed_name): Likewise.
58135         (library_path): Likewise.
58136         (run_program_prefix): New variable.  Use for running globtest
58137         binary.
58139 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58140             Joseph Myers  <joseph@codesourcery.com>
58142         * Makeconfig (host-built-program-cmd): New variable.
58143         * elf/Makefile (tst-stackguard1-ARGS): Use
58144         $(host-built-program-cmd).
58145         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58146         (tst-spawn-ARGS): Likewise.
58147         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58149 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58150             Jim Blandy  <jimb@codesourcery.com>
58152         * Makeconfig (run-via-rtld-prefix): New variable.
58153         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58154         (built-program-cmd): Likewise.
58156 2012-10-22  Andreas Jaeger  <aj@suse.de>
58158         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58159         __O_RSYNC if it exists, otherwise to O_SYNC.
58161 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58162             Joseph Myers  <joseph@codesourcery.com>
58164         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
58165         /dev/null.
58166         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
58167         from /dev/null
58168         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
58169         /dev/null.
58171 2012-10-22  Andreas Jaeger  <aj@suse.de>
58173         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
58174         Define always.
58175         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
58177         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58178         bits/fcntl-linux.h.
58180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
58181         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
58183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
58184         to __O_LARGEFILE.
58185         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
58186         to __O_LARGEFILE.
58188 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
58189             Joseph Myers  <joseph@codesourcery.com>
58191         * config.make.in (NM): New variable.
58193 2012-10-21  Andreas Jaeger  <aj@suse.de>
58195         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
58196         definitions and declarations that are provided by
58197         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
58199 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58201         [BZ #14683]
58202         * elf/Makefile (tests-static): Add tst-leaks1-static.
58203         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
58204         ($(objpfx)tst-leaks1-static): New rule.
58205         ($(objpfx)tst-leaks1-static-mem): Likewise.
58206         (tst-leaks1-static-ENV): New macro.
58207         * elf/dl-open.c (dl_open_worker): Check the main application
58208         only if SHARED is defined.
58209         * elf/tst-leaks1-static.c: New file.
58211 2012-10-20  Andreas Jaeger  <aj@suse.de>
58213         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
58214         generic values for Linux.
58215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
58216         and declarations that are provided by <bits/fcntl-linux.h> and
58217         include <bits/fcntl-linux.h>.
58218         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58219         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58221 2012-10-20  Roland McGrath  <roland@hack.frob.com>
58223         * io/fcntl.h: Move include of <bits/types.h> to the top and
58224         include it unconditionally.
58226 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
58228         * wcsmbs/Makefile (tests-ifunc): New variable.
58229         (tests): Add $(tests-ifunc).
58230         * wcsmbs/test-wcschr-ifunc.c: New file.
58231         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
58232         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
58233         * wcsmbs/test-wcslen-ifunc.c: Likewise.
58234         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
58235         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
58237         * string/Makefile (tests-ifunc): New variable.
58238         (tests): Add $(tests-ifunc).
58239         * string/test-memccpy.c (TEST_NAME): New macro.
58240         * string/test-memchr.c (TEST_NAME): Likewise.
58241         * string/test-memcmp.c (TEST_NAME): Likewise.
58242         * string/test-memcpy.c (TEST_NAME): Likewise.
58243         * string/test-memmem.c (TEST_NAME): Likewise.
58244         * string/test-memmove.c (TEST_NAME): Likewise.
58245         * string/test-memset.c (TEST_NAME): Likewise.
58246         * string/test-rawmemchr.c (TEST_NAME): Likewise.
58247         * string/test-stpcpy.c (TEST_NAME): Likewise.
58248         * string/test-stpncpy.c (TEST_NAME): Likewise.
58249         * string/test-strcasecmp.c (TEST_NAME): Likewise.
58250         * string/test-strcasestr.c (TEST_NAME): Likewise.
58251         * string/test-strcat.c (TEST_NAME): Likewise.
58252         * string/test-strchr.c (TEST_NAME): Likewise.
58253         * string/test-strcmp.c(TEST_NAME): Likewise.
58254         * string/test-strcpy.c (TEST_NAME): Likewise.
58255         * string/test-strcspn.c (TEST_NAME): Likewise.
58256         * string/test-strlen.c (TEST_NAME): Likewise.
58257         * string/test-strncasecmp.c (TEST_NAME): Likewise.
58258         * string/test-strncmp.c (TEST_NAME): Likewise.
58259         * string/test-strncpy.c (TEST_NAME): Likewise.
58260         * string/test-strnlen.c (TEST_NAME): Likewise.
58261         * string/test-strpbrk.c (TEST_NAME): Likewise.
58262         * string/test-strrchr.c (TEST_NAME): Likewise.
58263         * string/test-strspn.c (TEST_NAME): Likewise.
58264         * string/test-strstr.c (TEST_NAME): Likewise.
58265         * string/test-bcopy-ifunc.c: New file.
58266         * string/test-bzero-ifunc.c: Likewise.
58267         * string/test-memccpy-ifunc.c: Likewise.
58268         * string/test-memchr-ifunc.c: Likewise.
58269         * string/test-memcmp-ifunc.c: Likewise.
58270         * string/test-memcpy-ifunc.c: Likewise.
58271         * string/test-memmem-ifunc.c: Likewise.
58272         * string/test-memmove-ifunc.c: Likewise.
58273         * string/test-mempcpy-ifunc.c: Likewise.
58274         * string/test-memset-ifunc.c: Likewise.
58275         * string/test-rawmemchr-ifunc.c: Likewise.
58276         * string/test-stpcpy-ifunc.c: Likewise.
58277         * string/test-stpncpy-ifunc.c: Likewise.
58278         * string/test-strcasecmp-ifunc.c: Likewise.
58279         * string/test-strcasestr-ifunc.c: Likewise.
58280         * string/test-strcat-ifunc.c: Likewise.
58281         * string/test-strchr-ifunc.c: Likewise.
58282         * string/test-strchrnul-ifunc.c: Likewise.
58283         * string/test-strcmp-ifunc.c: Likewise.
58284         * string/test-strcpy-ifunc.c: Likewise.
58285         * string/test-strcspn-ifunc.c: Likewise.
58286         * string/test-strlen-ifunc.c: Likewise.
58287         * string/test-strncasecmp-ifunc.c: Likewise.
58288         * string/test-strncat-ifunc.c: Likewise.
58289         * string/test-strncmp-ifunc.c: Likewise.
58290         * string/test-strncpy-ifunc.c: Likewise.
58291         * string/test-strnlen-ifunc.c: Likewise.
58292         * string/test-strpbrk-ifunc.c: Likewise.
58293         * string/test-strrchr-ifunc.c: Likewise.
58294         * string/test-strspn-ifunc.c: Likewise.
58295         * string/test-strstr-ifunc.c: Likewise.
58297         * debug/Makefile (tests-ifunc): New variable.
58298         (tests): Add $(tests-ifunc).
58299         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
58300         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
58301         * debug/test-stpcpy_chk-ifunc.c: New file.
58302         * debug/test-strcpy_chk-ifunc.c: Likewise.
58304 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58306         [BZ #13601]
58307         * elf/dl-load.c (open_verify): Retry read if the entire ELF
58308         header is not read in.
58310 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
58312         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
58313         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
58314         directly.  Pass built executable to script as
58315         $(built-program-cmd).
58316         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
58317         $testprogram without using LD_LIBRARY_PATH and $ldso.
58319         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
58320         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
58321         $(rtld-installed-name).
58322         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
58323         (rtld_installed_name): Likewise.
58324         (library_path): Likewise.
58325         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
58326         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
58327         $(run-program-prefix) to tst-tables.sh.
58328         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
58329         it to run tst-table-from and tst-table-to.
58330         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
58331         Pass it to tst-table.sh.
58332         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
58333         $(run-program-prefix) to tst-gettext.sh.
58334         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
58335         tst-translit.sh.
58336         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
58337         tst-gettext2.sh.
58338         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
58339         to run tst-gettext.
58340         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
58341         to run tst-gettext2.
58342         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
58343         to run tst-translit.
58344         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
58345         $(run-program-prefix) to tst-mtrace.sh.
58346         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
58347         to run tst-mtrace.
58348         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
58349         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
58350         $(rtld-installed-name).
58351         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
58352         (rtld_installed_name): Likewise.
58353         (run_program_prefix): New variable.  Use it to run wordexp-test.
58355         * Makeconfig (ARCH): Remove all definitions.
58356         (machine): Likewise.
58357         [ARCH]: Remove conditional code.
58358         [!objdir]: Give error.
58359         [!objdir] (objpfx): Remove.
58360         [!objdir] (common-objpfx): Likewise.
58361         [!objdir] (common-objdir): Likewise.
58362         * configure.in (config_makefile): Remove.  Hardcode Makefile in
58363         AC_CONFIG_FILES call.
58364         * configure: Regenerated.
58366         [BZ #13888]
58367         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
58368         or TMPDIR.
58369         (testout): Likewise.
58371         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
58372         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
58373         $(rtld-installed-name).
58374         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
58375         (rtld_installed_name): Likwise.
58376         (runit): Remove function.
58377         (run_getconf): New variable,  Use it for running getconf binary.
58379 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
58381         [BZ #14716]
58382         * string/test-memmem.c (check_result): New function.
58383         (do_one_test): Use it.
58384         (check1): New function.
58385         (test_main): Use it.
58387 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
58389         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
58391 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
58393         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
58394         (_G_LSEEK64): Likewise.
58395         (_G_MMAP64): Likewise.
58396         (_G_FSTAT64): Likewise.
58397         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
58398         (_G_LSEEK64): Likewise.
58399         (_G_MMAP64): Likewise.
58400         (_G_FSTAT64): Likewise.
58401         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
58402         unconditional.  Call __mmap64 directly.
58403         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
58404         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
58405         __lseek64 directly.
58406         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
58407         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
58408         __mmap64 directly.
58409         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
58410         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58411         __lseek64 directly.
58412         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
58413         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
58414         __lseek64 directly.
58415         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
58416         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
58417         __lseek64 directly.
58418         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
58419         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
58420         __fxstat64 directly.
58421         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
58422         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
58423         unconditional.
58424         (freopen64) [!_G_OPEN64]: Remove conditional code.
58425         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
58426         unconditional.
58427         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
58428         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
58429         unconditional.
58430         (ftello64) [!_G_LSEEK64]: Remove conditional code.
58431         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
58432         unconditional.
58433         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58434         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
58435         unconditional.
58436         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
58437         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
58438         unconditional.
58439         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58440         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
58441         unconditional.
58442         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
58443         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
58444         unconditional.
58445         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
58447 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58449         [BZ #12140]
58450         * manual/memory.texi (Malloc Tunable Parameters): Add note
58451         about free list pointers overwriting some perturb bytes.
58452         Wording suggested by Roland McGrath.
58454 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
58456         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
58457         (lgamma_test): Likewise.
58458         (tgamma_test): Likewise.
58460 2012-10-16  Florian Weimer  <fweimer@redhat.com>
58462         [BZ #14700]
58463         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
58464         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
58466 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
58468         * NEWS: Mention BZ #14716.
58469         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
58470         when removing AVAILABLE1_USES_J macro.
58472 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
58474         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
58475         (__bswap_64): __uint64_t for unsigned 64-bit int.
58477 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
58479         * include/string.h (memmem): Declare libc hidden alias.
58480         * string/memmem.c (memmem): Define libc hidden alias.
58481         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
58482         __read, __close instead of open, read, close.
58484 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
58486         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
58487         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
58488         global and hidden.
58489         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
58490         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
58491         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
58492         Likewise.
58493         (__rawmemchr_sse2): Likewise.
58494         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
58495         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
58496         (__strchr_sse2): Likewise.
58497         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
58498         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
58499         (__strcasecmp_sse2): Likewise.
58500         (__strncasecmp_sse2): Likewise.
58501         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
58502         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
58503         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
58504         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
58505         (__strrchr_sse2): Likewise.
58506         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
58507         ifunc-impl-list.c.
58508         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
58509         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
58510         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
58511         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
58512         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
58513         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
58514         * sysdeps/x86_64/multiarch/memset.S: Likewise.
58515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
58516         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
58517         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
58518         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
58519         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
58520         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
58521         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
58522         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
58523         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
58524         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
58525         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
58526         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
58527         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
58528         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
58529         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
58530         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
58531         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58532         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
58533         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
58534         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
58535         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
58536         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
58537         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
58539         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
58540         global and hidden.
58541         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
58542         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
58543         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
58544         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
58545         Likewise.
58546         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
58547         Likewise.
58548         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
58549         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
58550         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
58551         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
58552         ifunc-impl-list.c.
58553         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
58554         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
58555         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
58556         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
58557         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
58558         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
58559         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
58560         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
58561         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
58562         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
58563         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
58564         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
58565         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
58566         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
58567         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
58568         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
58569         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
58570         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
58571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
58572         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
58573         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
58574         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
58575         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
58576         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
58577         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
58578         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
58579         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
58580         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
58581         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
58582         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
58583         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
58584         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
58585         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
58586         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
58587         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
58588         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
58589         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
58590         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
58591         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
58592         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
58593         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
58595         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
58596         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
58597         * include/ifunc-impl-list.h: New file.
58598         * misc/ifunc-impl-list.c: Likewise.
58599         * misc/Makefile (routines): Add ifunc-impl-list.
58600         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
58601         * string/test-string.h: Include <ifunc-impl-list.h>.
58602         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
58603         TEST_NAME]: New variables.
58604         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
58605         are defined.
58606         (test_init): Call __libc_ifunc_impl_list to initialize
58607         func_list if TEST_IFUNC and TEST_NAME are defined.
58609         * string/Makefile (strop-tests): Add bcopy and bzero.
58610         * string/test-bcopy.c: New file.
58611         * string/test-bzero.c: Likewise.
58612         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
58613         defined.
58614         * string/test-memset.c: Support bzero test if TEST_BZERO is
58615         defined.
58616         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
58617         __libc_memmove.
58618         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
58619         __libc_memset.
58620         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
58621         of memset.
58623 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
58625         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
58626         * configure: Regenerated.
58628         * Makeconfig (+link-static-before-libc): Don't include
58629         $(link-static-libc).
58631         * libio/libio.h (_IO_pos_t): Remove.
58633 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58635         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
58636         McGrath.
58638 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58640         * crypt/crypt-entry.c: Include fips-private.h.
58641         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
58642         * crypt/md5c-test.c (main): Tolerate disabled MD5.
58643         * sysdeps/unix/sysv/linux/fips-private.h: New file.
58644         * sysdeps/generic/fips-private.h: New file, dummy fallback.
58646 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
58648         * crypt/crypt-private.h: Include stdbool.h.
58649         (_ufc_setup_salt_r): Return bool.
58650         * crypt/crypt-entry.c: Include errno.h.
58651         (__crypt_r): Return NULL with EINVAL for bad salt.
58652         * crypt/crypt_util.c (bad_for_salt): New.
58653         (_ufc_setup_salt_r): Check that salt is long enough and within
58654         the specified alphabet.
58655         * crypt/badsalttest.c: New file.
58656         * crypt/Makefile (tests): Add it.
58657         ($(objpfx)badsalttest): New.
58659 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
58661         * NEWS: Add entry for BZ #14602.
58663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58665         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
58666         type-generic.
58667         * math/libm-test.inc: Update comment listing what functions and
58668         macros are tested.
58669         (isgreater_test): New function.
58670         (isgreaterequal_test): Likewise.
58671         (isless_test): Likewise.
58672         (islessequal_test): Likewise.
58673         (islessgreater_test): Likewise.
58674         (isunordered_test): Likewise.
58675         (main): Call the new functions.
58677 2012-10-09  Roland McGrath  <roland@hack.frob.com>
58679         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
58680         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
58681         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
58682         * sysdeps/i386/configure: Regenerated.
58683         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
58684         * sysdeps/mach/configure: Regenerated.
58685         * sysdeps/mach/hurd/configure: Regenerated.
58686         * sysdeps/powerpc/configure: Regenerated.
58687         * sysdeps/powerpc/powerpc32/configure: Regenerated.
58688         * sysdeps/powerpc/powerpc64/configure: Regenerated.
58689         * sysdeps/s390/s390-32/configure: Regenerated.
58690         * sysdeps/s390/s390-64/configure: Regenerated.
58691         * sysdeps/sh/configure: Regenerated.
58692         * sysdeps/sparc/configure: Regenerated.
58693         * sysdeps/unix/sysv/linux/configure: Regenerated.
58694         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
58695         * sysdeps/x86_64/configure: Regenerated.
58697         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
58698         defined.  Don't check if MAP is NULL.
58700 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
58702         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
58703         (_G_stat64): Likewise.
58704         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
58705         (_G_stat64): Likewise.
58706         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
58707         instead of struct _G_stat64.
58708         * libio/fileops.c (mmap_remap_check): Likewise.
58709         (decide_maybe_mmap): Likewise.
58710         (_IO_new_file_seekoff): Likewise.
58711         (_IO_file_stat): Likewise.
58712         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
58713         _G_off64_t.
58714         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
58715         instead of struct _G_stat64.
58716         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
58718 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
58720         [BZ #14602]
58721         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58722         Replace with ...
58723         (CHECK_EOL): New macro.
58724         (two_way_short_needle): Check beginning of haystack for EOL.  Use
58725         CHECK_EOL.
58726         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58727         Replace with CHECK_EOL.
58728         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
58729         Replace with CHECK_EOL.
58731 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
58733         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
58734         type-generic.
58735         * math/libm-test.inc: Update comment listing what functions and
58736         macros are tested.
58737         (finite_test): New function.
58738         (isinf_test): Likewise.
58739         (isnan_test): Likewise.
58740         (fpclassify_test): Test subnormal input.
58741         (isfinite_test): Likewise.
58742         (isnormal_test): Likewise.
58743         (main): Call the new functions.
58745 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
58747         [BZ #14660]
58748         * Makerules (%.dynsym): Force C locale when running
58749         $(OBJDUMP) --dynamic-syms.
58751 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
58753         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
58754         <stdint.h>.
58756 2012-10-06  David S. Miller  <davem@davemloft.net>
58758         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
58759         upper 32-bits of the length value in %o2 since we use branch-on-register
58760         tests which consider the entire 64-bit register.
58762 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
58764         * string/test-strstr.c (check2): Add a test for page boundary.
58766 2012-10-05  David S. Miller  <davem@davemloft.net>
58768         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
58769         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
58770         file.
58771         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
58772         sysdep_routines.
58773         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
58774         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
58775         and bzero when HWCAP_SPARC_CRYPTO is present.
58777 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
58779         [BZ #14602]
58780         * string/test-strstr.c (check2): New function.
58781         (test_main): Call check2.
58783         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
58784         and bug-strchr1.
58785         * string/bug-strcasestr1.c (do_test): Moved to ...
58786         * string/test-strcasestr.c (check1): Here.  New function.
58787         (do_one_test): Break out result checking code into ...
58788         (check_result): This.  New function.
58789         (do_one_test): Call check_result.
58790         (test_main): Call check1.
58791         * string/bug-strchr1.c (do_test): Moved to ...
58792         * string/test-strchr.c (check1): Here.  New function.
58793         (do_one_test): Break out result checking code into ...
58794         (check_result): This.  New function.
58795         (do_one_test): Call check_result.
58796         (test_main): Call check1.
58797         * string/bug-strstr1.c (main): Moved to ...
58798         * string/test-strstr.c (check1): Here.  New function.
58799         (do_one_test): Break out result checking code into ...
58800         (check_result): This.  New function.
58801         (do_one_test): Call check_result.
58802         (test_main): Call check1.
58803         * string/bug-strcasestr1.c: Removed.
58804         * string/bug-strchr1.c: Likewise.
58805         * string/bug-strstr1.c: Likewise.
58807         * elf/Makefile (dl-routines): Add hwcaps.
58808         * elf/dl-support.c (_dl_important_hwcaps): Removed.
58809         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
58810         (_dl_important_hwcaps): Moved to ...
58811         * elf/dl-hwcaps.c: Here.  New file.
58812         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
58814         [BZ #14557]
58815         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
58816         if IS_IN_rtld isn't defined.
58818         * elf/dl-support.c (_dl_sysinfo_map): New.
58819         Include "get-dynamic-info.h" and "setup-vdso.h".
58820         (_dl_non_dynamic_init): Call setup_vdso.
58821         * elf/dynamic-link.h: Don't include <assert.h>.
58822         (elf_get_dynamic_info): Moved to ...
58823         * elf/get-dynamic-info.h: Here.  New file.
58824         * elf/dynamic-link.h: Include "get-dynamic-info.h".
58825         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
58826         * elf/setup-vdso.h: Here.  New file.
58827         * elf/rtld.c: Include "setup-vdso.h".
58828         (dl_main): Call setup_vdso.
58830 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
58832         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
58833         creal in comment listing functions tested.  List finite, isinf,
58834         isnan, isless, islessequal, isgreater, isgreaterequal,
58835         islessgreater, isunordered, lgamma_r and pow10 as functions and
58836         macros not tested.  Mention which functions not tested are aliases
58837         for other functions.  Fix typo.  Note that signs of NaNs are not
58838         tested.
58840         * scripts/config.guess: Update from config.git.
58841         * scripts/config.sub: Likewise.
58843 2012-10-04  Roland McGrath  <roland@hack.frob.com>
58845         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
58846         * misc/madvise.c (madvise): Renamed to __madvise.
58847         Make madvise a weak alias.
58848         * include/sys/mman.h: Declare __madvise.
58849         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
58850         * sysdeps/unix/syscalls.list
58851         (madvise): Make __madvise the strong name, and madvise a weak alias.
58852         * sysdeps/unix/sysv/linux/syscalls.list
58853         (madvise, mmap): Remove redundant entries.
58854         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
58855         * malloc/malloc.c (mtrim): Likewise.
58856         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
58858 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58860         * sysdeps/mach/hurd/dl-cache.c: File removed.
58861         * config.h.in (USE_LDCONFIG): New #undef.
58862         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
58863         * configure: Regenerated.
58864         * elf/Makefile (dl-routines): Add dl-cache only under
58865         [$(use-ldconfig) = yes].
58866         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
58867         cache on [USE_LDCONFIG].
58868         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
58869         [USE_LDCONFIG].
58870         * elf/rtld.c (dl_main): Likewise.
58872 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
58874         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
58875         _SC_LEVEL4_CACHE_LINESIZE.
58877 2012-10-03  Roland McGrath  <roland@hack.frob.com>
58879         * sysdeps/unix/bsd/confstr.h: File removed.
58881 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
58883         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
58884         sys/sdt-config.h.
58886 2012-10-02  Roland McGrath  <roland@hack.frob.com>
58888         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
58889         Make 'mapoff' field ElfW(Off) rather than off_t.
58891 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
58893         * nscd/Makefile: Remove nscd-cflags and all its users.
58894         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
58895         (CFLAGS-nonlib): Add compiler flags for nscd modules.
58897         [BZ #10631]
58898         * malloc.c (malloc_printerr): Clarify error message.
58900 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
58902         [BZ #14648]
58903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58904         Set bit_FMA_Usable if FMA is supported.
58905         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
58906         macro.
58907         (bit_FMA4_Usable): Updated.
58908         (index_FMA_Usable): New macro.
58909         (CPUID_FMA): Likewise.
58910         (HAS_FMA): Defined with bit_FMA_Usable.
58912 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58914         * bits/types.h (__swblk_t): Type removed.
58915         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
58916         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
58917         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
58918         (__SWBLK_T_TYPE): Likewise.
58919         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
58920         (__SWBLK_T_TYPE): Likewise.
58921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
58922         (__SWBLK_T_TYPE): Likewise.
58923         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
58924         (__SWBLK_T_TYPE): Likewise.
58926 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
58927             Honza Horak <hhorak@redhat.com>
58929         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
58930         (xdr_mapname): Use YPMAXMAP as maxsize.
58931         (xdr_peername): Use YPMAXPEER as maxsize.
58932         (xdr_keydat): Use YPAXRECORD as maxsize.
58933         (xdr_valdat): Use YPMAXRECORD as maxsize.
58935 2012-10-01  Roland McGrath  <roland@hack.frob.com>
58937         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
58939         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
58940         * csu/init-first.c: ... here.
58941         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
58942         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
58943         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
58944         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
58945         * sysdeps/i386/init-first.c: File removed.
58946         * sysdeps/sh/init-first.c: File removed.
58948 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
58950         [BZ #14645]
58951         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
58952         if x * y might underflow to zero and z is zero.
58953         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58954         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58955         * math/libm-test.inc (min_subnorm_value): New variable.
58956         (fma_test): Add more tests.
58957         (fma_test_towardzero): Likewise.
58958         (fma_test_downward): Likewise.
58959         (fma_test_upward): Likewise.
58960         (initialize): Set min_subnorm_value.
58962 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
58964         [BZ #14638]
58965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
58966         0 + 0.
58967         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
58968         mode for addition resulting in exact zero.
58969         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
58970         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
58971         exact 0 + 0.
58972         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58974         * math/libm-test.inc (fma_test): Add more tests.
58975         (fma_test_towardzero): New function.
58976         (fma_test_downward): Likewise.
58977         (fma_test_upward): Likewise.
58978         (main): Call the new functions.
58980 2012-09-28  David S. Miller  <davem@davemloft.net>
58982         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
58984 2012-09-28  Roland McGrath  <roland@hack.frob.com>
58986         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
58987         instead of SIGALRM.
58989         * sysdeps/gnu/_G_config.h: Moved to ...
58990         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
58991         * sysdeps/mach/hurd/_G_config.h: Moved to ...
58992         * sysdeps/generic/_G_config.h: ... here.
58994         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
58996         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
58998         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
58999         Conditionalize target on [libnss_test1.so-version].
59001         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59003         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59004         (elfobjdir): Move out of conditionals.
59006         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59007         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59008         (__nss_lookup_function): Conditionalize label remove_from_tree on
59009         [!DO_STATIC_NSS || SHARED], matching its only use.
59011 2012-09-28  David S. Miller  <davem@davemloft.net>
59013         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59014         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59015         file.
59016         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59017         sysdep_routines.
59018         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59019         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59020         when HWCAP_SPARC_CRYPTO is present.
59022 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59024         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59026 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59028         [BZ #6530]
59029         * stdio-common/vfprintf.c (process_string_arg): Revert
59030         2000-07-22 change.
59032 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59034         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59035         for testcase.
59036         * stdio-common/tst-sprintf.c: Include <locale.h>
59037         (main): Test sprintf's handling of incomplete multibyte
59038         characters.
59040 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59042         * elf/dl-runtime.c (VERSYMIDX): Removed.
59043         * elf/dl-version.c (VERSYMIDX): Likewise.
59044         * elf/do-rel.h (VERSYMIDX): Likewise.
59045         (VALIDX): Likewise.
59046         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59047         * elf/rtld.c (VALIDX): Likewise.
59048         (ADDRIDX): Likewise.
59049         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59050         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59051         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59052         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59053         (VALIDX): Likewise.
59054         (ADDRIDX): Likewise.
59056 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59058         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59060 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59062         [BZ #11438]
59063         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59064         to global scope.
59065         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59066         addresses are in the same scope as 192.0.2/24.
59067         * posix/gai.conf: Document new scope table defaults.
59069 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59071         [BZ #5298]
59072         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59073         for ftell.  Compute offsets from write pointers instead.
59074         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59076 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59078         [BZ #14543]
59079         * libio/Makefile (tests): New test case tst-fseek.
59080         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59081         combination works in wide mode.
59082         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59083         state when the external buffer state changes.
59085 2012-09-27  David S. Miller  <davem@davemloft.net>
59087         [BZ #14376]
59088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59089         pass reloc->r_addend in as the 'high' argument to
59090         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59092         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59096         * rt/tst-aio2.c: Include <pthread.h>.
59097         * rt/tst-aio3.c: Likewise.
59099 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59101         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59103 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59105         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59106         contents on [SHARED].
59108 2012-09-26  Marek Polacek  <polacek@redhat.com>
59110         [BZ #14530]
59111         [BZ #13741]
59112         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59113         for C++ and GCC <4.3 as well as for non GCC compilers.
59115 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59119 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59121         * Makefile.in (all, install): Declare with .PHONY.
59122         Reported by Michael Hope <michael.hope@linaro.org>.
59124 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59126         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59127         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59128         system header.
59129         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59130         Likewise.
59131         (sydep_routines): Add the new and the internal functions.
59132         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59133         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59135         (GLIBC_2.17): Add the new function.
59136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59137         (GLIBC_2.17): Likewise.
59138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59139         (GLIBC_2.17): Likewise.
59140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59141         (GLIBC_2.17): Likewise.
59142         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59144 2012-09-25  Alan Modra  <amodra@gmail.com>
59146         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59147         Add release barrier before setting once_control to say
59148         initialisation is done.  Add hints on lwarx.  Use macro in
59149         place of isync.
59150         (clear_once_control): Add release barrier.
59152 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59154         [BZ #13629]
59155         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59156         specially.
59157         * math/s_clog10.c (__clog10): Likewise.
59158         * math/s_clog10f.c (__clog10f): Likewise.
59159         * math/s_clog10l.c (__clog10l): Likewise.
59160         * math/s_clogf.c (__clogf): Likewise.
59161         * math/s_clogl.c (__clogl): Likewise.
59162         * math/Makefile (libm-calls): Add x2y2m1.
59163         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
59164         (__x2y2m1): Likewise.
59165         (__x2y2m1l): Likewise.
59166         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
59167         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
59168         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
59169         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
59170         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
59171         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
59172         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
59173         * sysdeps/i386/fpu/libm-test-ulps: Update.
59174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59176         [BZ #14621]
59177         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
59178         int as type of variable DEPTH.
59179         (glob): Use size_t instead of int as type of variables NEWCOUNT
59180         and OLD_PATHC.
59182 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59184         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59185         Add s_sincosf-sse2.
59186         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
59187         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
59188         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
59189         macros for using routine as __sincosf_ia32.
59190         Use macro for function declaration and weak_alias.
59191         * sysdeps/i386/fpu/libm-test-ulps: Update.
59193         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
59194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59196         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
59197         subnormal argument.
59198         * math/s_cexpf.c (__cexpf): Likewise.
59199         * math/s_csinf.c (__csinf): Likewise.
59200         * math/s_csinhf.c (__csinhf): Likewise.
59201         * math/s_ctanf.c (__ctanf): Likewise.
59202         * math/s_ctanhf.c (__ctanhf): Likewise.
59203         * math/s_ccosh.c (__ccoshf): Likewise.
59204         * math/s_cexp.c (__cexpl): Likewise.
59205         * math/s_csin.c (__csin): Likewise.
59206         * math/s_csinh.c (__csinh): Likewise.
59207         * math/s_ctan.c (__ctan): Likewise.
59208         * math/s_ctanh.c (ctanh): Likewise.
59209         * math/s_ccoshl.c (__ccoshl): Likewise.
59210         * math/s_cexpl.c (__cexpl): Likewise.
59211         * math/s_csinl.c (__csinl): Likewise.
59212         * math/s_csinhl.c (__csinhl): Likewise.
59213         * math/s_ctanl.c (__ctanl): Likewise.
59214         * math/s_ctanhl.c (__ctanhl): Likewise.
59216 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59218         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
59219         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
59220         (_IO_off_t): Define to __off_t, not _G_off_t.
59221         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
59222         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
59223         (_IO_wint_t): Define to wint_t, not _G_wint_t.
59224         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
59225         type of __dummy and __dummy2 fields.
59226         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
59227         (_G_ssize_t): Likewise.
59228         (_G_off_t): Likewise.
59229         (_G_pid_t): Likewise.
59230         (_G_uid_t): Likewise.
59231         (_G_wchar_t): Likewise.
59232         (_G_wint_t): Likewise.
59233         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
59234         (_G_ssize_t): Likewise.
59235         (_G_off_t): Likewise.
59236         (_G_pid_t): Likewise.
59237         (_G_uid_t): Likewise.
59238         (_G_wchar_t): Likewise.
59239         (_G_wint_t): Likewise.
59240         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
59241         (_G_ssize_t): Likewise.
59242         (_G_off_t): Likewise.
59243         (_G_pid_t): Likewise.
59244         (_G_uid_t): Likewise.
59245         (_G_wchar_t): Likewise.
59246         (_G_wint_t): Likewise.
59248 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59250         * malloc/arena.c: Include malloc-sysdep.h.
59251         (shrink_heap): Use check_may_shrink_heap to decide if madvise
59252         is sufficient to shrink the heap or an unmap is needed.
59253         * sysdeps/generic/malloc-sysdep.h: New file.  Define
59254         new function check_may_shrink_heap.
59255         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
59256         new function check_may_shrink_heap.
59258 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59260         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
59261         comments.
59263 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
59265         * catgets/test-gencat.sh: Add "set -e".
59266         * elf/tst-pathopt.sh: Likewise.
59267         * grp/tst_fgetgrent.sh: Likewise.
59268         * iconvdata/run-iconv-test.sh: Likewise.
59269         * intl/tst-gettext.sh: Likewise.
59270         * intl/tst-gettext2.sh: Likewise.
59271         * intl/tst-gettext4.sh: Likewise.
59272         * intl/tst-gettext6.sh: Likewise.
59273         * intl/tst-translit.sh: Likewise.
59274         * io/ftwtest-sh: Likewise.
59275         * libio/test-freopen.sh: Likewise.
59276         * malloc/tst-mtrace.sh: Likewise.
59277         * posix/globtest.sh: Likewise.
59278         * posix/tst-getconf.sh: Likewise.
59279         * posix/wordexp-tst.sh: Likewise.
59280         * stdio-common/tst-printf.sh: Likewise.
59281         * stdio-common/tst-unbputc.sh: Likewise.
59282         * stdlib/tst-fmtmsg.sh: Likewise.
59283         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59284         * catgets/Makefile: Do not specify -e option when running
59285         testsuite shell scripts.
59286         * elf/Makefile: Likewise.
59287         * grp/Makefile: Likewise.
59288         * iconvdata/Makefile: Likewise.
59289         * intl/Makefile: Likewise.
59290         * io/Makefile: Likewise.
59291         * libio/Makefile: Likewise.
59292         * malloc/Makefile: Likewise.
59293         * posix/Makefile: Likewise.
59294         * stdio-common/Makefile: Likewise.
59295         * stdlib/Makefile: Likewise.
59296         * sysdeps/x86_64/Makefile: Likewise.
59298         * io/ftwtest-sh: Add copyright header.
59299         * posix/globtest.sh: Likewise.
59300         * posix/tst-getconf.sh: Likewise.
59301         * posix/wordexp-tst.sh: Likewise.
59302         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
59304 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
59306         [BZ #13679]
59307         * Makeconfig (+link): Defined as $(+link-static) if
59308         $(build-shared) isn't yes.
59309         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
59310         isn't yes.
59311         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
59313         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
59315         [BZ #14562]
59316         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
59317         new chunk size with MALLOC_ALIGN_MASK.
59319 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
59321         [BZ #5044]
59322         * stdio-common/printf_fphex.c: Include <stdbool.h> and
59323         <rounding-mode.h>.
59324         (__printf_fphex): Determine rounding using get_rounding_mode and
59325         round_away.
59326         * stdio-common/tst-printf-round.c (struct hex_test): New
59327         structure.
59328         (hex_tests): New variable.
59329         (test_hex_in_one_mode): New function.
59330         (do_test): Also run tests for hex float output.
59332 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
59334         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59336         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
59337         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
59338         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
59339         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
59340         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59341         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
59343 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
59345         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
59346         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
59347         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
59348         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
59350 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
59352         [BZ #14579]
59353         * elf/rtld.c (dl_main): Limit the check for self loading to normal
59354         mode only.
59355         * elf/tst-rtld-load-self.sh: New test.
59356         * elf/Makefile: Run it.
59358 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
59360         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
59361         (tst-writev-ENV): Remove.
59362         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
59364 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
59366         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
59368 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
59370         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
59371         unconditional.
59372         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
59373         Likewise.
59374         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
59375         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
59376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
59377         Likewise.
59379 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
59381         [BZ #14587]
59382         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
59383         * config.make.in (have-cpp-asm-debuginfo): Removed.
59384         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
59385         * configure: Regenerated.
59387 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
59389         [BZ #5044]
59390         * stdio-common/printf_fp.c: Include <stdbool.h> and
59391         <rounding-mode.h>.
59392         (___printf_fp): Determine rounding using get_rounding_mode and
59393         round_away.
59394         * stdio-common/tst-printf-round.c: New file.
59395         * stdio-common/Makefile (tests): Add tst-printf-round.
59396         (link-libm): New variable.
59397         ($(objpfx)tst-printf-round): Depend in $(link-libm).
59399 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
59401         [BZ #14576]
59402         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
59403         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
59404         Likewise.
59405         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
59406         Likewise.
59408 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
59410         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
59411         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59412         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59413         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
59415 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
59417         [BZ #14518]
59418         * include/rounding-mode.h: New file.
59419         * sysdeps/generic/get-rounding-mode.h: Likewise.
59420         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
59421         * stdlib/strtod_l.c: Include <rounding-mode.h>.
59422         (MAX_VALUE): New macro.
59423         (MIN_VALUE): Likewise.
59424         (overflow_value): New function.
59425         (underflow_value): Likewise.
59426         (round_and_return): Use overflow_value and underflow_value to
59427         determine return values in overflow and underflow cases.  Use
59428         round_away to determine rounding depending on rounding mode.
59429         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
59430         determine return values in overflow and underflow cases.
59431         * stdlib/tst-strtod-round.c: Include <fenv.h>.
59432         (struct test_results): New structure.
59433         (struct test): Use struct test_results to store expected results
59434         for all rounding modes.
59435         (TEST): Include expected results for all rounding modes.
59436         (test_in_one_mode): New function.
59437         (do_test): Use test_in_one_mode to compute and check results.
59438         Check results for all rounding modes.
59439         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
59440         $(link-libm).
59442 2012-12-09  Allan McRae  <allan@archlinux.org>
59444         * sysdeps/i386/fpu/libm-test-ulps: Update
59446 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
59448         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
59449         (_G_int32_t): Likewise.
59450         (_G_uint16_t): Likewise.
59451         (_G_uint32_t): Likewise.
59452         (_G_HAVE_BOOL): Likewise.
59453         (_G_HAVE_ATEXIT): Likewise.
59454         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59455         (_G_HAVE_IO_FILE_OPEN): Likewise.
59456         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
59457         (_G_int32_t): Likewise.
59458         (_G_uint16_t): Likewise.
59459         (_G_uint32_t): Likewise.
59460         (_G_HAVE_BOOL): Likewise.
59461         (_G_HAVE_ATEXIT): Likewise.
59462         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59463         (_G_HAVE_IO_FILE_OPEN): Likewise.
59464         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
59465         (_G_int32_t): Likewise.
59466         (_G_uint16_t): Likewise.
59467         (_G_uint32_t): Likewise.
59468         (_G_HAVE_BOOL): Likewise.
59469         (_G_HAVE_ATEXIT): Likewise.
59470         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
59471         (_G_HAVE_IO_FILE_OPEN): Likewise.
59473 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
59475         * csu/libc-tls.c: Update copyright years.
59477 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
59479         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
59480         [!_G_USING_THUNKS]: Remove conditional code.
59481         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
59482         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
59484         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
59485         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
59486         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59487         (_G_VTABLE_LABEL_PREFIX): Likewise.
59488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59489         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59490         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59491         (_G_VTABLE_LABEL_PREFIX): Likewise.
59492         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59493         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
59494         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
59495         (_G_VTABLE_LABEL_PREFIX): Likewise.
59496         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
59498 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
59500         * libio/Makefile: Include ../Makeconfig before tests.
59501         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
59502         only if $(build-shared) is yes.
59504         * iconv/gconv_db.c: Update copyright years.
59506 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59508         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
59509         unwind info if defined PIC. Fix special cases description.
59510         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
59512         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
59513         DP_HI_MASK entry.
59514         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
59516 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
59518         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
59520         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
59521         is NULL.
59523         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
59524         (LDLIBS-tst-chk4): This.
59525         (LDFLAGS-tst-chk5): Renamed to ...
59526         (LDLIBS-tst-chk5): This.
59527         (LDFLAGS-tst-chk6): Renamed to ...
59528         (LDLIBS-tst-chk6): This.
59529         (LDFLAGS-tst-lfschk4): Renamed to ...
59530         (LDLIBS-tst-lfschk4): This.
59531         (LDFLAGS-tst-lfschk5): Renamed to ...
59532         (LDLIBS-tst-lfschk5): This.
59533         (LDFLAGS-tst-lfschk6): Renamed to ...
59534         (LDLIBS-tst-lfschk6): This.
59536         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
59537         on $(common-objpfx)soversions.mk.
59539 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
59541         [BZ #10014]
59542         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
59543         example host name.
59545 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59547         * malloc/arena.c (arena_get_retry): New function that gets
59548         another arena for the caller to try its request on.
59549         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
59550         current arena cannot fulfill the request.
59551         (__libc_memalign): Likewise.
59552         (__libc_memalign): Likewise.
59553         (__libc_pvalloc): Likewise.
59554         (__libc_calloc): Likewise.
59556 2012-09-05  John Tobey  <john.tobey@gmail.com>
59558         [BZ #13542]
59559         * manual/arith.texi (Operations on Complex): Fix description
59560         of carg branch cut.
59562 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59564         [BZ #10014]
59565         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
59566         host name.
59568         [BZ #10038]
59569         * manual/memory.texi (Memory): Make order of menu items match
59570         order of sections.
59572 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59574         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
59575         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
59576         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
59578 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59580         * csu/libc-tls.c (static_dtv): Renamed to ...
59581         (_dl_static_dtv): This.  Make it global.
59582         (_dl_initial_dtv): Removed.
59583         (__libc_setup_tls): Updated.
59584         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
59585         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
59586         DL_INITIAL_DTV.
59588 2012-09-06  Petr Machata  <pmachata@redhat.com>
59590         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
59591         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
59592         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
59593         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
59595 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59597         [BZ #14545]
59598         * csu/libc-tls.c (_dl_initial_dtv): New variable.
59599         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
59600         freeing dtv[-1].
59602 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
59604         [BZ #14544]
59605         * Makeconfig (link-static-before-libc): Replace $(+prector)
59606         with $(+prectorT).
59607         (link-static-after-libc): Replace $(+postctor) with
59608         $(+postctorT).
59609         (link-bounded): Replace $(+prector)/$(+postctor) with
59610         $(+prectorT)/$(+postctorT).
59611         (+prectorT): New macro.
59612         (+postctorT): Likewise.
59614 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
59616         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
59617         (round_str): Handle values above the maximum for IBM long double
59618         as inexact.
59619         * stdlib/tst-strtod-round.c (tests): Regenerated.
59621 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59623         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
59624         assembler flag.
59625         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
59626         zarch_nohighgprs around the zarch optimized routines.
59627         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
59628         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
59629         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
59630         for zarch.
59632 2012-09-05  David S. Miller  <davem@davemloft.net>
59634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59636         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
59637         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
59638         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
59639         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
59640         entries.
59642 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59644         * malloc/arena.c: Fold copyright years.
59645         * malloc/mcheck.c, malloc/memusage.c: Likewise.
59647 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59649         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
59651 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59653         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
59655 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59657         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
59658         change internal state upon failure.
59660 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
59662         * malloc/mcheck.c (mcheck_check_all): Fix typo.
59663         * malloc/memusage.c (mmap): Likewise.
59664         (mmap64, mremap): Likewise.  Adjust name in comment.
59666 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59668         * libio/fileops.c: Fix typos in comments.
59669         * libio/oldfileops.c: Likewise.
59670         * libio/wfileops.c: Likewise.
59672 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59674         [BZ #1349]
59675         * malloc/Makefile (tests): Add tst-malloc-usable test case.
59676         (tst-malloc-usable-ENV): Set environment for test case.
59677         * malloc/hooks.c (malloc_check_get_size): New function to get
59678         requested size.
59679         * malloc/malloc.c (musable): Use malloc_check_get_size.
59680         * malloc/tst-malloc-usable.c: New test case.
59682 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59684         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
59686 2012-09-05  Allan McRae  <allan@archlinux.org>
59688         [BZ #13966]
59689         * configure.in (CXX_SYSINCLUDES): Use compiler output to
59690         determine header location.
59691         * configure: Regenerated.
59693 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
59695         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
59696         float format.
59697         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
59698         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
59699         format.
59700         (test): Regenerate.
59702 2012-09-04  David S. Miller  <davem@davemloft.net>
59704         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
59705         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
59706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
59708 2012-09-04  Florian Weimer  <fweimer@redhat.com>
59710         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
59711         failures.
59713         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
59715 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
59717         [BZ #9914]
59718         * libio/iogetdelim.c: Include <limits.h>.
59719         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
59720         + len + 1 would overflow.
59722 2012-09-03  Andreas Jaeger  <aj@suse.de>
59724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59725         * sysdeps/i386/fpu/libm-test-ulps: Update.
59727 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
59729         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
59730         Add s_sinf-sse2, s_conf-sse2.
59732         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
59733         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
59734         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
59735         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
59737         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
59738         for using routine as __sinf_ia32.
59739         Use macro for function declaration and weak_alias.
59740         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
59741         for using routine as __cosf_ia32.
59742         Use macro for function declaration and weak_alias.
59744         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
59745         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
59747         * sysdeps/x86_64/fpu/s_sinf.S: New file.
59748         * sysdeps/x86_64/fpu/s_cosf.S: New file.
59749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59751         * math/libm-test.inc (cos_test): Add more test cases.
59752         (sin_test): Likewise.
59753         (sincos_test): Likewise.
59755 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
59758         (IFUNC_RESOLVE): Make pointers to the specialized implementations
59759         hidden.
59760         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59762 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
59764         [BZ #14538]
59765         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
59766         first element of the GOT.
59767         (elf_machine_load_address): Return the difference between
59768         the runtime address of _DYNAMIC and elf_machine_dynamic ().
59770 2012-09-01  Allan McRae  <allan@archlinux.org>
59772         [BZ #13412]
59773         * configure.in (AWK): Require gawk version 3.0 or later.
59774         * configure: Regenerated.
59776 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
59778         * sysdeps/unix/sysv/linux/kernel-features.h
59779         (__ASSUME_POSIX_CPU_TIMERS): Remove.
59780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
59781         [__NR_clock_getres]: Make code unconditional.
59782         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
59783         (clock_getcpuclockid): Remove code left unreachable by removal of
59784         conditionals.
59785         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
59786         code unconditional.
59787         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59788         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59789         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
59790         Make code unconditional.
59791         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
59792         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59793         * sysdeps/unix/sysv/linux/clock_settime.c
59794         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
59795         conditional code.
59796         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
59797         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
59799 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
59801         [BZ #14476]
59802         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
59803         scripts/test-installation.pl.
59805         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
59806         and $ld_so_version if it is set.
59808 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59810         [BZ #14516]
59811         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
59812         failure if reading from procfs failed.
59813         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
59815 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59817         * sysdeps/unix/sysv/linux/kernel-features.h
59818         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
59819         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59820         Remove conditional code.
59821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59822         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
59823         Remove conditional code.
59824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59825         * sysdeps/unix/sysv/linux/i386/fxstat.c
59826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59828         * sysdeps/unix/sysv/linux/i386/fxstatat.c
59829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59831         * sysdeps/unix/sysv/linux/i386/lxstat.c
59832         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
59833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59834         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
59835         Remove conditional code.
59836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59837         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
59838         Remove conditional code.
59839         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59840         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
59841         <kernel-features.h>.
59842         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
59843         Remove.
59844         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
59845         Remove conditional code.
59846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
59847         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
59848         Remove conditional.
59850 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
59852         [BZ #5400]
59853         * NEWS: Add fixed bug number.
59855 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
59857         [BZ #14519]
59858         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
59859         underflowing exponent in case of negative sign.
59860         * stdlib/tst-strtod-round-data: Add more tests.
59861         * stdlib/tst-strtod-round.c (tests): Regenerated.
59863         [BZ #3479]
59864         * stdlib/strtod_l.c (NDIG): Remove.
59865         (HEXNDIG): Likewise.
59866         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
59867         smallest representable value.
59868         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
59869         lie within an exact representation of 1/2 ulp of the result.
59870         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
59871         unconditionally.
59872         (TENS_P9_IDX): Define unconditionally.
59873         (TENS_P9_SIZE): Likewise.
59874         (TENS_P10_IDX): Likewise.
59875         (TENS_P10_SIZE): Likewise.
59876         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
59877         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
59878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
59879         entries for 10^2^13 and 10^2^14.
59880         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
59881         (TENS_P13_IDX): Define.
59882         (TENS_P13_SIZE): Likewise.
59883         (TENS_P14_IDX): Likewise.
59884         (TENS_P14_SIZE): Likewise.
59885         (_fpioconst_pow10): Change array size to
59886         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
59887         unconditional.
59888         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
59889         1024]: Add entries for 10^2^13 and 10^2^14.
59890         [LAST_POW10 > _LAST_POW10]: Remove #error.
59891         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
59892         (_fpioconst_pow10): Change array size to
59893         FPIOCONST_POW10_ARRAY_SIZE.
59894         * stdlib/gen-fpioconst.c: New file.
59895         * stdlib/gen-tst-strtod-round.c: Likewise.
59896         * stdlib/tst-strtod-round-data: Likewise.
59897         * stdlib/tst-strtod-round.c: Likewise.
59898         * stdlib/Makefile (tests): Add tst-strtod-round.
59900         [BZ #14459]
59901         * stdlib/strtod_l.c: Include <stdint.h>.
59902         (NDEBUG): Do not define.
59903         (round_and_return): Change EXPONENT parameter to type intmax_t.
59904         Rearrange calculations to avoid internal overflow possibilities.
59905         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
59906         Rearrange calculations to avoid internal overflow possibilities.
59907         Assert that number fits inside MPNSIZE limbs.
59908         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
59909         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
59910         calculations and add assertions to avoid internal overflow
59911         possibilities.  Add casts to avoid signed/unsigned operations.
59912         * stdlib/tst-strtod-overflow.c: New file.
59913         * stdlib/Makefile (tests): Add tst-strtod-overflow.
59915 2012-08-25  Marek Polacek  <polacek@redhat.com>
59917         * time/time.h: Fix some typos in comments.
59919 2012-08-23  Roland McGrath  <roland@hack.frob.com>
59921         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
59922         * posix/tst-rfc3484-2.c: Likewise.
59923         * posix/tst-rfc3484-3.c: Likewise.
59925 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
59927         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
59928         (EF_ARM_ABI_FLOAT_HARD): Likewise.
59930 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
59932         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
59933         #include of fxstatat64.c.
59935 2012-08-22  Roland McGrath  <roland@hack.frob.com>
59937         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
59938         * shadow/getspent_r.c: Likewise.
59939         * shadow/getspnam.c: Likewise.
59940         * shadow/getspnam_r.c: Likewise.
59941         * gshadow/getsgent.c: Likewise.
59942         * gshadow/getsgent_r.c: Likewise.
59943         * gshadow/getsgnam.c: Likewise.
59944         * gshadow/getsgnam_r.c: Likewise.
59945         * inet/getnetbyad.c: Likewise.
59946         * inet/getnetbyad_r.c: Likewise.
59947         * inet/getnetbynm.c: Likewise.
59948         * inet/getnetbynm_r.c: Likewise.
59949         * inet/getnetent.c: Likewise.
59950         * inet/getnetent_r.c: Likewise.
59951         * inet/getproto.c: Likewise.
59952         * inet/getproto_r.c: Likewise.
59953         * inet/getprtent.c: Likewise.
59954         * inet/getprtent_r.c: Likewise.
59955         * inet/getprtname.c: Likewise.
59956         * inet/getprtname_r.c: Likewise.
59957         * inet/getrpcbyname.c: Likewise.
59958         * inet/getrpcbyname_r.c: Likewise.
59959         * inet/getrpcbynumber.c: Likewise.
59960         * inet/getrpcbynumber_r.c: Likewise.
59961         * inet/getrpcent.c: Likewise.
59962         * inet/getrpcent_r.c: Likewise.
59963         * inet/getaliasent.c: Likewise.
59964         * inet/getaliasent_r.c: Likewise.
59965         * inet/getaliasname.c: Likewise.
59966         * inet/getaliasname_r.c: Likewise.
59967         * nscd/getgrgid_r.c: Likewise.
59968         * nscd/getgrnam_r.c: Likewise.
59969         * nscd/gethstbyad_r.c: Likewise.
59970         * nscd/gethstbynm3_r.c: Likewise.
59971         * nscd/getpwnam_r.c: Likewise.
59972         * nscd/getpwuid_r.c: Likewise.
59973         * nscd/getsrvbynm_r.c: Likewise.
59974         * nscd/getsrvbypt_r.c: Likewise.
59975         * nscd/gai.c: Likewise.
59977         * configure.in (build_nscd): New substituted variable, set
59978         by --disable-build-nscd and defaults to $use_nscd.
59979         * configure: Regenerated.
59980         * config.make.in (build-nscd): New substituted variable.
59981         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
59982         Change conditional to require [$(build-nscd) = yes] as well.
59983         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
59985         [BZ# 13696]
59986         * configure.in (use_nscd): New substituted variable, set by
59987         --disable-nscd.  If enabled, define USE_NSCD.
59988         * configure: Regenerated.
59989         * config.h.in: Add USE_NSCD.
59990         * config.make.in (use-nscd): New substituted variable.
59991         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
59992         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
59993         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
59994         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
59995         (CFLAGS-getgrnam_r.c): Likewise.
59996         (CFLAGS-initgroups.c): Likewise.
59997         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
59998         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
59999         Variables removed.
60000         * inet/getnetgrent_r.c
60001         (nscd_setnetgrent): New function, broken out of ...
60002         (setnetgrent): ... here.  Call it.
60003         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60004         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60005         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60006         * nscd/Makefile (routines, aux): Move definitions after include of
60007         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60008         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60009         Conditionalize on [USE_NSCD].
60010         (is_nscd, nscd_init_cb): Likewise.
60011         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60012         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60013         * nss/nss_db/db-init.c: Likewise.
60014         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60015         [USE_NSCD].
60016         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60017         (make_request): Use it.
60018         (cache_valid_p): New function.
60019         (__check_pf): Use it.
60020         * NEWS: Add item for --disable-nscd.
60022 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60024         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60025         to support sed >= 4.2.1-20-ga9bf076.
60026         * configure: Regenerated.
60028 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60030         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60031         Conditionalize whole body on [IREL].
60033 2012-08-22  Jeff Law <law@redhat.com>
60035         [BZ #14505]
60036         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60037         if the family is PF_UNSPEC.
60039 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60041         * Makerules (lib-version): Rename from V.
60042         (install-lib-nosubdir): Change V to lib-version.
60044 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60046         [BZ #14252]
60047         * powerpc32/power6/wcschr.c: New file.
60048         * powerpc32/power6/wcscpy.c: New file.
60049         * powerpc32/power6/wcsrchr.c: New file.
60050         * powerpc64/power6/wcschr.c: New file.
60051         * powerpc64/power6/wcscpy.c: New file.
60052         * powerpc64/power6/wcsrchr.c: New file.
60054 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60056         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60057         (two_way_short_needle): Use it.
60058         * string/strstr.c (AVAILABLE1_USES_J): Define.
60059         * string/strcasestr.c: Likewise.
60061         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60062         array references.
60063         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60065         [BZ #11607]
60066         * NEWS: Add an entry.
60067         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60068         define their defaults.
60069         (two_way_short_needle): Detect end-of-string on-the-fly.
60070         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60071         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60072         * string/bug-strcasestr1.c: New test.
60073         * string/Makefile: Run it.
60075 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60077         [BZ #11607]
60078         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60079         the first character.
60081 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60083         * csu/elf-init.c (__libc_csu_irel): Function removed.
60084         * csu/libc-start.c (apply_irel): New function.
60085         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60087 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60089         * sysdeps/unix/sysv/linux/kernel-features.h
60090         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60091         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60092         <kernel-features.h>.
60093         [__NR_fadvise64_64]: Make code unconditional.
60094         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60095         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60096         !__NR_fadvise64_64)]: Likewise.
60097         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60098         !__NR_fadvise64_64))]: Likewise.
60099         [__NR_fadvise64]: Make code unconditional.
60100         [!__NR_fadvise64]: Remove conditional code.
60101         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60102         <kernel-features.h>.
60103         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60104         unconditional.
60105         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60106         conditional code.
60107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60108         not include <kernel-features.h>.
60109         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60110         unconditional.
60111         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60112         conditional code.
60113         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60114         include <kernel-features.h>.
60115         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60116         unconditional.
60117         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60118         conditional code.
60120 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60123         slight instruction rearrangements per scrollpipe analysis.
60124         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60126 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60128         * manual/syslog.texi (syslog; vsyslog, closelog):
60129         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60130         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60132         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60133         DSOCAPS to match condition on defining it.
60135 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60137         * sysdeps/unix/sysv/linux/kernel-features.h
60138         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60146         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60147         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60149         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60150         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60152         * sysdeps/unix/sysv/linux/kernel-features.h
60153         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60154         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60155         unconditional.
60156         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60157         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60158         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60159         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60160         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60161         Make code unconditional.
60162         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60163         (__mmap64) [!__NR_mmap2]: Likewise.
60164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
60165         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60166         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
60168         [__NR_mmap2]: Make code unconditional.
60169         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60170         (__mmap64) [!__NR_mmap2]: Likewise.
60172 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60174         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
60176 2012-08-18  Andreas Jaeger  <aj@suse.de>
60178         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
60180 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60182         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
60183         * include/unistd.h (__have_sock_cloexec): Likewise.
60184         (__have_pipe2): Likewise.
60185         (__have_dup3): Likewise.
60187 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
60189         [BZ #9685]
60190         * include/unistd.h (__have_pipe2): Change define into an extern int.
60191         (__have_dup3): Likewise.
60192         * socket/have_sock_cloexec.c: Include fcntl.h.
60193         (__have_pipe2): New variable.
60194         (__have_dup3): Likewise.
60196 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
60198         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
60200 2012-08-17  Marek Polacek  <polacek@redhat.com>
60202         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
60203         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
60205 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60207         * configure.in: Add AC_SUBST for sysheaders.
60208         * configure: Regenerated.
60209         * config.make.in (sysheaders): New substituted variable.
60211         * sysdeps/unix/mkfifo.c: Moved ...
60212         * sysdeps/posix/mkfifo.c: ... here.
60213         * sysdeps/unix/mkfifoat.c: Moved ...
60214         * sysdeps/posix/mkfifoat.c: ... here.
60216         * sysdeps/unix/utime.c: Moved ...
60217         * sysdeps/posix/utime.c: ... here.
60219         * sysdeps/unix/time.c: Moved ...
60220         * sysdeps/posix/time.c: ... here.
60221         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
60222         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
60224         * sysdeps/unix/nice.c: Moved ...
60225         * sysdeps/posix/nice.c: ... here.
60227         * sysdeps/unix/alarm.c: Moved ...
60228         * sysdeps/posix/alarm.c: ... here.
60230         * intl/Makefile ($(codeset_mo)): Depend on the input file.
60232 2012-08-17  Jeff Law <law@redhat.com>
60234         * intl/Makefile (codeset_mo): New variable.
60235         ($(codeset_mo)): New target.
60236         (tst-codeset.out): Depend on that.  Remove explicit rule.
60237         (tst-gettext3.out, tst-gettext5.out): Likewise.
60238         (LOCPATH-ENV, tst-codeset-ENV): New variables.
60239         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
60240         * intl/tst-codeset.sh: Remove.
60241         * intl/tst-gettext3.sh: Likewise.
60242         * intl/tst-gettext5.sh: Likewise.
60244 2012-08-17  Roland McGrath  <roland@hack.frob.com>
60246         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
60247         * sysdeps/unix/syscalls.list: ... here.
60249         * sysdeps/posix/getaddrinfo.c
60250         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
60251         (gaiconf_init, gaiconf_reload): Use them.
60252         [!_STATBUF_ST_NSEC]
60253         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
60254         Define using time_t rather than struct timespec.
60256         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
60257         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
60258         Macros removed.
60259         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
60260         [!NO_THREADS].
60261         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
60262         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
60263         Likewise.
60265         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
60266         __libc_cleanup_push argument.
60268         * bits/param.h: New file.
60269         * misc/sys/param.h: New file.
60270         * include/sys/param.h: New file.
60271         * misc/Makefile (headers): Add bits/param.h.
60272         * sysdeps/generic/sys/param.h: File removed.
60273         * sysdeps/unix/sysv/linux/bits/param.h: New file.
60274         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
60275         * sysdeps/mach/hurd/bits/param.h: New file.
60276         * sysdeps/mach/hurd/sys/param.h: File removed.
60278         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
60279         last change.
60281         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
60282         [_IO_MTSAFE_IO].
60283         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
60284         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
60285         New macros.
60287         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
60288         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
60289         rather than -D_IO_MTSAFE_IO conditionally.
60290         * stdio-common/Makefile (CPPFLAGS): Likewise.
60291         * wcsmbs/Makefile (CPPFLAGS): Likewise.
60292         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
60293         Use $(libio-mtsafe).
60294         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
60295         of -D_IO_MTSAFE_IO.
60296         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
60297         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
60298         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
60299         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
60300         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
60301         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
60302         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
60303         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
60304         (CFLAGS-fread_u_chk.c): Likewise.
60305         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
60306         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
60307         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
60308         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
60309         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
60310         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
60311         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
60312         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
60313         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
60315         * libio/Makefile: Test [$(libc-reentrant) = yes]
60316         instead of [$(filter %REENTRANT, $(defines)) nonempty].
60318         * Makeconfig
60319         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
60320         * sysdeps/pthread/configure: File removed.
60321         * sysdeps/pthread/Makeconfig: New file.
60322         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
60323         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
60325 2012-08-16  Gary Benson  <gbenson@redhat.com>
60327         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
60328         unmapping the first object in a namespace.
60330 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60332         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
60333         (__internal_setnetgrent): ... this.  Add internal_function to
60334         definition.  Add libc_hidden_def.
60335         (setnetgrent): Update caller.
60336         (internal_endnetgrent): Renamed to ...
60337         (__internal_endnetgrent): ... this.  Add internal_function to
60338         definition.  Add libc_hidden_def.
60339         (endnetgrent): Update caller.
60340         (internal_getnetgrent_r): Renamed to ...
60341         (__internal_getnetgrent_r): ... this.  Add internal_function to
60342         definition.  Add libc_hidden_def.
60343         (__getnetgrent_r): Update caller.
60344         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
60346 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60348         * stdlib/longlong.h: Update from GCC.
60350 2012-08-16  Roland McGrath  <roland@hack.frob.com>
60352         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
60353         on _QL, which is set by umul_ppmm but never used.
60354         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
60355         variables, which are set by GMP macros but never used.
60356         * stdio-common/_itowa.c (_itowa): Likewise.
60357         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
60358         * stdlib/mod_1.c (mpn_mod_1): Likewise.
60360 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
60362         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
60363         struct La_sh_regs is not constant.
60364         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
60365         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
60366         and struct La_sparc64_regs are not constant.
60368 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
60370         * sysdeps/unix/sysv/linux/kernel-features.h
60371         (__ASSUME_POSIX_TIMERS): Remove.
60372         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60374         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
60375         Make code unconditional.
60376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60377         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
60378         Make code unconditional.
60379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60380         * sysdeps/unix/sysv/linux/clock_nanosleep.c
60381         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
60382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60383         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
60384         Make code unconditional.
60385         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
60386         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
60387         (__libc_missing_posix_timers): Remove.
60389 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60391         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
60392         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
60394         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
60396         * elf/dl-sym.c: Include <stdlib.h>.
60398         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
60399         constants, which avoids warnings in 32-bit builds.
60401         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
60402         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
60404         * misc/lseek.c: File moved to ...
60405         * io/lseek.c: ... here.
60407         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
60409         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
60410         shifting LEN more than 31 bits at once.
60412 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60414         [BZ #14195]
60415         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
60416         segmentation fault for a case of two empty input strings.
60417         * string/test-strncasecmp.c (check1): Renamed to...
60418         (bz12205): ...this.
60419         (bz14195): Add new testcase for two empty input strings and N > 0.
60420         (test_main): Call new testcase, adapt for renamed function.
60422 2012-08-15  Andreas Jaeger  <aj@suse.de>
60424         [BZ #14090]
60425         * crypt/md5test2.c: New test, based on test supplied by Serge
60426         Belyshev <belyshev@depni.sinp.msu.ru>.
60427         * crypt/Makefile (xtests): Add md5test-giant..
60428         * crypt/Makefile ($(objpfx)md5test-giant): Add.
60430 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
60432         [BZ #14090]
60433         * crypt/md5.c (md5_process_block): Don't assume the buffer
60434         length is less than 2**32.
60435         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
60436         length is less than 2**64.
60438 2012-08-15  Roland McGrath  <roland@hack.frob.com>
60440         * string/str-two-way.h: Include <sys/param.h>.
60441         (MAX): Macro removed.
60443         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
60444         Move #define and #undef of memmove to just before and after
60445         including <string.h>.
60447         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
60448         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
60449         and after including <string.h>.  Move declarations of
60450         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
60451         to before #include "string/memmove.c".
60453         * include/dirent.h: Declare __getdirentries.
60455         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
60456         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
60458 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
60460         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
60461         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
60462         * sysdeps/i386/configure: Regenerated.
60463         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
60464         STABS_CURRENT_FILE, and STABS_FUN.
60465         (END): Remove call to STABS_FUN_END.
60466         (STABS_CURRENT_FILE1): Delete.
60467         (STABS_CURRENT_FILE): Likewise.
60468         (STABS_FUN): Likewise.
60469         (STABS_FUN_END): Likewise.
60470         (STABS_FUN2): Likewise.
60471         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
60472         * sysdeps/x86_64/configure: Regenerated.
60474 2012-08-14  Roland McGrath  <roland@hack.frob.com>
60476         * elf/dl-open.c: Include <atomic.h>.
60477         * elf/dl-lookup.c: Likewise.
60479 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
60481         * sysdeps/unix/sysv/linux/kernel-features.h
60482         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
60483         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
60484         unconditionally.
60485         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
60486         unconditionally.
60487         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
60488         condition on __ASSUME_CLONE_THREAD_FLAGS.
60490 2012-08-14  Andreas Jaeger  <aj@suse.de>
60492         * sysdeps/i386/fpu/libm-test-ulps: Update.
60494 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
60496         * include/atomic.h (atomic_exchange_and_add): Split into ...
60497         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
60498         New atomic macros.
60500 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
60502         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60504 2012-08-13  Jeff Law <law@redhat.com>
60506         * manual/stdio.texi (snprintf): Clarify handling of the trailing
60507         null byte in the output string.
60509 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
60511         * sysdeps/unix/sysv/linux/kernel-features.h
60512         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
60513         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
60514         (__ASSUME_ARG_MAX_STACK_BASED): Define.
60515         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
60516         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
60517         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
60518         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
60520 2012-08-09  Jeff Law <law@redhat.com>
60522         [BZ #13939]
60523         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
60524         When avoid_arena is set, don't retry in the that arena.  Pick the
60525         next one, whatever it might be.
60526         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
60527         (arena_lock): Pass in new parameter to arena_get2.
60528         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
60529         arena_get2.
60530         (__libc_malloc): Unify retrying after main arena failure with
60531         __libc_memalign version.
60532         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
60534 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
60536         [BZ #14166]
60537         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
60538         to __redirect_strstr.
60539         (__strstr_sse42): Use typeof __redirect_strstr.
60540         (__strstr_ia32): Likewise.
60541         (__libc_strstr): New prototype.
60542         (strstr): Renamed to ...
60543         (__libc_strstr): This.
60544         (strstr): New strong alias of __libc_strstr.
60545         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
60546         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
60547         __redirect_time.
60548         Include <time.h>.
60549         (__libc_time): New prototype.
60550         (time_ifunc): Replace time with __libc_time.
60551         (time): New strong alias and hidden definition of __libc_time.
60552         (__GI_time): Remove strong alias.
60553         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
60554         Include <stddef.h>.
60555         (memmove): Redefined to __redirect_memmove.
60556         (__memmove_sse2): Use typeof __redirect_memmove.
60557         (__memmove_ssse3): Likewise.
60558         (__memmove_ssse3_back): Likewise.
60559         (__libc_memmove): New prototype.
60560         (memmove): Renamed to ...
60561         (__libc_memmove): This.
60562         (memmove): New strong alias of __libc_memmove.
60564 2012-08-08  Mark Salter  <msalter@redhat.com>
60566         * elf/elf.h
60567         (R_MN10300_TLS_GD): Define.
60568         (R_MN10300_TLS_LD): Likewise.
60569         (R_MN10300_TLS_LDO): Likewise.
60570         (R_MN10300_TLS_GOTIE): Likewise.
60571         (R_MN10300_TLS_IE): Likewise.
60572         (R_MN10300_TLS_LE): Likewise.
60573         (R_MN10300_TLS_DTPMOD): Likewise.
60574         (R_MN10300_TLS_DTPOFF): Likewise.
60575         (R_MN10300_TLS_TPOFF): Likewise.
60576         (R_MN10300_SYM_DIFF): Likewise.
60577         (R_MN10300_ALIGN): Likewise.
60578         (R_MN10300_NUM): Update.
60580 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
60582         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
60583         Remove.
60585 2012-08-08  Roland McGrath  <roland@hack.frob.com>
60587         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
60589         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
60590         sysdeps/unix -> sysdeps/posix move.
60591         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
60593 2012-08-07      Allan McRae     <allan@archlinux.org>
60595         [BZ #14303]
60596         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
60597         (SUNOS_CPP): Likewise.
60598         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
60599         not found.
60600         (open_input): Call CPP using execvp.
60602 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60604         * sysdeps/unix/sysv/linux/kernel-features.h
60605         (__ASSUME_PROT_GROWSUPDOWN): Remove.
60606         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60607         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60608         (__ASSUME_WAITID_SYSCALL): Likewise.
60609         * sysdeps/unix/sysv/linux/dl-execstack.c
60610         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
60611         code unconditional.
60612         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
60613         conditional code.
60614         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
60615         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
60616         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
60617         code.
60618         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
60619         unconditional.
60620         [__ASSUME_WAITID_SYSCALL]: Likewise.
60621         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
60623 2012-08-07  Roland McGrath  <roland@hack.frob.com>
60625         * sysdeps/unix/closedir.c: Renamed to ...
60626         * sysdeps/posix/closedir.c: ... here.
60627         * sysdeps/unix/dirfd.c: Renamed to ...
60628         * sysdeps/posix/dirfd.c: ... here.
60629         * sysdeps/unix/dirstream.h: Renamed to ...
60630         * sysdeps/posix/dirstream.h: ... here.
60631         * sysdeps/unix/fdopendir.c: Renamed to ...
60632         * sysdeps/posix/fdopendir.c: ... here.
60633         * sysdeps/unix/opendir.c: Renamed to ...
60634         * sysdeps/posix/opendir.c: ... here.
60635         * sysdeps/unix/readdir.c: Renamed to ...
60636         * sysdeps/posix/readdir.c: ... here.
60637         * sysdeps/unix/readdir_r.c: Renamed to ...
60638         * sysdeps/posix/readdir_r.c: ... here.
60639         * sysdeps/unix/rewinddir.c: Renamed to ...
60640         * sysdeps/posix/rewinddir.c: ... here.
60641         * sysdeps/unix/seekdir.c: Renamed to ...
60642         * sysdeps/posix/seekdir.c: ... here.
60643         * sysdeps/unix/telldir.c: Renamed to ...
60644         * sysdeps/posix/telldir.c: ... here.
60645         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
60646         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
60647         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
60648         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
60650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
60651         * bits/fcntl.h: ... here.
60653         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
60654         not 0.
60655         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
60656         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
60657         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
60658         (struct flock): Move l_start, l_len to the beginning.
60659         Use __pid_t for l_pid.
60660         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
60661         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
60662         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
60663         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
60664         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
60665         [__USE_LARGEFILE64] (struct flock64): New type.
60666         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
60668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
60669         * bits/dirent.h: ... here.
60671         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
60672         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
60674 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
60676         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60677         Change from 2.6.0 to 2.6.16.
60678         * sysdeps/unix/sysv/linux/configure: Regenerated.
60679         * sysdeps/unix/sysv/linux/kernel-features.h
60680         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
60681         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
60682         version.
60683         (__ASSUME_UTIMES): Likewise.
60684         (__ASSUME_CLONE_STOPPED): Remove.
60685         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
60686         architectures, not kernel version.
60687         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
60688         (__ASSUME_NO_CLONE_DETACHED): Likewise.
60689         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
60690         (__ASSUME_WAITID_SYSCALL): Likewise.
60691         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
60692         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
60693         * README: State 2.6.16 as minimum Linux kernel version.  Do not
60694         refer to older versions.
60696 2012-08-06  Roland McGrath  <roland@hack.frob.com>
60698         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
60699         Define alphasort64 as an alias.
60700         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
60701         Define versionsort64 as an alias.
60702         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
60703         Define scandir64 as an alias.
60704         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
60705         Define scandirat64 as an alias.
60706         * dirent/alphasort64.c (alphasort64):
60707         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
60708         * dirent/versionsort64.c: Likewise.
60709         * dirent/scandir64.c: Likewise.
60710         * dirent/scandirat64.c: Likewise.
60711         * sysdeps/wordsize-64/alphasort.c: File removed.
60712         * sysdeps/wordsize-64/alphasort64.c: File removed.
60713         * sysdeps/wordsize-64/scandir.c: File removed.
60714         * sysdeps/wordsize-64/scandir64.c: File removed.
60715         * sysdeps/wordsize-64/scandirat.c: File removed.
60716         * sysdeps/wordsize-64/scandirat64.c: File removed.
60717         * sysdeps/wordsize-64/versionsort.c: File removed.
60718         * sysdeps/wordsize-64/versionsort64.c: File removed.
60719         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
60720         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
60721         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
60722         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
60723         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
60724         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
60725         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
60726         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
60728         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
60729         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60730         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
60731         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60732         [defined __arch64__ || defined __sparcv9]
60733         (__INO_T_MATCHES_INO64_T): New macro.
60734         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60735         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
60736         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
60737         * sysdeps/unix/sysv/linux/bits/dirent.h
60738         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
60739         (_DIRENT_MATCHES_DIRENT64): New macro.
60741         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
60742         Define lockf64 as an alias.
60743         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
60744         Define fseeko64 as an alias.
60745         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
60746         Define ftello64 as an alias.
60747         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
60748         Define _IO_fgetpos64 and fgetpos64 as aliases.
60749         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
60750         Define _IO_fsetpos64 and fsetpos64 as aliases.
60751         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
60752         Conditionalize body on this.
60753         * libio/fseeko64.c: Likewise.
60754         * libio/ftello64.c: Likewise.
60755         * libio/iofgetpos64.c: Likewise.
60756         * libio/iofsetpos64.c: Likewise.
60757         * sysdeps/wordsize-64/lockf.c: File removed.
60758         * sysdeps/wordsize-64/lockf64.c: File removed.
60759         * sysdeps/wordsize-64/fseeko.c: File removed.
60760         * sysdeps/wordsize-64/fseeko64.c: File removed.
60761         * sysdeps/wordsize-64/ftello.c: File removed.
60762         * sysdeps/wordsize-64/ftello64.c: File removed.
60763         * sysdeps/wordsize-64/iofgetpos.c: File removed.
60764         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
60765         * sysdeps/wordsize-64/iofsetpos.c: File removed.
60766         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
60767         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
60768         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
60769         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
60770         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
60771         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
60772         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
60773         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
60774         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
60775         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
60776         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
60778         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60779         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
60780         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
60781         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
60782         [defined __arch64__ || defined __sparcv9]
60783         (__OFF_T_MATCHES_OFF64_T): New macro.
60784         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
60785         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
60786         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
60787         (__OFF_T_MATCHES_OFF64_T): New macro.
60789 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60791         * stdlib/secure-getenv.c (__secure_getenv): Replace
60792         GLIBC_2_16 with GLIBC_2_17.
60794 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
60796         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
60797         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
60799 2012-08-03  David S. Miller  <davem@davemloft.net>
60801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60803 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60805         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
60806         Remove.
60807         (__ASSUME_CORRECT_SI_PID): Likewise.
60808         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
60809         (__ASSUME_TMPFS_NAME): Likewise.
60810         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
60811         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
60812         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
60813         (HAVE_AUX_SECURE): Make definition unconditional.
60814         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
60815         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
60817 2012-08-03  Roland McGrath  <roland@hack.frob.com>
60819         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
60820         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
60821         * sysdeps/mach/hurd/eloop-threshold.h: New file.
60822         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
60823         __eloop_threshold instead of SYMLOOP_MAX.
60825         * sysdeps/generic/eloop-threshold.h: New file.
60826         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
60827         of MAXSYMLINKS.
60828         * elf/chroot_canon.c (chroot_canon): Likewise.
60830 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
60832         [BZ #13717]
60833         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
60834         Change to 2.6.0 everywhere.
60835         * sysdeps/unix/sysv/linux/configure: Regenerated.
60836         * sysdeps/unix/sysv/linux/kernel-features.h
60837         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
60838         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
60839         kernel versions.
60840         (__ASSUME_POSIX_TIMERS): Define unconditionally.
60841         (__ASSUME_FUTEX_REQUEUE): Remove.
60842         (__ASSUME_STATFS64): Define unconditionally.
60843         (__ASSUME_AT_SECURE): Likewise.
60844         (__ASSUME_CORRECT_SI_PID): Likewise.
60845         (__ASSUME_TGKILL): Define without depending on kernel version for
60846         i386.
60847         (__ASSUME_UTIMES): Likewise.
60848         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
60849         kernel version.
60850         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
60851         (__ASSUME_TMPFS_NAME): Likewise.
60852         * README: Update reference to Linux kernel versions.
60854 2012-08-02  Marek Polacek  <polacek@redhat.com>
60856         [BZ# 14150]
60857         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
60858         libc_cv_asm_type_prefix with %.
60859         * configure: Regenerated.
60860         * include/libc-symbols.h: Remove comment about
60861         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60862         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
60863         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
60864         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
60865         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
60866         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
60867         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
60868         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
60869         * elf/tst-unique2mod1.c: Likewise.
60870         * elf/tst-unique1mod2.c: Likewise.
60871         * elf/tst-unique1mod1.c: Likewise.
60872         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
60873         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
60874         Replace ASM_TYPE_DIRECTIVE with .type.
60875         * sysdeps/s390/s390-64/sysdep.h: Likewise.
60876         * sysdeps/i386/sysdep.h: Likewise.
60877         * sysdeps/x86_64/sysdep.h: Likewise.
60878         * sysdeps/sh/sysdep.h: Likewise.
60879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
60880         Do not define ASM_TYPE_DIRECTIVE.
60881         * sysdeps/powerpc/sysdep.h: Likewise.
60882         * sysdeps/powerpc/powerpc32/sysdep.h:
60883         Replace ASM_TYPE_DIRECTIVE with .type.
60884         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
60885         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
60886         * sysdeps/i386/fpu/e_powf.S: Likewise.
60887         * sysdeps/i386/fpu/e_expl.S: Likewise.
60888         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
60889         * sysdeps/i386/fpu/e_acosh.S: Likewise.
60890         * sysdeps/i386/fpu/e_pow.S: Likewise.
60891         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
60892         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
60893         * sysdeps/i386/fpu/s_expm1.S: Likewise.
60894         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
60895         * sysdeps/i386/fpu/e_log2.S: Likewise.
60896         * sysdeps/i386/fpu/e_log2l.S: Likewise.
60897         * sysdeps/i386/fpu/e_scalb.S: Likewise.
60898         * sysdeps/i386/fpu/e_powl.S: Likewise.
60899         * sysdeps/i386/fpu/e_log10f.S: Likewise.
60900         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
60901         * sysdeps/i386/fpu/e_logl.S: Likewise.
60902         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
60903         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
60904         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
60905         * sysdeps/i386/fpu/e_log2f.S: Likewise.
60906         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
60907         * sysdeps/i386/fpu/e_log.S: Likewise.
60908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
60909         * sysdeps/i386/fpu/e_logf.S: Likewise.
60910         * sysdeps/i386/fpu/e_log10l.S: Likewise.
60911         * sysdeps/i386/fpu/e_atanh.S: Likewise.
60912         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
60913         * sysdeps/i386/fpu/e_log10.S: Likewise.
60914         * sysdeps/i386/fpu/s_frexp.S: Likewise.
60915         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
60916         * sysdeps/i386/fpu/s_asinh.S: Likewise.
60917         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
60918         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
60919         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
60920         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
60921         * sysdeps/i386/i686/strtok.S: Likewise.
60922         * sysdeps/i386/i386-mcount.S: Likewise.
60923         * sysdeps/i386/strtok.S: Likewise.
60924         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
60925         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
60926         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
60927         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
60928         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
60929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
60930         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
60931         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
60932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
60933         * sysdeps/x86_64/_mcount.S: Likewise.
60934         * sysdeps/x86_64/strtok.S: Likewise.
60935         * sysdeps/sh/_mcount.S: Likewise.
60937 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60939         * libio/iofopen.c: Include <fcntl.h>.
60940         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
60941         (_IO_fopen64, fopen64): Define as aliases.
60942         * libio/iofopen64.c: Include <fcntl.h>.
60943         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
60944         Conditionalize body on this.
60945         * sysdeps/wordsize-64/iofopen.c: File removed.
60946         * sysdeps/wordsize-64/iofopen64.c: File removed.
60948 2012-08-01  Marek Polacek  <polacek@redhat.com>
60950         * libc/Makeconfig: Use elf in place of binfmt-subdir.
60951         Use dlfcn directly instead of a variable.
60952         (binfmt-subdir): Do not define.
60953         (dlfcn): Likewise.
60955 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
60957         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
60958         Remove all definitions.
60959         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
60960         <kernel-features.h>.
60961         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60962         (miss_F_GETOWN_EX): Remove all definitions.
60963         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
60964         macro definition.
60965         [!__ASSUME_FCNTL64]: Remove conditional code.
60966         [__ASSUME_FCNTL64]: Make code unconditional.
60967         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
60968         <kernel-features.h>.
60969         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
60970         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
60971         (lockf64) [__NR_fcntl64]: Make code unconditional.
60972         (lockf64) [__ASSUME_FCNTL64]: Likewise.
60974         * sysdeps/unix/sysv/linux/kernel-features.h
60975         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
60976         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
60977         Make code unconditional.
60978         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60979         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
60981         [__NR_vfork]: Make code unconditional.
60982         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60983         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
60985         [__NR_vfork]: Make code unconditional.
60986         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
60987         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
60989 2012-08-01  Roland McGrath  <roland@hack.frob.com>
60991         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
60992         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
60994         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60995         Define mkstemp64 as an alias.
60996         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60997         Define mkstemps64 as an alias.
60998         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
60999         Define mkostemp64 as an alias.
61000         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61001         Define mkostemps64 as an alias.
61002         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61003         Conditionalize body on this.
61004         * misc/mkostemp64.c: Likewise.
61005         * misc/mkostemps64.c: Likewise.
61006         * misc/mkstemps64.c: Likewise.
61007         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61008         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61009         * sysdeps/wordsize-64/mkostemp.c: File removed.
61010         * sysdeps/wordsize-64/mkstemp.c: File removed.
61011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61013         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61016         [BZ #14138]
61017         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61018         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61019         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61020         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61022         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61023         compat_symbol macros from <shlib-compat.h> rather than the underlying
61024         default_symbol_version and symbol_version macros, so that DEFAULT
61025         lines in shlib-versions are respected.
61026         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61028 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61030         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61031         Declare with warn_unused_result.
61032         (setgid, setregid, setegid, setresgid): Likewise.
61033         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61034         Likewise.
61035         * WUR-REPORT: Remove set*id functions.
61037 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61039         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61041 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61043         [BZ #10191]
61044         * include/sys/socket.h (__libc_accept, __libc_accept4):
61045         Add attribute_hidden.
61046         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61048         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61049         use of PTR_MANGLE.
61050         * inet/getnetgrent_r.c (setup): Likewise.
61052         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61054 2012-07-31  David S. Miller  <davem@davemloft.net>
61056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61058 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61060         [BZ #13629]
61061         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61062         value between 1.0 and 2.0 and smaller part has absolute value less
61063         than 1.0.
61064         * math/s_clog10.c (__clog10): Likewise.
61065         * math/s_clog10f.c (__clog10f): Likewise.
61066         * math/s_clog10l.c (__clog10l): Likewise.
61067         * math/s_clogf.c (__clogf): Likewise.
61068         * math/s_clogl.c (__clogl): Likewise.
61069         * math/libm-test.inc (clog_test): Add more tests.
61070         (clog10_test): Likewise.
61071         * sysdeps/i386/fpu/libm-test-ulps: Update.
61072         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61074 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61076         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61077         Exit with zero in case no suitable GID is found, and write a
61078         message to standard error.
61080 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61082         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61083         rather than to 1.
61084         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61085         (MAXPATHLEN): Removed.
61086         (NOGROUP, NODEV): New macros.
61087         (setbit, clrbit, isset, isclr): New macros.
61088         (howmany, roundup, powerof2): New macros.
61089         (DEV_BSIZE): New macro.
61091         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61092         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61094         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61095         definition on [!__NO_LONG_DOUBLE_MATH].
61097         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61098         PTR_MANGLE and PTR_DEMANGLE.
61100         * socket/accept4.c (accept4): Rename to __libc_accept4.
61101         Define accept4 as a weak alias.
61103         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61104         on [_DIRENT_HAVE_D_TYPE].
61105         * io/ftw.c (ftw_dir): Likewise.
61107         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61109         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61111         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61112         Use the BSD numbers rather than the arbitrary ones we had.
61113         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61114         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61115         (SIGXCPU, SIGXFSZ): New macros.
61116         (_NSIG): Now 32.
61118         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61119         initializer on [_LIBC_REENTRANT].
61121         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61122         definitions inside [_POSIX_MAPPED_FILES].
61124         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61126         * dirent/opendir.c: Include <fcntl.h>.
61128         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61129         (__libc_getspecific): Likewise.
61130         (__libc_key_create): Likewise.
61132         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61133         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61134         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61135         (tmpfile64): Define as alias.
61136         * sysdeps/wordsize-64/tmpfile.c: File removed.
61137         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61138         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61139         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61141         * stdio-common/vfscanf.c: Include <stdbool.h>.
61142         * nss/makedb.c: Likewise.
61143         * stdio-common/_i18n_number.h: Likewise.
61144         * argp/argp-help.c: Likewise.
61145         * posix/wordexp.c: Likewise.
61146         * sysdeps/posix/spawni.c: Likewise.
61147         * nss/nss_files/files-initgroups.c: Likewise.
61148         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61149         * nss/nss_files/files-initgroups.c: Likewise.
61150         * nss/nss_db/db-netgrp.c: Likewise.
61151         * nss/nss_db/db-initgroups.c: Likewise.
61152         * io/fchmodat.c: Include <sys/stat.h>.
61154         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61155         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61157         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61158         [HAVE_MMAP].
61160         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61161         Add multiple inclusion protection.
61163 2012-07-27  David S. Miller  <davem@davemloft.net>
61165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61167 2012-07-27  Gary Benson  <gbenson@redhat.com>
61169         [BZ #14298]
61170         * elf/rtld.c: Include <stap-probe.h>.
61171         (dl_main): Added static probes "init_start" and "init_complete".
61172         * elf/dl-load.c: Include <stap-probe.h>.
61173         (lose): Take new parameter "nsid".
61174         Added static probe "map_failed".
61175         (_dl_map_object_from_fd): Pass namespace id to lose.
61176         Added static probe "map_start".
61177         (open_verify): Pass namespace id to lose.
61178         * elf/dl-open.c: Include <stap-probe.h>.
61179         (dl_open_worker) Added static probes "map_complete", "reloc_start"
61180         and "reloc_complete".
61181         * elf/dl-close.c: Include <stap-probe.h>.
61182         (_dl_close_worker): Added static probes "unmap_start" and
61183         "unmap_complete".
61184         * elf/rtld-debugger-interface.txt: New file documenting the above.
61186 2012-07-26  Roland McGrath  <roland@hack.frob.com>
61188         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
61189         rather than a string variable.
61190         * sunrpc/rpc_main.c (h_output): Likewise.
61191         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
61193 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
61195         * inet/check_native.c: New file.
61197 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
61199         [BZ #13629]
61200         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
61201         if larger part has absolute value 1.0.
61202         * math/s_clog10.c (__clog10): Likewise.
61203         * math/s_clog10f.c (__clog10f): Likewise.
61204         * math/s_clog10l.c (__clog10l): Likewise.
61205         * math/s_clogf.c (__clogf): Likewise.
61206         * math/s_clogl.c (__clogl): Likewise.
61207         * math/libm-test.inc (clog_test): Add more tests.
61208         (clog10_test): Likewise.
61209         * sysdeps/i386/fpu/libm-test-ulps: Update.
61210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61212         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
61213         (pltexit): Likewise.
61214         (La_regs): Likewise.
61215         (La_retval): Likewise.
61216         (int_retval): Likewise.
61217         Update #error for removed macros to refer only to definitions in
61218         tst-audit.h.
61219         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
61220         macro.
61221         (pltexit): Likewise.
61222         (La_regs): Likewise.
61223         (La_retval): Likewise.
61224         (int_retval): Likewise.
61225         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
61226         macro.
61227         (pltexit): Likewise.
61228         (La_regs): Likewise.
61229         (La_retval): Likewise.
61230         (int_retval): Likewise.
61231         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
61232         macro.
61233         (pltexit): Likewise.
61234         (La_regs): Likewise.
61235         (La_retval): Likewise.
61236         (int_retval): Likewise.
61237         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
61238         macro.
61239         (pltexit): Likewise.
61240         (La_regs): Likewise.
61241         (La_retval): Likewise.
61242         (int_retval): Likewise.
61243         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
61244         macro.
61245         (pltexit): Likewise.
61246         (La_regs): Likewise.
61247         (La_retval): Likewise.
61248         (int_retval): Likewise.
61249         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
61250         macro.
61251         (pltexit): Likewise.
61252         (La_regs): Likewise.
61253         (La_retval): Likewise.
61254         (int_retval): Likewise.
61255         * sysdeps/generic/tst-audit.h: Update comment to refer only to
61256         macro definitions in tst-audit.h.
61257         * sysdeps/i386/tst-audit.h: New file.
61258         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
61259         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
61260         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
61261         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
61262         * sysdeps/sh/tst-audit.h: Likewise.
61263         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
61264         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
61265         * sysdeps/x86_64/tst-audit.h: Likewise.
61267 2012-07-26  Andreas Jaeger  <aj@suse.de>
61269         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
61270         ptrace.
61272         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
61273         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
61274         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
61275         PTRACE_O_MASK.
61276         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
61277         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
61278         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
61280         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
61281         value.
61283         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
61284         _sigsys.
61285         (si_call_addr, si_syscall, si_arch): Define new macro.
61286         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
61287         _sigsys.
61288         (si_call_addr, si_syscall, si_arch): Define new marcro.
61289         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
61290         _sigsys.
61291         (si_call_addr, si_syscall, si_arch): Define new macro.
61292         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
61293         _sigsys.
61294         (si_call_addr, si_syscall, si_arch): Define new macro.
61296 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61298         [BZ #13717]
61299         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61300         Change to 2.4.21 where previously 2.4.1.
61301         * sysdeps/unix/sysv/linux/configure: Regenerated.
61302         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
61303         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
61304         Linux kernel version.
61305         (__ASSUME_STD_AUXV): Remove.
61306         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
61307         kernel version.
61308         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
61309         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
61310         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
61311         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
61312         (__ASSUME_NETLINK_SUPPORT): Likewise.
61313         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
61314         (__no_netlink_support): Remove conditional definition.
61315         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
61316         Remove.
61317         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61318         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
61319         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
61320         (if_nameindex_ioctl): Remove.
61321         (if_nameindex_netlink): Do not handle __no_netlink_support.
61322         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61323         code.
61324         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
61325         Remove conditional code.
61326         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
61327         code.
61328         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
61329         unconditional.
61330         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
61331         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
61332         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
61333         Remove.
61334         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
61335         [!__ASSUME_STD_AUXV]: Remove conditional code.
61336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
61337         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
61338         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
61339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
61340         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
61341         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61342         code.
61343         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61345         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
61346         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61347         conditional code.
61348         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
61349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61350         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
61351         code.
61352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61353         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
61354         conditional code.
61355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
61356         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61357         code unconditional.
61358         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61359         conditional code.
61360         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61361         unconditional.
61362         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61363         conditional code.
61364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
61365         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61366         unconditional.
61367         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61368         conditional code.
61369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
61370         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61371         code unconditional.
61372         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61373         conditional code.
61374         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61375         unconditional.
61376         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61377         conditional code.
61378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
61379         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
61380         code unconditional.
61381         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61382         conditional code.
61383         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
61384         unconditional.
61385         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
61386         conditional code.
61388 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
61390         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
61391         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
61392         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
61393         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
61394         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
61395         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
61396         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
61397         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
61398         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
61399         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
61400         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
61401         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
61402         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
61403         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
61404         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
61405         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
61406         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
61407         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
61408         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
61409         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
61410         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
61411         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
61412         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
61414 2012-07-25  Florian Weimer  <fweimer@redhat.com>
61416         * Versions.def: Add GLIBC_2.17.
61417         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
61418         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
61419         Introduce __libc_secure_getenv.
61420         * stdlib/Versions (2.17): Add secure_getenv
61421         (GLIBC_PRIVATE): Add __libc_secure_getenv.
61422         * stdlib/secure-getenv.c: Rename __secure_getenv to
61423         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
61424         symbol __secure_getenv for GLIBC_2.0.
61425         * stdlib/tst-secure-getenv.c: New.
61426         * stdlib/Makefile (tests): Add testcase.
61427         * manual/startup.texi (Environment Access): Document
61428         secure_getenv.
61429         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
61430         __libc_secure_getenv.
61431         * inet/ruserpass.c (ruserpass): Likewise.
61432         * malloc/mtrace.c (mtrace): Likewise.
61433         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
61434         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
61435         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
61436         * sysdeps/posix/tempname.c: Likewise.  Evaluate
61437         HAVE_SECURE_GETENV.
61438         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
61439         __secure_getenv to __libc_secure_getenv.
61440         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
61441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61442         Likewise.
61443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61444         Likewise.
61445         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
61449         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
61450         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61453 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
61455         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
61456         (struct La_i86_retval): Likewise.
61457         (struct La_x86_64_regs): Likewise.
61458         (struct La_x86_64_retval): Likewise.
61459         (struct La_x32_regs): Likewise.
61460         (struct La_x32_retval): Likewise.
61461         (struct La_ppc32_regs): Likewise.
61462         (struct La_ppc32_retval): Likewise.
61463         (struct La_ppc64_regs): Likewise.
61464         (struct La_ppc64_retval): Likewise.
61465         (struct La_sh_regs): Likewise.
61466         (struct La_sh_retval): Likewise.
61467         (struct La_s390_32_regs): Likewise.
61468         (struct La_s390_32_retval): Likewise.
61469         (struct La_s390_64_regs): Likewise.
61470         (struct La_s390_64_retval): Likewise.
61471         (struct La_sparc32_regs): Likewise.
61472         (struct La_sparc32_retval): Likewise.
61473         (struct La_sparc64_regs): Likewise.
61474         (struct La_sparc64_retval): Likewise.
61475         (struct audit_ifaces): Remove architecture-specific pltenter and
61476         pltexit members.
61477         * sysdeps/i386/ldsodefs.h: New file.
61478         * sysdeps/powerpc/ldsodefs.h: Likewise.
61479         * sysdeps/s390/ldsodefs.h: Likewise.
61480         * sysdeps/sh/ldsodefs.h: Likewise.
61481         * sysdeps/sparc/ldsodefs.h: Likewise.
61482         * sysdeps/x86_64/ldsodefs.h: Likewise.
61484 2012-07-25  Marek Polacek  <polacek@redhat.com>
61486         [BZ #6808]
61487         * math/libm-test.inc (yn_test): Add another test.
61488         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
61489         to ERANGE when the result is +-Inf.
61490         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
61491         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
61492         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
61493         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
61495 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
61497         * conform/data/time.h-data (NULL): Use macro-constant.  Require
61498         equal to 0.
61499         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
61500         clock_t.
61501         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
61503 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
61505         * configure.in <sysdeps resolving>: Correct printing
61506         Implies_before.
61507         * configure: Regenerate.
61509 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
61511         * math/w_ilogb.c: Include <limits.h>.
61512         * math/w_ilogbl.c: Likewise.
61514 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61516         * manual/lang.texi (__va_copy): Document primarily as ISO C99
61517         va_copy.  Document allowing for unavailable va_copy only as
61518         pre-C99 compatibility.
61519         * manual/string.texi (Copying and Concatenation): Use va_copy
61520         instead of __va_copy in concat example.
61522 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
61524         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
61525         (__sendto): Use create_address_port.  Initialize APORT and deallocate
61526         it if not null.
61528         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
61529         with O_NOLINK passed to __file_name_lookup.
61531         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
61532         with O_NOLINK passed to __file_name_lookup.
61534         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
61535         negative N or less than NGIDS.
61537         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
61538         type to string_t.  Set ERANGE as errno and return it if NAME is not big
61539         enough.  Use memcpy instead of strncpy.
61541 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
61543         * elf/Makefile (check-data): Remove.
61544         (localplt.data): New vpath directive.
61545         ($(objpfx)check-localplt.out): Use localplt.data from vpath
61546         instead of $(check-data).
61547         * scripts/data/localplt-generic.data: Move to ...
61548         * sysdeps/generic/localplt.data: ... here.
61549         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
61550         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
61551         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
61552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
61553         ... here.
61554         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
61555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
61556         ... here.
61557         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
61558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
61559         ... here.
61560         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
61561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
61562         ... here.
61563         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
61564         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
61565         ... here.
61566         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
61567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
61568         ... here.
61570 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61572         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
61573         PPC32 and PPC64 files.
61574         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
61575         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
61577 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61579         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
61580         __makecontext_ret to ...
61581         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
61582         ... here and call exit if uc_link is NULL.  New file.
61583         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
61584         __makecontext_ret.S.
61585         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
61586         __makecontext_ret to ...
61587         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
61588         ... here and call exit if uc_link is NULL.  New file.
61589         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
61590         __makecontext_ret.S.
61592 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61594         * elf/elf.h (R_390_IRELATIVE): New definition.
61595         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
61596         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
61597         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
61598         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
61599         (elf_machine_lazy_rel): Likewise.
61600         * sysdeps/s390/dl-irel.h: New file.
61601         * sysdeps/s390/s390-64/memcpy.S: New asm code.
61602         * sysdeps/s390/s390-64/memset.S: New asm code.
61603         * sysdeps/s390/s390-64/memcmp.S: New asm code.
61604         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
61605         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
61606         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
61607         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
61608         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
61609         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
61610         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
61611         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
61612         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
61613         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
61614         * sysdeps/s390/s390-32/memcpy.S: New asm code.
61615         * sysdeps/s390/s390-32/memset.S: New asm code.
61616         * sysdeps/s390/s390-32/memcmp.S: New asm code.
61618 2012-07-17  Marek Polacek  <polacek@redhat.com>
61620         [BZ #14349]
61621         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
61622         * sysdeps/s390/s390-64/configure.in: Likewise.
61623         * sysdeps/sparc/configure.in: Likewise.
61624         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
61625         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
61626         * sysdeps/i386/configure.in: Likewise.
61627         * sysdeps/x86_64/configure.in: Likewise.
61628         * sysdeps/sh/configure.in: Likewise.
61629         * sysdeps/s390/s390-32/configure: Regenerated.
61630         * sysdeps/s390/s390-64/configure: Likewise.
61631         * sysdeps/x86_64/configure: Likewise.
61632         * sysdeps/sh/configure: Likewise.
61633         * sysdeps/powerpc/powerpc64/configure: Likewise.
61634         * sysdeps/powerpc/powerpc32/configure: Likewise.
61635         * sysdeps/sparc/configure: Likwise.
61636         * sysdeps/i386/configure: Likewise.
61638         * elf/dl-open.c: Comment fixes.
61640 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
61642         * Makefile [CXX] (check-data): Remove.
61643         [CXX] (c++-types.data): New vpath directive.
61644         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
61645         vpath.  Do not allow for C++ type data being missing.
61646         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
61647         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
61648         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
61649         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
61650         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
61651         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
61652         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
61653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
61654         ... here.
61655         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
61656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
61657         ... here.
61658         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
61659         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
61660         ... here.
61661         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
61662         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
61663         ... here.
61664         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
61665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
61666         ... here.
61667         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
61668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
61669         ... here.
61670         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
61671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
61672         ... here.
61673         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
61674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
61676         * elf/tls-macros.h (TLS_LE): Move architecture-specific
61677         definitions to architecture-specific files.
61678         (TLS_IE): Likewise.
61679         (TLS_LD): Likewise.
61680         (TLS_GD): Likewise.
61681         * sysdeps/i386/tls-macros.h: New file.
61682         * sysdeps/powerpc/tls-macros.h: Likewise.
61683         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
61684         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
61685         * sysdeps/sh/tls-macros.h: Likewise.
61686         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
61687         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
61688         * sysdeps/x86_64/tls-macros.h: Likewise.
61690 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61692         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
61693         zero value for regular exit case.
61695         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
61696         (__start_context): Preserve zero value for regular exit case.
61698 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
61699             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61701         * manual/setjmp.texi (setcontext): Clarify normal process
61702         termination when uc_link is the null pointer.
61703         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
61704         exit call.
61706 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
61708         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
61709         preprocessor.  Test for each exception mask separately.
61711 2012-07-16  Andreas Jaeger  <aj@suse.de>
61713         * po/ru.po: Update from translation team.
61715 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
61717         * conform/data/string.h-data (NULL): Use macro-constant.  Require
61718         equal to 0.
61719         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
61720         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
61721         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
61722         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
61723         [ISO || ISO99 || ISO11] (*_t): Do not allow.
61725 2012-07-13  Andreas Jaeger  <aj@suse.de>
61727         * po/fr.po: Update from translation team.
61729 2012-07-12  Marek Polacek  <polacek@redhat.com>
61731         [BZ #14173]
61732         * math/libm-test.inc (yn_test): Add test for BZ #14173.
61733         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
61734         loop condition.
61736 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
61738         [BZ #13717]
61739         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61740         Change to 2.4.1 where previously 2.4.0.
61741         * sysdeps/unix/sysv/linux/configure: Regenerated.
61742         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
61743         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
61744         version.
61745         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
61746         (__ASSUME_AT_CLKTCK): Remove.
61747         (__ASSUME_AT_PAGESIZE): Likewise.
61748         (__ASSUME_AT_XID): Likewise.
61749         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
61750         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
61751         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
61752         unconditionally.
61753         (HAVE_AUX_PAGESIZE): Likewise.
61754         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
61755         [__ASSUME_AT_CLKTCK]: Make code unconditional.
61756         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
61758 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
61760         [BZ #14307]
61761         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
61762         the temporary buffer used to invoke __gethostbyname2_r,
61763         __gethostbyaddr_r and gethostbyname4_r to make room for struct
61764         host_data / struct gaih_addrtuple.
61765         * resolv/nss_dns/dns-host.c (global scope): Move definition of
61766         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
61767         header file nss/nsswitch.h.
61768         * nss/nsswitch.h (global scope): Add definition of implementation
61769         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
61770         resolv/nss_dns/dns-host.c).
61772 2012-07-11  Andreas Jaeger  <aj@suse.de>
61774         * po/fr.po: Update from translation team.
61776         * po/sv.po: Update from translation team
61777         * po/fr.po: Another update from translation team.
61779 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61781         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
61782         for subnormals or multiply small sinh result by itself.
61783         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
61784         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61786 2012-07-11  David S. Miller  <davem@davemloft.net>
61788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61790 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
61792         [BZ #14347]
61793         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
61794         (INTERNAL_MARK): Shift it here.
61796 2012-07-10  Marek Polacek  <polacek@redhat.com>
61798         [BZ #14151]
61799         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
61800         libc_cv_asm_global_directive with .globl.
61801         * configure: Regenerated.
61802         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
61803         with .globl.
61804         * sysdeps/i386/configure: Regenerated.
61805         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
61806         with .globl.
61807         * sysdeps/x86_64/configure: Regenerated.
61808         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
61809         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
61810         * elf/tst-unique2mod2.c: Likewise.
61811         * elf/tst-unique2mod1.c: Likewise.
61812         * elf/tst-unique1mod2.c: Likewise.
61813         * elf/tst-unique1mod1.c: Likewise.
61814         * sysdeps/s390/s390-32/sysdep.h: Likewise.
61815         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61816         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61817         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61818         * sysdeps/mach/sysdep.h: Likewise.
61819         * sysdeps/i386/sysdep.h: Likewise.
61820         * sysdeps/i386/i386-mcount.S: Likewise.
61821         * sysdeps/x86_64/_mcount.S: Likewise.
61822         * sysdeps/x86_64/sysdep.h: Likewise.
61823         * sysdeps/sh/_mcount.S: Likewise.
61824         * sysdeps/sh/sysdep.h: Likewise.
61825         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
61826         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
61827         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
61828         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
61829         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
61830         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
61831         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
61832         * locale/localeinfo.h: Likewise.
61833         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
61834         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
61836 2012-07-09  Roland McGrath  <roland@hack.frob.com>
61838         [BZ #14336]
61839         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
61840         system".
61841         * manual/message.texi (The Uniforum approach): Likewise.
61842         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
61843         (glibc iconv Implementation): Likewise.
61845 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
61847         [BZ #14337]
61848         * math/s_clog.c (__clog): Avoid scaling a value down where that
61849         could result in underflow.
61850         * math/s_clog10.c (__clog10): Likewise.
61851         * math/s_clog10f.c (__clog10f): Likewise.
61852         * math/s_clog10l.c (__clog10l): Likewise.
61853         * math/s_clogf.c (__clogf): Likewise.
61854         * math/s_clogl.c (__clogl): Likewise.
61855         * math/libm-test.inc (clog_test): Add more tests.
61856         (clog10_test): Likewise.
61857         * sysdeps/i386/fpu/libm-test-ulps: Update.
61858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61860 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
61862         [BZ #14283]
61863         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
61864         by 7 not 8 to examine high bit of fractional part.
61866         [BZ #14042]
61867         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
61868         for call to __mcount_internal.
61869         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
61870         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
61871         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
61873 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
61875         [BZ #14154]
61876         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
61877         approximation for values within 0x1p-13f of an odd multiple of
61878         pi/4.
61879         * math/libm-test.inc (tan_test): Do not allow spurious underflow
61880         exception.  Add more tests.
61881         * sysdeps/i386/fpu/libm-test-ulps: Update.
61883         [BZ #6778]
61884         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
61885         inputs and return -1 for them.  Do not check for +Inf in case not
61886         reachable for +Inf.
61887         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
61888         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
61889         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61890         and return -1 for them.  Do not check for +Inf in case not
61891         reachable for +Inf.
61892         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
61893         define.
61894         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
61895         and return -1 for them.  Do not check for +Inf in case not
61896         reachable for +Inf.
61897         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
61898         spurious underflow.
61899         * sysdeps/i386/fpu/libm-test-ulps: Update.
61900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61902 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
61904         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
61906 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
61908         [BZ #14157]
61909         [BZ #14331]
61910         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
61911         could result in spurious underflow.  Scale down values above
61912         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
61913         * math/s_csqrtf.c (__csqrtf): Likewise.
61914         * math/s_csqrtl.c (__csqrtl): Likewise.
61915         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
61916         spurious underflow.
61917         * sysdeps/i386/fpu/libm-test-ulps: Update.
61918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61920 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
61922         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
61923         xopen-msg.sed.
61924         * catgets/xopen-msg.awk: New file.
61925         * catgets/xopen-msg.sed: Removed.
61927         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
61928         po2text.sed.
61929         * intl/po2test.awk: New file.
61930         * intl/po2test.sed: Removed.
61932 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
61934         [BZ #14328]
61935         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
61936         or multiply small sinh result by itself.
61937         * math/s_ctanf.c (__ctanf): Likewise.
61938         * math/s_ctanh.c (__ctanh): Likewise.
61939         * math/s_ctanhf.c (__ctanhf): Likewise.
61940         * math/s_ctanhl.c (__ctanhl): Likewise.
61941         * math/s_ctanl.c (__ctanl): Likewise.
61942         * math/libm-test.inc (ctan_test_tonearest): New function.
61943         (ctan_test_towardzero): Likewise.
61944         (ctan_test_downward): Likewise.
61945         (ctan_test_upward): Likewise.
61946         (ctanh_test_tonearest): Likewise.
61947         (ctanh_test_towardzero): Likewise.
61948         (ctanh_test_downward): Likewise.
61949         (ctanh_test_upward): Likewise.
61950         (main): Call these new functions.
61951         * sysdeps/i386/fpu/libm-test-ulps: Update.
61952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61954 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
61956         * .gitignore: Delete /ports entry.
61958 2012-07-03  Andreas Jaeger  <aj@suse.de>
61960         * po/bg.po: Update from translation team.
61961         * po/cs.po: Likewise.
61962         * po/de.po: Likewise.
61963         * po/hr.po: Likewise.
61964         * po/nl.pl: Likewise.
61965         * po/pl.po: Likewise.
61966         * po/vi.po: Likewise.
61968 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
61970         * Makeconfig [!+link] (+link-before-libc): New variable.
61971         [!+link] (+link-after-libc): Likewise.
61972         [!+link] (+link-tests): Likewise.
61973         [!+link] (+link): Define in terms of $(+link-before-libc) and
61974         $(+link-after-libc).
61975         [!+link-static] (+link-static-before-libc): New variable.
61976         [!+link-static] (+link-static-after-libc): Likewise.
61977         [!+link-static] (+link-static-tests): Likewise.
61978         [!+link-static] (+link-static): Define in terms of
61979         $(+link-static-before-libc) and $(+link-static-after-libc).
61980         [build-shared] (link-libc-before-gnulib): New variable.
61981         [build-shared] (link-libc-tests): Likewise.
61982         [build-shared] (link-libc): Define in terms of
61983         $(link-libc-before-gnulib).
61984         [!build-shared] (link-libc-tests): New variable.
61985         (link-libc-static-tests): New variable.
61986         [!gnulib] (gnulib-arch): New variable.
61987         [!gnulib] (gnulib-tests): Likewise.
61988         [!gnulib] (static-gnulib-arch): Likewise.
61989         [!gnulib] (static-gnulib-tests): Likewise.
61990         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
61991         Define with "=" instead of ":=".
61992         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
61993         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
61994         * Rules (binaries-all-notests): New variable.
61995         (binaries-all-tests): Likewise.
61996         (binaries-static-notests): Likewise.
61997         (binaries-static-tests): Likewise.
61998         (binaries-all): Define using $(binaries-all-notests) and
61999         $(binaries-all-tests).
62000         (binaries-static): Define using $(binaries-static-notests) and
62001         $(binaries-static-tests).
62002         (binaries-shared-tests): New variable.
62003         (binaries-shared-notests): Likewise.
62004         (binaries-shared): Remove variable.
62005         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62006         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62007         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62008         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62009         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62010         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62011         * elf/Makefile (sln-modules): New variable.
62012         (extra-objs): Add $(sln-modules:=.o).
62013         (ldconfig-modules): Add static-stubs.
62014         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62015         * elf/static-stubs.c: New file.
62017         [BZ #14283]
62018         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62019         by 7 not 8 to examine high bit of fractional part.  Use volatile
62020         variables when splitting into final array of floats if
62021         __FLT_EVAL_METHOD__ != 0.
62022         * math/libm-test.inc (cos_test): Add another test.
62023         (sin_test): Likewise.
62024         * sysdeps/i386/fpu/libm-test-ulps: Update.
62026         [BZ #14273]
62027         * math/libm-test.inc (cosh_test): Add more tests.
62029         * version.h (RELEASE): Set to "development".
62030         (VERSION): Set to "2.16.90".
62032 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62034         * NEWS: Update copyright. Remove last-updated date.
62035         Mention math library bug fixes and timezone data changes.
62036         * README: Mention GNU/Hurd, x32, and HPPA support status.
62038 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62040         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62042 2012-06-27  Andreas Jaeger  <aj@suse.de>
62044         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62046 2012-06-25  Andreas Jaeger  <aj@suse.de>
62048         * sysdeps/s390/fpu/libm-test-ulps: Update.
62050 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62051             Thomas Schwinge  <thomas@codesourcery.com>
62053         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62054         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62055         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62056         fanotify_mark.
62058 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62060         * sysdeps/mach/start.c: Remove file.
62061         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62062         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62063         * sysdeps/sh/init-first.c: Likewise.
62065         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62066         registers for frame unwinding purposes, add CFI directives.
62067         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62068         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62069         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62070         Likewise.
62072         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62073         __fortify_fail returning.
62074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62076         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62077         sysdeps/sh/____longjmp_chk.S.
62078         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62079         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62080         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62081         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62083         * sysdeps/sh/abort-instr.h: New file.
62084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62085         process in case exit returns.
62087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62088         initialize the GOT register before use.
62090         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62091         calculation of ARGC > 4.
62093         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62094         meaningful names to some local labels.
62096 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62097             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62099         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62100         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62101         (__arch_compare_and_exchange_val_16_acq): Likewise.
62102         (__arch_compare_and_exchange_val_32_acq): Likewise.
62103         (atomic_exchange_and_add): Fix gUSA sequence.
62104         (atomic_add): Likewise.
62105         (atomic_add_negative): Likewise.
62106         (atomic_add_zero): Likewise.
62107         (atomic_bit_test_set): Likewise.
62109 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62111         [BZ #13579]
62112         * include/link.h (struct link_map): Add l_free_initfini.
62113         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62114         l_initfini.
62115         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62116         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62117         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62118         set.
62120 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62122         * configure.in: Use AC_LANG_SOURCE.
62123         * configure: Regenerate.
62125 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62127         * configure.in (libc_cv_localstatedir): New substituted variable.
62128         * configure: Regenerated.
62129         * config.make.in (localstatedir): New variable, substituted from
62130         libc_cv_localstatedir.
62131         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62132         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62133         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62134         * sysdeps/gnu/configure: Regenerated.
62136 2012-06-21  Jeff Law  <law@redhat.com>
62138         [BZ #14277]
62139         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62140         free.  Simplify list management for _LIBC case.
62142 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62144         [BZ #14273]
62145         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62146         Clear sign bit of 64-bit integer value before comparing against
62147         overflow value.
62149         * sysdeps/mach/configure: Regenerated.
62151 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62153         [BZ #14278]
62154         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62156 2012-06-21  Jeff Law  <law@redhat.com>
62158         [BZ #13882]
62159         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62160         uint16_t for elements in the "seen" array to avoid char overflows.
62161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62162         * elf/dl-open.c (dl_open_worker): Likewise.
62164 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
62166         * scripts/list-sources.sh: Scan PORTS for translations.
62167         * po/libc.pot: Regenerated.
62169 2012-06-21  Andreas Jaeger  <aj@suse.de>
62171         [BZ #12194]
62172         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
62173         warning.
62174         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
62175         * bits/byteswap-16.h (__bswap_16): Likewise.
62176         * bits/byteswap.h (__bswap_constant_16): Likewise.
62178 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
62180         [BZ #14117]
62181         * sysdeps/i386/fpu_control.h: Removed.
62182         * sysdeps/x86_64/fpu_control.h: Moved to ...
62183         * sysdeps/x86/fpu_control.h: Here.
62185         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
62186         (_FPU_SETCW): Likewise.
62188 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
62190         [BZ #14117]
62191         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
62192         * sysdeps/x86/fpu/bits/mathinline.h: This.
62193         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
62195         [BZ #14050]
62196         [BZ #14117]
62197         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
62198         functions if __x86_64__ is defined.
62200 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
62202         * string/endian.h: Add !__ASSEMBLER__ condition for including
62203         conversion interfaces.
62205 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
62207         [BZ #14241]
62208         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
62209         of ABS(x) in calculating zero to negative powers other than odd
62210         integers.
62211         * math/libm-test.inc (pow_test): Add more tests.
62213 2012-06-15  Andreas Jaeger  <aj@suse.de>
62215         * manual/contrib.texi (Contributors): Update entry of Liubov
62216         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
62217         Machado Filho.
62219 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
62221         * string/string.h: Add __wur to GNU version of strerror_r.
62223 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
62225         [BZ #14229]
62226         * string/Makefile (tests): Add tst-strtok_r.
62227         * string/tst-strtok_r.c: New file.
62228         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
62229         RAX_LP/RDX_LP on SAVE_PTR.
62231 2012-06-14  Roland McGrath  <roland@hack.frob.com>
62233         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
62235 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
62237         * libm_test.inc (csqrt_test): Allow more spurious underflow
62238         exceptions.
62239         (j0_test): Likewise.
62240         (j1_test): Likewise.
62241         (y0_test): Likewise.
62242         (y1_test): Likewise.
62244 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
62246         * po/Makefile (libc.pot): Use UTF-8 charset.
62248 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
62250         [BZ #14210]
62251         Suppress sign-conversion warning from FD_SET.
62252         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
62253         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
62254         not unsigned long int.
62255         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
62257 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
62259         [BZ #14050]
62260         [BZ #14117]
62261         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
62262         __extern_always_inline instead of __extern_inline.
62263         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
62264         (__signbit): Likewise.
62265         (__signbitl): Support C++ namespace.
62266         (lrintf): New inline function.
62267         (lrint): Likewise.
62268         (llrintf): Likewise.
62269         (llrint): Likewise.
62270         (fmaxf): Likewise.
62271         (fmax): Likewise.
62272         (fminf): Likewise.
62273         (fmin): Likewise.
62274         (rint): Likewise.
62275         (rintf): Likewise.
62276         (ceil): Likewise.
62277         (ceilf): Likewise.
62278         (floor): Likewise.
62279         (floorf): Likewise.
62280         (nearbyint): Likewise.
62281         (nearbyintf): Likewise.
62283 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
62285         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
62286         non-default versions.
62288 2012-06-11  Roland McGrath  <roland@hack.frob.com>
62290         [BZ #14218]
62291         * manual/argp.texi (Argp): Reword argp_parse description slightly.
62293 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
62295         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
62296         (FE_UPWARD, FE_DOWNWARD): Don't define.
62297         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
62298         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62300         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
62301         reading it.
62302         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62305 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62307         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
62308         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
62309         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
62310         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
62312 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
62314         [BZ #14117]
62315         * sysdeps/i386/fpu/bits/fenv.h: Removed.
62316         * sysdeps/i386/fpu/Implies: New file.
62317         * sysdeps/x86_64/fpu/Implies: Likewise.
62318         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
62319         * sysdeps/x86/fpu/bits/fenv.h: This.
62321         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
62322         __SSE_MATH__.
62324 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62326         [BZ #14134]
62327         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
62328         character 0xffff that matches the last element of the
62329         conversion table.
62331 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62333         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
62334         fmodl commit.
62336 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62338         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
62339         values higher than 25.6283.
62341 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62343         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
62344         subnormal exponent extraction and add some __builtin_expect.
62345         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
62346         Fix for subnormal mantissa calculation.
62348 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
62350         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
62351         cpu2 is -1 and errno is not ENOSYS.
62353 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
62355         [BZ #14117]
62356         * sysdeps/i386/i486/bits/string.h: Renamed to ...
62357         * sysdeps/x86/bits/string.h: This.
62358         * sysdeps/x86_64/bits/string.h: Removed.
62360         * sysdeps/i386/i486/bits/string.h: Define inline functions only
62361         if not compiling for x86-64, but compiling for >= i486.
62363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
62364         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
62366         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
62367         New macro from Linux kernel 3.4.0.
62368         (FP_XSTATE_MAGIC2): Likewise.
62369         (FP_XSTATE_MAGIC2_SIZE): Likewise.
62370         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
62371         (struct _fpx_sw_bytes): New struct.
62372         (struct _xsave_hdr): Likewise.
62373         (struct _ymmh_state): Likewise.
62374         (struct _xstate): Likewise.
62376         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
62377         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
62378         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
62379         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
62380         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
62381         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
62383         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
62384         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
62385         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
62386         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
62387         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
62388         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
62390 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62392         [BZ #13743]
62393         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
62394         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
62395         (sysdep_headers): Include sys/platform/ppc.h.
62396         * sysdeps/powerpc/test-gettimebase.c: Test for
62397         __ppc_get_timebase() to catch future ISA opcode/insn changes.
62398         * manual/Makefile (appendices): Include platform.texi.
62399         * manual/contrib.texi (Contributors): Update @node pointers.
62400         * manual/maint.texi (Maintenance): Likewise.
62401         (Platform): New node.
62402         * manual/platform.texi: New file.  Document the new features.
62404 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62405             Jakub Jelinek  <jakub@redhat.com>
62407         [BZ #14188]
62408         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
62409         where __builtin_expect is unavailable.
62411 2012-06-03  David S. Miller  <davem@davemloft.net>
62413         * stdlib/longlong.h: Updated from GCC.
62415 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
62417         [BZ #14042]
62418         * sysdeps/powerpc/powerpc32/mcount.c: New file.
62419         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
62420         __mcount_internal.
62421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62422         (GLIBC_2.16): Likewise.
62424 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62426         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
62428 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
62431         (default-abi): New variable.
62432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
62433         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
62434         variable.
62435         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
62436         Likewise.
62437         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
62438         Likewise.
62439         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
62440         Likewise.
62442         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
62443         definition.  Document in comment.
62445 2012-06-01  David S. Miller  <davem@davemloft.net>
62447         * stdlib/longlong.h: Updated from GCC.
62449 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62451         [BZ #14117]
62452         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
62453         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
62454         sys/debugreg.h sys/io.h here.
62455         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
62456         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
62457         sys/io.h.
62458         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
62459         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
62460         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
62461         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
62462         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
62463         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
62465         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
62466         Define only if __x86_64__ is defined.
62468 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
62470         [BZ #14048]
62471         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
62472         Use int64_t for variable i.
62473         * math/libm-test.inc (fmod_test): Add more tests.
62475         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
62476         z computation is not scheduled after fetestexcept.
62477         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
62478         Use math_force_eval instead of asm to ensure calculation scheduled
62479         before exception test.
62480         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
62481         Ensure a1 + u.d computation is not scheduled after fetestexcept.
62483 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
62485         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
62486         computation is not scheduled after fetestexcept.
62488 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
62490         [BZ #14117]
62491         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
62492         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
62494 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62496         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
62497         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
62499 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62501         [BZ #14117]
62502         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
62503         <bits/wordsize.h>.
62504         (__WCHAR_MIN): Support __WORDSIZE == 64.
62505         (__WCHAR_MAX): Likewise.
62507         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
62508         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
62510         [BZ #14183]
62511         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
62512         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
62514         [BZ #14117]
62515         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
62516         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
62518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
62519         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
62521         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
62522         Defined to 1 if __x86_64__ isn't defined.
62523         (_STAT_VER_LINUX_OLD): New.
62524         (st_atime): Remove duplicate.
62525         (st_mtime): Likewise.
62526         (st_ctime): Likewise.
62528 2012-05-31  David S. Miller  <davem@davemloft.net>
62530         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
62531         entries.
62533 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
62535         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
62536         gen-libm-test.pl.
62538         [BZ #14132]
62539         * elf/dl-reloc.c: Include <_itoa.h>.
62540         (_dl_reloc_bad_type): Remove use of INTUSE.
62541         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
62542         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
62543         * stdio-common/psiginfo.c (psiginfo): Likewise.
62544         * stdio-common/psignal.c (psignal): Likewise.
62545         * string/strsignal.c (strsignal): Likewise.
62546         * include/signal.h (_sys_siglist): Declare hidden proto.
62547         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
62548         INTVARDEF with libc_hidden_data_def.
62549         * stdio-common/itoa-udigits.c: Likewise.
62550         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
62551         (_itoa_lower_digits_internal): Remove declaration.
62552         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
62553         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
62554         (_sys_sigabbrev_internal): Remove aliases.
62555         (_sys_siglist): Define hidden alias.
62557 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
62559         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62560         bits/sysctl.h.
62562 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
62564         [BZ #14117]
62565         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
62566         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
62568         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
62569         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
62570         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
62571         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
62572         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
62573         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
62575         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
62576         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
62577         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
62579         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
62580         with __addr.
62581         (insw): Likewise.
62582         (insl): Likewise.
62583         (outsb): Likewise.
62584         (outsw): Likewise.
62585         (outsl): Likewise.
62587         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
62588         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
62589         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
62591         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
62592         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
62593         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
62594         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
62595         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
62596         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
62598         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
62599         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
62601         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
62602         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
62604         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
62605         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
62606         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
62608         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
62609         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
62610         to ...
62611         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
62613         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
62614         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
62615         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
62617         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
62618         for x86-64.
62619         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
62621 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
62623         * math/math.h (M_El): Use two more decimal places.
62624         (M_LOG2El): Likewise.
62625         (M_LOG10El): Likewise.
62626         (M_LN2l): Likewise.
62627         (M_LN10l): Likewise.
62628         (M_PIl): Likewise.
62629         (M_PI_2l): Likewise.
62630         (M_PI_4l): Likewise.
62631         (M_1_PIl): Likewise.
62632         (M_2_PIl): Likewise.
62633         (M_2_SQRTPIl): Likewise.
62634         (M_SQRT2l): Likewise.
62635         (M_SQRT1_2l): Likewise.
62637 2012-05-31  David S. Miller  <davem@davemloft.net>
62639         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
62640         values between float registers.
62641         * sysdeps/sparc/sparc64/memset.S: Likewise.
62642         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
62644 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
62646         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
62647         -D_FORTIFY_SOURCE=1.
62648         (CPPFLAGS-tst-longjmp_chk.c): Define.
62649         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
62650         (CPPFLAGS-tst-longjmp_chk2.c): Define.
62651         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
62652         CFLAGS-tst-wchar-h.c.
62654 2012-05-31  Marek Polacek  <polacek@redhat.com>
62656         [BZ #14132]
62657         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
62658         __endmntent_internal): Remove declaration.
62659         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
62660         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
62661         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
62663 2012-05-30  David S. Miller  <davem@davemloft.net>
62665         * sysdeps/sparc/sparc32/soft-fp/q_util.c
62666         (___Q_simulate_exceptions): Use real FP ops rather than writing
62667         into the %fsr.
62668         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
62669         Likewise.
62671 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62673         [BZ #14117]
62674         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
62675         * sysdeps/x86/bits/xtitypes.h: This.
62677         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
62678         * sysdeps/x86/bits/wordsize.h: This.
62680         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
62681         * sysdeps/x86/bits/huge_vall.h: This.
62683         * sysdeps/i386/bits/select.h: Removed.
62684         * sysdeps/x86_64/bits/select.h: Renamed to ...
62685         * sysdeps/x86/bits/select.h: This.
62687         * sysdeps/i386/bits/setjmp.h: Removed.
62688         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
62689         * sysdeps/x86/bits/setjmp.h: This.
62691         * sysdeps/i386/bits/mathdef.h: Removed.
62692         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
62693         * sysdeps/x86/bits/mathdef.h: This.
62695 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
62697         [BZ #14132]
62698         * include/sys/socket.h (__connect_internal)
62699         (__libc_sa_len_internal): Remove declaration.
62700         (__connect, __libc_sa_len): Declare hidden_proto.
62701         (SA_LEN): Remove use of INTUSE.
62702         * socket/connect.c: Add libc_hidden_def.
62703         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
62704         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
62705         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
62706         alias.
62707         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
62708         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
62709         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
62710         of adding _internal alias.
62712 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62714         [BZ #14117]
62715         * sysdeps/i386/bits/link.h: Removed.
62716         * sysdeps/i386/bits/linkmap.h: Likewise.
62717         * sysdeps/x86_64/bits/link.h: Renamed to ...
62718         * sysdeps/x86/bits/link.h: This.
62719         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
62720         * sysdeps/x86/bits/linkmap.h: This.
62722         * sysdeps/i386/bits/endian.h: Removed.
62723         * sysdeps/x86_64/bits/endian.h: Renamed to ...
62724         * sysdeps/x86/bits/endian.h: This.
62726         * sysdeps/i386/bits/byteswap.h: Removed.
62727         * sysdeps/i386/bits/byteswap-16.h: Likewise.
62728         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
62729         * sysdeps/x86/bits/byteswap.h: This.
62730         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
62731         * sysdeps/x86/bits/byteswap-16.h: This.
62732         * sysdeps/i386/Implies: Add x86.
62733         * sysdeps/x86_64/Implies: Likewise.
62735 2012-05-30  David S. Miller  <davem@davemloft.net>
62737         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
62738         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
62739         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
62740         (FP_TRAPPING_EXCEPTIONS): Define.
62741         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
62742         (FP_TRAPPING_EXCEPTIONS): Define.
62743         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
62744         subnormals only when inexact has been signalled or underflow
62745         exceptions are enabled.
62746         (_FP_PACK_CANONICAL): Likewise.
62748 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62750         [BZ #14183]
62751         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
62752         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
62754 2012-05-30  Richard Henderson  <rth@twiddle.net>
62756         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
62757         with #ifndef NOT_IN_libc.
62759         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
62760         marked to avoid plt entry.
62762 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
62764         [BZ #14112]
62765         * Makeconfig (default-abi): New macro.
62766         (abi-includes): Likewise.
62767         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
62768         $(abi-$(default-abi)-lib-soname) for soname if defined.
62769         ($(common-objpfx)gnu/lib-names.stmp): Generate from
62770         abi-variants.
62771         * Makefile (installed-stubs): Likewise.
62772         * include/stubs-biarch.h: Removed.
62773         * scripts/lib-names.awk: Only handle one library at a time.
62774         * scripts/soversions.awk: Remove WORDSIZE support.
62775         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
62776         entries.
62777         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
62778         Removed.
62779         (syscall-list-default-condition): Likewise.
62780         (syscall-list-default-condition): Likewise.
62781         (syscall-list-includes): Likewise.
62782         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
62783         syscall-list-* with abi-*.  Handle undefined abi-variants.
62784         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
62785         * sysdeps/unix/sysv/linux/i386/Implies: New file.
62786         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
62787         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
62788         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
62789         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
62790         Removed.
62791         (syscall-list-32-options): Likewise.
62792         (syscall-list-32-condition): Likewise.
62793         (syscall-list-64-options): Likewise.
62794         (syscall-list-64-condition): Likewise.
62795         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
62796         macro.
62797         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
62798         Renamed to ...
62799         (abi-*): This.
62800         (abi-64-ld-soname): New macro.
62801         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
62802         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
62803         Renamed to ...
62804         (abi-*): This.
62805         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
62806         * sysdeps/x86_64/x32/shlib-versions: Likewise.
62808 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
62810         * sysdeps/unix/sysv/linux/kernel-features.h
62811         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
62812         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
62813         include <kernel-features.h>.
62814         [!__NR_ftruncate64]: Remove conditional code.
62815         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62816         [__NR_ftruncate64]: Make code unconditional.
62817         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62818         * sysdeps/unix/sysv/linux/truncate64.c: Do not
62819         include <kernel-features.h>.
62820         [!__NR_ftruncate64]: Remove conditional code.
62821         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62822         [__NR_ftruncate64]: Make code unconditional.
62823         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
62825         include <kernel-features.h>.
62826         [!__NR_ftruncate64]: Remove conditional code.
62827         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62828         [__NR_ftruncate64]: Make code unconditional.
62829         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
62831         include <kernel-features.h>.
62832         [!__NR_ftruncate64]: Remove conditional code.
62833         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62834         [__NR_ftruncate64]: Make code unconditional.
62835         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
62837         * configure.in (libc_cv_fpie): Weaken to a compile test using
62838         LIBC_TRY_CC_OPTION.
62839         * configure: Regenerated.
62841 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
62844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
62845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
62846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
62847         Refreshed.
62848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
62849         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
62850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
62851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
62852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
62853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
62854         Refreshed.
62856 2012-05-27  David S. Miller  <davem@davemloft.net>
62858         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
62859         (___Q_zero): New.
62860         (__Q_simulate_exceptions): Return void.  Change to simulate
62861         exceptions by writing into the %fsr.
62862         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
62863         (__Qp_handle_exceptions): Likewise.
62864         (numbers): Delete.
62865         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
62866         __Qp_handle_exceptions.
62867         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
62868         __Qp_handle_exceptions.
62869         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62870         as unused and give dummy FP_RND_NEAREST initializer.
62871         (FP_INHIBIT_RESULTS): Define.
62872         (___Q_simulate_exceptions): Update declaration.
62873         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
62874         formatting.
62875         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
62876         as unused and give dummy FP_RND_NEAREST initializer.
62877         (__Qp_handle_exceptions): Update declaration.
62878         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
62879         formatting.
62881 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
62883         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
62884         the temporary FPU control word.
62885         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
62886         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
62887         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
62888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
62889         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
62890         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
62891         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
62892         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
62893         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
62894         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
62895         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
62897 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62899         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
62900         fields.
62902 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
62904         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
62905         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
62906         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
62907         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
62908         Likewise.
62909         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
62910         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
62911         Likewise.
62913 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
62915         * po/h.po: Update from translation team.
62917 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
62919         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
62921         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
62922         handling of denormals.
62923         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
62924         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
62925         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
62926         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
62927         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62928         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
62929         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
62930         Likewise.
62932 2012-05-26  Marek Polacek  <polacek@redhat.com>
62934         [BZ #14152]
62935         * math/libm-test.inc (fma_test): Don't always expect underflow
62936         exception.
62938 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
62940         [BZ #12416]
62941         * elf/tst-execstack.c: Include stackinfo.h.
62942         (do_test): Adjust test case to ensure that pthread_getattr_np
62943         behaviour remains the same after marking stack executable.
62945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62947         * sysdeps/unix/sysv/linux/kernel-features.h
62948         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
62949         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
62950         kernel-features.h.
62951         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62952         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62953         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
62954         kernel-features.h.
62955         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
62956         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
62958 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
62960         * configure.in: Define the default includes to being none.
62961         * configure: Regenerated.
62963 2012-05-25  Roland McGrath  <roland@hack.frob.com>
62965         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
62966         * sysdeps/x86_64/setjmp.S: Likewise.
62967         * sysdeps/i386/bsd-setjmp.S: Likewise.
62968         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62969         * sysdeps/i386/setjmp.S: Likewise.
62970         * sysdeps/i386/__longjmp.S: Likewise.
62971         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
62972         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
62974         * include/stap-probe.h: New file.
62975         * configure.in: Handle --enable-systemtap.
62976         * configure: Regenerated.
62977         * config.h.in (USE_STAP_PROBE): New #undef.
62978         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
62979         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
62980         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
62982 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
62984         [BZ #13717]
62985         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
62986         to 2.4.0 where earlier.
62987         * sysdeps/unix/sysv/linux/configure: Regenerated.
62988         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
62989         <kernel-features.h>.
62990         [__ASSUME_32BITUIDS]: Make code unconditional.
62991         [!__ASSUME_32BITUIDS]: Remove conditional code.
62992         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
62993         <kernel-features.h>.
62994         [__ASSUME_32BITUIDS]: Make code unconditional.
62995         [!__ASSUME_32BITUIDS]: Remove conditional code.
62996         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
62997         [__ASSUME_32BITUIDS]: Make code unconditional.
62998         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
62999         * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
63004         <kernel-features.h>.
63005         [__ASSUME_32BITUIDS]: Make code unconditional.
63006         [!__ASSUME_32BITUIDS]: Remove conditional code.
63007         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
63008         <kernel-features.h>.
63009         [__ASSUME_32BITUIDS]: Make code unconditional.
63010         [!__ASSUME_32BITUIDS]: Remove conditional code.
63011         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
63012         <kernel-features.h>.
63013         [__ASSUME_32BITUIDS]: Make code unconditional.
63014         [!__ASSUME_32BITUIDS]: Remove conditional code.
63015         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
63016         <kernel-features.h>.
63017         [__ASSUME_32BITUIDS]: Make code unconditional.
63018         [!__ASSUME_32BITUIDS]: Remove conditional code.
63019         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63020         <kernel-features.h>.
63021         [__ASSUME_32BITUIDS]: Make code unconditional.
63022         [!__ASSUME_32BITUIDS]: Remove conditional code.
63023         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63024         <kernel-features.h>.
63025         [__ASSUME_32BITUIDS]: Make code unconditional.
63026         [!__ASSUME_32BITUIDS]: Remove conditional code.
63027         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63028         <kernel-features.h>.
63029         [__ASSUME_32BITUIDS]: Make code unconditional.
63030         [!__ASSUME_32BITUIDS]: Remove conditional code.
63031         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63032         <kernel-features.h>.
63033         [__ASSUME_32BITUIDS]: Make code unconditional.
63034         [!__ASSUME_32BITUIDS]: Remove conditional code.
63035         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63036         <kernel-features.h>.
63037         [__ASSUME_32BITUIDS]: Make code unconditional.
63038         [!__ASSUME_32BITUIDS]: Remove conditional code.
63039         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63040         <kernel-features.h>.
63041         [__NR_setresgid] (__setresgid): Do not declare.
63042         [__ASSUME_32BITUIDS]: Make code unconditional.
63043         [!__ASSUME_32BITUIDS]: Remove conditional code.
63044         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63045         <kernel-features.h>.
63046         [__NR_setresuid] (__setresuid): Do not declare.
63047         [__ASSUME_32BITUIDS]: Make code unconditional.
63048         [!__ASSUME_32BITUIDS]: Remove conditional code.
63049         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
63050         <kernel-features.h>.
63051         [__ASSUME_32BITUIDS]: Make code unconditional.
63052         [!__ASSUME_32BITUIDS]: Remove conditional code.
63053         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
63054         <kernel-features.h>.
63055         [__ASSUME_32BITUIDS]: Make code unconditional.
63056         [!__ASSUME_32BITUIDS]: Remove conditional code.
63057         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
63058         <kernel-features.h>.
63059         [__ASSUME_32BITUIDS]: Make code unconditional.
63060         [!__ASSUME_32BITUIDS]: Remove conditional code.
63061         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
63062         <kernel-features.h>.
63063         [__ASSUME_32BITUIDS]: Make code unconditional.
63064         [!__ASSUME_32BITUIDS]: Remove conditional code.
63065         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
63066         <kernel-features.h>.
63067         [__ASSUME_32BITUIDS]: Make code unconditional.
63068         [!__ASSUME_32BITUIDS]: Remove conditional code.
63069         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63070         <kernel-features.h>.
63071         [__ASSUME_32BITUIDS]: Make code unconditional.
63072         [!__ASSUME_32BITUIDS]: Remove conditional code.
63073         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63074         <kernel-features.h>.
63075         [__ASSUME_32BITUIDS]: Make code unconditional.
63076         [!__ASSUME_32BITUIDS]: Remove conditional code.
63077         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63078         <kernel-features.h>.
63079         [__ASSUME_32BITUIDS]: Make code unconditional.
63080         [!__ASSUME_32BITUIDS]: Remove conditional code.
63081         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63082         <kernel-features.h>.
63083         [__ASSUME_32BITUIDS]: Make code unconditional.
63084         [!__ASSUME_32BITUIDS]: Remove conditional code.
63085         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63086         <kernel-features.h>.
63087         [__ASSUME_32BITUIDS]: Make code unconditional.
63088         [!__ASSUME_32BITUIDS]: Remove conditional code.
63089         * sysdeps/unix/sysv/linux/kernel-features.h
63090         (__ASSUME_SETRESUID_SYSCALL): Remove.
63091         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63092         (__ASSUME_32BITUIDS): Likewise.
63093         (__ASSUME_LDT_WORKS): Likewise.
63094         (__ASSUME_O_DIRECTORY): Likewise.
63095         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63096         architecture but not kernel version.
63097         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63098         (__ASSUME_MMAP2_SYSCALL): Likewise.
63099         (__ASSUME_STAT64_SYSCALL): Likewise.
63100         (__ASSUME_IPC64): Likewise.
63101         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63102         <kernel-features.h>.
63103         [__ASSUME_32BITUIDS]: Make code unconditional.
63104         [!__ASSUME_32BITUIDS]: Remove conditional code.
63105         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63106         <kernel-features.h>.
63107         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63108         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63109         132096]: Remove conditional code.
63110         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63111         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63112         <kernel-features.h>.
63113         [__ASSUME_32BITUIDS]: Make code unconditional.
63114         [!__ASSUME_32BITUIDS]: Remove conditional code.
63115         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63116         <kernel-features.h>.
63117         [__ASSUME_32BITUIDS]: Make code unconditional.
63118         [!__ASSUME_32BITUIDS]: Remove conditional code.
63119         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63120         <kernel-features.h>.
63121         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63122         unconditional.
63123         (__setresgid): Do not declare.
63124         [__ASSUME_32BITUIDS]: Make code unconditional.
63125         [!__ASSUME_32BITUIDS]: Remove conditional code.
63126         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63127         <kernel-features.h>.
63128         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63129         unconditional.
63130         (__setresuid): Do not declare.
63131         [__ASSUME_32BITUIDS]: Make code unconditional.
63132         [!__ASSUME_32BITUIDS]: Remove conditional code.
63133         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63134         <kernel-features.h>.
63135         [__ASSUME_32BITUIDS]: Make code unconditional.
63136         [!__ASSUME_32BITUIDS]: Remove conditional code.
63137         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63138         <kernel-features.h>.
63139         [__ASSUME_32BITUIDS]: Make code unconditional.
63140         [!__ASSUME_32BITUIDS]: Remove conditional code.
63142 2012-05-25  Richard Henderson  <rth@twiddle.net>
63144         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63145         dl_hwcap to ifunc resolver.
63146         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63147         elf_ifunc_invoke.
63148         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63149         dl_hwcap to ifunc resolver.
63150         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63152 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63154         [BZ #14153]
63155         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63156         for |x| <= 2**-26, not 2**-57.
63157         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63158         exception.
63160 2012-05-24  Jeff Law  <law@redhat.com>
63162         * stdio-common/Makefile (tests): Add bug25.
63163         * stdio-common/bug25.c: New test.
63165 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63167         [BZ #13576]
63168         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
63169         multiple of MALLOC_ALIGNMENT in size.
63170         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
63172 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63174         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
63175         Require >= 256.
63176         (FILENAME_MAX): Use macro-int-constant.
63177         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
63178         (_IOFBF): Use macro-int-constant.
63179         (_IOLBF): Likewise.
63180         (_IONBF): Likewise.
63181         (SEEK_CUR): Likewise.
63182         (SEEK_END): Likewise.
63183         (SEEK_SET): Likewise.
63184         (TMP_MAX): Likewise.
63185         (EOF): Use macro-int-constant.  Require < 0.
63186         (NULL): Use macro-constant.  Require == 0.
63187         (stdin): Require type to be FILE *.
63188         (stdout): Likewise.
63189         (stderr): Likewise.
63190         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
63191         macro-int-constant.
63192         (EXIT_SUCCESS): Likewise.
63193         (NULL): Use macro-constant.  Require == 0.
63194         (RAND_MAX): Use macro-int-constant.
63195         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
63196         [C99-based standards] (strtof): Require function.
63197         [C99-based standards] (strtold): Likewise.
63198         [C99-based standards] (strtoll): Likewise.
63199         [C99-based standards] (strtoull): Likewise.
63200         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
63201         [ISO || ISO99 || ISO11] (limits.h): Likewise.
63202         [ISO || ISO99 || ISO11] (math.h): Likewise.
63203         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
63204         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
63205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
63207 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
63209         [BZ #14132]
63210         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
63211         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
63212         * intl/dgettext.c (DCGETTEXT): Likewise.
63213         * intl/gettext.c (DCGETTEXT): Likewise.
63214         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
63215         * posix/regex_internal.h (gettext): Likewise.
63216         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
63217         Remove declaration.
63218         * include/argz.h (__argz_count_internal)
63219         (__argz_stringify_internal): Remove declaration.
63220         (__argz_count, __argz_stringify): Declare hidden proto.
63221         * intl/dcgettext.c: Remove use of INTDEF.
63222         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
63223         * string/argz-stringify.c: Likewise.
63224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63226         Declare hidden proto.
63227         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
63228         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
63229         Declare hidden proto.
63230         * include/stdio.h (__asprintf_internal): Don't declare.
63231         (__asprintf): Don't define as macro.  Declare hidden proto.
63232         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
63233         (__fsetlocking): Declare hidden proto.
63234         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
63235         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
63236         hidden proto.
63237         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
63238         (_IO_setlinebuf): Remove use of INTUSE.
63239         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
63240         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
63241         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
63242         Remove declaration.
63243         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
63244         (_IO_do_flush): Remove use of INTUSE.
63245         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
63246         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
63247         (_IO_adjust_column, _IO_least_wmarker)
63248         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
63249         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
63250         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
63251         (_IO_default_doallocate, _IO_wdefault_doallocate)
63252         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
63253         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
63254         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
63255         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
63256         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
63257         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
63258         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
63259         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
63260         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
63261         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
63262         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
63263         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
63264         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
63265         proto.
63266         (_IO_flush_all_internal, _IO_adjust_column_internal)
63267         (_IO_default_uflow_internal, _IO_default_finish_internal)
63268         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
63269         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
63270         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
63271         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
63272         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
63273         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
63274         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
63275         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
63276         (_IO_file_close_internal, _IO_file_close_it_internal)
63277         (_IO_file_underflow_internal, _IO_file_overflow_internal)
63278         (_IO_file_init_internal, _IO_file_attach_internal)
63279         (_IO_file_fopen_internal, _IO_file_read_internal)
63280         (_IO_file_sync_internal, _IO_file_seek_internal)
63281         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
63282         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
63283         (_IO_str_underflow_internal, _IO_str_overflow_internal)
63284         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
63285         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
63286         (_IO_list_all_internal, _IO_link_in_internal)
63287         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
63288         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
63289         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
63290         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
63291         (_IO_do_write_internal, _IO_padn_internal)
63292         (_IO_getline_info_internal, _IO_getline_internal)
63293         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
63294         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
63295         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
63296         (_IO_vfscanf_internal, _IO_vfprintf_internal)
63297         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
63298         (_IO_init_internal, _IO_un_link_internal): Don't declare.
63299         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
63300         with libc_hidden_ver, remove use of INTUSE.
63301         * libio/genops.c: Likewise.
63302         * libio/freopen.c: Likewise.
63303         * libio/freopen64.c: Likewise.
63304         * libio/iofclose.c: Likewise.
63305         * libio/iofdopen.c: Likewise.
63306         * libio/iofflush.c: Likewise.
63307         * libio/iofflush_u.c: Likewise.
63308         * libio/iofgets.c: Likewise.
63309         * libio/iofgets_u.c: Likewise.
63310         * libio/iofopen.c: Likewise.
63311         * libio/iofopncook.c: Likewise.
63312         * libio/iofread.c: Likewise.
63313         * libio/iofread_u.c: Likewise.
63314         * libio/ioftell.c: Likewise.
63315         * libio/iofwrite.c: Likewise.
63316         * libio/iogetline.c: Likewise.
63317         * libio/iogets.c: Likewise.
63318         * libio/iogetwline.c: Likewise.
63319         * libio/iopadn.c: Likewise.
63320         * libio/iopopen.c: Likewise.
63321         * libio/ioseekoff.c: Likewise.
63322         * libio/ioseekpos.c: Likewise.
63323         * libio/iosetbuffer.c: Likewise.
63324         * libio/iosetvbuf.c: Likewise.
63325         * libio/ioungetc.c: Likewise.
63326         * libio/ioungetwc.c: Likewise.
63327         * libio/iovdprintf.c: Likewise.
63328         * libio/iovsprintf.c: Likewise.
63329         * libio/iovsscanf.c: Likewise.
63330         * libio/memstream.c: Likewise.
63331         * libio/obprintf.c: Likewise.
63332         * libio/oldfileops.c: Likewise.
63333         * libio/oldiofclose.c: Likewise.
63334         * libio/oldiofdopen.c: Likewise.
63335         * libio/oldiofopen.c: Likewise.
63336         * libio/oldiopopen.c: Likewise.
63337         * libio/oldstdfiles.c: Likewise.
63338         * libio/putc.c: Likewise.
63339         * libio/setbuf.c: Likewise.
63340         * libio/setlinebuf.c: Likewise.
63341         * libio/stdfiles.c: Likewise.
63342         * libio/strops.c: Likewise.
63343         * libio/vasprintf.c: Likewise.
63344         * libio/vscanf.c: Likewise.
63345         * libio/vsnprintf.c: Likewise.
63346         * libio/vswprintf.c: Likewise.
63347         * libio/wfiledoalloc.c: Likewise.
63348         * libio/wfileops.c: Likewise.
63349         * libio/wgenops.c: Likewise.
63350         * libio/wmemstream.c: Likewise.
63351         * libio/wstrops.c: Likewise.
63352         * libio/__fpurge.c: Likewise.
63353         * libio/__fsetlocking.c: Likewise.
63354         * assert/assert.c: Likewise.
63355         * debug/fgets_chk.c: Likewise.
63356         * debug/fgets_u_chk.c: Likewise.
63357         * debug/fread_chk.c: Likewise.
63358         * debug/fread_u_chk.c: Likewise.
63359         * debug/gets_chk.c: Likewise.
63360         * debug/obprintf_chk.c: Likewise.
63361         * debug/vasprintf_chk.c: Likewise.
63362         * debug/vdprintf_chk.c: Likewise.
63363         * debug/vsnprintf_chk.c: Likewise.
63364         * debug/vsprintf_chk.c: Likewise.
63365         * malloc/mtrace.c: Likewise.
63366         * misc/error.c: Likewise.
63367         * misc/syslog.c: Likewise.
63368         * stdio-common/asprintf.c: Likewise.
63369         * stdio-common/fxprintf.c: Likewise.
63370         * stdio-common/getw.c: Likewise.
63371         * stdio-common/isoc99_fscanf.c: Likewise.
63372         * stdio-common/isoc99_scanf.c: Likewise.
63373         * stdio-common/isoc99_vfscanf.c: Likewise.
63374         * stdio-common/isoc99_vscanf.c: Likewise.
63375         * stdio-common/isoc99_vsscanf.c: Likewise.
63376         * stdio-common/printf-prs.c: Likewise.
63377         * stdio-common/printf_fp.c: Likewise.
63378         * stdio-common/printf_fphex.c: Likewise.
63379         * stdio-common/printf_size.c: Likewise.
63380         * stdio-common/putw.c: Likewise.
63381         * stdio-common/scanf.c: Likewise.
63382         * stdio-common/sprintf.c: Likewise.
63383         * stdio-common/tmpfile.c: Likewise.
63384         * stdio-common/vfprintf.c: Likewise.
63385         * stdio-common/vfscanf.c: Likewise.
63386         * stdlib/strfmon_l.c: Likewise.
63387         * sunrpc/openchild.c: Likewise.
63388         * sunrpc/xdr_stdio.c: Likewise.
63389         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
63390         * sysdeps/mach/hurd/tmpfile.c: Likewise.
63392 2012-05-24  Roland McGrath  <roland@hack.frob.com>
63394         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63396         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
63397         in the third column, to generate for the shared library an IFUNC
63398         that uses _dl_vdso_vsym.
63399         * Makerules (COMPILE.c, compile-stdin.c): New variables.
63400         * Makeconfig (object-suffixes-noshared): New variable.
63402         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
63403         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
63404         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
63405         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
63407         [BZ #14132]
63408         * include/sys/time.h (__gettimeofday): Remove macro.
63409         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
63410         * time/gettimeofday.c (__gettimeofday): Remove #undef.
63411         Remove INTDEF.
63412         (__gettimeofday): Add libc_hidden_def.
63413         (gettimeofday): Add libc_hidden_weak.
63414         * sysdeps/mach/gettimeofday.c: Likewise.
63415         * sysdeps/posix/gettimeofday.c: Likewise.
63416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
63417         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
63418         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
63419         (__gettimeofday_internal): Remove strong_alias.
63420         (__gettimeofday): Add libc_hidden_def.
63421         (gettimeofday): Add libc_hidden_weak.
63422         * sysdeps/unix/syscalls.list (gettimeofday):
63423         Remove __gettimeofday_internal alias.
63425 2012-05-24  Daniel Jacobowitz  <drow@false.org>
63426             H.J. Lu  <hongjiu.lu@intel.com>
63428         [BZ #12495]
63429         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
63430         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
63431         (largebin_index_32_big): New.
63432         (largebin_index): Use it for 16-byte alignment.
63433         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
63434         correction with front_misalign.
63436 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
63438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
63439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
63440         Likewise.
63441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
63442         Likewise.
63443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
63444         Likewise.
63445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
63446         Likewise.
63447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
63448         Likewise.
63449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
63450         Likewise.
63451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
63452         Likewise.
63453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
63454         Likewise.
63455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
63456         Likewise.
63457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
63458         Likewise.
63459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
63460         Likewise.
63461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
63462         Likewise.
63464         * scripts/data/c++-types-x32-linux-gnu.data: New file.
63465         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
63467 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63469         [BZ #10846]
63470         [BZ #14036]
63471         * math/libm-test.inc (exp_test): Add test from bug 14036.
63472         (pow_test): Add test from bug 10846.
63474         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
63475         and other flags.
63476         (special_function): Do not include flags in test name.
63477         (parse_args): Likewise.
63478         * sysdeps/i386/fpu/libm-test-ulps: Update.
63479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63481         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63484         * math/gen-libm-test.pl (%beautify): Add entries for underflow
63485         exceptions.
63486         * math/libm-test.inc ("Philosophy"): Update comment about
63487         exception testing.
63488         (UNDERFLOW_EXCEPTION): New macro.
63489         (UNDERFLOW_EXCEPTION_OK): Likewise.
63490         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
63491         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
63492         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
63493         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
63494         (INVALID_EXCEPTION_OK): Update value.
63495         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
63496         (OVERFLOW_EXCEPTION_OK): Likewise.
63497         (IGNORE_ZERO_INF_SIGN): Likewise.
63498         (test_exceptions): Handle underflow exceptions.
63499         (acos_test): Update for underflow exception expectations.
63500         (cexp_test): Likewise.
63501         (clog_test): Likewise.
63502         (clog10_test): Likewise.
63503         (csqrt_test): Likewise.
63504         (ctan_test): Likewise.
63505         (ctanh_test): Likewise.
63506         (exp_test): Likewise.
63507         (exp10_test): Likewise.
63508         (exp2_test): Likewise.
63509         (expm1_test): Likewise.
63510         (fma_test): Likewise.
63511         (j0_test): Likewise.
63512         (jn_test): Likewise.
63513         (nexttoward_test): Likewise.
63514         (pow_test): Likewise.
63515         (scalbn_test): Likewise.
63516         (scalbln_test): Likewise.
63517         (tan_test): Likewise.
63518         (y1_test): Likewise.
63519         * sysdeps/i386/fpu/libm-test-ulps: Update.
63520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63522 2012-05-23  David S. Miller  <davem@davemloft.net>
63524         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
63525         (__libc_sigaction): Remove unused local variables.
63527 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63529         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
63531 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
63533         mktime: avoid signed integer overflow
63534         * time/mktime.c (__mktime_internal): Do not mishandle the case
63535         where diff == INT_MIN.
63537         mktime: simplify computation of average
63538         * time/mktime.c (ranged_convert): Use new time_t_avg function
63539         instead of rolling our own (probably-slower) code.
63541         mktime: do not assume signed right shift propagates sign bit
63542         * time/mktime.c (isdst_differ): New static function.
63543         (__mktime_internal): No need to normalize tm_isdst now.
63544         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
63545         tm_isdst values.
63547         mktime: merge another wrapv change from gnulib
63548         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
63549         from some compilers.
63551         mktime: remove incorrect attempt at unusual arithmetics
63552         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
63553         The code didn't really work on such machines anyway.
63554         (TYPE_MINIMUM): Assume two's complement.
63555         (twos_complement_arithmetic): Verify that long_int and time_t
63556         are two's complement (or unsigned, in the latter case).
63558         mktime: check signed shifts on long_int and time_t, too
63559         * time/mktime.c (SHR): Check that shifts work as desired
63560         on the types long_int and time_t too, as SHR is used on
63561         such types.
63563         mktime: do not assume 'long' is wide enough
63564         * time/mktime.c (verify): Move decl up.
63565         (long_int): New type.
63566         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
63567         to remove assumption in the code that 'long' is wide enough to
63568         store year values.  This assumption is not true on x32 and on
63569         some non-glibc platforms.
63571         mktime: merge wrapv change from gnulib
63572         * time/mktime.c (WRAPV): New macro.
63573         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
63574         (guess_time_tm, __mktime_internal): Do not assume that signed
63575         integer overflow wraps around; modern compilers generate code
63576         where this assumption is no longer valid.
63578 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63580         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63581         Replace "jmp L(pseudo_end)" with "ret".
63582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
63583         Likewise.
63585 2012-05-23  Andreas Jaeger  <aj@suse.de>
63587         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
63588         * sysdeps/unix/sysv/linux/poll.c: Remove file.
63590 2012-05-23  Andreas Jaeger  <aj@suse.de>
63591             Maximilian Attems  <max@stro.at>
63593         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
63594         New macros.
63596 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
63598         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
63599         code so that pseudo_end is just ret and the stack pointer is
63600         correct also for static library in error case.
63602 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
63604         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
63605         move to syscalls.list.
63606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
63607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
63608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
63609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
63611         * manual/install.texi (Running make install): Do not mention Linux
63612         kernel version for which pt_chown is not needed.
63613         (Linux): Do not mention problems with nscd with 2.0 kernels.
63614         * INSTALL: Regenerated.
63616 2012-05-23  Andreas Jaeger  <aj@suse.de>
63618         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
63619         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
63620         macro.
63621         * sysdeps/unix/sysv/linux/s390/bits/mman.h
63622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63623         * sysdeps/unix/sysv/linux/sh/bits/mman.h
63624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63625         * sysdeps/unix/sysv/linux/i386/bits/mman.h
63626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63627         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
63628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63629         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
63630         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
63631         * sysdeps/unix/sysv/linux/bits/in.h
63632         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
63634 2012-05-22  Roland McGrath  <roland@hack.frob.com>
63636         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
63637         (PREPARE_VERSION): Just use assert instead, it will be elided
63638         under [NDEBUG] anyway.
63640 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63642         * sysdeps/unix/sysv/linux/Makefile: Include
63643         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
63644         (sysdep_routines): Remove sysctl.
63645         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
63646         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
63647         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
63648         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
63649         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
63651 2012-05-22  Andreas Jaeger  <aj@suse.de>
63653         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
63654         that pseudo_end is just ret and the stack pointer is correct also
63655         for static library in error case.
63657 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
63659         [BZ #14122]
63660         * nss/nsswitch.c (defconfig_entries): New variable.
63661         (__nss_database_lookup): Don't leak defconfig entries.
63662         (nss_parse_service_list): Don't leak on error paths.
63663         (free_database_entries): New function.
63664         (free_defconfig): New function.
63665         (free_mem): Move common code to free_database_entries.
63667 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63669         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
63670         Add arch_prctl.
63671         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
63673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
63674         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
63675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
63676         New macro.
63677         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
63678         (INTERNAL_SYSCALL_TYPES): Likewise.
63679         (LOAD_ARGS_TYPES_[1-6]): Likewise.
63680         (LOAD_REGS_TYPES_[1-6]): Likewise.
63681         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
63682         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
63684 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63686         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
63687         copysignl for GLIBC_2_0.
63688         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
63689         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
63690         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
63691         logbl for GLIBC_2_0.
63692         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
63693         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
63695 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63697         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
63698         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
63700         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
63701         Use "neg %eax".
63703         * time/mktime.c: Update copyright years.
63705 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
63707         mktime: merge comment-quoting-style change from gnulib
63708         * time/mktime.c: Quote 'like this' in comments.
63709         The GNU coding standards suggest that we no longer quote `like this',
63710         as "`" and "'" are typically rendered asymmetrically nowadays.
63711         The typical gnulib style is to quote 'like this' when quoting
63712         code, and "like this" when quoting English.
63714         * time/mktime.c (compile-command): Add "-I.".
63716         mktime: merge mktime-internal.h change from gnulib
63717         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
63719         mktime: merge time_r change from gnulib
63720         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
63722         mktime: merge DEBUG change from gnulib
63723         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
63724         case system <time.h> has a #define.
63726         mktime: merge <sys/types.h> change from gnulib
63727         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
63728         since <time.t> is now guaranteed to define time_t.
63730         mktime: merge HAVE_CONFIG_H change from gnulib
63731         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
63733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
63735         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63736         Use "neg %eax".
63738         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
63739         __rlim_t cast.
63740         (struct rusage): Use anonymous union to pad each field to
63741         __syscall_slong_t.
63743 2012-05-21  David S. Miller  <davem@davemloft.net>
63745         * Makefules (o-iterator): Remove .s cases.
63746         (compile-command.s): Delete.
63747         (COMPILE.s): Delete.
63748         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
63750 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
63752         * configure.in (libc_cv_predef_stack_protector): Only consider
63753         "foobar" and "__stack_chk_fail" lines in libc_undefs.
63754         * configure: Regenerated.
63756 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63758         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
63759         New macro.  Use R*LP on int and pointer.
63760         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
63761         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
63762         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
63763         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
63765         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
63766         [__WORDSIZE_TIME64_COMPAT32] instead of
63767         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
63768         (struct utmp): Likewise.
63769         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
63770         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
63771         Renamed to ...
63772         (__WORDSIZE_TIME64_COMPAT32): This.
63773         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
63774         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
63775         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
63776         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
63777         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
63778         (__WORDSIZE_TIME64_COMPAT32): New macro.
63780 2012-05-21  Andreas Jaeger  <aj@suse.de>
63782         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
63783         only if [SHARED]. Add prototype for __wcschr_ia32.
63785 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63787         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
63788         of %rbp unmolested in the jmp_buf while mangling the low bits.
63789         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
63790         unmolested high bits of %rbp while demangling the low bits.
63791         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63793 2012-05-21  Andreas Jaeger  <aj@suse.de>
63795         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
63796         * sunrpc/svc_simple.c: Use it for registerrpc.
63797         * sunrpc/xcrypt.c: Use it for passwd2des.
63799         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
63801 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63803         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
63804         Don't define if [__SYSCALL_WORDSIZE != 32].
63805         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
63806         New macro.
63808 2012-05-21  Bruno Haible  <bruno@clisp.org>
63809             Andreas Jaeger  <aj@suse.de>
63811         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
63812         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
63813         inptr and inend for must_buffer_ch.
63814         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
63815         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
63816         * stdio-common/Makefile (tests): Remove bug15.
63817         (bug15-ENV): Remove macro.
63818         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
63819         anymore.
63821 2012-05-19  Andreas Jaeger  <aj@suse.de>
63822             Roland McGrath  <roland@hack.frob.com>
63824         * manual/contrib.texi: Completely rewritten. It contains now an
63825         alphabetical list of contributors and their contributions.
63827 2012-05-21  Richard Henderson  <rth@twiddle.net>
63829         * misc/getauxval.c (__getauxval): Use unsigned long int.
63830         * misc/sys/auxv.h: Include <sys/cdefs.h>.
63831         (getauxval): Use unsigned long int.
63833 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
63835         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
63837 2012-05-21  Roland McGrath  <roland@hack.frob.com>
63839         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
63840         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
63841         __alignof__ (long double).
63843 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63847 2012-05-20  Richard Henderson  <rth@twiddle.net>
63849         * misc/getauxval.c: New file.
63850         * misc/sys/auxv.h: New file.
63851         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
63852         (routines): Add getauxval.
63853         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
63854         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
63855         * elf/dl-sysdep.c (_dl_auxv): Remove.
63856         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
63857         * elf/dl-support.c (_dl_auxv): New variable.
63858         (_dl_aux_init): Initialize it.
63859         * manual/startup.texi (Auxiliary Vector): New node.
63860         * sysdeps/generic/bits/hwcap.h: New file.
63861         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
63862         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
63863         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
63864         * sysdeps/sparc/sysdep.h: ... here.  Include it.
63865         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
63866         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
63867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
63868         Update.
63869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
63870         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
63871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
63872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
63873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
63875         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
63876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
63878 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63882 2012-05-19  David S. Miller  <davem@davemloft.net>
63884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63886 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63888         [BZ #14123]
63889         * math/s_ccosh.c: Include <float.h>
63890         (__ccosh): Avoid internal overflow calculating sinh and cosh
63891         values before multiplying by sin and cos values.
63892         * math/s_ccoshf.c: Likewise.
63893         * math/s_ccoshl.c: Likewise.
63894         * math/s_csin.c: Likewise.
63895         * math/s_csinf.c: Likewise.
63896         * math/s_csinl.c: Likewise.
63897         * math/s_csinh.c: Likewise.
63898         * math/s_csinhf.c: Likewise.
63899         * math/s_csinhl.c: Likewise.
63900         * math/libm-test.inc (ccos_test): Add more tests.
63901         (ccosh_test): Likewise.
63902         (csin_test): Likewise.
63903         (csinh_test): Likewise.
63904         * sysdeps/i386/fpu/libm-test-ulps: Update.
63905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63907 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
63909         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
63910         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
63912         * sysdeps/x86_64/x32/_itoa.h: Add comment.
63914 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
63916         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
63917         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
63918         * sysdeps/powerpc/soft-fp/Versions: Likewise.
63919         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
63920         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
63921         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
63922         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
63923         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
63924         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
63925         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
63926         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
63927         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
63928         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
63929         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
63930         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
63931         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
63932         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
63933         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
63934         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
63935         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
63936         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
63937         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
63938         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
63939         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
63940         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
63941         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
63942         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
63943         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
63944         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
63945         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
63946         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
63948 2012-05-18  Andreas Jaeger  <aj@suse.de>
63950         * csu/.gitignore: Delete.
63952 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63954         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
63955         (timex): Use __syscall_slong_t.
63957 2012-05-18  Andreas Jaeger  <aj@suse.de>
63958             Carlos O'Donell  <carlos_odonell@mentor.com>
63960         * manual/install.texi (Configuring and compiling): Update
63961         description about files modified in the source directory.
63962         * INSTALL: Regenerated.
63964 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63966         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
63967         value.  Use "or" to set return value to -1.
63968         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
63969         negate return value.
63971 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63973         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
63974         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
63975         failure if the compiler has Graphite support disabled.
63976         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
63977         Likewise.
63978         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
63979         (CFLAGS-memmove.c): Likewise.
63980         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
63981         Likewise.
63983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
63985         * sysdeps/x86_64/x32/_itoa.h: New file.
63987         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
63988         getdents system call only if kernel and user dirents have the
63989         same d_ino and d_off.
63991         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
63992         LLONG_MAX != LONG_MAX.
63993         (_itoa_word): Use _ITOA_WORD_TYPE on value.
63994         (_fitoa_word): Likewise.
63996         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
63997         years.
63998         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
63999         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64000         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64002         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64003         include <bits/wordsize.h>.  Check __x86_64__ instead of
64004         __WORDSIZE.
64005         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64006         if __x86_64__ is defined.  Use anonymous union on fpstate.
64008         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64009         anonymous union.
64011 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64013         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64014         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64015         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64016         Refer to _rtld_local_ro instead of _rtld_global_ro.
64017         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64018         Likewise.
64019         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64020         Likewise.
64021         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64022         Likewise.
64023         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64024         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64025         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64027         [BZ #10882]
64028         * sysdeps/powerpc/powerpc32/dl-machine.c
64029         (__elf_machine_runtime_setup) [PROF]: Don't reference
64030         _dl_prof_resolve.
64032 2012-05-18  Andreas Jaeger  <aj@suse.de>
64034         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64035         function only available for GCCs before 3.4 since GCC 3.4
64036         introduced a builtin.
64037         (lrint): Likewise.
64038         (llrintf): Likewise.
64039         (llrint): Likewise.
64040         (fmaxf): Likewise.
64041         (fmax): Likewise.
64042         (fminf): Likewise.
64043         (fmin): Likewise.
64044         (rint): Likewise.
64045         (rintf): Likewise.
64046         (nearbyint): Likewise.
64047         (nearbyintf): Likewise.
64048         (ceil): Likewise.
64049         (ceilf): Likewise.
64050         (floor): Likewise.
64051         (floorf): Likewise.
64053 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64055         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64056         on both fields and cast pointer to __syscall_ulong_t.
64058         * bits/types.h (__fsword_t): New type.
64059         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64060         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64062         (__FSWORD_T_TYPE): Likewise.
64063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64064         (__FSWORD_T_TYPE): Likewise.
64065         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64066         (__FSWORD_T_TYPE): Likewise.
64067         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64068         (__FSWORD_T_TYPE): Likewise.
64069         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64070         __SWORD_TYPE with __fsword_t.
64071         (statfs64): Likewise.
64073 2012-05-17  David S. Miller  <davem@davemloft.net>
64075         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64077 2012-05-17  Andreas Jaeger  <aj@suse.de>
64079         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64080         warning.
64082 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64084         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64086 2012-05-17  Andreas Jaeger  <aj@suse.de>
64088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64089         when it is used.
64091 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64093         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64095 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64097         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64098         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64100 2012-05-17  Andreas Jaeger  <aj@suse.de>
64101             Carlos O'Donell  <carlos_odonell@mentor.com>
64103         [BZ #14059]
64104         * sysdeps/x86_64/multiarch/init-arch.h
64105         (bit_YMM_Usable): Rename to...
64106         (bit_AVX_Usable): ... this.
64107         (bit_FMA4_Usable): New macro.
64108         (bit_XMM_state): New macro.
64109         (bit_YMM_state): New macro.
64110         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64111         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64112         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64113         (CPUID_OSXSAVE): New macro.
64114         (CPUID_AVX): New macro.
64115         (CPUID_FMA4): New macro.
64116         (index_YMM_Usable): Rename to...
64117         (index_AVX_Usable): ... this.
64118         (HAS_AVX): Use HAS_ARCH_FEATURE.
64119         (HAS_FMA4): Likewise.
64120         (HAS_YMM_USABLE): Remove.
64121         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64122         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64123         are present.
64124         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64125         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64126         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64127         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64128         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64130 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64132         * math/libm-test.c: Support platforms without multiple rounding modes.
64133         * math/bug-nextafter.c: Support platforms without FP exceptions.
64134         * math/bug-nexttoward.c: Likewise.
64135         * math/test-fenv.c: Likewise.
64136         * math/test-misc.c: Likewise.
64137         * stdlib/bug-getcontext.c: Likewise.
64139 2012-05-17  Andreas Jaeger  <aj@suse.de>
64141         * manual/examples/search.c (critter_cmp): Change signature to
64142         avoid warnings.
64143         * manual/string.texi (Collation Functions): Likewise.
64145 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64147         * bits/types.h: Fold copyright years.
64148         * bits/typesizes.h: Likewise.
64149         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64150         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64151         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64152         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64153         * time/time.h: Likewise.
64155 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64157         [BZ #208]
64158         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64159         in instead of returning them.  Return void.
64160         (__libc_mallinfo): Accumulate over all arenas.
64161         (__malloc_stats): Adjust for change in int_mallinfo interface.
64163 2012-05-16  Roland McGrath  <roland@hack.frob.com>
64165         [BZ #10375]
64166         * configure.in (NM): Add AC_CHECK_TOOL for it.
64167         (libc_extra_cflags): New substituted variable.
64168         Check for -fstack-protector being used implicitly.
64169         * configure: Regenerated.
64170         * config.make.in (config-extra-cflags): New variable,
64171         gets @libc_extra_cflags@.
64172         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
64174         [BZ #10375]
64175         * configure.in: Check for _FORTIFY_SOURCE being predefined.
64176         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
64177         * configure: Regenerated.
64178         * config.make.in (CPPUNDEFS): New substituted variable.
64179         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
64180         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
64181         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
64183 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64185         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
64186         (mq_attr): Use __syscall_slong_t.
64188 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64190         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
64191         Check __x86_64__ instead of __WORDSIZE.
64192         (_STAT_VER_LINUX): Likewise.
64193         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
64194         __syscall_ulong_t and __syscall_slong_t.
64195         (stat64): Likewise.
64197 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64199         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
64201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64203         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
64205 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64207         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
64208         __syscall_ulong_t.
64210         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
64211         include <bits/wordsize.h>.  Check __x86_64__ instead of
64212         __WORDSIZE.
64213         (greg_t): Use "__extension__ long long int" if __x86_64__ is
64214         defined.
64215         (mcontext_t): Replace "unsigned long" with "unsigned long long".
64217         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
64218         include <bits/wordsize.h>.  Check __x86_64__ instead of
64219         __WORDSIZE.
64220         (user_regs_struct): Use "__extension__ unsigned long long"
64221         instead of "unsigned long" if __x86_64__ is defined.
64222         (user): Likewise.  Pad after pointer field if __ILP32__ is
64223         defined.
64225 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
64227         * configure.in (makeinfo): Require version 4.5 or later.  Allow
64228         versions 5 to 9.
64229         * configure: Regenerated.
64230         * manual/install.texi (texinfo): Increase version requirement to
64231         4.5 or later.
64232         * INSTALL: Regenerated.
64234         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
64236 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64238         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
64240         * sysdeps/x86_64/x32/ffs.c: New file.
64242         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
64243         __syscall_ulong_t.
64244         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
64245         defined.  Use __syscall_ulong_t.
64246         (shminfo): Use __syscall_ulong_t.
64247         (shm_info): Likewise.
64249         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
64250         __syscall_ulong_t.
64252         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
64253         <bits/wordsize.h>.
64254         (msgqnum_t): Use __syscall_ulong_t.
64255         (msglen_t): Likewise.
64256         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
64257         __syscall_ulong_t.
64259         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
64260         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64262         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
64264         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
64265         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
64267         * sysvipc/sys/msg.h (msgbuf): Replace long int with
64268         __syscall_slong_t.
64270         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
64271         include <bits/wordsize.h>.  Check __x86_64__ instead of
64272         __WORDSIZE.
64274         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
64275         "unsigned long long int" if __x86_64__ is defined.
64276         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
64278         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
64279         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64280         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
64282         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
64283         <stdint.h>.
64284         (GET_PC): Cast to uintptr_t first.
64285         (GET_FRAME): Likewise.
64286         (GET_STACK): Likewise.
64288         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
64289         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
64290         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
64291         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
64292         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
64293         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
64294         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
64295         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
64296         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
64297         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
64298         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
64299         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
64300         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
64301         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
64302         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
64303         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
64304         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
64305         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
64306         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
64307         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
64308         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
64309         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
64310         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
64311         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
64312         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
64313         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
64314         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
64315         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
64316         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
64318 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
64320         * Makerules (+depfiles): Also collect depfiles from .oS in
64321         $(extra-objs).
64322         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
64323         .oS, $(libnldbl-routines)).
64325         * Makerules (native-compile-mkdep-flags): Define.
64326         * sunrpc/Makefile (extra-objs): Add $(addprefix
64327         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
64328         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
64329         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
64330         calling $(make-target-directory).
64332 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64334         * bits/types.h (__snseconds_t): Removed.
64335         * time/time.h (struct timespec): Replace __snseconds_t with
64336         __syscall_slong_t.
64337         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
64338         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
64339         Likewise.
64340         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64341         (__SNSECONDS_T_TYPE): Likewise.
64342         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64343         (__SNSECONDS_T_TYPE): Likewise.
64344         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64345         (__SNSECONDS_T_TYPE): Likewise.
64347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64349         * sysdeps/mach/hurd/bits/typesizes.h
64350         (__SYSCALL_SLONG_TYPE): New macro.
64351         (__SYSCALL_ULONG_TYPE): Likewise.
64353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64355         * bits/types.h (__syscall_slong_t): New type.
64356         (__syscall_ulong_t): Likewise.
64358         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
64359         (__SYSCALL_ULONG_TYPE): Likewise.
64360         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64361         (__SYSCALL_SLONG_TYPE): Likewise.
64362         (__SYSCALL_ULONG_TYPE): Likewise.
64363         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64364         (__SYSCALL_SLONG_TYPE): Likewise.
64365         (__SYSCALL_ULONG_TYPE): Likewise.
64366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64367         (__SYSCALL_SLONG_TYPE): Likewise.
64368         (__SYSCALL_ULONG_TYPE): Likewise.
64370 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64372         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
64373         Add sigaltstack-offsets.sym.
64374         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
64375         <sigaltstack-offsets.h>.
64376         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
64377         longjmp_msg pointer.
64378         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
64379         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
64380         signal stack.
64381         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
64383 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64385         * elf/stackguard-macros.h: Remove file.
64386         * sysdeps/generic/stackguard-macros.h: New file.
64387         * sysdeps/i386/stackguard-macros.h: Likewise.
64388         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
64389         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
64390         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
64391         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
64392         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
64393         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
64394         * sysdeps/x86_64/stackguard-macros.h: Likewise.
64395         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
64396         <elf/stackguard-macros.h>.
64398         [BZ #14109]
64399         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
64400         __aligned__ in attribute.
64401         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
64402         (gregset_t): Likewise.
64404 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64406         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
64407         * sysdeps/x86_64/64/Implies-after: Here.  New file.
64408         * sysdeps/x86_64/x32/Implies-after: New file.
64410 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64412         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
64413         and access return value for _dl_profile_fixup.  Use R10_LP to
64414         load frame size.
64416 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64418         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
64420 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64422         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
64423         * sysdeps/x86_64/x32/sysdep.h: New file.
64425 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64427         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
64428         * sysdeps/x86_64/setjmp.S: Likewise.
64430 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64432         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
64433         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
64434         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
64435         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
64436         remove unused global constant.
64438 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
64440         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
64441         include of <not-cancel.h>.
64443 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64445         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
64447 2012-05-15  Jeff Law  <law@redhat.com>
64448             Andreas Jaeger  <aj@suse.de>
64450         [BZ #13594]
64451         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
64452         out from...
64453         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
64454         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
64455         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
64456         code changing __hst_map_handle.map.
64458 2012-05-15  Roland McGrath  <roland@hack.frob.com>
64460         * configure.in (sysnames): Look for Implies-before and Implies-after
64461         files.
64462         * configure: Regenerated.
64464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64466         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
64467         8-byte data alignment with LP_SIZE alignment.
64469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64471         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
64472         into R10_LP.
64474 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64476         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
64478 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64480         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
64481         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
64482         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
64483         Likewise.
64484         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64486 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64488         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
64489         (stackinfo_sub_sp): Likewise.
64491 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64493         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
64494         RAX_LP.
64496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64498         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
64499         into R*_LP.
64501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64503         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
64504         sizes into R*_LP.
64506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64508         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
64510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64512         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
64513         into R11_LP and load __x86_64_shared_cache_size_half into
64514         R8_LP.
64516 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
64518         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
64519         R8_LP.
64521 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
64524         logb for POWER7.
64525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
64526         logbf for POWER7.
64527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
64528         logbl for POWER7.
64529         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
64530         powerpc32/power7/fpu/s_logb.c via #include.
64531         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64532         powerpc32/power7/fpu/s_logbf.c via #include.
64533         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
64534         powerpc32/power7/fpu/s_logbl.c via #include.
64536 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
64538         * README.libm: Remove file.
64540 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64542         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
64543         count for x32.  Use R*_LP and omit operand-size suffix.
64545 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64547         * shlib-versions: Move x86_64-.*-linux.* entries to ...
64548         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
64549         * sysdeps/x86_64/x32/shlib-versions: New file.
64551 2012-05-14  Roland McGrath  <roland@hack.frob.com>
64553         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
64554         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
64555         Use _dl_fatal_printf instead.
64557 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64559         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
64560         set if not set by the user.  Do not allow for being unset.
64561         * sysdeps/unix/sysv/linux/configure: Regenerated.
64563 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64565         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
64566         the `q' suffix from lea and replace .quad with ASM_ADDR.
64568 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64570         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
64571         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
64572         instead of $17.
64573         (PTR_DEMANGLE): Likewise.
64575 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64577         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
64578         (LP_OP): Likewise.
64579         (ASM_ADDR): Likewise.
64580         (RAX_LP): Likewise.
64581         (RBP_LP): Likewise.
64582         (RBX_LP): Likewise.
64583         (RCX_LP): Likewise.
64584         (RDI_LP): Likewise.
64585         (RSI_LP): Likewise.
64586         (RSP_LP): Likewise.
64587         (R8_LP): Likewise.
64588         (R9_LP): Likewise.
64589         (R10_LP): Likewise.
64590         (R10_LP): Likewise.
64591         (R11_LP): Likewise.
64592         (R12_LP): Likewise.
64593         (R13_LP): Likewise.
64594         (R14_LP): Likewise.
64595         (R15_LP): Likewise.
64597 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64599         * sysdeps/x86_64/x32/dl-machine.h: New file.
64601 2012-05-14  Andreas Jaeger  <aj@suse.de>
64603         * manual/Makefile (subdir): Remove export of subdir.
64604         (all): Remove target.
64605         (.PHONY): Remove all from list.
64606         (mkinstalldirs): Remove.
64607         (.PHONY): Remove installdirs from list.
64608         ($(inst_infodir)/libc.info): Use make-target-directory.
64609         (installdirs): Remove.
64610         (subdir_%): Remove.
64611         (glibc-targets): Remove.
64612         (lib): Remove.
64613         (stubs): Remove.
64614         ($(objpfx)stubs ../po/manual.pot): Remove.
64615         ($(objpfx)stamp%): Remove.
64616         (make-target-directory): Remove.
64617         (subdir_install): Remove.
64618         (routines): Remove.
64619         (aux): Remove.
64620         (sources): Remove.
64621         (objects): Remove.
64622         (headers): Remove.
64624         [BZ #13750]
64625         * manual/.gitignore: Remove, it's not needed anymore.
64626         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
64627         all files in it.
64628         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
64629         directory.
64630         (texis): Renamed to $(objpfx)texis.
64631         (texis-path): New, contains path to generated files.
64632         (chapters.%): Use texis-path for complete path, add extra argument
64633         libc-texinfo.sh.
64634         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
64635         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
64636         (summary,texi, stamp-summary): Use complete path of
64637         files. Generate files in build dir.
64638         (dir-add.texi): Build in build dir.
64639         (libm-err.texi,stamp-libm-err): Likewise.
64640         (version.texi, stamp-version): Likewise.
64641         (.%c.texi): Likewise.
64642         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
64643         (mostlyclean): Remove target.
64644         (realclean): Remove target.
64645         (generated): Add new variable with contents from mostlyclean and
64646         realclean, remove entries duplicated in common-mostlyclean, add
64647         stamp-libm-err and stamp-version.
64648         (generated-dirs): Add libc directory.
64649         ($(inst_infodir)/libc.info): Install files from build dir.
64651         * manual/install.texi (Configuring and compiling): Adjust since
64652         the info files are not part of the tar ball anymore.
64654 2012-05-14  Andreas Jaeger  <aj@suse.de>
64656         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
64657         variable.
64659 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
64661         [BZ #13717]
64662         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
64663         to 2.2.0 where earlier.
64664         * sysdeps/unix/sysv/linux/configure: Regenerated.
64665         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
64666         Remove conditional code.
64667         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
64668         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
64669         Remove conditional code.
64670         [!__NR_lchown]: Likewise.
64671         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64672         [__NR_lchown]: Likewise.
64673         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
64674         comment referencing __ASSUME_LCHOWN_SYSCALL.
64675         * sysdeps/unix/sysv/linux/i386/sigaction.c
64676         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64677         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64678         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
64679         Remove conditional code.
64680         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
64681         (__protocol_available): Remove #if 0 code.
64682         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
64683         conditional code.
64684         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
64685         * sysdeps/unix/sysv/linux/kernel-features.h
64686         (__ASSUME_GETCWD_SYSCALL): Don't define.
64687         (__ASSUME_REALTIME_SIGNALS): Likewise.
64688         (__ASSUME_PREAD_SYSCALL): Likewise.
64689         (__ASSUME_PWRITE_SYSCALL): Likewise.
64690         (__ASSUME_POLL_SYSCALL): Likewise.
64691         (__ASSUME_LCHOWN_SYSCALL): Likewise.
64692         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
64693         non-SPARC.
64694         (__ASSUME_SIOCGIFNAME): Don't define.
64695         (__ASSUME_MSG_NOSIGNAL): Likewise.
64696         (__ASSUME_SENDFILE): Define unconditionally.
64697         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
64698         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
64699         conditional code.
64700         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
64701         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
64702         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64703         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64704         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
64705         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
64706         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
64707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
64708         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
64711         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64712         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
64714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
64717         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64718         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
64720         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64721         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
64723         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
64724         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
64726         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64727         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
64729         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64730         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64731         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
64732         Remove conditional code.
64733         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64734         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64735         Remove conditional code.
64736         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64737         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
64738         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
64739         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64740         Remove conditional code.
64741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64742         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
64743         Remove conditional code.
64744         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64745         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
64746         Remove conditional code.
64747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64748         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
64749         Remove conditional code.
64750         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
64751         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
64752         Remove conditional code.
64753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64754         * sysdeps/unix/sysv/linux/sh/pwrite64.c
64755         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
64756         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
64757         * sysdeps/unix/sysv/linux/sigaction.c
64758         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64759         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64760         * sysdeps/unix/sysv/linux/sigpending.c
64761         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64762         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64763         * sysdeps/unix/sysv/linux/sigprocmask.c
64764         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64765         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64766         * sysdeps/unix/sysv/linux/sigsuspend.c
64767         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
64768         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
64769         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64770         (__libc_missing_rt_sigs): Remove.
64771         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
64772         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
64773         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
64774         Remove conditional code.
64775         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
64776         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
64777         return 1.
64778         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
64779         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
64780         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
64781         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
64783 2012-05-14  Andreas Jaeger  <aj@suse.de>
64785         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
64786         it's not used in glibc.
64787         (__coshm1): Likewise.
64788         (__acosh1p): Likewise.
64789         (__sgn): Likewise.
64791         * manual/string.texi (Copying and Concatenation): Add missing
64792         variable in concat example.
64793         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
64795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64797         [BZ #14103]
64798         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
64799         __builtin_clzl with __builtin_clzll.
64801 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
64803         [BZ #14104]
64804         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
64805         libc_freeres_ptr.
64807 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64809         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
64810         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
64811         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
64812         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
64814 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
64816         * NEWS: Update ia64 info.
64818 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
64820         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
64821         used as bcopy.
64823 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
64825         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
64826         * sysdeps/unix/syscalls.list (dup3): Likewise.
64827         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
64828         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
64830 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64832         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
64833         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
64835 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
64837         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
64838         thread pointer.
64839         (TLS_IE): Use mov/add instead of movq/addq to load thread
64840         pointer.
64841         (TLS_GD_PREFIX): New.
64842         (TLS_GD): Use it.
64844 2012-05-11  David S. Miller  <davem@davemloft.net>
64846         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
64847         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
64848         (_FPU_SETCW): Likewise.
64850 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64852         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
64853         is 32-byte aligned.
64855 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
64857         [BZ #11837]
64858         * iconvdata/gb18030.c: Update tables.
64859         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
64860         characters specially.
64861         (BODY for TO_LOOP): Add encoding of missing ranges.
64863 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
64865         [BZ #13673]
64866         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
64867         * sysdeps/mach/hurd/dup3.c: Likewise.
64868         * sysdeps/mach/hurd/readlinkat.c: Likewise.
64869         * sysdeps/powerpc/memmove.c:: Likewise.
64871 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64873         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
64874         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
64876 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
64878         * elf/elf.h (R_X86_64_RELATIVE64): New.
64879         (R_X86_64_NUM): Updated.
64880         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
64881         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
64882         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
64883         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
64884         tst-quad1pie tst-quad2pie
64885         (modules-names): Add tst-quadmod1 tst-quadmod2.
64886         ($(objpfx)tst-quad1): New dependency.
64887         ($(objpfx)tst-quad2): Likewise.
64888         ($(objpfx)tst-quad1pie): Likewise.
64889         ($(objpfx)tst-quad2pie): Likewise.
64890         * sysdeps/x86_64/tst-quad1.c: New file.
64891         * sysdeps/x86_64/tst-quad1pie.c: New file.
64892         * sysdeps/x86_64/tst-quad2.c: Likewise.
64893         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
64894         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
64895         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
64896         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
64897         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
64899 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64901         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
64902         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
64903         * streams/stropts.h (t_scalar_t): Define type.
64905         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
64906         (_PATH_PRESERVE): Set to "/var/lib".
64907         (_PATH_RWHODIR): Set to "/var/spool/rwho".
64909         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
64910         instead of int.
64912         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
64913         if __dir_mkfile succeeded.
64915         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
64916         checking for _hurd_dtablesize.  Unlock it right after having
64917         finished _hurd_dtable allocation.
64919 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
64921         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
64922         * sysdeps/mach/hurd/configure: Regenerated.
64923         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
64924         special-casing to...
64925         * sysdeps/gnu/configure.in: ... this new file.
64926         * sysdeps/unix/sysv/linux/configure: Regenerated.
64927         * sysdeps/gnu/configure: New generated file.
64929         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
64930         for Linux: use nsec instead of usec, as well as:
64931         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
64932         members of type struct timespec.
64933         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
64934         New macros.
64935         (struct stat64): Likewise.
64936         (_STATBUF_ST_NSEC): New macro.
64937         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
64939         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
64940         __strtoul_internal rather than strtoul.
64942 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64944         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
64945         and reject them.
64947 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64949         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
64950         which preserves existing values.
64951         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
64953 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64955         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
64956         TIMEOUT values.  Return EINVAL for NFDS values either negative or
64957         greater than FD_SETSIZE.
64959 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64961         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
64962         allocated, call __vm_protect to finish enabling the existing space, and
64963         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
64964         allocate the remainder.
64966 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64968         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
64969         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
64971 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64973         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
64974         sysdeps/mach/hurd/readlink.c.
64976         * posix/tst-sysconf.c (posix_options): Only use
64977         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
64978         _POSIX_SYNCHRONIZED_IO when they are defined
64979         * sysdeps/mach/hurd/bits/posix_opt.h:
64980         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
64981         (_XOPEN_REALTIME): Undefine macro.
64982         (_XOPEN_REALTIME_THREADS): Undefine macro.
64983         (_XOPEN_SHM): Undefine macro.
64984         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
64985         macro to -1.
64986         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
64987         macro to -1.
64988         (_POSIX_ASYNC_IO): Undefine macro.
64989         (_POSIX_PRIORITIZED_IO): Undefine macro.
64990         (_POSIX_SPIN_LOCKS): Define macro to -1.
64992         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
64993         SA_NODEFER, SA_RESETHAND.
64994         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
64995         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
64996         F_DUPFD_CLOEXEC.
64998 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65000         * elf/Makefile (pldd-modules): Define unconditionally.
65002 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65004         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65006 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65008         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65009         Return ENOENT when name is empty.
65010         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65012 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65014         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65016         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65018 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65020         Fix mlock in all cases except non-readable pages.
65021         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65022         instead of VM_PROT_ALL as parameter to __vm_wire function.
65024         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65025         (__mkdir): When path is `/', just fail with EEXIST.
65026         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65028 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65030         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65031         <sys/uio.h> (for writev).
65032         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65033         and <sys/param.h> (for MIN).
65035 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65037         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65038         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65039         if interrupted.
65041 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65043         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65044         Depend on against $(link-rpcuserlibs).
65046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65048         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65049         (__libc_stack_end): Do not use attribute_relro.
65050         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65051         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65052         to libthread-provided value.
65053         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65054         attribute_relro.
65056 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65058         [BZ #3748]
65059         * bits/libc-lock.h (__libc_once_get): New macro.
65060         * sysdeps/mach/bits/libc-lock.h: Likewise.
65061         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65062         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65063         instead of using implementation details.
65065         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65066         * libio/freopen.c: Likewise.
65067         * libio/freopen64.c: Likewise.
65068         * misc/syslog.c: Likewise.
65069         * nscd/connections.c: Likewise.
65070         * nscd/netgroupcache.c: Likewise.
65071         * sysdeps/posix/getcwd.c: Likewise.
65073 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65075         * math/w_ilogbf.c: Add #include <limits.h>.
65077 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65079         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65080         path instead of returning without unlocking.
65082         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65083         immediate-write ioctls.
65084         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65086 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65088         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65089         __builtin_frame_address instead of making assumptions about the
65090         location of the return address relative to DATA.  Force early load of
65091         the return address.
65092         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65093         __builtin_frame_address.
65095         dup3 for GNU Hurd.
65096         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65097         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65098         implement dup3 and do some further code clean-ups.
65099         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65100         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65102 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65104         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65106         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65107         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65108         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65109         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65110         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65111         d->port.lock.
65113         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65114         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65115         when handler == SIG_ERR, not when handler != SIG_ERR.
65117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65119         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65120         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65121         definitions.
65123         accept4 for GNU Hurd.
65124         * include/sys/socket.h (__libc_accept4): New prototype.
65125         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65126         to implement __libc_accept4.
65127         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65128         __libc_accept4.
65129         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65131         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65132         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65133         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65134         signal-defines.sym.
65136 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65138         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65140 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65142         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65143         assertion on O_CLOEXEC flag.
65144         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65145         * hurd/intern-fd.c: Likewise.
65146         * hurd/port2fd.c: Likewise.
65148 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65150         [BZ #3906]
65151         * bits/in.h (IPV6_PKTINFO): Define new macro.
65152         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65154 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65156         [BZ #13954]
65157         [BZ #13955]
65158         [BZ #13956]
65159         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65160         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65161         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65162         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65163         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65164         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65165         * math/libm-test.inc (logb_test) : Additional logb tests.
65167 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
65168             Andreas Jaeger  <aj@suse.de>
65170         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
65171         * configure: Regenerated.
65172         * config.h.in (LINK_OBSOLETE_RPC): New macro.
65173         * config.make.in (link-obsolete-rpc): New substituted variable.
65174         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
65175         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
65176         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65177         (shared-only-routines): Don't set it under [link-obsolete-rpc],
65178         so that libc.a contains the symbols.
65179         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
65180         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
65181         * sunrpc/auth_none.c: Likewise.
65182         * sunrpc/auth_unix.c: Likewise.
65183         * sunrpc/authdes_prot.c: Likewise.
65184         * sunrpc/authuxprot.c: Likewise.
65185         * sunrpc/clnt_gen.c: Likewise.
65186         * sunrpc/clnt_perr.c: Likewise.
65187         * sunrpc/clnt_raw.c: Likewise.
65188         * sunrpc/clnt_simp.c: Likewise.
65189         * sunrpc/clnt_tcp.c: Likewise.
65190         * sunrpc/clnt_udp.c: Likewise.
65191         * sunrpc/clnt_unix.c: Likewise.
65192         * sunrpc/des_crypt.c: Likewise.
65193         * sunrpc/des_soft.c: Likewise.
65194         * sunrpc/get_myaddr.c: Likewise.
65195         * sunrpc/key_call.c: Likewise.
65196         * sunrpc/key_prot.c: Likewise.
65197         * sunrpc/netname.c: Likewise.
65198         * sunrpc/pm_getmaps.c: Likewise.
65199         * sunrpc/pm_getport.c: Likewise.
65200         * sunrpc/pmap_clnt.c: Likewise.
65201         * sunrpc/pmap_prot.c: Likewise.
65202         * sunrpc/pmap_prot2.c: Likewise.
65203         * sunrpc/pmap_rmt.c: Likewise.
65204         * sunrpc/publickey.c: Likewise.
65205         * sunrpc/rpc_cmsg.c: Likewise.
65206         * sunrpc/rpc_common.c: Likewise.
65207         * sunrpc/rpc_dtable.c: Likewise.
65208         * sunrpc/rpc_prot.c: Likewise.
65209         * sunrpc/rpc_thread.c: Likewise.
65210         * sunrpc/rtime.c: Likewise.
65211         * sunrpc/svc.c: Likewise.
65212         * sunrpc/svc_auth.c: Likewise.
65213         * sunrpc/svc_raw.c: Likewise.
65214         * sunrpc/svc_run.c: Likewise.
65215         * sunrpc/svc_tcp.c: Likewise.
65216         * sunrpc/svc_udp.c: Likewise.
65217         * sunrpc/svc_unix.c: Likewise.
65218         * sunrpc/svcauth_des.c: Likewise.
65219         * sunrpc/xcrypt.c: Likewise.
65220         * sunrpc/xdr.c: Likewise.
65221         * sunrpc/xdr_array.c: Likewise.
65222         * sunrpc/xdr_float.c: Likewise.
65223         * sunrpc/xdr_intXX_t.c: Likewise.
65224         * sunrpc/xdr_mem.c: Likewise.
65225         * sunrpc/xdr_rec.c: Likewise.
65226         * sunrpc/xdr_ref.c: Likewise.
65227         * sunrpc/xdr_sizeof.c: Likewise.
65228         * sunrpc/xdr_stdio.c: Likewise.
65230 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65232         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
65233         change.  Update copyright years.
65235 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65237         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
65239 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
65240             Joseph Myers  <joseph@codesourcery.com>
65241             Paul Pluzhnikov  <ppluzhnikov@google.com>
65243         [BZ #14012]
65244         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
65245         requiring rpcgen.
65246         [cross-compiling] (extra-libs): Likewise.
65247         [cross-compiling] (extra-libs-others): Likewise.
65248         [cross-compiling] (librpcsvc-routines): Likewise.
65249         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
65250         [cross-compiling] (omit-deps): Likewise.
65251         (sunrpc-CPPFLAGS): New variable.
65252         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
65253         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
65254         (cross-rpcgen-objs): New variable.
65255         (extra-objs): Append $(cross-rpcgen-objs).
65256         ($(cross-rpcgen-objs)): New rule.
65257         ($(objpfx)cross-rpcgen): Likewise.
65258         (rpcgen-cmd): Define to use $(built-program-file).  Expand
65259         comment.
65260         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
65261         ($(objpfx)x%.stmp): Likewise.
65262         * sunrpc/proto.h [IS_IN_build] (_): Define.
65263         [IS_IN_build] (_libc_intl_domainname): Likewise.
65265 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65267         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
65268         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
65269         and R_X86_64_TPOFF64.
65271 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
65273         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
65274         sysdeps/unix/sysv/syscalls.list.
65275         (stime): Likewise.
65276         (utime): Likewise.
65277         * sysdeps/unix/sysv/syscalls.list: Remove file.
65279 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
65281         [BZ #3440]
65282         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
65283         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
65284         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
65285         (__LC_IDENTIFICATION): Make these macros useful in #if
65286         expressions, as required by C99.
65288 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
65290         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
65291         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
65292         after this.
65294 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
65296         * stdlib/longlong.h: Updated from GCC.
65298 2012-05-09  Andreas Jaeger  <aj@suse.de>
65300         * nscd/nscd.c (run_modes): Make named enum, reorder so that
65301         default is first entry.
65302         (run_mode): Set type.
65303         (main): Remove informal message about syslog.
65304         (options): Fix typo.
65306         [BZ #14053]
65307         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
65308         to asm.
65309         (lrint): Likewise.
65310         (llrintf): Likewise.
65311         (llrint): Likewise.
65312         (rint): Likewise.
65313         (rintf): Likewise.
65314         (nearbyint): Likewise.
65315         (nearbyintf): Likewise.
65317 2012-05-09  Andreas Jaeger  <aj@suse.de>
65318             Pedro Alves  <palves@redhat.com>
65320         * nscd/nscd.c (run_mode): Use enum.
65321         (main): Cleanup coding style issue.
65323 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
65324             Andreas Jaeger  <aj@suse.de>
65326         * nscd/nscd.c (go_background): Replaced with...
65327         (run_mode): ... this.
65328         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
65329         (options): Add -F --foreground.
65330         (main): Implement it.
65331         (parse_opt): Parse it.
65333 2012-05-09  Andreas Jaeger  <aj@suse.de>
65335         [BZ #14083]
65336         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
65337         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
65338         -Wconversion warning.
65339         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
65340         Likewise.
65342 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
65344         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
65345         == 0.
65346         (LC_ALL): Use macro-int-constant.
65347         (LC_COLLATE): Likewise.
65348         (LC_CTYPE): Likewise.
65349         (LC_MESSAGES): Likewise.
65350         (LC_MONETARY): Likewise.
65351         (LC_NUMERIC): Likewise.
65352         (LC_TIME): Likewise.
65353         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
65354         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65355         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65356         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
65357         Specify type.
65358         [C99-based standards] (float_t): Expect type.
65359         [C99-based standards] (double_t): Expect type.
65360         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
65361         type.
65362         [C99-based standards] (HUGE_VALL): Likewise.
65363         [C99-based standards] (INFINITY): Likewise.
65364         [C99-based standards] (NAN): Likewise.
65365         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
65366         [C99-based standards] (FP_NAN): Likewise.
65367         [C99-based standards] (FP_NORMAL): Likewise.
65368         [C99-based standards] (FP_SUBNORMAL): Likewise.
65369         [C99-based standards] (FP_ZERO): Likewise.
65370         [C99-based standards] (FP_FAST_FMA): Use
65371         optional-macro-int-constant.  Specify type.  Require == 1.
65372         [C99-based standards] (FP_FAST_FMAF): Likewise.
65373         [C99-based standards] (FP_FAST_FMAL): Likewise.
65374         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
65375         [C99-based standards] (FP_ILOGBNAN): Likewise.
65376         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
65377         Specify type.
65378         [C99-based standards] (MATH_ERREXCEPT): Likewise.
65379         [C99-based standards] (math_errhandling): Specify type.
65380         [ISO99 || ISO11] (signgam): Do not allow.
65381         [non-C99-based standards] (copysignf): Do not allow.
65382         [non-C99-based standards] (exp2f): Likewise.
65383         [non-C99-based standards] (log2f): Likewise.
65384         [non-C99-based standards] (modff): Allow.
65385         [non-C99-based standards] (erff): Do not allow.
65386         [non-C99-based standards] (erfcf): Likewise.
65387         [non-C99-based standards] (gammaf): Likewise.
65388         [non-C99-based standards] (hypotf): Likewise.
65389         [non-C99-based standards] (j0f): Likewise.
65390         [non-C99-based standards] (j1f): Likewise.
65391         [non-C99-based standards] (jnf): Likewise.
65392         [non-C99-based standards] (lgammaf): Likewise.
65393         [non-C99-based standards] (tgammaf): Likewise.
65394         [non-C99-based standards] (y0f): Likewise.
65395         [non-C99-based standards] (y1f): Likewise.
65396         [non-C99-based standards] (ynf): Likewise.
65397         [non-C99-based standards] (isnanf): Likewise.
65398         [non-C99-based standards] (acoshf): Likewise.
65399         [non-C99-based standards] (asinhf): Likewise.
65400         [non-C99-based standards] (atanhf): Likewise.
65401         [non-C99-based standards] (cbrtf): Likewise.
65402         [non-C99-based standards] (expm1f): Likewise.
65403         [non-C99-based standards] (ilogbf): Likewise.
65404         [non-C99-based standards] (log1pf): Likewise.
65405         [non-C99-based standards] (logbf): Likewise.
65406         [non-C99-based standards] (nextafterf): Likewise.
65407         [non-C99-based standards] (remainderf): Likewise.
65408         [non-C99-based standards] (rintf): Likewise.
65409         [non-C99-based standards] (scalbf): Likewise.
65410         [non-C99-based standards] (copysignl): Likewise.
65411         [non-C99-based standards] (exp2l): Likewise.
65412         [non-C99-based standards] (log2l): Likewise.
65413         [non-C99-based standards] (modfl): Allow.
65414         [non-C99-based standards] (erfl): Do not allow.
65415         [non-C99-based standards] (erfcl): Likewise.
65416         [non-C99-based standards] (gammal): Likewise.
65417         [non-C99-based standards] (hypotl): Likewise.
65418         [non-C99-based standards] (j0l): Likewise.
65419         [non-C99-based standards] (j1l): Likewise.
65420         [non-C99-based standards] (jnl): Likewise.
65421         [non-C99-based standards] (lgammal): Likewise.
65422         [non-C99-based standards] (tgammal): Likewise.
65423         [non-C99-based standards] (y0l): Likewise.
65424         [non-C99-based standards] (y1l): Likewise.
65425         [non-C99-based standards] (ynl): Likewise.
65426         [non-C99-based standards] (isnanl): Likewise.
65427         [non-C99-based standards] (acoshl): Likewise.
65428         [non-C99-based standards] (asinhl): Likewise.
65429         [non-C99-based standards] (atanhl): Likewise.
65430         [non-C99-based standards] (cbrtl): Likewise.
65431         [non-C99-based standards] (expm1l): Likewise.
65432         [non-C99-based standards] (ilogbl): Likewise.
65433         [non-C99-based standards] (log1pl): Likewise.
65434         [non-C99-based standards] (logbl): Likewise.
65435         [non-C99-based standards] (nextafterl): Likewise.
65436         [non-C99-based standards] (remainderl): Likewise.
65437         [non-C99-based standards] (rintl): Likewise.
65438         [non-C99-based standards] (scalbl): Likewise.
65439         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65440         [non-C99-based standards] (FP_*): Do not allow.
65441         [C99-based standards] (FP_*): Change to
65442         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
65443         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65444         allow.
65445         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
65446         (SIG_ERR): Likewise.
65447         [X/Open-based standards] (SIG_HOLD): Likewise.
65448         (SIG_IGN): Likewise.
65449         (SIGABRT): Use macro-int-constant.  Specify type.  Require
65450         positive value.
65451         (SIGFPE): Likewise.
65452         (SIGILL): Likewise.
65453         (SIGINT): Likewise.
65454         (SIGSEGV): Likewise.
65455         (SIGTER): Likewise.
65456         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
65457         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
65458         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
65459         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
65460         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
65461         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
65462         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
65463         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
65464         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
65465         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
65466         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
65467         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
65468         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
65469         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
65470         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
65471         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
65472         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
65473         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
65474         [X/Open-based standards] (SIGTRAP): Likewise.
65475         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
65476         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
65477         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
65478         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
65479         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65480         allow.
65482 2012-05-08  Ian Wienand  <ianw@vmware.com>
65484         [BZ #14080]
65485         * time/tzset.c (__tzset_parse_tz): Update default rules for
65486         daylight time changes in the Energy Policy Act of 2005.
65488 2012-05-09  Andreas Jaeger  <aj@suse.de>
65490         [BZ #13983]
65491         * elf/ldconfig.c (parse_conf): Change string to make clear that
65492         ldconfig only issued a warning if ld.so.conf does not exist.
65494 2012-05-08  David S. Miller  <davem@davemloft.net>
65496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
65497         movxtod instead of popping the value on the stack.
65499         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65501 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
65503         * config.h.in: Add HAVE_ARM_PCS_VFP.
65505 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
65507         [BZ #13979]
65508         * include/features.h: Warn if user requests __FORTIFY_SOURCE
65509         checking but the checks are disabled for any reason.
65511 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
65513         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
65514         and ELF64_R_TYPE with ELFW(R_TYPE).
65516 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
65518         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
65519         (ulimit): Likewise.
65521         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
65522         (settimeofday): Likewise.
65524 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
65526         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
65527         a struct th_u2 inside the union, and move tu_block/tu_code into
65528         a new th_u3 union of tu_block/tu_code inside of that.  Move
65529         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
65530         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
65531         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
65532         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
65533         (th_stuff): Change to th_u1.tu_stuff.
65534         (th_data): Define.
65535         (th_msg): Change to th_u1.th_u2.tu_data.
65537 2012-05-07  David S. Miller  <davem@davemloft.net>
65539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65541         [BZ #14074]
65542         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
65543         (SETUP_PIC_REG): Use it.
65544         (SETUP_PIC_REG_LEAF): Use it.
65546 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
65548         [BZ #13885]
65549         [BZ #13923]
65550         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65551         USE_AS_EXPM1L.
65552         (EXPL_FINITE): Likewise.
65553         (FLDLOG): Likewise.
65554         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65555         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65556         e_expl.S.
65557         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65558         USE_AS_EXPM1L.
65559         (EXPL_FINITE): Likewise.
65560         (FLDLOG): Likewise.
65561         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
65562         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
65563         e_expl.S.
65564         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
65565         test of -max_value argument for long double.
65566         * sysdeps/i386/fpu/libm-test-ulps: Update.
65567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65569 2012-05-06  David S. Miller  <davem@davemloft.net>
65571         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
65572         quad soft-float symbols whose references which are compiler
65573         generated.
65574         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
65576 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
65578         [BZ #13884]
65579         [BZ #13914]
65580         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65581         USE_AS_EXP10L.
65582         (EXPL_FINITE): Likewise.
65583         (FLDLOG): Likewise.
65584         (c0): Likewise.
65585         (c1): Likewise.
65586         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65587         Adjust comments for base varying.
65588         (__expl_finite): Change alias to EXPL_FINITE.
65589         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
65590         e_expl.S.
65591         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
65592         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
65593         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
65594         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
65595         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
65596         USE_AS_EXP10L.
65597         (EXPL_FINITE): Likewise.
65598         (FLDLOG): Likewise.
65599         (c0): Likewise.
65600         (c1): Likewise.
65601         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
65602         Adjust comments for base varying.
65603         (__expl_finite): Change alias to EXPL_FINITE.
65604         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
65605         tests for bugs.
65606         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65608         [BZ #14064]
65609         * math/libm-test.inc (check_float_internal): Correct ulp
65610         calculation for subnormal expected results.
65612 2012-05-06  Andreas Jaeger  <aj@suse.de>
65614         * Makeconfig (+math-flags): New, set to -frounding-math.
65615         (+cflags): Add +math-flags so that all of glibc gets compiled with
65616         it.
65618         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
65620 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
65622         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
65623         Disable one test.
65625         [BZ #13787]
65626         [BZ #13922]
65627         [BZ #14036]
65628         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
65629         (__ieee754_expl): Allow for and saturate large arguments.
65630         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
65631         (u_threshold): Likewise.
65632         (__exp): Call __ieee754_exp before checking for overflow and
65633         underflow.
65634         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
65635         (u_threshold): Likewise.
65636         (__expf): Call __ieee754_expf before checking for overflow and
65637         underflow.
65638         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
65639         (u_threshold): Likewise.
65640         (__expl): Call __ieee754_expl before checking for overflow and
65641         underflow.
65642         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
65643         (__ieee754_expl): Allow for and saturate large arguments.
65644         * math/libm-test.inc (exp_test): Add another test.  Do not allow
65645         missing overflow exception on overflow.
65646         (expm1_test): Do not allow missing overflow exception on overflow.
65648         * sysdeps/i386/fpu/e_expl.c: Move to ...
65649         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
65650         rather than using inline asm.
65651         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
65652         * sysdeps/x86_64/fpu/e_expl.S: Copy from
65653         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
65655         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
65656         (nice): Likewise.
65657         (poll): Likewise.
65658         (signal): Likewise.
65659         (time): Likewise.
65660         (times): Likewise.
65662 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65664         * sysdeps/unix/syscalls.list (adjtime): Add entry from
65665         sysdeps/unix/common/syscalls.list.
65666         (fchmod): Likewise.
65667         (fchown): Likewise.
65668         (ftruncate): Likewise.
65669         (getrusage): Likewise.
65670         (gettimeofday): Likewise.
65671         (setpgid): Likewise.
65672         (setregid): Likewise.
65673         (setreuid): Likewise.
65674         (sigaction): Likewise.
65675         (truncate): Likewise.
65676         (vhangup): Likewise.
65677         * sysdeps/unix/common/syscalls.list: Remove file.
65678         * sysdeps/unix/bsd/Implies: Don't include unix/common.
65679         * sysdeps/unix/sysv/linux/Implies: Likewise.
65681 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
65683         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
65684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
65685         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
65686         Moved to ...
65687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
65688         Here.
65689         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
65690         to ...
65691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
65692         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
65693         to ...
65694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
65695         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
65696         to ...
65697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
65698         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
65699         to ...
65700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
65701         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
65702         to ...
65703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
65704         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
65705         to ...
65706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
65707         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
65708         to ...
65709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65710         Here.
65711         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
65712         to ...
65713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
65714         Here.
65715         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
65716         to ...
65717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
65718         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
65719         Moved to ...
65720         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
65721         Here.
65722         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
65723         to ...
65724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
65726 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65728         * sysdeps/unix/common/bits/dirent.h: Remove file.
65729         * sysdeps/unix/common/bits/fcntl.h: Likewise.
65731         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
65732         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
65733         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
65734         * sysdeps/unix/bsd/isatty.c: Likewise.
65735         * sysdeps/unix/bsd/tcdrain.c: Likewise.
65736         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
65737         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
65739 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65741         [BZ #13563]
65742         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
65743         long double comparison inaccuracies.
65744         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
65745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65747 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
65749         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
65750         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
65752 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
65754         [BZ #14049]
65755         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
65756         nonzero digits before rounding a hex value.
65757         * stdlib/tst-strtod.c (tests): Add another test.
65759 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65761         * sysdeps/s390/fpu/libm-test-ulps: Update.
65763 2012-05-03  Andreas Jaeger  <aj@suse.de>
65765         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
65766         does not get optimized out.
65767         (malloc_opt_barrier): New.
65769 2012-05-03  Andreas Jaeger  <aj@suse.de>
65770             Roland McGrath  <roland@hack.frob.com>
65772         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
65773         intermediate file deletion.
65774         (generated): Add .symlist files.
65776 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
65778         [BZ #13775]
65779         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
65780         Redirect under this condition.
65781         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65782         [__USE_GNU] (__dprintf_chk): Not under this condition.
65783         [__USE_GNU] (__vdprintf_chk): Likewise.
65784         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
65785         under this condition.
65786         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
65787         [__USE_XOPEN2K8] (dprintf): Define under this condition.
65788         [__USE_XOPEN2K8] (vdprintf): Likewise.
65789         [__USE_GNU] (__dprintf_chk): Not under this condition.
65790         [__USE_GNU] (__vdprintf_chk): Likewise.
65791         [__USE_GNU] (dprintf): Likewise.
65792         [__USE_GNU] (vdprintf): Likewise.
65794 2012-05-03  Roland McGrath  <roland@hack.frob.com>
65796         * elf/Makefile (common-generated): Set this instead of generated for
65797         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
65798         $(all-built-dso)-derived lists.
65800 2012-05-03  Andreas Jaeger  <aj@suse.de>
65802         * sysdeps/i386/fpu/libm-test-ulps: Update.
65804         * FAQ: Removed.
65805         * FAQ.in: Likewise.
65806         * scripts/gen-FAQ.pl: Likewise.
65807         * manual/install.texi (Installation): Point to online location of
65808         FAQ.
65809         * Makefile (files-for-dist): Remove FAQ.
65810         (FAQ): Remove.
65812 2012-05-02  Allan McRae  <allan@archlinux.org>
65814         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
65815         (LDFLAGS-reldepmod5.so): Likewise.
65816         (LDFLAGS-reldep6mod1.so): Likewise.
65817         (LDFLAGS-reldep6mod4.so): Likewise.
65818         (LDFLAGS-reldep8mod3.so): Likewise.
65819         (LDFLAGS-unload4mod1.so): Likewise.
65820         (LDFLAGS-unload4mod2.so): Likewise.
65821         (LDFLAGS-tst-initorder): Likewise.
65822         (LDFLAGS-tst-initordera2.so): Likewise.
65823         (LDFLAGS-tst-initordera3.so): Likewise.
65824         (LDFLAGS-tst-initordera4.so): Likewise.
65825         (LDFLAGS-tst-initorderb2.so): Likewise.
65826         (LDFLAGS-noload): Likewise.
65827         (LDFLAGS-next): Likewise.
65828         (LDFLAGS-order2mod1.so): Likewise.
65829         (LDFLAGS-order2mod2.so): Likewise.
65830         (LDFLAGS-tst-initorder2): Likewise.
65831         (LDFLAGS-tst-initorder2a.so): Likewise.
65832         (LDFLAGS-tst-initorder2b.so): Likewise.
65833         (LDFLAGS-tst-initorder2c.so): Likewise.
65834         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
65836 2012-05-02  David S. Miller  <davem@davemloft.net>
65838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65840 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
65842         [BZ #14055]
65843         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
65845 2012-05-02  Andreas Jaeger  <aj@suse.de>
65847         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
65848         since we manipulate rounding mode.
65849         (CPPFLAGS-test-idouble.c): Likewise.
65850         (CPPFLAGS-test-ifloat.c): Likewise.
65851         (CFLAGS-test-ldouble.c): Likewise.
65852         (CFLAGS-test-double.c): Likewise.
65853         (CFLAGS-test-float.c): Likewise.
65854         (CFLAGS-test-misc.c): Likewise.
65855         (CFLAGS-test-test-fenv.c): Likewise.
65857 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65859         [BZ #2550]
65860         [BZ #2570]
65861         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
65862         comparisons to determine direction to adjust input.
65864 2012-05-01  Roland McGrath  <roland@hack.frob.com>
65866         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
65867         output to the target.
65869         * scripts/localplt.awk: New file.
65870         * elf/Makefile ($(objpfx)check-localplt): Target removed.
65871         (check-localplt-CFLAGS): Variable removed.
65872         ($(all-built-dso:=.jmprel)): New static pattern rule.
65873         (generated): Add those targets.
65874         (localplt-built-dso): New variable.
65875         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
65877         * elf/check-localplt.c: File removed.
65879         * scripts/check-execstack.awk: New file.
65880         * elf/Makefile ($(objpfx)check-execstack): Target removed.
65881         (check-execstack-CFLAGS): Variable removed.
65882         ($(objpfx)check-execstack.h): Target removed.
65883         ($(objpfx)execstack-default): New target.
65884         (generated): Add that instead of check-execstack.h.
65885         ($(all-built-dso:=.phdr)): New static pattern rule.
65886         (generated): Add those targets.
65887         * elf/check-execstack.c: File removed.
65889         * scripts/check-textrel.awk: New file.
65890         * elf/Makefile ($(objpfx)check-textrel): Target removed.
65891         (check-textrel-CFLAGS): Variable removed.
65892         (all-built-dso): Use := to define.o
65893         ($(all-built-dso:=.dyn)): New static pattern rule.
65894         (generated): Add those targets.
65895         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
65896         * config.make.in (READELF): New substituted variable.
65897         * elf/check-textrel.c: File removed.
65899 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
65901         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
65902         allow.
65903         * conform/data/ctype.h-data [C99-based standards] (isblank):
65904         Expect function.
65905         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
65906         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
65907         [ISO || ISO99 || ISO11] (*_t): Do not allow.
65908         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
65909         Specify type.  Require positive value.
65910         (EILSEQ): Likewise.
65911         (ERANGE): Likewise.
65912         [ISO || POSIX] (EILSEQ): Do not expect.
65913         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
65914         Specify type.  Require positive value.
65915         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
65916         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
65917         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
65918         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
65919         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
65920         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
65921         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
65922         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
65923         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
65924         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
65925         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
65926         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
65927         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
65928         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
65929         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
65930         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
65931         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
65932         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
65933         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
65934         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
65935         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
65936         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
65937         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
65938         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
65939         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
65940         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
65941         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
65942         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
65943         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
65944         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
65945         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
65946         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
65947         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
65948         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
65949         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
65950         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
65951         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
65952         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
65953         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
65954         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
65955         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
65956         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
65957         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
65958         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
65959         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
65960         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
65961         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
65962         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
65963         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
65964         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
65965         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
65966         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
65967         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
65968         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
65969         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
65970         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
65971         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
65972         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
65973         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
65974         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
65975         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
65976         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
65977         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
65978         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
65979         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
65980         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
65981         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
65982         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
65983         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
65984         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
65985         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
65986         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
65987         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
65988         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
65989         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
65990         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
65991         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
65992         Require >= 2.
65993         (FLT_ROUNDS): Expect as macro, not constant.
65994         (FLT_MANT_DIG): Use macro-int-constant.
65995         (DBL_MANT_DIG): Likewise.
65996         (LDBL_MANT_DIG): Likewise.
65997         (FLT_DIG): Likewise.
65998         (DBL_DIG): Likewise.
65999         (LDBL_DIG): Likewise.
66000         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66001         (DBL_MIN_EXP): Likewise.
66002         (LDBL_MIN_EXP): Likewise.
66003         (FLT_MAX_EXP): Use macro-int-constant.
66004         (DBL_MAX_EXP): Likewise.
66005         (LDBL_MAX_EXP): Likewise.
66006         (FLT_MAX_10_EXP): Likewise.
66007         (DBL_MAX_10_EXP): Likewise.
66008         (LDBL_MAX_10_EXP): Likewise.
66009         (FLT_MAX): Use macro-constant.
66010         (DBL_MAX): Likewise.
66011         (LDBL_MAX): Likewise.
66012         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66013         (DBL_EPSILON): Likewise.
66014         (LDBL_EPSILON): Likewise.
66015         (FLT_MIN): Likewise.
66016         (DBL_MIN): Likewise.
66017         (LDBL_MIN): Likewise.
66018         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66019         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66020         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66021         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66022         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66023         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66024         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66025         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66026         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66027         [ISO11] (FLT_TRUE_MIN): Likewise.
66028         [ISO11] (LDBL_TRUE_MIN): Likewise.
66029         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66030         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66031         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66032         (SCHAR_MAX): Likewise.
66033         (UCHAR_MAX): Likewise.
66034         (CHAR_MIN): Likewise.
66035         (CHAR_MAX): Likewise.
66036         (MB_LEN_MAX): Use macro-int-constant.
66037         (SHRT_MIN): Use macro-int-constant.  Specify type.
66038         (SHRT_MAX): Likewise.
66039         (USHRT_MAX): Likewise.
66040         (INT_MAX): Likewise.
66041         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66042         bound negative.
66043         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66044         bound with "U".
66045         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66046         bound with "L".
66047         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66048         bound negative.  Suffix upper bound with "L".
66049         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66050         bound with "UL".
66051         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66052         Specify type.
66053         [C99-based standards] (LLONG_MAX): Likewise.
66054         [C99-based standards] (ULLONG_MAX): Likewise.
66055         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66056         == 0.
66057         [ISO11] (max_align_t): Require type.
66058         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66060         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66061         from $CFLAGS, without defining away __attribute__ calls.
66062         (checknamespace): Use $CFLAGS_namespace.
66064         * conform/conformtest.pl (@keywords): Only include C99 keywords
66065         for standards based on C99 or C11.
66067         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66068         Disable tests.
66069         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66070         UNIX98]: Likewise.
66072         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66073         usability of symbols in #if.
66075         * conform/conformtest.pl: If macro or constant types start
66076         "promoted:", expect the symbol to be of the following type
66077         promoted by the integer promotions.
66079         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66080         in one place.  Also handle "macro-constant".
66082         * conform/conformtest.pl: Only accept expected macro values with
66083         "==".  Parse all "macro" lines in one place.
66084         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66086         * conform/conformtest.pl: Handle braced types on "constant" lines
66087         instead of handling "typed-constant".
66088         * conform/data/signal.h-data: Use "constant" instead of
66089         "typed-constant".
66091         * conform/conformtest.pl: Handle "optional-" at start of lines in
66092         one place rather than duplicating several cases.  Handle each
66093         format of "macro" line with initial "optional-".
66095         * conform/conformtest.pl: Only accept expected constant or
66096         optional-constant values with "==".  Parse all "constant" lines in
66097         one place.  Parse all "optional-constant" lines in one place.
66098         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66099         * conform/data/fmtmsg.h-data: Likewise.
66100         * conform/data/netinet/in.h-data: Likewise.
66101         * conform/data/tar.h-data: Likewise.
66102         * conform/data/limits.h-data: Use "==" form on "constant" and
66103         "optional-constant" lines.
66105         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66106         Use -std=c99 for XOPEN2K.
66107         (@knownproblems): Remove.
66108         (newtoken): Don't check %isknown.
66110         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66111         Do not expect macro.
66112         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66113         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66114         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66115         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66116         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66117         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66118         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66119         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66120         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66121         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66122         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66123         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66124         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66125         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66126         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66127         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66128         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66129         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66130         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66131         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66132         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66134         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66135         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66136         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66137         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66138         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66139         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66140         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66141         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66142         [XPG3] (acosh): Likewise.
66143         [XPG3] (asinh): Likewise.
66144         [XPG3] (atanh): Likewise.
66145         [XPG3] (cbrt): Likewise.
66146         [XPG3] (expm1): Likewise.
66147         [XPG3] (ilogb): Likewise.
66148         [XPG3] (log1p): Likewise.
66149         [XPG3] (logb): Likewise.
66150         [XPG3] (nextafter): Likewise.
66151         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66152         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66153         [XPG3] (remainder): Likewise.
66154         [XPG3] (rint): Likewise.
66155         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66156         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66157         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66158         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66159         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66160         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66161         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66162         [UNIX98 || XOPEN2K] (scalb): Expect.
66163         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
66164         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
66165         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
66166         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
66167         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
66168         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
66169         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
66170         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
66171         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
66172         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
66173         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
66174         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
66175         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
66176         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
66177         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
66178         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
66179         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
66180         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
66181         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
66182         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
66183         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
66184         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
66185         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
66186         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
66187         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
66188         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
66189         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
66190         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
66191         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
66192         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
66193         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
66194         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
66195         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
66196         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
66197         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
66198         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
66199         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
66200         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
66201         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
66202         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
66203         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
66204         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
66205         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
66206         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
66207         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
66208         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
66209         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
66210         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
66211         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
66212         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
66213         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
66214         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
66215         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
66216         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
66217         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
66218         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
66219         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
66220         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
66221         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
66222         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
66223         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
66224         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
66225         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
66226         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
66227         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
66228         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
66229         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
66230         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
66231         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
66232         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
66233         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
66234         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
66235         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
66236         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
66237         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
66238         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
66239         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
66240         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
66241         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
66242         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
66243         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
66244         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
66245         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
66246         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
66247         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
66248         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
66249         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
66250         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
66251         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
66252         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
66253         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
66254         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
66255         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
66256         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
66257         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
66258         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
66259         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
66260         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
66261         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
66262         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
66263         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
66264         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
66265         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
66266         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
66267         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
66268         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
66269         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
66270         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
66271         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
66272         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
66273         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
66274         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
66275         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
66276         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
66277         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
66278         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
66279         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
66280         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
66281         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
66282         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
66283         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
66284         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
66285         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
66286         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
66287         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
66288         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
66289         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
66290         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
66291         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
66292         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
66293         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
66294         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
66295         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
66296         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
66297         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
66298         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
66299         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
66301         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
66302         _XOPEN_SOURCE_EXTENDED for XPG4.
66304         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
66306         * Makeconfig (localtime): Remove variable.
66307         (inst_localtime-file): Likewise.
66309 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
66312         Update.
66313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66314         Update.
66315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
66316         Update.
66317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
66318         Update.
66319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
66320         Update.
66321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
66322         Update.
66323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
66324         Update.
66325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
66326         Update.
66327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66328         Update.
66330 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66332         [BZ #2550]
66333         [BZ #2570]
66334         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
66335         comparisons to determine direction to adjust input.
66336         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
66337         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
66338         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
66339         Likewise.
66340         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
66341         Likewise.
66342         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
66343         Likewise.
66344         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
66345         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
66346         Likewise.
66347         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
66348         Likewise.
66349         * math/libm-test.inc (nexttoward_test): Add more tests.
66351 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
66353         [BZ #14040]
66354         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
66355         in version GLIBC_2.1, not GLIBC_2.0.
66356         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
66357         Likewise.
66359 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
66361         [BZ #13942]
66362         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
66363         (1 - x) * (1 + x).
66364         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66365         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
66366         * math/libm-test.inc (acos_test): Add more tests.
66367         (asin_test): Likewise.
66368         * sysdeps/i386/fpu/libm-test-ulps: Update.
66369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66371         [BZ #14034]
66372         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
66373         of square root.
66374         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
66375         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
66376         * math/libm-test.inc (acos_test_tonearest): New function.
66377         (acos_test_towardzero): Likewise.
66378         (acos_test_downward): Likewise.
66379         (acos_test_upward): Likewise.
66380         (asin_test_tonearest): Likewise.
66381         (asin_test_towardzero): Likewise.
66382         (asin_test_downward): Likewise.
66383         (asin_test_upward): Likewise.
66384         (main): Call the new functions.
66385         * sysdeps/i386/fpu/libm-test-ulps: Update.
66386         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66388         [BZ #13884]
66389         [BZ #13924]
66390         * math/e_exp10.c: Include <float.h>.
66391         (__ieee754_exp10): Handle underflow here rather than multiplying
66392         large negative argument by M_LN10.
66393         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
66394         of __ieee754_expf.
66395         * math/e_exp10l.c: Include <float.h>.
66396         (__ieee754_exp10l): Handle underflow here rather than multiplying
66397         large negative argument by M_LN10l.
66398         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
66399         spurious overflow exception on underflow.
66401 2012-04-29  Marek Polacek  <polacek@redhat.com>
66403         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
66404         (__fortify_function): New macro.
66405         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
66406         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
66407         __extern_always_inline.
66408         * libio/bits/stdio2.h: Likewise.
66409         * libio/bits/stdio.h: Likewise.
66410         * string/string.h: Likewise.
66411         * string/bits/string3.h: Likewise.
66412         * include/stdio.h: Likewise.
66413         * stdlib/bits/stdlib.h: Likewise.
66414         * stdlib/stdlib.h: Likewise.
66415         * rt/bits/mqueue2.h: Likewise.
66416         * rt/mqueue.h: Likewise.
66417         * posix/bits/unistd.h: Likewise.
66418         * posix/unistd.h: Likewise.
66419         * io/bits/poll2.h: Likewise.
66420         * io/bits/fcntl2.h: Likewise.
66421         * io/fcntl.h: Likewise.
66422         * io/sys/poll.h: Likewise.
66423         * misc/bits/syslog.h: Likewise.
66424         * misc/bits/syslog-ldbl.h: Likewise.
66425         * misc/sys/syslog.h: Likewise.
66426         * socket/bits/socket2.h: Likewise.
66427         * socket/sys/socket.h: Likewise.
66428         * debug/tst-chk1.c: Likewise.
66429         * wcsmbs/bits/wchar2.h: Likewise.
66430         * wcsmbs/bits/wchar-ldbl.h: Likewise.
66431         * wcsmbs/wchar.h: Likewise.
66433 2012-04-29  Andreas Jaeger  <aj@suse.de>
66435         * Makerules (tests): Remove enable-check-abi protection.
66436         (check-abi-warn): Remove.
66437         (check-abi-%): Remove check-abi-warn usage.
66439         * configure.in: Remove check-abi configure option.
66440         * configure: Regenerated.
66441         * config.make.in (enable-check-abi): Remove.
66443 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
66445         [BZ #14033]
66446         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
66447         double functions to double *_finite functions.
66449         [BZ #13941]
66450         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
66451         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
66452         LDBL_MIN_EXP.
66453         * stdio-common/Makefile (tests): Add tst-sprintf3.
66454         * stdio-common/tst-sprintf3.c: New file.
66456         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
66457         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
66459 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66461         * conform/conformtest.pl: Remove duplicate typed-constant
66462         handling.
66464 2012-04-28  David S. Miller  <davem@davemloft.net>
66466         * Makerules (%.abilist): Add vpath on sysdep_dirs.
66467         (check-abi-%): Remove AWK script prerequisite and explicit
66468         abilist directory.
66469         (check-abi): Rewrite to just diff the symlist with the abilist.
66470         (config-tls, config-abi-config): Delete, no longer used.
66471         (update-abi-%): Remove AWK script and explicit abilist directory.
66472         (update-abi): Rewrite to simply compare and conditionally copy the
66473         symlist and the sysdep abilist file.  Remove update-abi-config
66474         checks.
66475         * abilist/ld.abilist: Remove.
66476         * abilist/libBrokenLocale.abilist: Remove.
66477         * abilist/libanl.abilist: Remove.
66478         * abilist/libcrypt.abilist: Remove.
66479         * abilist/libdl.abilist: Remove.
66480         * abilist/librt.abilist: Remove.
66481         * abilist/libthread_db.abilist: Remove.
66482         * abilist/libutil.abilist: Remove.
66483         * scripts/extract-abilist.awk: Remove.
66484         * scripts/merge-abilist.awk: Remove.
66485         * sysdeps/generic/libcidn.abilist: New file.
66486         * sysdeps/generic/libnss_compat.abilist: New file.
66487         * sysdeps/generic/libnss_db.abilist: New file.
66488         * sysdeps/generic/libnss_dns.abilist: New file.
66489         * sysdeps/generic/libnss_files.abilist: New file.
66490         * sysdeps/generic/libnss_hesiod.abilist: New file.
66491         * sysdeps/generic/libnss_nis.abilist: New file.
66492         * sysdeps/generic/libnss_nisplus.abilist: New file.
66493         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
66494         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
66495         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
66496         file.
66497         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
66498         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
66499         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
66500         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
66501         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
66502         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
66503         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
66504         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
66505         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
66506         file.
66507         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
66508         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
66509         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
66510         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
66511         file.
66512         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
66513         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
66514         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
66515         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
66516         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
66517         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
66518         file.
66519         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
66520         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
66521         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
66522         file.
66523         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
66524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
66525         New file.
66526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
66527         New file.
66528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
66529         New file.
66530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
66531         New file.
66532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
66533         New file.
66534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
66535         New file.
66536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
66537         New file.
66538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
66539         New file.
66540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
66541         New file.
66542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
66543         New file.
66544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
66545         New file.
66546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
66547         New file.
66548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
66549         New file.
66550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
66551         file.
66552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
66553         New file.
66554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
66555         New file.
66556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
66557         file.
66558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
66559         New file.
66560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
66561         New file.
66562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
66563         file.
66564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
66565         New file.
66566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
66567         New file.
66568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
66569         New file.
66570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
66571         New file.
66572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
66573         New file.
66574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
66575         New file.
66576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
66577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
66578         file.
66579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
66580         New file.
66581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
66582         file.
66583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
66584         file.
66585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
66586         file.
66587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
66588         file.
66589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
66590         file.
66591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
66592         New file.
66593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
66594         file.
66595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
66596         file.
66597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
66598         New file.
66599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
66600         file.
66601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
66602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
66603         file.
66604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
66605         New file.
66606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
66607         file.
66608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
66609         file.
66610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
66611         file.
66612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
66613         file.
66614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
66615         file.
66616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
66617         New file.
66618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
66619         file.
66620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
66621         file.
66622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
66623         New file.
66624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
66625         file.
66626         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66627         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
66628         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
66629         file.
66630         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
66631         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
66632         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
66633         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
66634         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
66635         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
66636         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
66637         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
66638         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
66639         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
66640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
66641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
66642         file.
66643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
66644         New file.
66645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
66646         file.
66647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
66648         file.
66649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
66650         file.
66651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
66652         file.
66653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
66654         file.
66655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
66656         New file.
66657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
66658         New file.
66659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
66660         file.
66661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
66662         New file.
66663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
66664         file.
66665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
66666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
66667         file.
66668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
66669         New file.
66670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
66671         file.
66672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
66673         file.
66674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
66675         file.
66676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
66677         file.
66678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
66679         file.
66680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
66681         New file.
66682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
66683         New file.
66684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
66685         file.
66686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
66687         New file.
66688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
66689         file.
66691 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
66693         * conform/conformtest.pl: Fix typo in handling typed-constant from
66694         allow-header.
66696 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66698         * README: Cut down references to pre-2.6 Linux kernels and
66699         Linuxthreads.  Update lists of configurations in libc and ports
66700         and sort alphabetically.  Say "or newer" with Linux kernel version
66701         requirements.
66703         * config.h.in [IS_IN_build]: Allow compiling without optimization.
66705 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66707         [BZ #887]
66708         * math/libm-test.inc (logb_test_downward): New test to expose
66709         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
66710         rounding mode.
66712 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
66714         [BZ #14027]
66715         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
66716         to be done.
66717         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
66718         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
66720 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
66722         * sysdeps/unix/i386/brk.S: Remove file.
66723         * sysdeps/unix/i386/dl-brk.S: Likewise.
66724         * sysdeps/unix/i386/pipe.S: Likewise.
66725         * sysdeps/unix/i386/sigreturn.S: Likewise.
66726         * sysdeps/unix/i386/syscall.S: Likewise.
66727         * sysdeps/unix/i386/vfork.S: Likewise.
66728         * sysdeps/unix/i386/wait.S: Likewise.
66730         * sysdeps/unix/common/tcsendbrk.c: Move to ...
66731         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
66733         * configure.in (arm*-none*): Do not allow without
66734         --enable-hacker-mode.
66735         (netbsd*): Remove case setting base_os.
66736         (386bsd*): Likewise.
66737         (freebsd*): Likewise.
66738         (bsdi*): Likewise.
66739         (osf*): Likewise.
66740         (sunos*): Likewise.
66741         (ultrix*): Likewise.
66742         (newsos*): Likewise.
66743         (dynix*): Likewise.
66744         (*bsd*): Likewise.
66745         (sysv*): Likewise.
66746         (isc*): Likewise.
66747         (esix*): Likewise.
66748         (sco*): Likewise.
66749         (minix*): Likewise.
66750         (irix4*): Likewise.
66751         (irix6*): Likewise.
66752         (solaris[2-9]*): Likewise.
66753         (none): Likewise.
66754         * configure: Regenerated.
66756 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66758         [BZ #11521]
66759         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
66760         overflow or cancellation in calculating denominator.
66761         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
66762         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
66763         down expression to avoid unexpected rounding in newer GCCs.
66764         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
66766 2012-04-26  David S. Miller  <davem@davemloft.net>
66768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
66769         long-double compat symbols.
66770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
66771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
66772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
66773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
66774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
66775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
66776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
66777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
66778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
66779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
66780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
66781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
66782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
66784 2012-04-25  David S. Miller  <davem@davemloft.net>
66786         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
66787         HWCAP_* values only after the memory barriers have been defined.
66788         (atomic_full_barrier): Define.
66789         (atomic_read_barrier): Define.
66790         (atomic_write_barrier): Define.
66792 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66794         * shlib-versions: Add libgcc_s version information.
66795         * sysdeps/generic/libgcc_s.h: Remove.
66796         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
66797         libgcc_s.h.
66798         * sysdeps/gnu/unwind-resume.c: Likewise.
66799         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
66801 2012-04-25  David S. Miller  <davem@davemloft.net>
66803         * sysdeps/unix/sparc/brk.S: Delete.
66804         * sysdeps/unix/sparc/dl-brk.S: Delete.
66805         * sysdeps/unix/sparc/pipe.S: Delete.
66806         * sysdeps/unix/sparc/sysdep.S: Delete.
66807         * sysdeps/unix/sparc/sysdep.h: Delete.
66808         * sysdeps/unix/sparc/vfork.S: Delete.
66809         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
66810         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
66811         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
66812         (ret_ERRVAL, r0, r1, MOVE): Define.
66813         (JUMPTARGET): Remove.
66814         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
66815         sysdeps/unix/sparc/sysdep.h
66816         (ENTRY, END): Remove.
66817         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
66819 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
66821         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
66822         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
66823         -DIS_IN_build.
66825         * timezone/README: Update upstream location and email address for
66826         tzcode and tzdata.
66827         * timezone/zdump.c: Update from tzcode 2012b.
66828         * timezone/zic.c: Likewise.
66830         * configure.in (libc_cv_as_needed): Remove test.
66831         * configure: Regenerated.
66832         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
66833         conditional definition.
66834         [$(have-as-needed) != yes] (no-as-needed): Likewise.
66835         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
66836         * config.make.in (have-as-needed): Remove variable.
66838 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66839             Paul Pluzhnikov  <ppluzhnikov@google.com>
66841         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
66842         strings correctly.
66844 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
66846         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
66847         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
66848         * sysdeps/sh/strlen.S: Likewise.
66850 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66852         * sysdeps/unix/fork.S: Remove file.
66853         * sysdeps/unix/i386/fork.S: Likewise.
66854         * sysdeps/unix/sparc/fork.S: Likewise.
66856         * sysdeps/unix/system.c: Remove file.
66857         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
66859         * sysdeps/unix/getegid.S: Remove file.
66860         * sysdeps/unix/geteuid.S: Likewise.
66862 2012-04-24  Roland McGrath  <roland@hack.frob.com>
66864         * scripts/check-localplt.awk: New file.
66865         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
66866         of diff.
66867         * scripts/data/localplt-generic.data: Add a comment.
66869         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
66870         NODE when __dir_mkfile failed.
66871         * sysdeps/mach/hurd/symlinkat.c: Likewise.
66872         Reported by Ludovic Courtès <ludo@gnu.org>.
66874 2012-04-24  Andreas Jaeger  <aj@suse.de>
66876         * Makerules (common-clean): Also remove gen-as-const-headers
66877         files.
66879 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66881         * Makerules (native-compile): Do not change working directory for
66882         build.  Use $(OUTPUT_OPTION) in command.
66883         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
66885 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66887         [BZ #13886]
66888         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
66889         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
66890         * math/libm-test.inc (floor_test): Add more tests.
66891         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
66893 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
66895         * sysdeps/unix/getdents.c: Remove file.
66896         * sysdeps/unix/sysv/getdents.c: Likewise.
66897         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
66899         * sysdeps/unix/syscalls.list (madvise): Add syscall from
66900         sysdeps/unix/mman/syscalls.list.
66901         (mmap): Likewise.
66902         (mprotect): Likewise.
66903         (msync): Likewise.
66904         (munmap): Likewise.
66905         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
66906         * sysdeps/unix/mman/syscalls.list: Remove.
66907         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
66909         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
66910         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
66911         * configure: Regenerated.
66912         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
66913         $(libgcc_s_suffix).
66914         * config.make.in (libgcc_s_suffix): Remove variable.
66916 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
66918         * sysdeps/unix/sysv/gethostname.c: Move to ...
66919         * sysdeps/posix/gethostname.c: ... here.
66921         * sysdeps/unix/execve.S: Remove file.
66923         * sysdeps/unix/_exit.S: Remove file.
66925 2012-04-23  Andreas Jaeger  <aj@suse.de>
66927         [BZ #13739]
66928         * manual/Makefile: Remove make dist support, there's no
66929         need for a stand-alone documentation tar ball.
66930         (TEXI2DVI): Define always, it's not in Makeconfig.
66931         (dist): Removed.
66932         (tar-it): Removed.
66933         (edition): Removed.
66934         (glibc-doc-$(edition).tar): Removed
66935         (%.Z): Removed.
66936         (%.gz): Removed.
66937         (%.uu): Removed.
66938         (ETAGS): Remove, it's in Makeconfig.
66939         (move-if-change): Remove, it's in Makeconfig.
66941 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
66943         [BZ #13970]
66944         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
66945         (strtod, strtof, strtold, strtol, strtoul, strtoq)
66946         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
66947         (strtod_l, strtof_l, strtold_l): Remove __wur.
66948         It is not necessarily an error to ignore strtol's return value.
66949         One can reliably look at the stored endptr to decide whether
66950         the number had valid syntax.
66952 2012-04-21  Andreas Jaeger  <aj@suse.de>
66954         [BZ #13739]
66955         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
66957 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
66959         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
66960         * sysdeps/unix/sysv/Versions: Remove file.
66962 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
66964         [BZ #13927]
66965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66967 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
66969         [BZ #7064]
66970         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
66971         version from __vm86.
66973 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
66975         * sysdeps/unix/common/lxstat.c: Remove file.
66976         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
66978         * sysdeps/unix/sysv/Makefile: Remove file.
66980         * sysdeps/unix/sysv/direct.h: Remove file.
66982         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
66983         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
66984         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
66985         * sysdeps/unix/sysv/bits/signum.h: Likewise.
66986         * sysdeps/unix/sysv/bits/stat.h: Likewise.
66987         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
66988         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
66990         * sysdeps/unix/sysv/setrlimit.c: Remove file.
66992         * sysdeps/unix/xmknod.c: Remove file.
66993         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
66995         * sysdeps/unix/sysv/settimeofday.c: Remove file.
66997         * sysdeps/unix/sysv/i386/time.S: Remove file.
66999         * sysdeps/unix/fxstat.c: Remove file.
67000         * sysdeps/unix/xstat.c: Likewise.
67001         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67003         * sysdeps/unix/sysv/sigaction.c: Remove file.
67005         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67006         (sysdep_headers): Remove variable.
67007         [termio.h not in sysdep_headers] (generated): Likewise.
67008         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67009         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67010         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67011         * sysdeps/unix/sysv/tcflow.c: Likewise.
67012         * sysdeps/unix/sysv/tcflush.c: Likewise.
67013         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67014         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67015         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67016         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67017         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67019         * sysdeps/unix/siglist.c: Remove file.
67021         * sysdeps/unix/getppid.S: Remove file.
67023         * sysdeps/unix/mkdir.c: Remove file.
67024         * sysdeps/unix/rmdir.c: Likewise.
67026 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67028         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67029         ERR_MAX value.
67030         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67031         errlist-compat value.
67033 2012-04-18  David S. Miller  <davem@davemloft.net>
67035         * sysdeps/generic/memcopy.h (reg_char): Delete.
67036         * debug/strcat_chk.c: Use char, not reg_char.
67037         * debug/strcpy_chk.c: Likewise.
67038         * debug/strncat_chk.c: Likewise.
67039         * debug/strncpy_chk.c: Likewise.
67040         * string/memchr.c: Likewise.
67041         * string/memrchr.c: Likewise.
67042         * string/rawmemchr.c: Likewise.
67043         * string/strcat.c: Likewise.
67044         * string/strchr.c: Likewise.
67045         * string/strchrnul.c: Likewise.
67046         * string/strcmp.c: Likewise.
67047         * string/strcpy.c: Likewise.
67048         * string/strncat.c: Likewise.
67049         * string/strncmp.c: Likewise.
67050         * string/strncpy.c: Likewise.
67052 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67054         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67055         __builtin_memcopy is called when src and dest ranges are known to not
67056         overlap.
67058 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67060         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67061         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67062         fwd_align_merge macro call.
67063         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67064         bwd_align_merge macro call.
67065         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67067 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67069         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67070         bwd_align_merge macros.
67071         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67072         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67073         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67075 2012-04-18  David S. Miller  <davem@davemloft.net>
67077         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67079 2012-04-18  Andreas Jaeger  <aj@suse.de>
67081         [BZ# 6794]
67082         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67083         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67084         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67086         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67087         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67088         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67090         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67091         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67092         Adjust for changed ldbl-128 files.
67094         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67095         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67096         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67098 2012-04-17  David S. Miller  <davem@davemloft.net>
67100         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67102 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67104         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67105         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67106         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67107         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67108         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67109         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67111 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67113         [BZ #6794]
67114         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67115         * math/libm-test.inc: Add ilogb errno and exception tests.
67116         * math/w_ilogb.c: New file: ilogb wrapper.
67117         * math/w_ilogbf.c: New file: ilogbf wrapper.
67118         * math/w_ilogbl.c: New file: ilogbl wrapper.
67119         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67120         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67121         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67122         exception being thrown with 0.0 as argument.
67123         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67124         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67125         exception being thrown with 0.0 as argument.
67126         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67127         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67128         exception being thrown with 0.0 as argument.
67129         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67130         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67131         exception being thrown with 0.0 as argument.
67132         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67133         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67134         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67135         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67136         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67137         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67138         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67139         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67140         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67142 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67144         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67145         with altivec.
67147 2012-04-16  Marek Polacek  <polacek@redhat.com>
67149         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67151 2012-04-16  Marek Polacek  <polacek@redhat.com>
67153         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67154         operands of fdivp instruction.
67156 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67158         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67159         * elf/tst-auditmod3b.c: Likewise.
67160         * elf/tst-auditmod4b.c: Likewise.
67161         * elf/tst-auditmod5b.c: Likewise.
67162         * elf/tst-auditmod6b.c: Likewise.
67163         * elf/tst-auditmod6c.c: Likewise.
67164         * elf/tst-auditmod7b.c: Likewise.
67165         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
67166         * sysdeps/x86_64/preconfigure.in: Likewise.
67167         * sysdeps/x86_64/preconfigure: Regenerated.
67169 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67171         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
67172         __ILP32__.
67174 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
67176         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
67177         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
67179 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
67181         [BZ #13973]
67182         * locale/iso-639.def: Fix gl language name. Spotted by
67183         Yaron Shahrabani.
67185 2012-04-12  Roland McGrath  <roland@hack.frob.com>
67187         [BZ #2074]
67188         * libio/libio.h (__io_write_fn): Update comment.
67190 2012-04-12  Petr Baudis  <pasky@ucw.cz>
67192         [BZ #2074]
67193         * stdio.texi (Hook Functions): The user provided writer function
67194         is not allowed to return -1.
67196 2012-04-11  David S. Miller  <davem@davemloft.net>
67198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67200 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
67202         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
67203         Add a leading slash to rtkaio.
67205 2012-04-11  Jim Meyering  <meyering@redhat.com>
67207         [BZ #11959]
67208         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
67209         It is not necessarily an error to ignore fwrite's return
67210         value.  One can reliably use ferror to test for errors after
67211         the fact.
67213 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67215         * bits/types.h (__snseconds_t): New type.
67216         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
67218         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
67219         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67220         (__SNSECONDS_T_TYPE): Likewise.
67221         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67222         (__SNSECONDS_T_TYPE): Likewise.
67223         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67224         (__SNSECONDS_T_TYPE): Likewise.
67226 2012-04-10  Andreas Jaeger  <aj@suse.de>
67228         [BZ #2636]
67229         * manual/time.texi (Processor Time): Return type of times is
67230         elapsed real time since an arbitrary point in the past.
67231         (CPU Time): Move CLK_TCK from here...
67232         (Processor Time): ...to here.  Correct description.
67233         * manual/conf.texi (Constants for Sysconf): Correct description of
67234         _SC_CLK_TCK.
67236 2012-04-10  David S. Miller  <davem@davemloft.net>
67238         [BZ #13967]
67239         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
67240         where the is a gap between DT_REL(A) and DT_JMPREL.
67242 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
67244         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
67245         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67246         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67248 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67250         * elf/dl-support.c (_dl_inhibit_cache): New variable.
67251         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
67252         (dl_main): Handle --inhibit-cache.
67253         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
67254         _dl_inhibit_cache.
67255         * elf/dl-load.c (_dl_map_object): Use it.
67256         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
67258 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67260         [BZ #13872]
67261         * sysdeps/i386/fpu/e_powl.S (p78): New object.
67262         (__ieee754_powl): Saturate large exponents rather than testing for
67263         overflow of y*log2(x).
67264         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
67265         * math/libm-test.inc (pow_test): Do not permit spurious overflow
67266         exceptions.
67268         [BZ #11521]
67269         * math/s_ctan.c: Include <float.h>.
67270         (__ctan): Avoid internal overflow or cancellation in calculating
67271         denominator.
67272         * math/s_ctanf.c: Likewise.
67273         * math/s_ctanl.c: Likewise.
67274         * math/s_ctanh.c: Likewise.
67275         * math/s_ctanhf.c: Likewise.
67276         * math/s_ctanhl.c: Likewise.
67277         * math/libm-test.inc (ctan_test): Add more tests.
67278         (ctanh_test): Likewise.
67279         * sysdeps/i386/fpu/libm-test-ulps: Update.
67280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67282 2012-04-09  Andreas Jaeger  <aj@suse.de>
67284         [BZ #6894]
67285         * manual/filesys.texi (Directory Entries): Mention that d_namlen
67286         is an optional BSD extension.
67288         [BZ #10254]
67289         * manual/stdio.texi (Opening Streams): Document additional fopen
67290         parameters.
67292 2012-04-09  Roland McGrath  <roland@hack.frob.com>
67294         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
67295         %eax without telling the compiler.
67297 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
67299         [BZ # 13963]
67300         * manual/install.texi: Use sourceware.org.
67302 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
67304         [BZ #13873]
67305         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
67306         (__ieee754_pow): Generate overflow and underflow using huge*huge
67307         and tiny*tiny rather than just returning constant infinity or zero
67308         for large exponents.
67309         * math/libm-test.inc (pow_test): Require overflow exceptions for
67310         applicable cases of large exponents.
67312         [BZ #706]
67313         * sysdeps/i386/fpu/e_pow.S (p10): New object.
67314         (__ieee754_pow): Use iterative multiplication algorithm only for
67315         integer exponents with absolute value below 1024.  Check for odd
67316         integer exponents when using algorithm for real exponents.
67317         * math/libm-test.inc (pow_test): Add more tests.
67318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67320 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
67322         [BZ #13705]
67323         * math/libm-test.inc (exp_test): Do not allow overflow exception
67324         on underflow test.
67326 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
67328         [BZ #13705]
67329         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
67330         instead of __kernel_standard_f.
67332 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
67334         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
67335         * sysdeps/x86_64/memset_chk.S: Likewise.
67337 2012-04-08  Andreas Jaeger  <aj@suse.de>
67339         [BZ #10153]
67340         * manual/startup.texi (Environment Access): Describe return value
67341         for putenv and setenv.
67343         [BZ #6895]
67344         * manual/filesys.texi (Directory Entries): Add description for
67345         DT_LNK.
67347         [BZ #6890]
67348         * manual/filesys.texi (Directory Entries): Clarify that it's file
67349         system not operating system in the description of DT_UNKNOWN.
67351         [BZ #6578]
67352         * manual/syslog.texi (closelog): Fix reference, it's openlog.
67354 2012-04-08  Stephen Compall  <s11@member.fsf.org>
67356         [BZ #6649]
67357         * manual/llio.texi (Opening and Closing Files): Add cross
67358         reference to explain mode argument.
67360 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
67362         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
67363         * sysdeps/x86_64/memset_chk.S: Likewise.
67365 2012-04-07  David S. Miller  <davem@davemloft.net>
67367         * elf/elf.h (R_SPARC_WDISP10): Define.
67368         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
67369         R_SPARC_SIZE32.
67370         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
67371         R_SPARC_SIZE64 and R_SPARC_H34.
67373 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
67375         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
67376         conditions and remove no longer applicable assertion.
67378 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67380         * bits/byteswap.h: Include <features.h>.
67381         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
67382         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
67384 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
67386         * bits/byteswap.h (__bswap_16): Removed.
67387         Include <bits/byteswap-16.h> to get __bswap_16.
67388         * sysdeps/i386/bits/byteswap.h: Likewise.
67389         * sysdeps/s390/bits/byteswap.h: Likewise.
67390         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67391         * bits/byteswap-16.h: New file.
67392         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67393         * sysdeps/s390/bits/byteswap-16.h: Likewise.
67394         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
67395         * string/Makefile (headers): Add bits/byteswap-16.h.
67397 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
67399         [BZ #13895]
67400         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
67401         extra indirection.
67402         * nss/Makefile (tests-static, tests): Add tst-nss-static.
67403         * nss/tst-nss-static.c: New.
67405 2012-04-06  Robert Millan  <rmh@gnu.org>
67407         [BZ #6486]
67408         * manual/llio.texi (File Position Primitive): lseek
67409         refers to WHENCE when it really means OFFSET.
67411 2012-04-06  Andreas Jaeger  <aj@suse.de>
67413         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
67414         strncmp declarations.
67416         * abilist/libc.abilist: Add __poll and __ppoll.
67418 2012-04-05  David S. Miller  <davem@davemloft.net>
67420         * scripts/check-local-headers.sh: Accept a host triplet in the
67421         path matched by the exclude regexp.
67423         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
67424         definition.
67425         * sysdeps/powerpc/powerpc32/dl-machine.h
67426         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
67427         * sysdeps/s390/s390-32/dl-machine.h
67428         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67429         * sysdeps/sparc/sparc32/dl-machine.h
67430         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67431         * sysdeps/sparc/sparc64/dl-machine.h
67432         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
67434         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
67435         lazy binding.
67436         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
67437         undefined symbol errors.
67439         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
67440         DT_NEEDED entries.
67442 2012-04-05  Michael Matz  <matz@suse.de>
67444         [BZ #13592]
67445         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
67447 2012-04-05  Andreas Jaeger  <aj@suse.de>
67449         [BZ #13908]
67450         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
67451         comment.
67453 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67455         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
67456         which ROUND is no valid rounding mode.
67458 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67460         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
67461         read again.
67462         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
67464 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67466         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
67467         an exception using FPU order intentionally.
67469 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
67471         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
67472         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
67473         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
67474         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
67476 2012-04-05  Simon Josefsson  <simon@josefsson.org>
67478         [BZ #12340]
67479         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
67480         EINVAL when BUFLEN is too smal.
67482 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
67484         [BZ #13553]
67485         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
67486         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
67488 2012-04-03  Andreas Jaeger  <aj@suse.de>
67490         [BZ #13938]
67491         * manual/setjmp.texi (System V contexts): Fix sentence.
67493         [BZ #13926]
67494         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
67495         New macro for this case.
67496         [!__GNUC__] (__bswap_64): New inline function for this case.
67497         * sysdeps/x86_64/bits/byteswap.h: Likewise.
67498         * bits/byteswap.h: Likewise.
67499         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
67500         ull, guard with __GLIBC_HAVE_LONG_LONG.
67502         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
67503         __GLIBC_HAVE_LONG_LONG.
67505         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
67506         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
67508 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
67510         [BZ #13691]
67511         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
67512         inptr and inend, rather than using last_ch.
67514 2012-04-02  David S. Miller  <davem@davemloft.net>
67516         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
67517         * stdio-common/printf-parse.h (read_int): Change return type to
67518         'int', return -1 on INT_MAX overflow.
67519         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
67520         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
67521         overflows INT_MAX.  Check for overflow of in-format-string precision
67522         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
67523         SIZE_MAX not INT_MAX for integer overflow test.
67524         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
67525         skip the construct in the format string but do not record anything.
67526         * stdio-common/bug22.c: Adjust to test both width/prevision
67527         INT_MAX overflow as well as total length INT_MAX overflow.  Check
67528         explicitly for proper errno values.
67530 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
67532         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
67533         CHAR_MAX.
67534         * string/test-strcmp.c [! WIDE]: Likewise.
67535         * time/tst-mktime2.c: Likewise for INT_MAX.
67536         * string/test-string.h: #include <sys/param.h> for MIN.
67538         * csu/init-first.c (__libc_init_first): Call __ctype_init.
67539         * sysdeps/i386/init-first.c (init): Likewise.
67540         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
67541         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
67542         * sysdeps/sh/init-first.c (init): Likewise.
67544 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
67546         * po/ru.po: Update from translation team.
67547         * po/vi.po: Likewise.
67549 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
67551         * resolv/nss_dns/dns-host.c: Merge copyright years.
67553 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67555         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
67556         Optimize memcpy with prefetch if
67557         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
67558         src, dst pointers have unequal 16 byte alignments.
67560 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67562         [BZ #13928]
67563         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
67564         from a CNAME entry and return the minimum ttl for the query.
67565         (gaih_getanswer_slice): Likewise.
67567 2012-03-30  Jeff Law  <law@redhat.com>
67569         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
67570         due to long keys.
67571         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
67572         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
67574         * resolv/nss_dns/dns-host.c: Update copyright year.
67576 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
67578         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
67579         requests to save a system call.  Fix check that all bytes are sent.
67581         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
67582         comments for sendmmsg.
67584 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
67586         [BZ #13691]
67587         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
67588         with only 1 character between 0x0041 and 0x01b0.
67589         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
67590         * wcsmbs/tst-mbsnrtowcs.c: New file.
67592 2012-03-29  David S. Miller  <davem@davemloft.net>
67594         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
67595         small copies by hand.
67597 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67599         [BZ #13761]
67600         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
67601         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
67602         group memberships.
67604 2012-03-28  David S. Miller  <davem@davemloft.net>
67606         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
67607         that branches into memcpy.
67608         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
67609         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
67610         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67611         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
67612         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
67613         bits.
67614         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
67615         implementation too.
67616         * sysdeps/sparc/mempcpy.S: New file.
67618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
67619         the IFUNC routine in the libc case.
67620         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
67622         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
67623         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
67624         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
67625         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
67626         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
67627         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
67628         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
67629         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
67631         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
67632         loop to 256 bytes instead of 64 bytes and fix test signedness.
67634         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
67635         * sysdeps/sparc/sparc32/Makefile: rather than here...
67636         * sysdeps/sparc/sparc64/Makefile: and here.
67638 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
67640         * malloc/mallocbug.c: Avoid warnings about unused variables.
67642 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
67644         [BZ #13760]
67645         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
67646         in the right place. Discard and retry query if response is
67647         larger than input buffer size.
67649 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
67651         [BZ #369]
67652         [BZ #2678]
67653         [BZ #3866]
67654         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
67655         x for large integer exponent.
67656         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
67657         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
67658         sign of result as needed afterwards.
67659         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
67660         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
67661         result for underflowing pow the same as for overflow.
67662         (__kernel_standard_l): Handle powl overflow and underflow here
67663         rather than calling __kernel_standard.
67664         * math/libm-test.inc (pow_test): Add more tests.
67666         [BZ #3868]
67667         [BZ #13879]
67668         [BZ #13910]
67669         [BZ #13911]
67670         [BZ #13912]
67671         [BZ #13913]
67672         [BZ #13915]
67673         [BZ #13916]
67674         [BZ #13917]
67675         [BZ #13918]
67676         [BZ #13919]
67677         [BZ #13920]
67678         [BZ #13921]
67679         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
67680         * sysdeps/ieee754/k_standard.c: Include <float.h>.
67681         (__kernel_standard_l): New function.
67682         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
67683         __kernel_standard.
67684         * math/w_acosl.c (__acosl): Likewise.
67685         * math/w_asinl.c (__asinl): Likewise.
67686         * math/w_atan2l.c (__atan2l): Likewise.
67687         * math/w_atanhl.c (__atanhl): Likewise.
67688         * math/w_coshl.c (__coshl): Likewise.
67689         * math/w_exp10l.c (__exp10l): Likewise.
67690         * math/w_exp2l.c (__exp2l): Likewise.
67691         * math/w_fmodl.c (__fmodl): Likewise.
67692         * math/w_hypotl.c (__hypotl): Likewise.
67693         * math/w_j0l.c (__j0l, __y0l): Likewise.
67694         * math/w_j1l.c (__j1l, __y1l): Likewise.
67695         * math/w_jnl.c (__jnl, __ynl): Likewise.
67696         * math/w_lgammal.c (__lgammal): Likewise.
67697         * math/w_log10l.c (__log10l): Likewise.
67698         * math/w_log2l.c (__log2l): Likewise.
67699         * math/w_logl.c (__logl): Likewise.
67700         * math/w_powl.c (__powl): Likewise.
67701         * math/w_remainderl.c (__remainderl): Likewise.
67702         * math/w_scalbl.c (sysv_scalbl): Likewise.
67703         * math/w_sinhl.c (__sinhl): Likewise.
67704         * math/w_sqrtl.c (__sqrtl): Likewise.
67705         * math/w_tgammal.c (__tgammal): Likewise.
67706         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
67707         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
67708         * math/libm-test.inc (acos_test): Add more tests.
67709         (acosh_test): Likewise.
67710         (asin_test): Likewise.
67711         (atanh_test): Likewise.
67712         (exp_test): Likewise.
67713         (exp10_test): Likewise.
67714         (exp2_test): Likewise.
67715         (expm1_test): Likewise.
67716         (lgamma_test): Likewise.
67717         (log_test): Likewise.
67718         (log10_test): Likewise.
67719         (log1p_test): Likewise.
67720         (log2_test): Likewise.
67721         (pow_test): Do not allow some spurious overflow exceptions.
67722         (sqrt_test): Add more tests.
67723         (tgamma_test): Likewise.
67724         (y0_test): Likewise.
67725         (y1_test): Likewise.
67726         (yn_test): Likewise.
67728 2012-03-27  Anton Blanchard  <anton@samba.org>
67730         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
67731         MAP_HUGETLB.
67732         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
67733         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
67734         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
67736 2012-03-27  David S. Miller  <davem@davemloft.net>
67738         * conform/Makefile: Run run-conformtest.sh using $(BASH).
67740         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
67741         have-as-vis3 check.
67743 2012-03-27  Andreas Jaeger  <aj@suse.de>
67745         * sysdeps/x86_64/elf/configure.in: Moved to ...
67746         * sysdeps/x86_64/configure.in: ... here.
67747         * sysdeps/x86_64/elf/start.S: Moved to ...
67748         * sysdeps/x86_64/start.S: ... here.
67749         * sysdeps/x86_64/elf/configure: Delete.
67751         * sysdeps/x86_64/configure.in: Merge contents from
67752         sysdeps/i386/configure.in (without i686 check).
67754         * sysdeps/i386/elf/Versions: Merge into ...
67755         * sysdeps/i386/Versions: ... this.
67756         * sysdeps/i386/elf/Versions: Delete file.
67757         * sysdeps/i386/elf/start.S: Moved to ...
67758         * sysdeps/i386/start.S: ...here.
67759         * sysdeps/i386/elf/configure.in: Merge into...
67760         * sysdeps/i386/configure.in: ...here.
67761         * sysdeps/i386/elf/configure.in: Delete file.
67762         * sysdeps/i386/elf/configure: Delete file.
67764         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
67765         * debug/backtracesyms.c: ... here.
67766         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
67767         * debug/backtracesymsfd.c: ... here.
67768         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
67769         * sysdeps/generic/ifunc-sel.h: ... here.
67771         * sysdeps/unix/i386/start.c: Delete file.
67772         * sysdeps/unix/sparc/start.c: Delete file.
67773         * sysdeps/unix/start.c: Delete file.
67775         * sysdeps/sh/elf/configure.in: Moved to ...
67776         * sysdeps/sh/configure.in: ... here.
67777         * sysdeps/sh/elf/start.S: Moved to ...
67778         * sysdeps/sh/start.S: ... here.
67779         * sysdeps/sh/elf/configure: Delete file.
67781         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
67782         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
67783         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
67784         * sysdeps/powerpc/powerpc64/entry.h: ... here.
67785         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
67786         * sysdeps/powerpc/powerpc64/start.S: here.
67787         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
67788         * sysdeps/powerpc/powerpc64/Makefile: ... this.
67789         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
67790         * sysdeps/powerpc/powerpc64/configure.in: ... this.
67791         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
67793         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
67794         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
67795         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
67796         * sysdeps/powerpc/powerpc32/start.S: ... here.
67797         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
67798         * sysdeps/powerpc/powerpc32/configure.in: ... this.
67799         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
67801         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
67802         * sysdeps/powerpc/ifunc-sel.h: ... here.
67803         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
67804         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
67806         * sysdeps/sparc/elf/configure.in: Moved to ...
67807         * sysdeps/sparc/configure.in: ... here.
67808         * sysdeps/sparc/elf/configure: Delete file.
67809         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
67810         * sysdeps/sparc/sparc32/start.S: ... here.
67811         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
67812         * sysdeps/sparc/sparc64/start.S: ... here.
67813         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
67814         * sysdeps/sparc/sparc32/Makefile: ... this.
67815         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
67816         * sysdeps/sparc/sparc64/Makefile: ... this.
67818         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
67819         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
67820         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
67821         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
67822         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
67823         * sysdeps/s390/s390-32/setjmp.S: ... here.
67824         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
67825         * sysdeps/s390/s390-32/configure.in: ... here.
67826         * sysdeps/s390/s390-32/elf/configure: Delete file.
67827         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
67828         * sysdeps/s390/s390-32/start.S: ... here.
67830         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
67831         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
67832         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
67833         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
67834         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
67835         * sysdeps/s390/s390-64/setjmp.S: ... here.
67836         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
67837         * sysdeps/s390/s390-64/configure.in: ... here
67838         * sysdeps/s390/s390-64/elf/configure: Delete file.
67839         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
67840         * sysdeps/s390/s390-64/start.S: ... here.
67841         * sysdeps/s390/s390-64/elf/configure: Delete.
67843         * configure.in: Remove support for elf directories in sysdeps.
67845         * configure: Regenerated.
67846         * sysdeps/i386/configure: Regenerated.
67847         * sysdeps/powerpc/powerpc32/configure: Regenerated.
67848         * sysdeps/powerpc/powerpc64/configure: Regenerated.
67849         * sysdeps/s390/s390-32/configure: Regenerated.
67850         * sysdeps/s390/s390-64/configure: Regenerated.
67851         * sysdeps/sh/configure: Regenerated.
67852         * sysdeps/sparc/configure: Regenerated.
67853         * sysdeps/x86_64/configure: Regenerated.
67855 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
67857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67859         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
67860         denormal result into account.
67862 2012-03-25  Roland McGrath  <roland@hack.frob.com>
67864         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
67865         Reported by Allan McRae <allan@archlinux.org>.
67867 2012-03-23  Jeff Law  <law@redhat.com>
67869         * nss/getnssent.c (__nss_getent): Fix typo.
67871 2012-03-23  David S. Miller  <davem@davemloft.net>
67873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67875 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
67877         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
67878         to pad to uint64_t for each field.
67879         (dl_tls_index): Replace unsigned long with uint64_t.
67881 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
67882         Paul Pluzhnikov  <ppluzhnikov@google.com>
67884         [BZ #6528]
67885         * grp/Makefile (otherlibs): Don't set it.
67886         * inet/Makefile (otherlibs): Likewise.
67887         * login/Makefile (otherlibs): Likewise.
67888         * nscd/Makefile (otherlibs): Likewise.
67889         * posix/Makefile (otherlibs): Likewise.
67890         * pwd/Makefile (otherlibs): Likewise.
67891         * rt/Makefile (otherlibs): Likewise.
67892         * sunrpc/Makefile (otherlibs): Likewise.
67893         * nss/Makefile (otherlibs): Likewise.
67894         Add libnss_files to routines and static-only-routines.
67895         ($(objpfx)getent): Remove rule.
67896         * resolv/Makefile: Add libnss_dns and libresolv to routines and
67897         static-only-routines.
67899 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67901         [BZ #13892]
67902         * math/s_cexp.c: Include <float.h>.
67903         (__cexp): Handle exp result overflowing not necessarily
67904         overflowing both real and imaginary parts of result.
67905         * math/s_cexpf.c: Likewise.
67906         * math/s_cexpl.c: Likewise.
67907         * math/libm-test.inc (cexp_test): Add more tests.
67908         * sysdeps/i386/fpu/libm-test-ulps: Update.
67909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67911 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67913         * include/link.h (ELFW): New macro.
67914         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
67915         Replace ELF64_R_TYPE with ELFW(R_TYPE).
67917 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67919         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
67920         with uint64_t.
67922 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67924         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
67925         declaration.
67926         (struct La_x32_retval): Likewise.
67928 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
67930         * sysdeps/x86_64/preconfigure.in: New file.
67931         * sysdeps/x86_64/preconfigure: New generated file.
67933 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
67935         [BZ #13824]
67936         * math/e_exp2l.c: Include <float.h>.
67937         (__ieee754_exp2l): Handle overflow and underflow cases
67938         separately.  Only pass fractional part of argument to
67939         __ieee754_expl.
67940         * math/libm-test.inc (exp2_test): Add more tests.
67942         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
67943         negating x to take absolute value.
67944         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
67945         Likewise.
67946         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
67947         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
67948         Likewise.
67949         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
67950         computing low part if x was negated.
67951         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
67953 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67955         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
67956         la_x32_gnu_pltexit.
67957         (pltexit): Cast int_retval to ptrdiff_t.
67958         * elf/tst-auditmod3b.c: Likewise.
67959         * elf/tst-auditmod4b.c: Likewise.
67960         * elf/tst-auditmod5b.c: Likewise.
67961         * elf/tst-auditmod6b.c: Likewise.
67962         * elf/tst-auditmod6c.c: Likewise.
67963         * elf/tst-auditmod7b.c: Likewise.
67965         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
67966         and x32_gnu_pltexit.
67968         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
67969         __ELF_NATIVE_CLASS.
67970         (La_x32_regs): New macro.
67971         (La_x32_retval): Likewise.
67972         (la_x32_gnu_pltenter): New function prototype.
67973         (la_x32_gnu_pltexit): Likewise.
67975 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
67977         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
67978         exponent.
67980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67982         * configure.in (libc_cv_cc_nofma): Check for option to disable
67983         generation of FMA instructions.
67984         * configure: Regenerate.
67985         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
67986         * sysdeps/ieee754/dbl-64/Makefile: New file.
67987         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
67988         Remove brandred-fma4.
67989         (CFLAGS-brandred-fma4.c): Remove.
67990         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
67991         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
67992         define.
67993         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
67994         define.
67996 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
67998         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
67999         LLONG_MAX != LONG_MAX.
68000         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68001         (_fitoa_word): Likewise.
68002         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68003         LLONG_MAX != LONG_MAX.
68004         * stdio-common/_itowa.h: Include <_itoa.h>.
68005         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68006         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68007         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68008         only if not defined.
68009         (_ITOA_WORD_TYPE): Likewise.
68010         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68011         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68013 2012-03-21  David S. Miller  <davem@davemloft.net>
68015         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68017 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68019         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68020         of x86_64 when setting libc_cv_slibdir, libdir and
68021         libc_cv_localedir.
68022         * sysdeps/unix/sysv/linux/configure: Regenerated.
68024 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68026         * manual/lang.texi (Old Varargs): Remove section.
68027         (How Variadic): Update menu.
68028         (va_start): Do not mention varargs.h.
68030 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68031             Joseph Myers  <joseph@codesourcery.com>
68033         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68034         link test.
68035         * configure: Regenerated.
68037 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68039         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68040         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68041         conformtest.pl
68043 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68045         * NOTES: Remove.
68046         * Makefile (files-for-dist): Remove NOTES.
68047         (NOTES): Remove rule.
68048         * README: Don't refer to NOTES.
68049         * manual/creature.texi: Don't include macros.texi.
68050         * manual/intro.texi (creature.texi): Remove comment referring to
68051         NOTES.
68053         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68054         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68055         * configure: Regenerated.
68056         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68057         LIBC_TRY_CC_OPTION.
68058         (libc_cv_as_i686): Likewise.
68059         (libc_cv_cc_avx): Likewise.
68060         (libc_cv_cc_sse2avx): Likewise.
68061         (libc_cv_cc_fma4): Likewise.
68062         (libc_cv_cc_novzeroupper): Likewise.
68063         * sysdeps/i386/configure: Regenerated.
68065         [BZ #13883]
68066         * sysdeps/i386/fpu/s_cexp.S: Remove.
68067         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68068         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68069         * math/libm-test.inc (cexp_test): Add more tests.
68070         * sysdeps/i386/fpu/libm-test-ulps: Update.
68071         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68073 2012-03-21  Allan McRae  <allan@archlinux.org>
68075         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68077 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68079         [BZ #13871]
68080         * math/w_exp2.c: Do not include <float.h>.
68081         (o_threshold, u_threshold): Remove.
68082         (__exp2): Calculate result before checking finiteness and calling
68083         __kernel_standard.
68084         * math/w_exp2f.c: Likewise.
68085         * math/w_exp2l.c: Likewise.
68086         * math/libm-test.inc (exp2_test): Require overflow exception for
68087         1e6 input.
68089         [BZ #3866]
68090         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68091         range of signed 64-bit integers before using fistpll.  Remove
68092         checks for whether integers fit in mantissa bits.
68093         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68094         the range of signed 32-bit integers before using fistpl.  Remove
68095         checks for whether integers fit in mantissa bits.
68096         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68097         (__ieee754_powl): Test for y outside the range of signed 64-bit
68098         integers before using fistpll.  Reduce 64-bit values to 63-bit
68099         ones as needed.
68100         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68101         divide-by-zero is raised for zero to large negative powers.
68102         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68103         (__ieee754_powl): Test for y outside the range of signed 64-bit
68104         integers before using fistpll.  Reduce 64-bit values to 63-bit
68105         ones as needed.
68106         * math/libm-test.inc (pow_test): Add more tests.
68108 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68110         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68111         <stdio-common/_itoa.h>.
68112         * debug/segfault.c: Likewise.
68113         * elf/dl-cache.c: Likewise.
68114         * elf/dl-minimal.c: Likewise.
68115         * elf/dl-misc.c: Likewise.
68116         * elf/dl-sysdep.c: Likewise.
68117         * elf/dl-version.c: Likewise.
68118         * elf/rtld.c: Likewise.
68119         * hurd/hurdsock.c: Likewise.
68120         * hurd/lookup-retry.c: Likewise.
68121         * malloc/malloc.c: Likewise.
68122         * malloc/mtrace.c: Likewise.
68123         * nscd/nscd_getgr_r.c: Likewise.
68124         * nscd/nscd_getpw_r.c: Likewise.
68125         * nscd/nscd_getserv_r.c: Likewise.
68126         * posix/getopt_init.c: Likewise.
68127         * posix/wordexp.c: Likewise.
68128         * stdio-common/_itoa.c: Likewise.
68129         * stdio-common/printf_fphex.c: Likewise.
68130         * stdio-common/vfprintf.c: Likewise.
68131         * string/_strerror.c: Likewise.
68132         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68133         * sysdeps/i386/i686/hp-timing.h: Likewise.
68134         * sysdeps/mach/_strerror.c: Likewise.
68135         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68136         * sysdeps/mach/hurd/sethostid.c: Likewise.
68137         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68138         * sysdeps/mach/xpg-strerror.c: Likewise.
68139         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68140         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68141         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68142         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68143         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68144         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68145         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68146         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68147         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68148         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68149         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68150         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68151         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68152         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68153         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68154         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68155         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68156         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68157         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68158         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68159         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68161         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
68163         * stdio-common/_itoa.h: Moved to ...
68164         * sysdeps/generic/_itoa.h: Here.
68166         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
68168         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
68169         instead of "_itoa.h" and "_itowa.h".
68170         * stdio-common/vfprintf.: Likewise.
68172 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68174         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
68175         <bits/wordsize.h>.
68176         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
68177         (__signbit): Likwise.
68178         (llrintf): Likwise.
68179         (llrint): Likwise.
68181 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68183         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
68184         __WORDSIZE != 64.
68186 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
68188         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
68189         OVERFLOW_EXCEPTION_OK.
68190         * math/libm-test.inc ("Philosophy"): Update comment about
68191         exception testing.
68192         (OVERFLOW_EXCEPTION): Define.
68193         (OVERFLOW_EXCEPTION_OK): Likewise.
68194         (INVALID_EXCEPTION_OK): Renumber.
68195         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
68196         (IGNORE_ZERO_INF_SIGN): Likewise.
68197         (test_exceptions): Handle FE_OVERFLOW.
68198         (exp10_test): Expect overflow exceptions.
68199         (exp2_test): Likewise.
68200         (expm1_test): Likewise.
68201         (nextafter_test): Likewise.
68202         (pow_test): Likewise.
68203         (scalbn_test): Likewise.
68204         (scalbln_test): Likewise.
68206 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68208         * sysdeps/x86_64/bits/atomic.h
68209         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
68210         64bit integer.
68211         (atomic_exchange_acq): Likewise.
68212         (__arch_exchange_and_add_body): Likewise.
68213         (__arch_add_body): Likewise.
68214         (atomic_add_negative): Likewise.
68215         (atomic_add_zero): Likewise.
68217 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68219         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
68220         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
68222 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68224         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
68225         Check __x86_64__ instead of __WORDSIZE.
68227 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68229         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
68231 2012-03-19  David S. Miller  <davem@davemloft.net>
68233         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68235         * sysdeps/sparc/fpu/fenv_private.h: New file.
68236         * sysdeps/sparc/fpu/math_private.h: Use it.
68237         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
68238         Remove.
68239         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
68240         (libc_feholdexcept_setroundl): Remove.
68241         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
68242         Remove.
68243         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
68244         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
68246 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68248         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
68249         int64_t instead of long int.
68250         (INSERT_WORDS64): Likwise.
68252 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
68254         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
68255         _Unwind_GetCFA return to _Unwind_Ptr first.
68257 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
68259         [BZ #13629]
68260         * math/s_clog.c: Include <float.h>.
68261         (__clog): Scale large or subnormal inputs.
68262         * math/s_clogf.c: Likewise.
68263         * math/s_clogl.c: Likewise.
68264         * math/s_clog10.c: Include <float.h>.
68265         (M_LOG10_2): Define.
68266         (__clog10): Scale large or subnormal inputs.
68267         * math/s_clog10f.c: Likewise.
68268         * math/s_clog10l.c: Likewise.
68269         * math/libm-test.inc (clog_test): Add more tests.
68270         (clog10_test): Likewise.
68271         * sysdeps/i386/fpu/libm-test-ulps: Update.
68272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68274         [BZ #11451]
68275         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
68276         x and y.
68277         * math/libm-test.inc (atan2_test): Add another test.
68279         * Makerules (common-objdir-compile): Remove.
68280         * sysdeps/unix/Makefile (config-generated): Do not add
68281         $(unix-generated) to variable.
68282         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
68283         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
68284         Remove rule.
68285         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
68286         Likewise.
68287         [generic bits/local_lim.h] (before-compile): Do not append to
68288         variable.
68289         [generic bits/local_lim.h] (common-generated): Likewise.
68290         [generic sys/param.h] (before-compile): Do not append to variable.
68291         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
68292         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
68293         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
68294         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
68295         include.
68296         [generic sys/param.h] (sys/param.h-includes): Remove variable.
68297         [generic sys/param.h] (sys/param.h-includes): Remove rule.
68298         [generic sys/param.h] ($(addprefix
68299         $(common-objpfx),$(sys/param.h-includes))): Likewise.
68300         [generic sys/param.h] (common-generated): Do not append to
68301         variable.
68302         [generic sys/param.h] (sysdep_headers): Likewise.
68303         [generic bits/errno.h] (before-compile): Do not append to
68304         variable.
68305         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
68306         rule.
68307         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
68308         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
68309         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
68310         [generic bits/errno.h] (common-generated): Do not append to
68311         variable.
68312         [generic bits/ioctls.h] (before-compile): Do not append to
68313         variable.
68314         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
68315         rule.
68316         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
68317         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
68318         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
68319         rule.
68320         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
68321         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
68322         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
68323         [generic bits/ioctls.h] (common-generated): Do not append to
68324         variable.
68325         [generic sys/syscall.h] (syscall.h): Remove variable.
68326         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
68327         rule.
68328         [generic sys/syscall.h] (before-compile): Do not append to
68329         variable.
68330         [generic sys/syscall.h] (common-generated): Likewise.
68331         * sysdeps/unix/errnos-tmpl.c: Remove file.
68332         * sysdeps/unix/errnos.awk: Likewise.
68333         * sysdeps/unix/ioctls-tmpl.c: Likewise.
68334         * sysdeps/unix/ioctls.awk: Likewise.
68335         * sysdeps/unix/mk-local_lim.c: Likewise.
68336         * sysdeps/unix/snarf-ioctls: Likewise.
68338 2012-03-19  Richard Henderson  <rth@twiddle.net>
68340         * sysdeps/i386/fpu/fenv_private.h: New file.
68341         * sysdeps/i386/fpu/math_private.h: Use it.
68342         (math_opt_barrier, math_force_eval): Remove.
68343         (libc_feholdexcept_setround_53bit): Remove.
68344         (libc_feupdateenv_53bit): Remove.
68345         * sysdeps/x86_64/fpu/math_private.h: Likewise.
68346         (math_opt_barrier, math_force_eval): Remove.
68347         (libc_feholdexcept): Remove.
68348         (libc_feholdexcept_setround): Remove.
68349         (libc_fetestexcept, libc_fesetenv): Remove.
68350         (libc_feupdateenv_test): Remove.
68351         (libc_feupdateenv, libc_feholdsetround): Remove.
68352         (libc_feresetround): Remove.
68354         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
68355         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
68357         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
68358         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
68359         (libc_feupdateenv_testl): New.
68360         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
68361         (libc_feupdateenv_testf): New.
68362         (libc_feupdateenv): Use libc_feupdateenv_test.
68363         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
68364         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
68366         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
68367         (libc_feholdsetroundf, libc_feholdsetroundl): New.
68368         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
68369         (libc_feresetround_noex): New.
68370         (libc_feresetround_noexf): New.
68371         (libc_feresetround_noexl): New.
68372         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
68373         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
68374         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
68375         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
68376         SET_RESTORE_ROUND.
68377         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68378         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
68379         (__cos): Likewise.
68380         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
68381         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
68382         SET_RESTORE_ROUND_NOEX.
68383         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
68384         SET_RESTORE_ROUND_NOEXF.
68385         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
68386         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
68387         (libc_feholdsetroundf): New.
68388         (libc_feresetround, libc_feresetroundf): New.
68390         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
68391         (libc_feholdexcept_setround_53bit): Convert from macro to function.
68392         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
68394         * sysdeps/generic/math_private.h: Include <fenv.h>.
68395         (default_libc_feholdexcept): New.
68396         (default_libc_feholdexcept_setround): New.
68397         (default_libc_fesetenv, default_libc_feupdateenv): New.
68398         (libc_feholdexcept): Only define if undefined.
68399         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
68400         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
68401         (libc_feholdexcept_setroundl): Likewise.
68402         (libc_feholdexcept_setround_53bit): Likewise.
68403         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
68404         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
68405         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
68406         (libc_feupdateenv_53bit): Likewise.
68407         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
68408         (libc_feholdexcept): Convert from macro to inline function.
68409         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
68410         (libc_fesetenv, libc_feupdateenv): Likewise.
68412         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
68413         not previously defined.
68414         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
68415         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
68416         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
68417         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
68418         * sysdeps/ieee754/flt-32/math_private.h: New file.
68419         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
68420         math_private.h below SET_FLOAT_WORD.
68421         (__isnan, __isinf_ns, __finite): Remove.
68422         (__isnanf, __isinf_nsf, __finitef): Remove.
68424 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
68426         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68428 2012-03-17  David S. Miller  <davem@davemloft.net>
68430         [BZ #6471]
68431         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
68432         for 2.16.
68434 2012-03-16  David S. Miller  <davem@davemloft.net>
68436         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
68437         warnings.
68439         [BZ #6471]
68440         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
68441         properly.
68442         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
68443         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
68444         sysdep_routines when subdir is sysvipc.
68445         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
68446         __getshmlba helper.
68448         * sysdeps/sparc/fpu/libm-test/ulps: Update.
68450 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68452         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
68453         [__LP64__].
68455 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68457         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
68458         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
68459         (__lround): Renamed to ...
68460         (__llround): This.  Replace long int with long long int.
68461         Define lround functions as aliases of llround functions.
68462         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
68464 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68466         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
68467         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
68468         adresses to uintptr_t.  Replace "long int" and "unsigned long
68469         int" with "greg_t" on va_arg.
68471 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68473         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
68474         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
68476         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
68477         Move e_machine check before EI_CLASS check.  Handle x32
68478         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
68479         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
68480         SKIP_EM_IA_64 and include
68481         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
68483         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
68484         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
68485         (add_system_dir): New macro.
68487         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
68488         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
68490 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68492         [BZ #2551]
68493         [BZ #2552]
68494         [BZ #2553]
68495         [BZ #2554]
68496         [BZ #2562]
68497         [BZ #2563]
68498         [BZ #2565]
68499         [BZ #2566]
68500         [BZ #2576]
68501         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
68502         (y0): Likewise.
68503         * math/w_j0f.c (j0f): Likewise.
68504         (y0f): Likewise.
68505         * math/w_j0l.c (__j0l): Likewise.
68506         (__y0l): Likewise.
68507         * math/w_j1.c (j1): Likewise.
68508         (y1): Likewise.
68509         * math/w_j1f.c (j1f): Likewise.
68510         (y1f): Likewise.
68511         * math/w_j1l.c (__j1l): Likewise.
68512         (__y1l): Likewise.
68513         * math/w_jn.c (jn): Likewise.
68514         (yn): Likewise.
68515         * math/w_jnf.c (jnf): Likewise.
68516         (ynf): Likewise.
68517         * math/w_jnl.c (__jnl): Likewise.
68518         (__ynl): Likewise.
68519         * math/libm-test.inc (j0_test): Add more tests.
68520         (j1_test): Likewise.
68521         (jn_test): Likewise.  Add trailing semicolon to existing test.
68522         (y0_test): Likewise.
68523         (y1_test): Likewise.
68524         * sysdeps/i386/fpu/libm-test-ulps: Update.
68525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68527         [BZ #13851]
68528         [BZ #13854]
68529         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
68530         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
68531         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
68532         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
68533         (__tanl): Set errno for infinite argument.
68534         * sysdeps/i386/fpu/mptan.c: Remove.
68535         * sysdeps/i386/fpu/s_tan.S: Likewise.
68536         * sysdeps/i386/fpu/s_tanl.S: Likewise.
68537         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
68538         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
68539         * math/libm-test.inc (tan_test): Add more tests and enable more
68540         tests for double and long double.
68541         * sysdeps/i386/fpu/libm-test-ulps: Update.
68542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68544 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
68546         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
68547         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
68549 2012-03-16  Roland McGrath  <roland@hack.frob.com>
68551         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
68552         * configure.in: Use it for both main tree and add-ons.
68553         * configure: Regenerated.
68555 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
68557         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
68559 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
68561         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
68562         in comment.
68564         [BZ #13851]
68565         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
68566         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
68567         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
68568         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
68569         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
68570         infinite argument.
68571         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
68572         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
68573         != 0 for prec == 2.
68574         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
68575         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
68576         * sysdeps/i386/fpu/s_cosl.S: Likewise.
68577         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
68578         * sysdeps/i386/fpu/s_sinl.S: Likewise.
68579         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
68580         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
68581         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
68582         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
68583         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
68584         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
68585         * math/libm-test.inc (cos_test): Add more tests and enable more
68586         tests for long double.
68587         (sin_test): Likewise.
68588         (sincos_test): Likewise.
68589         * sysdeps/i386/fpu/libm-test-ulps: Update.
68590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68592 2012-03-16  David S. Miller  <davem@davemloft.net>
68594         * sysdeps/sparc/fpu/math_private.h: New file.
68596 2012-03-15  David S. Miller  <davem@davemloft.net>
68598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
68599         file.
68600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
68601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
68602         file.
68603         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
68604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
68605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
68606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
68607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
68608         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
68609         sysdep routines.
68610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68612         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
68613         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
68615         * sysdeps/sparc/sparc-ifunc.h: New file.
68616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
68617         sparc-ifunc.h
68618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
68619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
68620         Likewise.
68621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
68622         Likewise.
68623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
68624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
68625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
68626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
68627         Likewise.
68628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
68629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
68630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
68631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
68632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
68633         Likewise.
68634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
68635         Likewise.
68636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
68637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
68638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
68639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
68640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
68641         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
68642         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
68643         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
68644         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
68645         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
68646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
68647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
68648         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
68649         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
68650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
68651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
68652         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
68653         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
68654         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
68655         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
68656         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
68657         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
68658         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
68659         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
68661 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68663         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
68664         scaling.
68665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68667 2012-03-15  Andreas Jaeger  <aj@suse.de>
68669         [BZ #13852]
68670         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
68671         ieee754/flt-32 implementation for sin, cos and sincos.
68672         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
68673         * sysdeps/i386/fpu/s_cosf.S: Likewise.
68674         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
68675         * sysdeps/i386/fpu/s_sinf.S: Likewise.
68676         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
68677         ieee754/flt-32 implementation for tan.
68679         * math/libm-test.inc (cos_test): Enable some large input tests for
68680         float as well
68681         (sin_test): Likewise.
68682         (sincos_test): Likewise.
68683         (tan_test): Add tests for large input.
68685         * sysdeps/i386/fpu/libm-test-ulps: Update.
68687 2012-03-15  Andreas Jaeger  <aj@suse.de>
68689         [BZ #13658]
68690         * math/libm-test.inc (cos_test): Add more test cases.
68691         (sin_test): Likewise.
68692         (sincos_test): Likewise.
68694 2012-03-15  Andreas Jaeger  <aj@suse.de>
68696         [BZ #13837]
68697         * math/libm-test.inc (cos_test): Add a test case for large input
68698         value.
68699         (sin_test): Likewise.
68700         (sincos_test): Likewise.
68702 2012-03-15  Andreas Jaeger  <aj@suse.de>
68703             Joseph Myers  <joseph@codesourcery.com>
68705         [BZ #13658]
68706         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
68707         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
68708         * sysdeps/i386/fpu/branred.c: Likewise.
68709         * sysdeps/i386/fpu/dosincos.c: Likewise.
68710         * sysdeps/i386/fpu/mpa.c: Likewise.
68711         * sysdeps/i386/fpu/s_cos.S: Likewise.
68712         * sysdeps/i386/fpu/s_sin.S: Likewise.
68713         * sysdeps/i386/fpu/s_sincos.S: Likewise.
68714         * sysdeps/i386/fpu/sincos32.c: Likewise.
68716         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
68717         Define.
68718         (libc_feupdateenv_53bit): Define.
68719         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
68720         Define.
68721         (libc_feupdateenv_53bit): Define.
68723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
68724         53 bit (without extend i386 double precision).
68726         * math/libm-test.inc (sincos_test): Add tests for large input.
68727         (sin): Likewise.
68728         (cos): Likewise.
68730         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
68732 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
68734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68736 2012-03-15  David S. Miller  <davem@davemloft.net>
68738         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
68739         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
68740         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
68741         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
68742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
68743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
68744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
68745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
68746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
68747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
68748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
68749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
68750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
68751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
68752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
68753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
68754         file.
68755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
68756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
68757         file.
68758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
68759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
68760         file.
68761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
68762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
68763         file.
68764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
68765         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
68766         fmin/fmax sysdep routines.
68767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
68769 2012-03-14  David S. Miller  <davem@davemloft.net>
68771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
68772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
68773         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
68774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
68775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
68776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
68777         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
68778         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
68779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
68780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
68781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
68782         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
68783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
68784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
68785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
68786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
68787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
68788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
68789         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
68790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
68791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
68792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
68793         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
68794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
68795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
68796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
68797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
68798         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
68799         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
68800         routines.
68801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
68802         file.
68803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
68804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
68805         file.
68806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
68807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
68808         file.
68809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
68810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
68811         file.
68812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
68813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
68814         file.
68815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
68816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
68817         file.
68818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
68819         file.
68820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
68821         file.
68822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
68823         file.
68824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
68825         New file.
68826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
68827         file.
68828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
68829         file.
68830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
68831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
68832         file.
68833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
68834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
68835         file.
68836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
68837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
68838         file.
68839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
68840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
68841         VIS3 routines.
68843         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
68844         New file.
68846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68848         * sysdeps/sparc/configure.in: New file.
68849         * sysdeps/sparc/configure: Generate.
68850         * configure.in (libc_cv_sparc_as_vis3): Substitute.
68851         * configure: Regenerate.
68852         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
68853         * config.make.in (have-as-vis3): New.
68854         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
68855         available use -Av9d instead of -Av9a.
68856         * sysdeps/sparc/sparc64/Makefile: Likewise.
68857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
68858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
68859         New file.
68860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
68861         file.
68862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
68863         New file.
68864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
68865         file.
68866         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
68867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
68868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
68869         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
68870         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
68872         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
68873         fzeros/fnegs to load 0x80000000 into a float register instead of
68874         using the stack.
68875         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
68877 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
68880         bits/syscall.h.
68881         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
68882         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
68883         ($(inst_includedir)/bits/syscall.h): Remove rule.
68884         ($(objpfx)bits/syscall.d): Include instead of
68885         $(objpfx)syscall-list.d.
68886         (generated): Change syscall-list.h and syscall-list.d to
68887         bits/syscall.h and bits/syscall.d.
68889 2012-03-14  Roland McGrath  <roland@hack.frob.com>
68891         [BZ #13846]
68892         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
68894 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
68896         [BZ #13841]
68897         * math/s_csqrt.c: Include <float.h>.
68898         (__csqrt): Scale large or subnormal inputs.
68899         * math/s_csqrtf.c: Likewise.
68900         * math/s_csqrtl.c: Likewise.
68901         * math/libm-test.inc (csqrt_test): Add more tests.
68902         * sysdeps/i386/fpu/libm-test-ulps: Update.
68903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68905         [BZ #13840]
68906         * math/libm-test.inc (hypot_test): Add more tests.
68908 2012-03-13  David S. Miller  <davem@davemloft.net>
68910         [BZ #13840]
68911         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
68912         double-precision for the calculation instead of scaling.
68914 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
68916         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
68917         manipulate bits before adding and subtracting TWO52[sx].
68918         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
68919         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
68920         Likewise.
68921         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
68923 2012-03-13  David S. Miller  <davem@davemloft.net>
68925         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
68926         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
68927         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
68928         rtld-global-offsets.h
68929         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
68931         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
68932         large parameters.
68934         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
68936         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
68937         'err' in the ifdef scope in which it is actually used.
68939         * nss/nss_db/db-init.c: Include string.h
68941 2012-03-12  David S. Miller  <davem@davemloft.net>
68943         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
68944         masking out of the most significant byte of random value used.
68945         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68946         Fix coding style in previous change.
68948         * sysdeps/unix/sysv/linux/kernel-features.h
68949         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
68950         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
68951         expression.
68952         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
68953         later.
68955 2012-03-11  David S. Miller  <davem@davemloft.net>
68957         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
68958         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
68959         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
68960         for 'resultvar' otherwise things get truncated on 64-bit.
68962         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
68963         Fix masking out of the most significant byte of random value used.
68965         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68967 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
68969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68971 2012-03-09  David S. Miller  <davem@davemloft.net>
68973         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
68974         variables with appropriate CPP guards.
68975         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
68976         from the frame pointer, not the stack pointer.  Correct layout
68977         comments.  Fix test on resulting framesize and the management of
68978         the outregs buffer for pltexit.  Preserve floating point return
68979         values across _dl_call_pltexit call.
68980         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
68981         framesize and the management of the outregs buffer for pltexit.
68982         Preserve floating point return values across _dl_call_pltexit
68983         call.
68984         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
68985         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
68986         (la_sparc64_gnu_pltexit): New functions.
68987         (print_exit): Fix format string for return register value.
68989 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
68991         * sunrpc/Makefile (others): Add rpcgen.
68992         ($(objpfx)rpcgen): Remove special build rule and dependency on
68993         libc.
68994         * sunrpc/rpcgen.c: New file.
68996 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
68998         [BZ #13673]
68999         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69000         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69001         * sysdeps/i386/crti.S: Likewise.
69002         * sysdeps/i386/crtn.S: Likewise.
69003         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69004         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69005         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69006         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69007         * sysdeps/sh/crti.S: Likewise.
69008         * sysdeps/sh/crtn.S: Likewise.
69009         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69011         [BZ #13673]
69012         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69013         with URL.
69014         * locale/programs/locfile-kw.gperf: Likewise.
69015         * locale/programs/charmap-kw.h: Regenerated.
69016         * locale/programs/locfile-kw.h: Likewise.
69018         [BZ #13673]
69019         * intl/plural.y: Replace FSF snail mail address with URL.
69020         * intl/plural.c: Regenerated.
69022 2012-03-09  Richard Henderson  <rth@twiddle.net>
69024         * include/math_private.h: Remove file.
69025         * math/math_private.h: Move file ...
69026         * sysdeps/generic/math_private.h: ... here.
69028         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69029         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69030         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69032         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69033         and <math_private.h>.
69034         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69035         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69036         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69037         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69038         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69039         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69040         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69041         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69042         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69043         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69044         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69045         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69046         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69047         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69048         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69049         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69050         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69051         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69052         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69053         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69054         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69055         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69056         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69057         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69058         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69059         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69060         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69061         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69062         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69063         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69064         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69066         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69067         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69068         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69069         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69070         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69071         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69072         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69073         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69074         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69075         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69076         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69077         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69078         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69079         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69080         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69081         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69082         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69083         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69084         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69085         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69086         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69087         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69088         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69089         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69090         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69091         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69092         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69093         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69094         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69095         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69096         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69097         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69098         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69099         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69100         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69101         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69102         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69103         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69104         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69105         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69106         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69107         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69108         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69110         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69111         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69112         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69113         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69114         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69115         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69116         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69117         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69118         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69119         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69120         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69121         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69122         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69123         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69124         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69125         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69126         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69127         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69128         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69129         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69130         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69131         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69132         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69133         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69134         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69135         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69136         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69137         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69138         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69139         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69140         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69141         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69142         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69144         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69145         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69146         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69147         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69148         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69149         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69150         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69151         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69152         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69153         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69154         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69155         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69156         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69157         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69158         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69159         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69160         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69161         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69162         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
69163         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
69164         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
69165         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
69166         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
69167         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
69168         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
69169         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
69170         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
69171         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
69172         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
69173         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
69174         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
69175         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
69176         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
69177         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
69178         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
69179         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
69180         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
69181         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
69182         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
69183         * sysdeps/ieee754/k_standard.c: Likewise.
69184         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
69185         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
69186         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
69187         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
69188         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
69189         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
69190         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
69191         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
69192         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
69193         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
69194         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
69195         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
69196         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
69197         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
69198         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
69199         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
69200         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
69201         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
69202         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
69203         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
69204         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
69205         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
69206         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
69207         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
69208         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
69209         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
69210         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
69211         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
69212         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
69213         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
69214         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
69215         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
69216         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
69217         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
69218         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
69219         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
69220         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
69221         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
69222         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
69223         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
69224         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
69225         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
69226         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
69227         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
69228         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
69229         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
69230         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
69231         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
69232         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
69233         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
69234         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
69235         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
69236         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
69237         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
69238         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
69239         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
69240         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
69241         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
69242         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
69243         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
69244         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
69245         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
69246         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
69247         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
69248         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
69249         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
69250         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
69251         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
69252         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
69253         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
69254         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
69255         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
69256         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
69257         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
69258         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
69259         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
69260         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
69261         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
69262         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69263         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
69264         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
69265         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
69266         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
69267         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
69268         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
69269         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
69270         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
69271         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
69272         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
69274         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
69275         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
69276         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
69277         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
69278         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
69279         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
69280         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
69281         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
69282         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
69283         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
69284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
69285         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
69286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
69287         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
69288         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
69289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
69290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
69291         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
69292         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
69293         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
69294         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
69295         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
69296         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
69297         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
69298         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
69299         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
69300         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
69301         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
69302         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
69303         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
69304         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
69305         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
69306         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
69307         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
69308         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
69309         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
69310         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
69311         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
69312         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
69313         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
69314         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
69315         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
69316         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
69317         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
69318         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
69319         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
69320         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
69321         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
69322         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
69323         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
69324         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
69325         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
69326         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
69327         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
69328         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
69329         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
69330         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
69331         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
69332         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
69333         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
69334         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
69335         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
69336         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
69337         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
69338         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
69339         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
69340         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
69341         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
69342         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
69343         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
69344         * sysdeps/ieee754/s_lib_version.c: Likewise.
69345         * sysdeps/ieee754/s_matherr.c: Likewise.
69346         * sysdeps/ieee754/s_signgam.c: Likewise.
69347         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
69348         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
69349         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
69350         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
69351         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
69352         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69353         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
69354         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
69355         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
69356         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
69357         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
69358         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
69359         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
69360         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
69361         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
69362         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
69363         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69364         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
69365         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69366         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
69367         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
69369 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69371         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
69372         * sunrpc/rpc_main.c: Likewise.
69373         * sunrpc/rpc_svcout.c: Likewise.
69375 2012-03-09  David S. Miller  <davem@davemloft.net>
69377         * include/math_private.h: New file.
69379 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
69381         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
69382         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
69383         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
69384         from <bits/socket_type.h>.
69385         (enum __socket_type): Don't define here.
69386         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
69387         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69388         bits/socket_type.h.
69390         [BZ #13566]
69391         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
69392         checking __USE_GNU.
69394         * Makerules ($(inst_includedir)/%.h): New rule.
69395         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
69396         (install-others): Remove variable setting.
69397         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
69399 2012-03-08  Richard Henderson  <rth@twiddle.net>
69401         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
69402         from macro to inline function; merge with the
69403         !__LIBC_INTERNAL_MATH_INLINES version.
69404         (__ieee754_sqrtf): Likewise.
69406         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
69407         to inline function.
69408         (__rintf, __floor, __floorf): Likewise.
69410         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
69411         macro to inline function.
69412         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
69414         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
69415         not <math/math_private.h>.
69417 2012-03-08  David S. Miller  <davem@davemloft.net>
69419         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
69420         copyright year.
69421         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
69423 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
69425         * resolv/gai_misc.c (handle_requests): Fix struct timespec
69426         normalization.
69427         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
69428         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
69430 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
69432         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
69433         be defined individually, they must be defined as a block.  Define
69434         S for printing a string instead of hidint the different by using a
69435         macro for adding the 'l'.
69436         * stdio-common/tst-fphex-wide.c: Adjust.
69438 2012-03-07  Marek Polacek  <polacek@redhat.com>
69440         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
69442 2012-03-08  Marek Polacek  <polacek@redhat.com>
69444         [BZ #13806]
69445         * stdio-common/Makefile (tests): Add tst-fphex-wide.
69446         * stdio-common/tst-fphex.c: Define a few macros to make the
69447         test reusable.  Use them.
69448         * stdio-common/tst-fphex-wide.c: New file.
69450 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
69452         [BZ #6911]
69453         * manual/macros.texi (gnusystems): New macro.
69454         (nongnusystems): Likewise.
69455         (gnulinuxhurdsystems): Likewise.
69456         (gnuhurdsystems): Likewise..
69457         (gnulinuxsystems): Likewise.
69458         * manual/charset.texi: Use new macros or @theglibc{} to refer to
69459         variants of the GNU system, not "GNU system".
69460         * manual/conf.texi: Likewise.
69461         * manual/errno.texi: Likewise.  Update example of errno macro
69462         expansion.
69463         * manual/filesys.texi: Likewise.
69464         (getumask): Document as specific to GNU/Hurd.
69465         * manual/install.texi: Likewise.  Reword some references to
69466         GNU/Linux.
69467         * manual/intro.texi: Likewise.
69468         * manual/io.texi: Likewise.
69469         (File Name Portability): Detail which constraints are inapplicable
69470         to all GNU systems and which are only inapplicable to GNU/Hurd.
69471         * manual/job.texi: Likewise.
69472         * manual/llio.texi: Likewise.
69473         (O_NOCTTY): Document as present on GNU/Linux.
69474         * manual/maint.texi: Likewise.
69475         * manual/memory.texi: Likewise.
69476         * manual/pattern.texi: Likewise.
69477         * manual/pipe.texi: Likewise.
69478         * manual/process.texi: Likewise.
69479         * manual/resource.texi: Likewise.
69480         (RUSAGE_CHILDREN): Remove statement about specifying a particular
69481         child on GNU/Hurd.
69482         * manual/setjmp.texi: Likewise.
69483         * manual/signal.texi: Likewise.
69484         * manual/startup.texi: Likewise.
69485         * manual/stdio.texi: Likewise.
69486         * manual/terminal.texi: Likewise.
69487         (ONLCR): Document as POSIX.
69488         (OXTABS): Document availability on GNU/Linux as XTABS.
69489         (ONOEOT): Document availability separately from other bits.
69490         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
69491         * manual/time.texi: Likewise.
69492         * manual/users.texi: Likewise.
69493         * INSTALL: Regenerated.
69494         * sysdeps/gnu/errlist.c: Regenerated.
69496         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
69497         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
69498         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
69499         puts.
69500         * configure: Regenerated.
69502 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
69504         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
69505         default includes instead of AC_HEADER_CHECK.
69506         * sysdeps/i386/configure: Regenerated.
69508         [BZ #10716]
69509         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
69510         * math/s_cacoshf.c (__cacoshf): Likewise.
69511         * math/s_cacoshl.c (__cacoshl): Likewise.
69512         * math/s_casinh.c (__casinh): Set signs of result from argument.
69513         * math/s_casinhf.c (__casinhf): Likewise.
69514         * math/s_casinhl.c (__casinhl): Likewise.
69515         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
69516         (casinh_test): Add more tests.
69517         * sysdeps/i386/fpu/libm-test-ulps: Update.
69518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69520 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
69522         * po/zh_TW.po: Update from translation team.
69524         * login/Makefile (distribute): Remove variable.
69525         * catgets/Makefile: Likewise.
69526         * mach/Makefile: Likewise.
69527         * malloc/Makefile: Likewise.
69528         * misc/Makefile: Likewise.
69529         * iconv/Makefile: Likewise.
69530         * nscd/Makefile: Likewise.
69531         * hurd/Makefile: Likewise.
69532         * manual/Makefile: Likewise.
69533         * locale/Makefile: Likewise.
69534         * intl/Makefile: Likewise.
69535         * conform/Makefile: Likewise.
69536         * nss/Makefile: Likewise.
69537         * time/Makefile: Likewise.
69538         * soft-fp/Makefile: Likewise.
69539         * dirent/Makefile: Likewise.
69540         * gmon/Makefile: Likewise.
69541         * po/Makefile: Likewise.
69542         * rt/Makefile: Likewise.
69543         * socket/Makefile: Likewise.
69544         * math/Makefile: Likewise.
69545         * signal/Makefile: Likewise.
69546         * debug/Makefile: Likewise.
69547         * elf/Makefile: Likewise.
69548         * timezone/Makefile: Likewise.
69549         * stdlib/Makefile: Likewise.
69550         * iconvdata/Makefile: Likewise.
69551         * sunrpc/Makefile: Likewise.
69552         * io/Makefile: Likewise.
69553         * argp/Makefile: Likewise.
69554         * inet/Makefile: Likewise.
69555         * hesiod/Makefile: Likewise.
69556         * grp/Makefile: Likewise.
69557         * csu/Makefile: Likewise.
69558         * wctype/Makefile: Likewise.
69559         * crypt/Makefile: Likewise.
69560         * libio/Makefile: Likewise.
69561         * string/Makefile: Likewise.
69562         * nis/Makefile: Likewise.
69563         * resolv/Makefile: Likewise.
69564         * stdio-common/Makefile: Likewise.
69565         * wcsmbs/Makefile: Likewise.
69566         * dlfcn/Makefile: Likewise.
69567         * posix/Makefile: Likewise.
69569         [BZ #6959]
69570         * timezone/Makefile: Don't install timezone files, just the programs
69571         and scripts.
69573 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
69575         * nss/databases.def: Add missing gshadow entry.
69577         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
69579 2012-03-06  Marek Polacek  <polacek@redhat.com>
69581         [BZ #13726]
69582         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
69583         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
69584         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
69585         * stdio-common/tst-long-dbl-fphex.c: New file.
69587 2012-03-06  David S. Miller  <davem@davemloft.net>
69589         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
69590         (set_obp_int): New function.
69591         (get_obp_int): New function.
69592         (__get_clockfreq_via_dev_openprom): Likewise.
69593         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
69594         Avoid unused variable warnings on 'val' and use builtin_expect.
69595         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
69596         __builtin_expect.
69597         (INLINE_CLONE_SYSCALL): Likewise.
69599 2012-03-05  David S. Miller  <davem@davemloft.net>
69601         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69603 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
69605         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69607         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
69608         only for |x| >= 40.
69609         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
69611 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
69613         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
69614         Replace gettimeofday with __vdso_gettimeofday.
69616         * sysdeps/unix/sysv/linux/x86_64/init-first.c
69617         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
69618         __vdso_clock_gettime and __vdso_getcpu.
69620         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
69621         time with __vdso_time.
69623 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69625         * manual/lang.texi (size_t): Note types to which size_t may be
69626         equivalent with the GNU C Library, but do not describe when
69627         differences between them are significant.
69629 2012-03-05  Andreas Jaeger  <aj@suse.de>
69631         * sysdeps/i386/fpu/libm-test-ulps: Update.
69633 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
69635         [BZ #3976]
69636         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
69637         (__ieee754_pow): Save and restore rounding mode and use
69638         round-to-nearest for main computations.
69639         * math/libm-test.inc (pow_test_tonearest): New function.
69640         (pow_test_towardzero): Likewise.
69641         (pow_test_downward): Likewise.
69642         (pow_test_upward): Likewise.
69643         (main): Call the new functions.
69644         * sysdeps/i386/fpu/libm-test-ulps: Update.
69645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69647         [BZ #3976]
69648         * math/libm-test.inc (cosh_test_tonearest): New function.
69649         (cosh_test_towardzero): Likewise.
69650         (cosh_test_downward): Likewise.
69651         (cosh_test_upward): Likewise.
69652         (sinh_test_tonearest): Likewise.
69653         (sinh_test_towardzero): Likewise.
69654         (sinh_test_downward): Likewise.
69655         (sinh_test_upward): Likewise.
69656         (main): Call the new functions.
69657         * sysdeps/i386/fpu/libm-test-ulps: Update.
69658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69660 2012-03-05  Tom de Vries  <tom@codesourcery.com>
69662         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
69663         default stack guard is set in last bytes.
69664         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
69666 2012-03-05  Kees Cook  <keescook@chromium.org>
69668         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
69670         [BZ #13656]
69671         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
69672         possibly allocate from heap instead of stack.
69673         * stdio-common/bug-vfprintf-nargs.c: New file.
69674         * stdio-common/Makefile (tests): Add nargs overflow test.
69676 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
69678         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69680 2012-03-03  Marek Polacek  <polacek@redhat.com>
69682         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
69683         * math/math_private.h: Likewise.
69684         * stdlib/tst-strtod.c: Likewise.
69685         * sysdeps/i386/i486/bits/atomic.h: Likewise.
69686         * sysdeps/x86_64/bits/atomic.h: Likewise.
69688 2012-03-02  David S. Miller  <davem@davemloft.net>
69690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
69691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
69692         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
69693         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
69694         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
69695         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
69696         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
69697         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
69699 2012-03-02  Roland McGrath  <roland@hack.frob.com>
69701         [BZ #13792]
69702         * manual/examples/README: New file, says the example source files
69703         can be used under GPL>=2.
69704         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
69705         line containing just "*/".
69706         * manual/examples/add.c: Add copyright header (GPL>=2).
69707         * manual/examples/argp-ex1.c: Likewise.
69708         * manual/examples/argp-ex2.c: Likewise.
69709         * manual/examples/argp-ex3.c: Likewise.
69710         * manual/examples/argp-ex4.c: Likewise.
69711         * manual/examples/atexit.c: Likewise.
69712         * manual/examples/db.c: Likewise.
69713         * manual/examples/dir.c: Likewise.
69714         * manual/examples/dir2.c: Likewise.
69715         * manual/examples/execinfo.c: Likewise.
69716         * manual/examples/filecli.c: Likewise.
69717         * manual/examples/filesrv.c: Likewise.
69718         * manual/examples/fmtmsgexpl.c: Likewise.
69719         * manual/examples/genpass.c: Likewise.
69720         * manual/examples/inetcli.c: Likewise.
69721         * manual/examples/inetsrv.c: Likewise.
69722         * manual/examples/isockad.c: Likewise.
69723         * manual/examples/longopt.c: Likewise.
69724         * manual/examples/memopen.c: Likewise.
69725         * manual/examples/memstrm.c: Likewise.
69726         * manual/examples/mkfsock.c: Likewise.
69727         * manual/examples/mkisock.c: Likewise.
69728         * manual/examples/mygetpass.c: Likewise.
69729         * manual/examples/pipe.c: Likewise.
69730         * manual/examples/popen.c: Likewise.
69731         * manual/examples/rprintf.c: Likewise.
69732         * manual/examples/search.c: Likewise.
69733         * manual/examples/select.c: Likewise.
69734         * manual/examples/setjmp.c: Likewise.
69735         * manual/examples/sigh1.c: Likewise.
69736         * manual/examples/sigusr.c: Likewise.
69737         * manual/examples/stpcpy.c: Likewise.
69738         * manual/examples/strdupa.c: Likewise.
69739         * manual/examples/strftim.c: Likewise.
69740         * manual/examples/strncat.c: Likewise.
69741         * manual/examples/subopt.c: Likewise.
69742         * manual/examples/swapcontext.c: Likewise.
69743         * manual/examples/termios.c: Likewise.
69744         * manual/examples/testopt.c: Likewise.
69745         * manual/examples/testpass.c: Likewise.
69746         * manual/examples/timeval_subtract.c: Likewise.
69748         [BZ #13792]
69749         * manual/time.texi (Elapsed Time): Move timeval_subtract example
69750         function to ...
69751         * manual/timeval_subtract.c.texi: ... here, new file.
69753 2012-03-02  David S. Miller  <davem@davemloft.net>
69755         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
69757 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
69759         [BZ #3976]
69760         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
69761         (__sin): Save and restore rounding mode and use round-to-nearest
69762         for all computations.
69763         (__cos): Save and restore rounding mode and use round-to-nearest
69764         for all computations.
69765         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
69766         <fenv.h>.
69767         (tan): Save and restore rounding mode and use round-to-nearest for
69768         all computations.
69769         * math/libm-test.inc (cos_test_tonearest): New function.
69770         (cos_test_towardzero): Likewise.
69771         (cos_test_downward): Likewise.
69772         (cos_test_upward): Likewise.
69773         (sin_test_tonearest): Likewise.
69774         (sin_test_towardzero): Likewise.
69775         (sin_test_downward): Likewise.
69776         (sin_test_upward): Likewise.
69777         (tan_test_tonearest): Likewise.
69778         (tan_test_towardzero): Likewise.
69779         (tan_test_downward): Likewise.
69780         (tan_test_upward): Likewise.
69781         (main): Call the new functions.
69782         * sysdeps/i386/fpu/libm-test-ulps: Update.
69783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69785         [BZ #10135]
69786         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
69787         small n, then large n, before computing and testing k+n.
69788         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
69789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
69790         Likewise.
69791         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
69792         Likewise.
69793         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
69794         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
69795         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
69796         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
69797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
69798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
69799         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
69800         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
69801         * math/libm-test.inc (scalbn_test): Add more tests.
69802         (scalbln_test): Likewise.
69804         * manual/filesys.texi (mode_t): Describe constraints on size and
69805         signedness, not exact equivalence to a particular type.
69806         (ino_t): Likewise.
69807         (ino64_t): Likewise.
69808         (dev_t): Likewise.
69809         (nlink_t): Likewise.
69810         (blkcnt_t): Likewise.
69811         (blkcnt64_t): Likewise.
69812         * manual/llio.texi (off_t): Likewise.
69814         [BZ #3976]
69815         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
69816         (__ieee754_exp): Save and restore rounding mode and use
69817         round-to-nearest for all computations.
69818         * math/libm-test.inc (exp_test_tonearest): New function.
69819         (exp_test_towardzero): Likewise.
69820         (exp_test_downward): Likewise.
69821         (exp_test_upward): Likewise.
69822         (main): Call the new functions.
69823         * sysdeps/i386/fpu/libm-test-ulps: Update.
69824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69826 2012-03-01  Chris Demetriou  <cgd@google.com>
69828         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
69829         have predictable order.
69831 2012-03-01  David S. Miller  <davem@davemloft.net>
69833         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
69835         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
69836         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
69837         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
69838         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
69840         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
69841         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
69842         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
69843         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
69844         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
69845         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
69846         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
69847         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
69848         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
69850         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69852         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
69853         * sysdeps/sparc/fpu/libm-test-ulps: to here.
69854         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
69856         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
69857         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
69858         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
69859         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
69860         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
69861         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
69862         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
69863         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
69864         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
69865         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
69866         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
69867         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
69868         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
69869         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
69870         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
69871         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69872         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
69873         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
69874         * sysdeps/sparc/elf/configure: Regenerated.
69876 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
69878         * configure.in (AS, LD): Require binutils 2.20 or later.
69879         * configure: Regenerated.
69880         * manual/install.texi (Tools for Compilation): Give binutils 2.20
69881         as required minimum version.
69882         * INSTALL: Regenerated.
69884         [BZ #2541]
69885         [BZ #4108]
69886         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
69887         before squaring exponent.
69888         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
69889         bottom long double and 27 bits of top long double before squaring
69890         exponent.
69891         * math/libm-test.inc (erfc_test): Add more tests.
69892         * sysdeps/i386/fpu/libm-test-ulps: Update.
69893         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
69894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69896 2012-03-01  Kai Tietz  <ktietz@redhat.com>
69898         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
69899         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
69900         containing bit-fields.
69901         * soft-fp/extended.h (_FP_UNION_E): Likewise.
69902         * soft-fp/single.h (_FP_UNION_S): Likewise.
69903         * soft-fp/double.h (_FP_UNION_D): Likewise.
69905 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69907         [BZ #13786]
69908         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
69909         not include ../strcmp.S.
69910         [USE_AS_STRNCASECMP_L]: Likewise.
69911         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
69912         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
69913         * sysdeps/i386/i686/multiarch/strncase_l-c.c
69914         (__strncasecmp_l_ia32): Define as alias to
69915         __strncasecmp_l_nonascii.
69917         [BZ #5794]
69918         * math/libm-test.inc (expm1_test): Add test for bug 5794.
69919         * sysdeps/i386/fpu/libm-test-ulps: Update.
69920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69922         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
69923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69925 2012-02-29  Jeff Law  <law@redhat.com>
69927         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
69928         out of bounds read.
69930 2012-02-29  Marek Polacek  <polacek@redhat.com>
69932         [BZ #13706]
69933         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
69934         * elf/Makefile: Add rules to run tst-unused-dep.out.
69936 2012-02-28  David S. Miller  <davem@davemloft.net>
69938         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
69939         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
69940         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
69941         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
69942         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
69943         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
69945 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
69947         * math/libm-test.inc (llround_test): Move one test from
69948         lround_test.  Use TEST_f_L in moved test.
69949         (lround_test): Move misplaced test to llround_test.  Add testcase
69950         from bug 2561.
69952 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
69954         * sysdeps/x86_64/fpu/e_expf.S: New file.
69955         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
69957 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
69959         [BZ #13637]
69960         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
69961         of remain_len that may cause incomplete multi-byte character and
69962         false match.
69963         * posix/bug-regex33.c: New file.
69964         * posix/Makefile (tests): Add bug-regex33.
69966 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
69968         * manual/macros.texi: New file.
69969         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
69970         * manual/libc.texinfo: Include macros.texi.
69971         * manual/creatute.texi: Likewise.
69972         * manual/install.texi: Likewise.
69973         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
69974         @glibcadj{} in references to the GNU C Library.
69975         * manual/charset.texi: Likewise.
69976         * manual/conf.texi: Likewise.
69977         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
69978         when not using those macros.
69979         * manual/creature.texi: Likewise.
69980         * manual/crypt.texi: Likewise.
69981         * manual/errno.texi: Likewise.
69982         * manual/filesys.texi: Likewise.
69983         * manual/header.texi: Likewise.
69984         * manual/install.texi: Likewise.
69985         * manual/intro.texi: Likewise.
69986         * manual/io.texi: Likewise.
69987         * manual/job.texi: Likewise.
69988         * manual/lang.texi: Likewise.
69989         * manual/libc.texiinfo: Likewise.
69990         * manual/llio.texi: Likewise.
69991         * manual/locale.texi: Likewise.
69992         * manual/maint.texi: Likewise.
69993         * manual/math.texi: Likewise.
69994         * manual/memory.texi: Likewise.
69995         * manual/message.texi: Likewise.
69996         * manual/nss.texi: Likewise.
69997         * manual/pattern.texi: Likewise.
69998         * manual/process.texi: Likewise.
69999         * manual/resource.texi: Likewise.
70000         * manual/search.texi: Likewise.
70001         * manual/setjmp.texi: Likewise.
70002         * manual/signal.texi: Likewise.
70003         * manual/socket.texi: Likewise.
70004         * manual/startup.texi: Likewise.
70005         * manual/stdio.texi: Likewise.
70006         * manual/string.texi: Likewise.
70007         * manual/sysinfo.texi: Likewise.
70008         * manual/syslog.texi: Likewise.
70009         * manual/terminal.texi: Likewise.
70010         * manual/time.texi: Likewise.
70011         * manual/users.texi: Likewise.
70012         * INSTALL: Regenerated.
70013         * NOTES: Regenerated.
70014         * sysdeps/gnu/errlist.c: Regenerated.
70016 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70018         * include/dirent.h: Include <dirstream.h> before
70019         <dirent/dirent.h>.
70021 2012-02-28  David S. Miller  <davem@davemloft.net>
70023         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70024         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70025         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70026         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70028 2012-02-27  David S. Miller  <davem@davemloft.net>
70030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70032         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70033         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70036         frame pointer instead of stack pointer relative arg slot.
70037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70038         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70039         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70041 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70043         [BZ #3992]
70044         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70046 2012-02-27  David S. Miller  <davem@davemloft.net>
70048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70052         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70053         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70054         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70055         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70057 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70059         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70060         later.  Allow versions 5-9.
70061         * configure: Regenerated.
70062         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70063         required minimum version and 4.6 as recommended version.  Do not
70064         mention bugs in GCC 2.7 and 2.8.
70065         * INSTALL: Regenerated.
70067 2012-02-27  David S. Miller  <davem@davemloft.net>
70069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70073         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70074         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70075         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70076         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70078         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70079         manipulate bits before adding and subtracting TWO112[sx].
70080         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70082 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70084         [BZ #13775]
70085         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70086         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70087         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70088         being in POSIX, because they are in 1003.1-2008.
70090         * rt/tst-aio.c: Include <fcntl.h>.
70091         * rt/tst-aio7.c: Likewise.
70092         * rt/tst-aio64.c: Likewise.
70094         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70096 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70098         * manual/install.texi (--with-headers): Describe headers as
70099         interface headers, not private headers.
70100         (Specific advice for GNU/Linux systems): Describe use of headers
70101         from "make headers_install", not private headers from older
70102         kernels.
70103         * INSTALL: Regenerated.
70104         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70105         Change to 2.6.19.
70106         * sysdeps/unix/sysv/linux/configure: Regenerated.
70108         * manual/llio.texi (fclean): Remove documentation.
70110         * manual/Makefile (libc-texi-generated): New variable.  Include
70111         version.texi.
70112         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70113         $(libc-texi-generated), not duplicated list of files.
70114         (version.texi, stamp-version): New rules.
70115         (realclean): Remove $(libc-texi-generated), not individual files
70116         from that list.  Do not remove dir-add.texinfo.
70117         * manual/libc.texinfo: Comment out uses of edition numbers and
70118         references to printed manual.  Remove last-updated dates.
70119         (EDITION): Comment out.
70120         (ISBN): Likewise.
70121         (VERSION, UPDATED): Remove.
70122         (version.texi): Include.
70124 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70126         * sysdeps/posix/spawni.c: Include <signal.h>.
70127         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70128         * sysdeps/pthread/aio_fsync.c: Likewise.
70130 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70132         * conform/Makefile (tests): Run only when not cross-compiling and
70133         when fast-check is not defined.
70135         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70136         * conform/data/limits.h-data: Fixes for POSIX2008.
70137         * conform/run-conformtest.sh: Run all tests.
70138         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70139         headers.
70140         * include/bits/dlfcn.h: Likewise.
70141         * include/langinfo.h: Likewise.
70142         * include/monetary.h: Likewise.
70143         * include/sys/poll.h: Likewise.
70145         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70146         for __USE_GNU.
70147         * posix/spawn.h: Define __need_sigset_t.
70148         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70149         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70150         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70151         to get sigevent_t only.
70152         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70153         only for __USE_GNU.
70154         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70155         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70156         process_vm_writev only for __USE_GNU.
70157         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70159         * conform/Makefile: For now ignore errors from run-conformtest.
70160         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70161         POSIX to avoid namespace pollution.  Don't prepend headers.
70162         * conform/data/aio.h-data: Fixes for POSIX testing.
70163         * conform/data/fcntl.h-data: Likewise.
70164         * conform/data/glob.h-data: Likewise.
70165         * conform/data/grp.h-data: Likewise.
70166         * conform/data/pthread.h-data: Likewise.
70167         * conform/data/pwd.h-data: Likewise.
70168         * conform/data/signal.h-data: Likewise.
70169         * conform/data/spawn.h-data: Likewise.
70170         * conform/data/stdio.h-data: Likewise.
70171         * conform/data/stdlib.h-data: Likewise.
70172         * conform/data/stropts.h-data: Likewise.
70173         * conform/data/sys/mman.h-data: Likewise.
70174         * conform/data/sys/stat.h-data: Likewise.
70175         * conform/data/sys/types.h-data: Likewise.
70176         * conform/data/sys/wait.h-data: Likewise.
70177         * conform/data/time.h-data: Likewise.
70178         * conform/data/unistd.h-data: Likewise.
70179         * conform/data/utime.h-data: Likewise.
70181         * io/sys/stat.h: fchmod was always in POSIX.
70182         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
70183         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
70184         * rt/aio.h: Define __need_timespec before including <time.h>.
70185         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
70186         struct.  Add forward declaration of pthread_attr_t and use it in
70187         sigevent.
70188         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
70189         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
70190         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
70191         always remove CLK_TCK definition.
70193 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
70195         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
70197 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
70199         * conform/run-conformtest.sh: New file.
70200         * conform/Makefile: Run run-conformtest for tests.
70201         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
70202         support.
70204         * conform/data/uchar.h-data: New file.
70205         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
70206         * conform/data/arpa/inet.h-data: Likewise.
70207         * conform/data/assert.h-data: Likewise.
70208         * conform/data/complex.h-data: Likewise.
70209         * conform/data/cpio.h-data: Likewise.
70210         * conform/data/ctype.h-data: Likewise.
70211         * conform/data/dirent.h-data: Likewise.
70212         * conform/data/dlfcn.h-data: Likewise.
70213         * conform/data/errno.h-data: Likewise.
70214         * conform/data/fcntl.h-data: Likewise.
70215         * conform/data/float.h-data: Likewise.
70216         * conform/data/fmtmsg.h-data: Likewise.
70217         * conform/data/fnmatch.h-data: Likewise.
70218         * conform/data/ftw.h-data: Likewise.
70219         * conform/data/glob.h-data: Likewise.
70220         * conform/data/grp.h-data: Likewise.
70221         * conform/data/iconv.h-data: Likewise.
70222         * conform/data/inttypes.h-data: Likewise.
70223         * conform/data/langinfo.h-data: Likewise.
70224         * conform/data/libgen.h-data: Likewise.
70225         * conform/data/limits.h-data: Likewise.
70226         * conform/data/locale.h-data: Likewise.
70227         * conform/data/math.h-data: Likewise.
70228         * conform/data/monetary.h-data: Likewise.
70229         * conform/data/mqueue.h-data: Likewise.
70230         * conform/data/ndbm.h-data: Likewise.
70231         * conform/data/net/if.h-data: Likewise.
70232         * conform/data/netdb.h-data: Likewise.
70233         * conform/data/netinet/in.h-data: Likewise.
70234         * conform/data/nl_types.h-data: Likewise.
70235         * conform/data/poll.h-data: Likewise.
70236         * conform/data/pthread.h-data: Likewise.
70237         * conform/data/pwd.h-data: Likewise.
70238         * conform/data/regex.h-data: Likewise.
70239         * conform/data/sched.h-data: Likewise.
70240         * conform/data/search.h-data: Likewise.
70241         * conform/data/semaphore.h-data: Likewise.
70242         * conform/data/setjmp.h-data: Likewise.
70243         * conform/data/signal.h-data: Likewise.
70244         * conform/data/spawn.h-data: Likewise.
70245         * conform/data/stdarg.h-data: Likewise.
70246         * conform/data/stdio.h-data: Likewise.
70247         * conform/data/stdlib.h-data: Likewise.
70248         * conform/data/string.h-data: Likewise.
70249         * conform/data/strings.h-data: Likewise.
70250         * conform/data/stropts.h-data: Likewise.
70251         * conform/data/sys/ipc.h-data: Likewise.
70252         * conform/data/sys/mman.h-data: Likewise.
70253         * conform/data/sys/msg.h-data: Likewise.
70254         * conform/data/sys/resource.h-data: Likewise.
70255         * conform/data/sys/select.h-data: Likewise.
70256         * conform/data/sys/sem.h-data: Likewise.
70257         * conform/data/sys/shm.h-data: Likewise.
70258         * conform/data/sys/socket.h-data: Likewise.
70259         * conform/data/sys/stat.h-data: Likewise.
70260         * conform/data/sys/statvfs.h-data: Likewise.
70261         * conform/data/sys/time.h-data: Likewise.
70262         * conform/data/sys/timeb.h-data: Likewise.
70263         * conform/data/sys/times.h-data: Likewise.
70264         * conform/data/sys/types.h-data: Likewise.
70265         * conform/data/sys/uio.h-data: Likewise.
70266         * conform/data/sys/un.h-data: Likewise.
70267         * conform/data/sys/utsname.h-data: Likewise.
70268         * conform/data/sys/wait.h-data: Likewise.
70269         * conform/data/syslog.h-data: Likewise.
70270         * conform/data/tar.h-data: Likewise.
70271         * conform/data/termios.h-data: Likewise.
70272         * conform/data/utime.h-data: Likewise.
70273         * conform/data/utmpx.h-data: Likewise.
70274         * conform/data/varargs.h-data: Likewise.
70275         * conform/data/wchar.h-data: Likewise.
70276         * conform/data/wctype.h-data: Likewise.
70277         * conform/data/wordexp.h-data: Likewise.
70279         * include/stropts.h: New file.
70280         * include/uchar.h: New file.
70281         * include/aio.h: Changes to allow conformtest.pl to use the headers.
70282         * include/assert.h: Likewise.
70283         * include/ctype.h: Likewise.
70284         * include/dirent.h: Likewise.
70285         * include/dlfcn.h: Likewise.
70286         * include/fcntl.h: Likewise.
70287         * include/fnmatch.h: Likewise.
70288         * include/glob.h: Likewise.
70289         * include/grp.h: Likewise.
70290         * include/libio.h: Likewise.
70291         * include/locale.h: Likewise.
70292         * include/math.h: Likewise.
70293         * include/net/if.h: Likewise.
70294         * include/netdb.h: Likewise.
70295         * include/netinet/in.h: Likewise.
70296         * include/pthread.h: Likewise.
70297         * include/pwd.h: Likewise.
70298         * include/regex.h: Likewise.
70299         * include/sched.h: Likewise.
70300         * include/search.h: Likewise.
70301         * include/setjmp.h: Likewise.
70302         * include/signal.h: Likewise.
70303         * include/stdio.h: Likewise.
70304         * include/stdlib.h: Likewise.
70305         * include/string.h: Likewise.
70306         * include/sys/cdefs.h: Likewise.
70307         * include/sys/mman.h: Likewise.
70308         * include/sys/msg.h: Likewise.
70309         * include/sys/resource.h: Likewise.
70310         * include/sys/select.h: Likewise.
70311         * include/sys/socket.h: Likewise.
70312         * include/sys/stat.h: Likewise.
70313         * include/sys/statvfs.h: Likewise.
70314         * include/sys/time.h: Likewise.
70315         * include/sys/times.h: Likewise.
70316         * include/sys/uio.h: Likewise.
70317         * include/sys/utsname.h: Likewise.
70318         * include/sys/wait.h: Likewise.
70319         * include/termios.h: Likewise.
70320         * include/time.h: Likewise.
70321         * include/ulimit.h: Likewise.
70322         * include/unistd.h: Likewise.
70323         * include/utime.h: Likewise.
70324         * include/wchar.h: Likewise.
70325         * include/wctype.h: Likewise.
70326         * include/wordexp.h: Likewise.
70328         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
70330         * time/time.h: TIME_UTC must be a macro.
70331         Make timespec_get available for ISO C11 only as well.
70333 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
70335         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
70336         Reported by Peng Haitao <penght@cn.fujitsu.com>.
70338 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70340         * configure.in: Use -o not -a in test for unsupported multi-arch.
70342 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70344         * manual/texinfo.tex: Update to version 2012-01-19.16.
70346 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
70348         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
70350 2012-02-24  Roland McGrath  <roland@hack.frob.com>
70352         [BZ #13738]
70353         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
70354         * manual/fdl-1.3.texi: New file.
70355         * manual/fdl-1.1.texi: File removed.
70357         [BZ #13738]
70358         * manual/libc.texinfo (FDL_VERSION): New @set.
70359         Use it for mention of FDL in cover text.
70360         (Documentation License): Use it in @include file name.
70362 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70363             Roland McGrath  <roland@hack.frob.com>
70365         [BZ #5461]
70366         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
70367         (not LONG_LONG_MAX and LONG_LONG_MIN.
70368         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
70369         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
70370         name.
70371         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
70373 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70375         [BZ #2547]
70376         [BZ #11365]
70377         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
70378         manipulate bits before adding and subtracting TWO23[sx].
70379         * math/libm-test.inc (nearbyint_test): Add more tests.
70381 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70383         [BZ #2548]
70384         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
70385         bits before adding and subtracting TWO23[sx].
70386         * math/libm-test.inc (rint_test): Add more tests.
70387         (rint_test_tonearest): Likewise.
70388         (rint_test_towardzero): Likewise.
70389         (rint_test_downward): Likewise.
70390         (rint_test_upward: Likewise.
70392 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70394         [BZ #10110]
70395         * include/stdc-predef.h: New file.  Extracted from features.h.
70396         * include/features.h: Include stdc-predef.h.
70397         * Makefile (headers): Add stdc-predef.h.
70398         * CONFORMANCE (Compiler limitations): Update.
70400 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
70402         * manual/libc.texinfo (VERSION, UPDATED): Revert.
70404 2012-02-21  David S. Miller  <davem@davemloft.net>
70406         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
70407         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70409 2012-02-20  David S. Miller  <davem@davemloft.net>
70411         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
70412         using a normal save/restore sequence, rather than allocating a
70413         dummy stack frame just to store a frame pointer and restore.
70414         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70416 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70418         * manual/install.texi: Fix stray word in line-wrapped comment.
70420 2012-02-20  David S. Miller  <davem@davemloft.net>
70422         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
70423         both binutils and gcc support GOTDATA.
70425         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
70426         "rd %pc" in the PIC register setup sequences.
70428         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
70429         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
70430         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70431         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
70432         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70433         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70434         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
70435         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70436         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
70437         (SYSCALL_ERROR_HANDLER): Likewise.
70438         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70439         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
70441         (SYSCALL_ERROR_HANDLER): Likewise.
70443         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
70444         (HAVE_GCC_GOTDATA): New.
70445         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
70446         relocation support in both binutils and gcc.
70447         * sysdeps/sparc/elf/configure: Regenerate.
70449         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
70450         * sysdeps/sparc/sparc32/elf/configure: Delete.
70451         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
70452         * sysdeps/sparc/sparc64/elf/configure: Delete.
70453         * sysdeps/sparc/elf/configure.in: New file.
70454         * sysdeps/sparc/elf/configure: Generate.
70456         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
70457         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
70458         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
70459         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
70460         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
70462 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70464         * manual/install.texi: Do not mention specific glibc version
70465         numbers.
70466         * manual/libc.texinfo (VERSION, UPDATED): Update.
70467         (@copying): Use @copyright{} and range of years.
70469 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
70471         [BZ #13695]
70472         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
70473         [crti.S not in sysdirs] (generated): Do not append.
70474         [crti.S not in sysdirs] (omit-deps): Likewise.
70475         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
70476         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
70477         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
70478         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
70479         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
70480         Likewise.
70481         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
70482         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
70483         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
70484         * csu/defs.awk: Remove file.
70485         * sysdeps/generic/initfini.c: Likewise.
70486         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
70487         variable.
70488         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
70489         Likewise.
70491 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70493         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
70494         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
70495         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
70496         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
70497         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
70498         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
70499         <bits/epoll.h>.
70500         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
70501         (__EPOLL_PACKED): Define to empty if not defined by
70502         <bits/epoll.h>.
70503         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
70504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70505         bits/epoll.h.
70507 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70509         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
70510         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
70511         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
70512         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
70513         <bits/timerfd.h>.
70514         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
70515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70516         bits/timerfd.h.
70518 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
70520         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
70521         in C locale.
70522         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70523         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
70524         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
70525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70527 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
70529         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70530         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
70532 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
70534         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
70535         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
70536         defined.
70537         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
70538         Likewise.
70539         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
70540         entry for 2.16.
70542 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
70544         * math/w_acos.c: Use non-signaling floating-point comparisons.
70545         * math/w_acosf.c: Likewise.
70546         * math/w_acosh.c: Likewise.
70547         * math/w_acoshf.c: Likewise.
70548         * math/w_acoshl.c: Likewise.
70549         * math/w_acosl.c: Likewise.
70550         * math/w_asin.c: Likewise.
70551         * math/w_asinf.c: Likewise.
70552         * math/w_asinl.c: Likewise.
70553         * math/w_atanh.c: Likewise.
70554         * math/w_atanhf.c: Likewise.
70555         * math/w_atanhl.c: Likewise.
70556         * math/w_exp2.c: Likewise.
70557         * math/w_exp2f.c: Likewise.
70558         * math/w_exp2l.c: Likewise.
70559         * math/w_j0.c: Likewise.
70560         * math/w_j0f.c: Likewise.
70561         * math/w_j0l.c: Likewise.
70562         * math/w_j1.c: Likewise.
70563         * math/w_j1f.c: Likewise.
70564         * math/w_j1l.c: Likewise.
70565         * math/w_jn.c: Likewise.
70566         * math/w_jnf.c: Likewise.
70567         * math/w_log.c: Likewise.
70568         * math/w_log10.c: Likewise.
70569         * math/w_log10f.c: Likewise.
70570         * math/w_log10l.c: Likewise.
70571         * math/w_log2.c: Likewise.
70572         * math/w_log2f.c: Likewise.
70573         * math/w_log2l.c: Likewise.
70574         * math/w_logf.c: Likewise.
70575         * math/w_logl.c: Likewise.
70576         * math/w_sqrt.c: Likewise.
70577         * math/w_sqrtf.c: Likewise.
70578         * math/w_sqrtl.c: Likewise.
70579         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
70580         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
70581         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
70582         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
70583         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
70585 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70587         [BZ #9739]
70588         * manual/string.texi (strnlen): Use correct parameter name in
70589         equivalent expression.
70591 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70593         [BZ #11174]
70594         * manual/users.texi (seteuid): Consistently use neweuid for
70595         argument name.
70597 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
70599         [BZ #13704]
70600         * manual/nss.texi (Services in the NSS configuration): Correct
70601         list of services in example configuration file.
70603 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
70605         [BZ #11322]
70606         * manual/arith.texi: Remove statements about negative zero
70607         behaving identically to zero.
70609 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70611         [BZ #5993]
70612         * manual/install.texi: Do not document upgrading from libc5.
70614 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
70616         [BZ #4596]
70617         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
70619 2012-02-18  David S. Miller  <davem@davemloft.net>
70621         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
70622         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
70623         %o7 across the call.
70624         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
70625         instead.
70626         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
70627         SETUP_PIC_REG_LEAF.
70628         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70629         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
70630         * sysdeps/sparc/crtn.S: Likewise.
70632 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
70634         * aout/Makefile: Remove.
70636 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
70638         [BZ #13058]
70639         * manual/examples/argp-ex1.c (main): Format definition in GNU
70640         style.
70641         * manual/examples/argp-ex2.c (main): Likewise.
70642         * manual/examples/argp-ex3.c (main): Likewise.
70643         * manual/examples/argp-ex4.c (main): Likewise.
70644         * manual/examples/longopt.c (main): Use new-style prototype
70645         definition.
70646         * manual/examples/strncat.c (main): Specify return type and use
70647         (void) for arguments.
70648         * manual/examples/subopt.c (main): Use char **argv argument.
70650 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70652         [BZ #5077]
70653         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
70654         rounding modes.
70656 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
70658         [BZ #6907]
70659         * manual/string.texi (strchr): Change when strchrnul is
70660         recommended.
70662 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
70664         [BZ #174]
70665         * manual/locale.texi (setlocale): Document LOCPATH.
70667 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70669         [BZ #10210]
70670         * manual/process.texi (execle): Move @dots{} before last argument.
70672 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
70674         [BZ #12047]
70675         * manual/charset.texi (Generic Charset Conversion): Fix typo
70676         (LC_TYPE -> LC_CTYPE).
70678 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
70680         [BZ #5805]
70681         * manual/arith.texi (scalbn): Use @var{} on parameter names.
70682         (scalbnf): Likewise.
70683         (scalbnl): Likewise.
70684         (scalbln): Likewise.
70685         (scalblnf): Likewise.
70686         (scalblnl): Likewise.
70687         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
70688         (vwarnx): Likewise.
70689         (verr): Likewise.
70690         (verrx): Likewise.
70691         * manual/filesys.texi (telldir): Use braces around return type.
70692         * manual/llio.texi (mmap): Add space after comma.
70693         (mmap64): Likewise.
70694         * manual/math.texi (jn): Use @var{} on parameter names.
70695         (jnf): Likewise.
70696         (jnl): Likewise.
70697         (yn): Likewise.
70698         (ynf): Likewise.
70699         (ynl): Likewise.
70700         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
70701         line.
70702         * manual/resource.texi (ulimit): Use @dots{} instead of literal
70703         "...".
70704         (sched_get_priority_min): Remove semicolon on @deftypefun line.
70705         (sched_get_priority_max): Likewise.
70706         * manual/signal.texi (sigvec): Add space after comma.
70707         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
70708         names.
70709         (if_indextoname): Likewise.
70710         (if_freenameindex): Likewise.
70711         (sendto): Use ',' instead of '.' in prototype.
70712         * manual/startup.texi (syscall): Use @dots{} instead of literal
70713         "...".
70714         * manual/stdio.texi (__fpending): Separate initial words of
70715         paragraph from @deftypefun line.
70716         * manual/syslog.texi (syslog): Use @dots{} instead of literal
70717         "...".
70718         (vsyslog): Use @var{} on parameter names.
70719         * manual/terminal.texi (stty): Use @var{} on parameter names.
70720         * manual/users.texi (getutmp): Use @var{} on parameter names.
70721         (getutmpx): Likewise.
70723 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70725         [BZ #6884]
70726         * manual/stdio.texi (fopen): Fix typos in description of
70727         ",ccs=STRING".
70729 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
70731         [BZ #4026]
70732         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
70733         get clock_id definition.
70735 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
70737         [BZ #4822]
70738         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
70739         (madvise): Cast every argument to void on its own.
70741 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70743         [BZ #9902]
70744         * manual/startup.texi (Exit Status): Fix typo.
70746 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
70748         [BZ #10140]
70749         * manual/examples/argp-ex1.c: Include <stdlib.h>.
70750         * manual/examples/argp-ex2.c: Likewise.
70751         * manual/examples/argp-ex3.c: Likewise.
70753 2012-02-16  Richard Henderson  <rth@redhat.com>
70755         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
70756         * sysdeps/s390/s390-32/initfini.c: Remove.
70757         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
70758         * sysdeps/s390/s390-64/initfini.c: Remove.
70760 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70762         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
70763         compiler output for sysdeps/generic/initfini.c.
70764         * sysdeps/sh/elf/initfini.c: Remove file.
70766 2012-02-16  David S. Miller  <davem@davemloft.net>
70768         [BZ #11494]
70769         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
70771         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
70772         * sysdeps/sparc/crti.S: New file.
70773         * sysdeps/sparc/crtn.S: New file.
70774         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
70775         * sysdeps/sparc/sparc64/Makefile: Likewise.
70777 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
70779         [BZ #3335]
70780         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
70782 2012-02-15  Roland McGrath  <roland@hack.frob.com>
70784         [BZ #4822]
70785         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
70787         * mach/devstream.c (cookie_io_functions_t): Macro removed.
70788         (write, read, close): Likewise.
70789         Patch by Aurelien Jarno <aurelien@aurel32.net>.
70791 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
70793         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
70794         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
70795         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
70796         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
70797         <bits/signalfd.h>.
70798         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
70799         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70800         bits/signalfd.h.
70802 2012-02-14  Marek Polacek  <polacek@redhat.com>
70804         * sysdeps/x86_64/crti.S: New file.
70805         * sysdeps/x86_64/crtn.S: New file.
70806         * sysdeps/x86_64/elf/initfini.c: Remove file.
70808 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70810         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
70811         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
70812         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
70813         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
70814         <bits/inotify.h>.
70815         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
70816         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70817         bits/inotify.h.
70819 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
70821         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
70822         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
70823         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
70824         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
70825         <bits/eventfd.h>.
70826         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
70827         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70828         bits/eventfd.h.
70830 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
70832         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
70833         __feraiseexcept instead of feraiseexcept.
70835         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
70836         nanosleep invocations.
70837         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
70838         strings, and add error checking for a nanosleep invocations.
70840 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
70842         Replace FSF snail mail address with URLs, as per GNU coding standards.
70843         Most of the snail mail addresses were wrong anyway, and omitting
70844         them makes the source code easier to maintain.  Almost all of the
70845         changes are to license notices and to locale LC_IDENTIFICATION
70846         addresses, except for this one:
70847         * manual/libc.texinfo: In "Published by", give the FSF's URL,
70848         not its snail mail address.
70850 2012-02-09  Richard Henderson  <rth@twiddle.net>
70852         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
70853         of kernel-features.h.
70855         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
70857 2012-02-08  Marek Polacek  <polacek@redhat.com>
70859         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
70860         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
70861         * sysdeps/gnu/_G_config.h: Likewise.
70862         * sysdeps/generic/_G_config.h: Likewise.
70864 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
70866         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
70867         tests.
70868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70870         * sysdeps/powerpc/powerpc32/crti.S: New file.
70871         * sysdeps/powerpc/powerpc32/crtn.S: New file.
70872         * sysdeps/powerpc/powerpc64/crti.S: New file.
70873         * sysdeps/powerpc/powerpc64/crtn.S: New file.
70875         * Makeconfig (have-initfini): Don't set.
70876         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
70877         * configure.in (nopic_initfini): Don't substitute.
70878         * config.h.in (HAVE_INITFINI): Don't #undef.
70879         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
70880         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
70882 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
70884         Support crti.S and crtn.S provided directly by architectures.
70885         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
70886         [crti.S in sysdirs] (omit-deps): Likewise.
70887         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
70888         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
70889         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
70890         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
70891         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
70892         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
70893         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
70894         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
70895         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
70896         compiler output for sysdeps/generic/initfini.c.
70897         * sysdeps/i386/elf/Makefile: Remove file.
70898         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
70900 2012-02-07  Marek Polacek  <polacek@redhat.com>
70902         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
70903         * sysdeps/gnu/_G_config.h: Likewise.
70904         * sysdeps/mach/hurd/_G_config.h: Likewise.
70906 2012-02-07  Marek Polacek  <polacek@redhat.com>
70908         * math/Makefile (tests): Add tst-CMPLX2.
70909         * math/tst-CMPLX2.c: New file.
70911 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
70913         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
70915         * math/libm-test.inc (jn_test): Add missing L suffix.
70917 2012-02-06  Marek Polacek  <polacek@redhat.com>
70919         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
70920         * sysdeps/i386/fpu/e_powf.S: Likewise.
70921         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
70922         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
70923         * sysdeps/i386/fpu/e_acosh.S: Likewise.
70924         * sysdeps/i386/fpu/e_pow.S: Likewise.
70925         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
70926         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
70927         * sysdeps/i386/fpu/s_expm1.S: Likewise.
70928         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
70929         * sysdeps/i386/fpu/e_log2.S: Likewise.
70930         * sysdeps/i386/fpu/e_log2l.S: Likewise.
70931         * sysdeps/i386/fpu/e_scalb.S: Likewise.
70932         * sysdeps/i386/fpu/e_powl.S: Likewise.
70933         * sysdeps/i386/fpu/s_log1p.S: Likewise.
70934         * sysdeps/i386/fpu/e_log10f.S: Likewise.
70935         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
70936         * sysdeps/i386/fpu/e_logl.S: Likewise.
70937         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
70938         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
70939         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
70940         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
70941         * sysdeps/i386/fpu/e_log2f.S: Likewise.
70942         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
70943         * sysdeps/i386/fpu/e_log.S: Likewise.
70944         * sysdeps/i386/fpu/s_cexp.S: Likewise.
70945         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
70946         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
70947         * sysdeps/i386/fpu/e_logf.S: Likewise.
70948         * sysdeps/i386/fpu/e_log10l.S: Likewise.
70949         * sysdeps/i386/fpu/e_atanh.S: Likewise.
70950         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
70951         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
70952         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
70953         * sysdeps/i386/fpu/e_log10.S: Likewise.
70954         * sysdeps/i386/fpu/s_frexp.S: Likewise.
70955         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
70956         * sysdeps/i386/fpu/s_asinh.S: Likewise.
70957         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
70958         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
70959         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
70960         * sysdeps/i386/asm-syntax.h: Likewise.
70961         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
70962         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70963         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
70964         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
70965         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
70966         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
70967         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
70968         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
70969         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
70970         * sysdeps/powerpc/sysdep.h: Likewise.
70971         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
70972         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70974 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70976         [BZ #411]
70977         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
70979 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
70981         * sysdeps/i386/sysdep.h: Include <features.h>.
70982         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
70983         version.
70985 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
70987         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
70988         Define.
70989         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
70990         LOAD_PIC_REG_STR.
70992 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
70994         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
70995         (SETUP_PIC_REG): Use GET_PC_THUNK.
70996         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
70997         macro.
70999 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71001         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71002         for non-PIC compilation.
71003         (SETUP_PIC_REG): Add .p2align directive.
71004         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71005         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71006         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71007         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71008         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71009         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71010         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71011         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71012         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71013         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71014         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71015         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71016         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71017         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71018         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71019         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71020         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71021         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71022         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71023         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71024         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71025         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71026         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71027         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71028         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71029         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71030         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71031         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71032         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71033         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71034         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71035         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71036         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71037         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71038         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71039         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71040         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71041         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71042         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71043         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71044         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71046 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71048         * math/tst-CMPLX.c: Include <stdio.h>.
71050 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71052         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71053         float.
71054         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71055         * sysdeps/sparc/bits/mathdef.h: Likewise.
71057 2012-01-31  Marek Polacek  <polacek@redhat.com>
71059         * libio/libio.h: Don't define _PARAMS.
71060         * locale/programs/config.h: Don't define PARAMS.
71061         * stdlib/strtol_l.c: Likewise.
71062         (__strtol_l): Remove PARAMS from the prototype.
71064 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71066         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71067         names.  Just use the correct names.  Remove unnecessary wrapper
71068         functions.
71069         * malloc/arena.c: Likewise.
71070         * malloc/hooks.c: Likewise.
71072         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71073         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71074         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71076 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71078         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71079         into tail calls.
71080         (update_get_addr): New function.
71081         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71082         GET_ADDR_MODULE parameter.
71084 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71086         * crypt/cert.c: Remove __STDC__ conditionals.
71087         * crypt/crypt-entry.c: Likewise.
71088         * crypt/crypt_util.c: Likewise.
71089         * libio/filedoalloc.c: Likewise.
71090         * libio/fileops.c: Likewise.
71091         * libio/genops.c: Likewise.
71092         * libio/iofclose.c: Likewise.
71093         * libio/iofdopen.c: Likewise.
71094         * libio/iofopen.c: Likewise.
71095         * libio/iofopen64.c: Likewise.
71096         * libio/iogetdelim.c: Likewise.
71097         * libio/iopopen.c: Likewise.
71098         * libio/obprintf.c: Likewise.
71099         * libio/oldfileops.c: Likewise.
71100         * libio/oldiofclose.c: Likewise.
71101         * libio/oldiofdopen.c: Likewise.
71102         * libio/oldiofopen.c: Likewise.
71103         * libio/oldiopopen.c: Likewise.
71104         * libio/wfiledoalloc.c: Likewise.
71105         * libio/wgenops.c: Likewise.
71106         * locale/programs/xmalloc.c: Likewise.
71107         * misc/syslog.c: Likewise.
71108         * stdio-common/xbug.c: Likewise.
71109         * string/memchr.c: Likewise.
71110         * string/memcmp.c: Likewise.
71111         * string/memrchr.c: Likewise.
71112         * string/rawmemchr.c: Likewise.
71113         * sysdeps/posix/getcwd.c: Likewise.
71114         * time/strftime_l.c: Likewise.
71116 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71118         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71119         * config.make.in (config-cflags-sse2avx): Define.
71120         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71121         Fix typo.
71123 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71125         * scripts/config.guess: Update from upstream config git repository.
71126         * scripts/config.sub: Likewise.
71128 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71130         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71131         (EM_NUM): Update.
71132         (R_TILEPRO_*, R_TILEGX_*): New macros.
71134         * scripts/firstversions.awk: Fix bug in version range handling.
71136         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71138         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71140         * include/sys/epoll.h: New file.
71141         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71142         libc_hidden_def.
71144 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71146         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71147         Avoid unnecessary __WORDSIZE == 64 test.
71148         (fmaxf): Use VEX format if possible.
71149         (fmax): Likewise.
71150         (fminf): Likewise.
71151         (fmin): Likewise.
71153         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71154         * math/math_private.h: Remove libc_fegetround* and
71155         libc_fesetround*.
71156         * sysdeps/i386/configure.in: Check for -msse2avx.
71157         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71158         also if SSE2AVX is defined.
71159         Remove libc_fegetround* and libc_fesetround*.
71160         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71161         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71162         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
71163         of HAS_YMM_USABLE.
71164         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71165         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71166         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71167         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71168         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71170         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
71172 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71174         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
71175         size is not set.
71176         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
71178 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
71180         [BZ #13618]
71181         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
71182         relocation.
71183         * Makeconfig (libm): Define.
71184         * elf/Makefile: Add rules to build and run tst-relsort1.
71185         * elf/tst-relsort1.c: New file.
71186         * elf/tst-relsort1mod1.c: New file.
71187         * elf/tst-relsort1mod2.c: New file.
71189 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
71191         * math/s_ldexp.c: Remove __STDC__ conditionals.
71192         * math/s_ldexpf.c: Likewise.
71193         * math/s_ldexpl.c: Likewise.
71194         * math/s_nextafter.c: Likewise.
71195         * math/s_nexttowardf.c: Likewise.
71196         * math/s_significand.c: Likewise.
71197         * math/s_significandf.c: Likewise.
71198         * math/s_significandl.c: Likewise.
71199         * math/w_jnl.c: Likewise.
71200         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71201         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71202         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
71203         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
71204         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
71205         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
71206         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
71207         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
71208         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
71209         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
71210         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
71211         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
71212         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
71213         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
71214         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
71215         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
71216         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
71217         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
71218         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
71219         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
71220         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
71221         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
71222         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
71223         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
71224         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
71225         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
71226         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
71227         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
71228         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
71229         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
71230         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
71231         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
71232         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
71233         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
71234         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
71235         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
71236         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
71237         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
71238         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
71239         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
71240         * sysdeps/ieee754/k_standard.c: Likewise.
71241         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
71242         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
71243         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
71244         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
71245         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
71246         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
71247         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
71248         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
71249         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
71250         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
71251         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
71252         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
71253         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
71254         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
71255         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
71256         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
71257         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
71258         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
71259         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
71260         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
71261         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
71262         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
71263         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
71264         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
71265         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
71266         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
71267         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
71268         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
71269         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
71270         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
71271         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
71272         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
71273         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
71274         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
71275         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
71276         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
71277         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
71278         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
71279         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
71280         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
71281         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
71282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
71283         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
71284         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
71285         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
71286         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
71287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
71288         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
71289         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
71290         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
71291         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
71292         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
71293         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
71294         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
71295         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
71296         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
71297         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
71298         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
71299         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
71300         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
71301         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
71302         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
71303         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
71304         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
71305         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
71306         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
71307         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
71308         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
71309         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
71310         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
71311         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
71312         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
71313         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
71314         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
71315         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
71316         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
71317         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
71318         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
71319         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
71320         * sysdeps/ieee754/s_matherr.c: Likewise.
71321         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
71322         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
71323         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
71324         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
71326 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71328         * crypt/md5.h: Remove __STDC__ conditionals.
71329         * libio/libioP.h: Likewise.
71330         * locale/programs/config.h: Likewise.
71331         * sysdeps/generic/sysdep.h: Likewise.
71332         * sysdeps/i386/asm-syntax.h: Likewise.
71333         * sysdeps/s390/asm-syntax.h: Likewise.
71334         * sysdeps/unix/sysdep.h: Likewise.
71335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
71336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71338 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
71340         * libio/libio.h: Remove __STDC__ conditionals.
71341         * malloc/obstack.h: Likewise.
71342         * math/complex.h: Likewise.
71343         * math/math.h: Likewise.
71344         * sysdeps/generic/_G_config.h: Likewise.
71345         * sysdeps/gnu/_G_config.h: Likewise.
71346         * sysdeps/mach/hurd/_G_config.h: Likewise.
71347         * sysdeps/powerpc/bits/mathdef.h: Likewise.
71348         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71349         * sysdeps/sparc/bits/mathdef.h: Likewise.
71351 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
71353         [BZ #13583]
71354         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
71355         Clean up HAS_* macros.
71356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
71357         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
71358         possible.
71359         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
71360         HAS_AVX.
71361         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
71362         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
71363         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
71364         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
71365         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
71367 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
71369         * elf/tst-unique3.cc (gets): Remove declaration.
71370         * elf/tst-unique3lib.cc (gets): Likewise.
71371         * elf/tst-unique3lib2.cc (gets): Likewise.
71372         * elf/tst-unique4.cc (gets): Likewise.
71374 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
71376         * include/stdio.h: Add C++ protection.  Add gets declarations and
71377         definitions.
71378         * debug/tst-chk1.c: Don't declare gets here.
71379         * stdio-common/tst-gets.c: Likewise.
71381 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71383         * posix/glob: Remove directory.
71385 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
71387         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
71389 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
71391         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
71392         of the non-standard EPFNOSUPPORT.
71394 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71396         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
71397         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
71398         ANYWHERE set to 1 only on KERN_NO_SPACE error.
71400 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
71402         * wcsmbs/uchar.h: Test __STDC_VERSION__.
71404 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
71406         * nscd/aicache.c (addhstaiX): Do not cache negative results of
71407         transient errors.
71408         * nscd/grpcache.c (cache_addgr): Likewise.
71409         * nscd/hstcache.c (cache_addhst): Likewise.
71410         * nscd/initgrcache.c (addinitgroupsX): Likewise.
71411         * nscd/pwdcache.c (cache_addpw): Likewise.
71412         * nscd/servicescache.c (cache_addserv): Likewise.
71414 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
71416         * malloc/malloc.c: Various cleanups.
71417         * malloc/hooks.c: Likewise.
71419         * stdlib/Makefile (tests): Add bug-fmtmsg1.
71420         * stdlib/bug-fmtmsg1.c: New file.
71422         * stdlib/fmtmsg.c (init): Add missing unlock.
71423         Patch by Peng Haitao <penght@cn.fujitsu.com>.
71425 2012-01-12  Marek Polacek  <polacek@redhat.com>
71427         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
71428         and _GNU_SOURCE.
71430 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
71432         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
71433         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
71434         macro to ensure uniqueness of label name.
71435         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
71436         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
71438 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
71440         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
71442         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
71443         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
71444         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
71445         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
71447 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
71449         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
71451         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
71452         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
71453         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
71455         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
71457         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
71458         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
71459         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
71460         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
71462         * math/bits/math-finite.h: Add ldexp support.
71464 2012-01-10  Marek Polacek  <polacek@redhat.com>
71466         * locale/programs/localedef.h (show_archive_content): Add noreturn
71467         attribute.
71469 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
71471         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
71473 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71475         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
71477         * io/Makefile (headers): Add bits/poll2.h.
71479 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
71481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
71482         typo #include statement.
71484 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71486         * include/sys/cdefs.h: Define __attribute_alloc_size.
71487         * catgets/gencat.c: Add alloc_size attribute and apply consistently
71488         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
71489         * elf/pldd.c: Likewise.
71490         * iconv/iconv_charmap.c: Likewise.
71491         * iconv/iconvconfig.c: Likewise.
71492         * iconv/strtab.c: Likewise.
71493         * locale/programs/locale.c: Likewise.
71494         * locale/programs/localedef.h: Likewise.
71495         * locale/programs/simple-hash.c: Likewise.
71496         * nscd/nscd.h: Likewise.
71497         * nss/makedb.c: Likewise.
71498         * sysdeps/generic/ldconfig.h: Likewise.
71499         * locale/programs/localedef.c: Remove xmalloc prototype.
71500         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
71502 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
71504         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
71505         appropriate.
71507 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
71509         * math/Makefile (tests): Add tst-CMPLX.
71510         * math/tst-CMPLX.c: New file.
71512         * math/complex.h (CMPLXL): Fix typo.
71514         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
71515         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
71516         GLIBC_2.16.
71517         * debug/tst-chk1.c: Add poll and ppoll tests.
71518         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
71519         * include/sys/poll.h: Add hidden proto for ppoll.
71520         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
71521         * sysdeps/mach/hurd/ppoll.c: Likewise.
71522         * io/ppoll.c: Likewise.
71523         * debug/poll_chk.c: New file.
71524         * debug/ppoll_chk.c: New file.
71525         * include/bits/poll2.h: New file.
71526         * io/bits/poll2.h: New file.
71528         [BZ #1350]
71529         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
71531         * configure.in: static is always set to yes.  Remove.
71532         * config.make.in: Don't set build-static.
71533         * Makeconfig: Remove use of build-static.
71534         * dlfcn/Makefile: Likewise.
71535         * elf/Makefile: Likewise.
71536         * math/Makefile: Likewise.
71537         * misc/Makefile: Likewise.
71538         * nptl/Makefile: Likewise.
71539         * sysdeps/mach/hurd/Makefile: Likewise.
71541         * configure.in: PWD_P is not used anymore.
71542         * config.make.in: Remove PWD_P entry.
71544         * configure.in: Remove last remnants of RANLIB.
71545         No need to check for signed size_t anymore.
71546         Don't set libc_commonpagesize and libc_relro_required here for Alpha
71547         and IA-64.
71548         Remove __builtin_expect test because we require at least gcc 3.4.
71549         * aclocal.m4: Likewise.
71551         * wcsmbs/mbrtoc16.c: Implement using towc function.
71552         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
71553         * wcsmbs/wcsmbsload.c: Likewise.
71554         * iconv/gconv_simple.c: Likewise.
71555         * iconv/gconv_int.h: Likewise.
71556         * iconv/gconv_builtin.h: Likewise.
71557         * iconv/iconv_prog.c: Remove CHAR16 handling.
71559         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
71561         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
71563         * configure.in: Remove --with-elf and --enable-bounded options.
71564         Dont set base_machine for ia64.  More non-ELF conditions removed.
71565         Remove testing and setting of leading underscore information.
71566         * config.make.in (build-bounded): Set to no.
71567         * config.h.in: Remove NO_UNDERSCORES entry.
71568         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
71569         them.
71570         * csu/start.c: Remove !NO_UNDERSCORE code.
71571         * locale/localeinfo.h: Likewise.
71572         * sysdeps/generic/machine-gmon.h: Likewise.
71573         * sysdeps/generic/sysdep.h: Likewise.
71574         * sysdeps/i386/sysdep.h: Likewise.
71575         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71576         * sysdeps/mach/sysdep.h: Likewise.
71577         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71578         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71579         * sysdeps/sh/sysdep.h: Likewise.
71580         * sysdeps/sparc/sparc32/alloca.S: Likewise.
71581         * sysdeps/unix/i386/sysdep.S: Likewise.
71582         * sysdeps/unix/sparc/start.c: Likewise.
71583         * sysdeps/unix/sparc/sysdep.S: Likewise.
71584         * sysdeps/unix/sparc/sysdep.h: Likewise.
71585         * sysdeps/unix/start.c: Likewise.
71586         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71587         * sysdeps/x86_64/sysdep.h: Likewise.
71589 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
71591         [BZ #13553]
71592         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
71593         for non-gcc.
71594         * argp/argp-fmtstream.h: Use const instead __const.
71595         * argp/argp.h: Likewise.
71596         * assert/assert.h: Likewise.
71597         * bits/fenv.h: Likewise.
71598         * bits/sched.h: Likewise.
71599         * bits/sigset.h: Likewise.
71600         * bits/sigthread.h: Likewise.
71601         * catgets/nl_types.h: Likewise.
71602         * conform/data/pthread.h-data: Likewise.
71603         * crypt/crypt-private.h: Likewise.
71604         * crypt/crypt.h: Likewise.
71605         * crypt/crypt_util.c: Likewise.
71606         * ctype/ctype.h: Likewise.
71607         * debug/execinfo.h: Likewise.
71608         * debug/mbsnrtowcs_chk.c: Likewise.
71609         * debug/mbsrtowcs_chk.c: Likewise.
71610         * debug/wcsnrtombs_chk.c: Likewise.
71611         * debug/wcsrtombs_chk.c: Likewise.
71612         * debug/wcstombs_chk.c: Likewise.
71613         * dirent/dirent.h: Likewise.
71614         * dlfcn/dlfcn.h: Likewise.
71615         * elf/neededtest4.c: Likewise.
71616         * grp/grp.h: Likewise.
71617         * gshadow/gshadow.h: Likewise.
71618         * iconv/gconv.h: Likewise.
71619         * iconv/gconv_int.h: Likewise.
71620         * iconv/gconv_simple.c: Likewise.
71621         * iconv/iconv.h: Likewise.
71622         * iconv/loop.c: Likewise.
71623         * iconv/skeleton.c: Likewise.
71624         * include/aio.h: Likewise.
71625         * include/aliases.h: Likewise.
71626         * include/argz.h: Likewise.
71627         * include/arpa/inet.h: Likewise.
71628         * include/assert.h: Likewise.
71629         * include/dirent.h: Likewise.
71630         * include/dlfcn.h: Likewise.
71631         * include/execinfo.h: Likewise.
71632         * include/fcntl.h: Likewise.
71633         * include/fenv.h: Likewise.
71634         * include/glob.h: Likewise.
71635         * include/grp.h: Likewise.
71636         * include/libintl.h: Likewise.
71637         * include/mntent.h: Likewise.
71638         * include/netdb.h: Likewise.
71639         * include/pwd.h: Likewise.
71640         * include/rpc/netdb.h: Likewise.
71641         * include/sched.h: Likewise.
71642         * include/search.h: Likewise.
71643         * include/shadow.h: Likewise.
71644         * include/signal.h: Likewise.
71645         * include/stdio.h: Likewise.
71646         * include/stdlib.h: Likewise.
71647         * include/string.h: Likewise.
71648         * include/sys/socket.h: Likewise.
71649         * include/sys/stat.h: Likewise.
71650         * include/sys/statfs.h: Likewise.
71651         * include/sys/statvfs.h: Likewise.
71652         * include/sys/syslog.h: Likewise.
71653         * include/sys/time.h: Likewise.
71654         * include/sys/uio.h: Likewise.
71655         * include/time.h: Likewise.
71656         * include/unistd.h: Likewise.
71657         * include/utmp.h: Likewise.
71658         * include/wchar.h: Likewise.
71659         * include/wctype.h: Likewise.
71660         * inet/aliases.h: Likewise.
71661         * inet/arpa/inet.h: Likewise.
71662         * inet/netinet/ether.h: Likewise.
71663         * inet/netinet/in.h: Likewise.
71664         * intl/libintl.h: Likewise.
71665         * io/bits/fcntl2.h: Likewise.
71666         * io/fcntl.h: Likewise.
71667         * io/ftw.h: Likewise.
71668         * io/sys/poll.h: Likewise.
71669         * io/sys/stat.h: Likewise.
71670         * io/sys/statfs.h: Likewise.
71671         * io/sys/statvfs.h: Likewise.
71672         * io/utime.h: Likewise.
71673         * libio/bits/stdio.h: Likewise.
71674         * libio/bits/stdio2.h: Likewise.
71675         * libio/libio.h: Likewise.
71676         * libio/libioP.h: Likewise.
71677         * libio/stdio.h: Likewise.
71678         * locale/lc-ctype.c: Likewise.
71679         * locale/locale.h: Likewise.
71680         * login/utmp.h: Likewise.
71681         * malloc/arena.c: Likewise.
71682         * malloc/malloc.c: Likewise.
71683         * malloc/malloc.h: Likewise.
71684         * malloc/mcheck.c: Likewise.
71685         * malloc/mtrace.c: Likewise.
71686         * math/bits/mathcalls.h: Likewise.
71687         * math/fenv.h: Likewise.
71688         * math/math_private.h: Likewise.
71689         * misc/bits/error.h: Likewise.
71690         * misc/bits/syslog.h: Likewise.
71691         * misc/err.h: Likewise.
71692         * misc/error.h: Likewise.
71693         * misc/fstab.h: Likewise.
71694         * misc/mntent.h: Likewise.
71695         * misc/regexp.h: Likewise.
71696         * misc/search.h: Likewise.
71697         * misc/sgtty.h: Likewise.
71698         * misc/sys/mman.h: Likewise.
71699         * misc/sys/syslog.h: Likewise.
71700         * misc/sys/uio.h: Likewise.
71701         * misc/sys/xattr.h: Likewise.
71702         * misc/ttyent.h: Likewise.
71703         * nis/rpcsvc/ypclnt.h: Likewise.
71704         * nss/nss.h: Likewise.
71705         * posix/bits/unistd.h: Likewise.
71706         * posix/fnmatch.h: Likewise.
71707         * posix/glob.h: Likewise.
71708         * posix/sched.h: Likewise.
71709         * posix/spawn.h: Likewise.
71710         * posix/sys/wait.h: Likewise.
71711         * posix/unistd.h: Likewise.
71712         * posix/wordexp.h: Likewise.
71713         * pwd/pwd.h: Likewise.
71714         * resolv/netdb.h: Likewise.
71715         * resource/sys/resource.h: Likewise.
71716         * rt/aio.h: Likewise.
71717         * rt/bits/mqueue2.h: Likewise.
71718         * rt/mqueue.h: Likewise.
71719         * shadow/shadow.h: Likewise.
71720         * signal/signal.h: Likewise.
71721         * socket/send.c: Likewise.
71722         * socket/sendto.c: Likewise.
71723         * socket/sys/socket.h: Likewise.
71724         * stdio-common/printf.h: Likewise.
71725         * stdlib/bits/stdlib.h: Likewise.
71726         * stdlib/fmtmsg.h: Likewise.
71727         * stdlib/monetary.h: Likewise.
71728         * stdlib/stdlib.h: Likewise.
71729         * stdlib/ucontext.h: Likewise.
71730         * streams/stropts.h: Likewise.
71731         * string/argz.h: Likewise.
71732         * string/bits/string2.h: Likewise.
71733         * string/string.h: Likewise.
71734         * string/strings.h: Likewise.
71735         * sunrpc/rpc/auth.h: Likewise.
71736         * sunrpc/rpc/auth_des.h: Likewise.
71737         * sunrpc/rpc/clnt.h: Likewise.
71738         * sunrpc/rpc/netdb.h: Likewise.
71739         * sunrpc/rpc/pmap_clnt.h: Likewise.
71740         * sunrpc/rpc/xdr.h: Likewise.
71741         * sysdeps/generic/inttypes.h: Likewise.
71742         * sysdeps/generic/net/if.h: Likewise.
71743         * sysdeps/generic/sys/swap.h: Likewise.
71744         * sysdeps/gnu/net/if.h: Likewise.
71745         * sysdeps/gnu/utmpx.h: Likewise.
71746         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
71747         * sysdeps/i386/i486/bits/string.h: Likewise.
71748         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
71749         * sysdeps/s390/bits/string.h: Likewise.
71750         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
71751         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
71752         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
71753         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
71754         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
71755         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
71756         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
71757         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
71758         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
71759         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
71760         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
71761         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
71762         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
71763         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
71764         * sysdeps/unix/sysv/linux/readv.c: Likewise.
71765         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
71766         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
71767         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
71768         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
71769         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
71770         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
71771         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
71772         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
71773         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
71774         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
71775         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
71776         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
71777         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71778         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
71779         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
71780         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
71781         * sysvipc/sys/ipc.h: Likewise.
71782         * sysvipc/sys/msg.h: Likewise.
71783         * sysvipc/sys/sem.h: Likewise.
71784         * sysvipc/sys/shm.h: Likewise.
71785         * termios/termios.h: Likewise.
71786         * time/sys/time.h: Likewise.
71787         * time/time.h: Likewise.
71788         * wcsmbs/bits/wchar2.h: Likewise.
71789         * wcsmbs/uchar.h: Likewise.
71790         * wcsmbs/wchar.h: Likewise.
71791         * wctype/wctype.h: Likewise.
71793         [BZ #13551]
71794         * Makeconfig: Remove all but ELF support including AIX support.
71795         * Makerules: Likewise.
71796         * config.h.in: Likewise.
71797         * config.make.in: Likewise.
71798         * configure: Likewise.
71799         * configure.in: Likewise.
71800         * csu/Makefile: Likewise.
71801         * csu/version.c: Likewise.
71802         * debug/Makefile: Likewise.
71803         * dlfcn/Makefile: Likewise.
71804         * elf/Makefile: Likewise.
71805         * extra-lib.mk: Likewise.
71806         * iconv/Makefile: Likewise.
71807         * include/libc-symbols.h: Likewise.
71808         * include/shlib-compat.h: Likewise.
71809         * resolv/Makefile: Likewise.
71810         * resolv/res_libc.c: Likewise.
71811         * rt/Makefile: Likewise.
71812         * sysdeps/i386/asm-syntax.h: Likewise.
71813         * sysdeps/i386/sysdep.h: Likewise.
71814         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
71815         * sysdeps/mach/sysdep.h: Likewise.
71816         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
71817         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
71818         * sysdeps/s390/asm-syntax.h: Likewise.
71819         * sysdeps/s390/s390-32/sysdep.h: Likewise.
71820         * sysdeps/s390/s390-64/sysdep.h: Likewise.
71821         * sysdeps/sh/sysdep.h: Likewise.
71822         * sysdeps/unix/sparc/sysdep.h: Likewise.
71823         * sysdeps/wordsize-32/divdi3.c: Likewise.
71824         * sysdeps/x86_64/sysdep.h: Likewise.
71826         * argp/Versions: Remove _argp_unlock_xxx.
71828         [BZ #13559]
71829         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
71830         * abilist/libBrokenLocale.abilist: Likewise.
71831         * abilist/libanl.abilist: Likewise.
71832         * abilist/libc.abilist: Likewise.
71833         * abilist/libcrypt.abilist: Likewise.
71834         * abilist/libdl.abilist: Likewise.
71835         * abilist/libm.abilist: Likewise.
71836         * abilist/libnsl.abilist: Likewise.
71837         * abilist/libpthread.abilist: Likewise.
71838         * abilist/libresolv.abilist: Likewise.
71839         * abilist/librt.abilist: Likewise.
71840         * abilist/libthread_db.abilist: Likewise.
71841         * abilist/libutil.abilist: Likewise.
71842         * abilist/libnss_db.abilist: New file.
71844         * scripts/abilist.awk: Add support for indirect functions.
71846         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
71848         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
71850         * shlib-versions: Remove entries for ports architectures.
71852         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
71853         files in ports.
71854         * elf/stackguard-macros.h: Remove support for IA-64.
71855         * elf/tst-auditmod1.c: Likewise.
71856         * sysdeps/generic/ldsodefs.h: Likewise.
71858         * sysdeps/unix/sysv/linux/configure.in: Ports should define
71859         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
71860         configure files.
71862         [BZ #13552]
71863         * configure.in: Remove --enable-omitfp support.
71864         * FAQ.in: Adjust.
71865         * config.make.in: Likewise.
71866         * Makeconfig: Likewise.
71867         * manual/install.texi: Likewise.
71869         In case anyone cares, the IA-64 architecture could move to ports.
71870         * sysdeps/ia64/*: Removed.
71871         * sysdeps/unix/sysv/linux/ia64/*: Removed.
71872         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
71874         [BZ #13555]
71875         * configure.in: Remove entries for unsupported architectures.
71877         [BZ #13533]
71878         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
71879         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
71880         routines.
71881         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
71882         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
71883         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
71884         fall back to using wcrtomb.
71885         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
71886         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
71887         renaming.
71888         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
71889         * wcsmbs/tst-c16c32-1.c: New file.
71891         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
71892         local variable.
71894         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
71896         * elf/tst-unique3.cc: Add explicit declaration of gets.
71897         * elf/tst-unique3lib.cc: Likewise.
71898         * elf/tst-unique3lib2.cc: Likewise.
71899         * elf/tst-unique4.cc: Likewise.
71901         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
71903 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
71905         [BZ #13566]
71906         * assert/assert.h (static_assert): Don't define for C++.
71907         * libio/stdio.h (gets): Do declare for C++ <= C++11.
71908         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
71910 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
71912         * iconv/loop.c (single loop): Fix assertion in storing of
71913         remaining bytes.
71915         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
71917 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
71919         * posix/getconf.c: Update copyright year.
71920         * nss/getent.c: Likewise.
71921         * nss/makedb.c: Likewise.
71922         * iconv/iconvconfig.c: Likewise.
71923         * iconv/iconv_prog.c: Likewise.
71924         * elf/ldconfig.c: Likewise.
71925         * elf/pldd.c: Likewise.
71926         * elf/sotruss.ksh: Likewise.
71927         * catgets/gencat.c: Likewise.
71928         * csu/version.c: Likewise.
71929         * elf/ldd.bash.in: Likewise.
71930         * elf/sprof.c (print_version): Likewise.
71931         * locale/programs/locale.c: Likewise.
71932         * locale/programs/localedef.c: Likewise.
71933         * login/programs/pt_chown.c: Likewise.
71934         * nscd/nscd.c (print_version): Likewise.
71935         * debug/xtrace.sh: Likewise.
71936         * malloc/memusage.sh: Likewise.
71937         * malloc/mtrace.pl: Likewise.
71938         * debug/catchsegv.sh: Likewise.
71940 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
71942         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
71943         pure attribute.
71945 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
71947         [BZ #13533]
71948         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
71949         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
71950         transformations.
71951         * iconv/gconv_int.h: Likewise.
71952         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
71953         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
71954         from libc for GLIBC_2.16.
71955         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
71956         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
71957         * wcsmbs/uchar.h: Really define mbstate_t.
71958         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
71959         * wcsmbs/c16rtomb.c: New file.
71960         * wcsmbs/mbrtoc16.c: New file.
71961         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
71962         for C/POSIX locale.
71963         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
71964         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
71966         * wcsmbs/wchar.h: Add missing __restrict.
71968 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
71970         [BZ #13532]
71971         * time/Makefile (routines): Add timespec_get.
71972         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
71973         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
71974         timespec for ISO C11.
71975         * time/timespec_get.c: New file.
71976         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
71977         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
71979         [BZ #13531]
71980         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
71981         * stdlib/stdlib.h: Declare aligned_alloc.
71982         * Versions.def: Add GLIBC_2.16 for libc.
71983         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
71985         [BZ 13527]
71986         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
71987         ISO C11.
71989         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
71990         code.
71992         [BZ #13528]
71993         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
71995         [BZ #13529]
71996         * assert/assert.h (static_assert): Define.
71998         * version.h: Update for 2.16 development version.
72000         [BZ #13526]
72001         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72002         _ISOC11_SOURCE.
72004         * version.h (RELEASE): Bump for 2.15 release.
72005         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72007         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72008         Patch by Marek Polacek <mpolacek@redhat.com>.
72010         * bits/byteswap.h: Protect long long constants with __extension__.
72011         * sysdeps/i386/bits/byteswap.h: Likewise.
72012         * sysdeps/ia64/bits/byteswap.h: Likewise.
72013         * sysdeps/s390/bits/byteswap.h: Likewise.
72014         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72016 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72018         [BZ #13540]
72019         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72020         destination buffer.
72021         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72023 2011-12-23  Marek Polacek  <polacek@redhat.com>
72025         * elf/dl-addr.c (determine_info): Add inline keyword.
72026         * elf/tst-auditmod4b.c (check_avx): Likewise.
72027         * elf/tst-auditmod6b.c (check_avx): Likewise.
72028         * elf/tst-auditmod6c.c (check_avx): Likewise.
72029         * elf/tst-auditmod7b.c (check_avx): Likewise.
72031 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72033         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72034         !__SSE_MATH__.
72036 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72038         [BZ #13540]
72039         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72040         processing for last bytes.
72042 2011-08-06  Bruno Haible  <bruno@clisp.org>
72044         [BZ #13061]
72045         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72046         U+0385, not to U+1FEE.
72048         [BZ #13062]
72049         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72050         entry for U+00A5 U+0301.
72052 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72054         [BZ #13166]
72055         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72056         buffer for the output is too small.
72058         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72059         optimization.
72061         [BZ #13185]
72062         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72063         SSE flags if possible.
72065 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72067         [BZ #13540]
72068         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72069         processing for last bytes.
72071 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72073         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72074         (syscall-list-default-options, syscall-list-default-condition)
72075         (syscall-list-includes): Define.
72076         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72077         list of ABIs and options and #if conditions for each ABI.  Do not
72078         handle common syscalls between ABIs specially.
72079         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72080         Remove.
72081         (syscall-list-variants, syscall-list-32bit-options)
72082         (syscall-list-32bit-condition, syscall-list-64bit-options)
72083         (syscall-list-64bit-condition): Define.
72084         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72085         (syscall-list-variants, syscall-list-32bit-options)
72086         (syscall-list-32bit-condition, syscall-list-64bit-options)
72087         (syscall-list-64bit-condition): Define.
72088         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72089         Remove.
72090         (syscall-list-variants, syscall-list-32bit-options)
72091         (syscall-list-32bit-condition, syscall-list-64bit-options)
72092         (syscall-list-64bit-condition): Define.
72093         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72094         Remove.
72095         (syscall-list-variants, syscall-list-32bit-options)
72096         (syscall-list-32bit-condition, syscall-list-64bit-options)
72097         (syscall-list-64bit-condition): Define.
72099 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72101         * locale/iso-639.def: Add brx entry.
72103         [BZ #13328]
72104         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72105         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72107         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72108         __feraiseexcept_renamed.
72110 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72112         [BZ #13538]
72113         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72114         EPOLLET with unsigned values.
72115         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72116         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72118         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72119         to large cancellation.
72120         * math/s_cacoshf.c: Likewise.
72121         * math/s_cacoshl.c: Likewise.
72123 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72125         [BZ #13305]
72126         [BZ #12786]
72127         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72128         * math/s_cacoshf.c: Likewise.
72129         * math/s_cacoshl.c: Likewise.
72131 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72133         [BZ #13439]
72134         * iconv/gconv.h: Define __GCONV_SWAP.
72135         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72136         * iconvdata/utf-16.c: Likewise.
72137         * iconvdata/utf-32.c: Likewise.
72139 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72141         [BZ #13524]
72142         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72143         numerator after shifting it by one limb.
72145 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72147         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72148         under [__USE_EXTERN_INLINES].
72150 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72152         [BZ #13446]
72153         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72155 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72157         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72158         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72159         optimized code.
72160         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72161         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72162         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
72163         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
72164         for strncasecmp/strncasecmp_l compilation.
72165         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
72166         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
72168 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
72170         [BZ #13484]
72171         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
72172         of __asm__.
72174 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72176         [BZ #13506]
72177         * time/tzfile.c (__tzfile_read): Check values from file header.
72179 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
72181         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
72182         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
72183         * powerpc/powerpc32/dl-start.S: Likewise.
72184         * powerpc/powerpc32/elf/start.S: Likewise.
72185         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
72186         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
72187         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
72188         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
72189         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
72190         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
72191         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
72192         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
72193         * powerpc/powerpc32/fpu/s_round.S: Likewise.
72194         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
72195         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
72196         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
72197         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
72198         * powerpc/powerpc32/memset.S: Likewise.
72199         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
72200         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72201         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72202         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72203         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72204         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
72205         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
72206         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
72207         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
72208         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
72209         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
72210         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72211         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72213 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72215         * math/libm-test.inc: Added more nearbyint tests.
72216         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
72217         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
72218         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
72219         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
72221 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
72223         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
72224         FD_CLOEXEC.
72226 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72228         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
72229         Add wcscpy-ssse3 wcscpy-c.
72230         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
72231         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
72232         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
72233         * sysdeps/x86_64/wcschr.S: New file.
72234         * sysdeps/x86_64/wcsrchr.S: New file.
72235         * string/test-strcmp.c: Remove checking of wcscmp function for
72236         wrong alignments.
72237         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
72238         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
72239         wcsrchr-sse2 wcsrchr-c.
72240         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
72241         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
72242         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
72243         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
72244         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
72245         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
72246         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
72247         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
72248         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
72249         * wcsmbc/wcschr.c (WCSCHR): New macro.
72251 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72253         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
72254         * wcsmbs/test-wcsrchr.c: New file.
72255         * string/test-strrchr.c: Add wcsrchr support.
72256         (WIDE): New macro.
72257         * wcsmbs/test-wcscpy.c: New file.
72258         * string/test-strcpy.c: Add wcscpy support.
72259         (WIDE): New macro.
72261 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
72263         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
72264         the inner loop.
72266 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
72268         [BZ #13472]
72269         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
72271 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
72273         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
72274         Minor optimizations.
72276         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
72277         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
72278         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
72280 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
72282         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
72283         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
72284         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
72285         for gcc to avoid warnings.
72286         * inet/Makefile (tests): Add tst-checks.
72287         * inet/tst-checks.c: New file.
72289         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
72290         warning.
72292         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
72293         __wmemcmp_sse2.
72295         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
72296         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
72298         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
72300 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
72302         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
72303         problem.
72305         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
72307 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
72309         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
72310         conditional on GCC version.
72311         (__arch_compare_and_exchange_val_8_acq)
72312         (__arch_compare_and_exchange_val_16_acq)
72313         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
72314         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
72315         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
72317 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
72319         * sysdeps/sh/backtrace.c: New file.
72321 2011-12-02  Andreas Schwab  <schwab@redhat.com>
72323         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
72324         parenthesis.
72326 2011-12-01  Andreas Schwab  <schwab@redhat.com>
72328         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
72329         falling back to utime.
72331 2011-11-30  Andreas Schwab  <schwab@redhat.com>
72333         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
72334         expectations for float.
72336 2011-11-29  Andreas Schwab  <schwab@redhat.com>
72338         * locale/weight.h (findidx): Add parameter len.
72339         * locale/weightwc.h (findidx): Likewise.
72340         * posix/fnmatch_loop.c (FCT): Adjust caller.
72341         * posix/regcomp.c (build_equiv_class): Likewise.
72342         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
72343         * posix/regexec.c (check_node_accept_bytes): Likewise.
72344         * string/strcoll_l.c (STRCOLL): Likewise.
72345         * string/strxfrm_l.c (STRXFRM): Likewise.
72347 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
72349         * Makefile.in: Remove CVSOPT handling.
72350         * configure.in: Remove use of AC_REVISION.
72351         * iconvdata/Makefile (distribute): No need to filter out CVS.
72352         * scripts/list-sources.sh: Remove CVS, subversion and monotone
72353         handling.
72355 2011-11-16  Andreas Schwab  <schwab@redhat.com>
72357         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
72358         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
72359         [USE_AS_STRNCASECMP_L]: Likewise.
72360         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
72361         NO_TLS_DIRECT_SEG_REFS.
72362         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
72363         Fix argument offsets for non-PIC.
72364         [USE_AS_STRNCASECMP_L]: Likewise.
72365         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
72366         NO_TLS_DIRECT_SEG_REFS.
72368 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72370         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
72371         O_CLOEXEC.
72372         * locale/loadlocale.c (_nl_load_locale): Likewise.
72374 2011-11-15  Andreas Schwab  <schwab@redhat.com>
72376         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
72377         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
72378         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
72379         (SYSCALL_GETTIME): Set errno on error.
72381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
72382         count references to noai6ai_cached.
72384 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
72386         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
72388         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
72389         FD_CLOEXEC for /proc/self/maps.
72391         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
72392         FD_CLOEXEC for /proc/meminfo.
72394         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
72395         gai.conf.
72397         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
72398         FD_CLOEXEC for given file.
72400         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
72402         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
72403         FD_CLOEXEC for /etc/hosts.
72404         (_gethtent): Likewise.
72406         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
72408         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
72409         cancellation and set FD_CLOEXEC for /etc/netgroup.
72411         * nss/nss_files/files-key.c (search): Don't allow cancellation when
72412         reading /etc/publickey.
72414         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
72415         allow cancellation when reading /etc/group.
72417         * nss/nss_files/files-alias.c (internal_setent): Don't allow
72418         cancellation.
72419         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
72421         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
72422         when using data file.
72424         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
72426         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
72427         (write_nis_obj): Use "c" and "e" in fopen.
72429         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
72431         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
72433         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
72435         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
72437         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
72438         locale.alias.
72440         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
72442         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
72444         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
72446         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
72447         file parsing and set FD_CLOEXEC.
72449 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72451         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
72453 2011-11-14  Andreas Schwab  <schwab@redhat.com>
72455         * malloc/arena.c (arena_get2): Don't call reused_arena when
72456         _int_new_arena failed.
72458 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
72460         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
72461         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
72462         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
72463         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
72464         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
72465         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
72466         to compile strcasecmp and strncasecmp.
72467         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
72468         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
72470         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
72472 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
72474         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
72475         locale-defines.sym to gen-as-const-headers.
72476         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
72477         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
72478         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
72479         to compile strcasecmp and strncasecmp.
72480         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
72481         strcasecmp_l and strncasecmp_l.
72482         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
72483         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
72484         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
72485         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
72486         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
72487         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
72488         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
72489         * sysdeps/i386/i686/multiarch/strncase.S: New file.
72490         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
72491         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
72492         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
72494 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
72496         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
72497         result of SYSDEP_GETTIME_CPU to retval.
72498         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
72499         parameter list to macro.  Remove trailing semicolon.  Adjust users.
72501         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
72502         variable.
72504         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
72505         mantissa words.
72506         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
72508         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
72509         from unused variable.
72511         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
72512         DWARF definitions.
72513         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
72514         for assembling.
72516         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
72517         over namespaces.
72519         * sunrpc/rpc_prot.c (rejected): Fix case value.
72521         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
72522         unsigned long long int to avoid warnings in shift.
72524         * posix/regex_internal.c (re_string_reconstruct): Actually use result
72525         of use of trans.
72526         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
72527         variable tmp.
72529         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
72530         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
72531         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
72533         * nis/nis_table.c (nis_list): Use variable of correct type for
72534         result of __follow_path call.
72536 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72538         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
72539         of math functions ceil, trunc, floor, round, and sqrt, when
72540         avaliable on the platform.
72541         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
72542         name clash.
72543         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
72544         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
72545         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
72547 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
72549         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
72550         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
72552 2011-11-11  Roland McGrath  <roland@hack.frob.com>
72554         * include/unistd.h: Fix __readlink return type.
72555         Reported by Chris Metcalf <cmetcalf@tilera.com>.
72557 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
72559         * stdlib/ucontext.h: Undo last change for makecontext.
72561 2011-11-11  Andreas Schwab  <schwab@redhat.com>
72563         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
72565         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
72566         * setjmp/setjmp.h: Mark functions as non-leaf.
72567         * setjmp/bits/setjmp2.h: Likewise.
72568         * stdlib/ucontext.h: Likewise.
72570 2011-11-10  Andreas Schwab  <schwab@redhat.com>
72572         * malloc/arena.c (_int_new_arena): Don't increment narenas.
72573         (reused_arena): Don't check arena limit.
72574         (arena_get2): Atomically check arena limit.
72576 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
72578         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
72579         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
72581         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
72582         instructions.
72584 2011-11-07  Andreas Schwab  <schwab@redhat.com>
72586         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
72587         handler when locking.
72589         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
72590         Fix size of allocated buffer.
72592 2011-11-04  Andreas Schwab  <schwab@redhat.com>
72594         [BZ #10103]
72595         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
72596         declarations for long double functions.
72597         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
72599         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
72601 2011-11-03  Andreas Schwab  <schwab@redhat.com>
72603         * nscd/nscd.c (main): Don't start AVC thread until credentials are
72604         installed.
72606         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
72607         is disabled.
72609 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72611         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
72613 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72615         * include/alloca.h (stackinfo_alloca_round): Define.
72616         (extend_alloca): Use it.
72617         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
72618         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
72619         here.
72621         * scripts/check-local-headers.sh: Ignore libaudit.h.
72623         * nscd/Makefile (extra-objs): Make recursively expanded.
72625 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
72627         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
72628         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
72630         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
72631         * posix/tst-rfc3484-2.c: Likewise.
72632         * posix/tst-rfc3484-3.c: Likewise.
72634         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
72635         process_vm_writev.
72636         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
72637         process_vm_writev.
72638         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
72639         process_vm_writev from libc using GLIBC_2.15 version.
72641         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
72643 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
72645         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
72646         stack usage.
72648 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
72650         [BZ #13367]
72651         * nss/getent.c (initgroups_keys): Show error message in case no group
72652         names are given.
72654         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
72655         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
72656         __bump_nl_timestamp.
72657         * nscd/connections (nscd_init): When host database is served open
72658         netlink socket and request notification about configuration changes.
72659         (main_loop_poll): Track netlink file descriptor and bump timestamp
72660         in case data becomes available.
72661         (main_loop_epoll): Likewise.
72662         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
72663         (database_pers_head): Add extra_data fileds.
72664         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
72665         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
72666         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
72667         Adjust caller.
72668         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
72669         in6ai data, call __free_in6ai.
72670         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
72671         Add -DHAVE_NETLINK.
72672         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
72673         interface information.  Reuse previous data if netlink timestamp
72674         is not changed.
72675         (__bump_nl_timestamp): New function.
72676         (__free_in6ai): New function.
72678 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
72680         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
72681         close_not_cancel_no_status here.
72682         (__check_pf): Reorganize code a bit to not call close twice if OOM.
72684 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72686         [BZ #13276]
72687         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
72688         return value.
72690         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
72691         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
72692         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
72694 2011-07-03  Andreas Jaeger  <aj@suse.de>
72696         [BZ #10709]
72697         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
72698         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
72699         * math/libm-test.inc (sin_test): Add test case.
72701 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
72703         [BZ #13337]
72704         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
72705         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72707         * elf/chroot_canon.c (chroot_canon): Cleanups.
72709         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
72711         [BZ #13335]
72712         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
72713         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
72715         * string/test-strchr.c: Make usable for strchrnul testing.
72716         * string/test-strchrnul.c: New file.
72717         * string/Makefile (strop-tests): Add strchrnul.
72719         * po/it.po: Update from translation team.
72720         * po/es.po: Likewise.
72722 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
72724         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
72725         the three constants needed as parameters.  Drop the others.
72726         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
72727         __m128i_strloadu_tolower.
72728         Create and initialize variable zero and use it in all the places
72729         where _mm_setzero_si128 was used.
72731         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
72732         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
72733         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
72734         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
72735         anymore.
72736         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
72737         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
72738         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
72739         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
72740         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
72741         __mpranred, __mptan.
72742         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
72743         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
72744         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
72745         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
72746         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
72747         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
72748         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
72749         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
72750         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
72752 2011-10-28  Andreas Schwab  <schwab@redhat.com>
72754         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
72755         redefine if SHARED.
72756         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
72758         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
72759         wide char related routines to wcsmbs subdir.
72761 2011-10-27  Andreas Schwab  <schwab@redhat.com>
72763         [BZ #13344]
72764         * misc/sys/cdefs.h (__THROWNL): Define.
72765         * posix/unistd.h: Use __THREADNL instead of __THREAD
72766         for memory synchronization functions.
72768 2011-10-26  Roland McGrath  <roland@hack.frob.com>
72770         [BZ #13349]
72771         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
72772         doesn't exist.
72773         * manual/stdio.texi (Obstack Streams): Node removed.
72775 2011-10-26  Andreas Schwab  <schwab@redhat.com>
72777         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
72778         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72779         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72781         * math/math_private.h (math_force_eval): Allow non-addressable
72782         arguments.
72783         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
72785 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72787         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
72788         file is not needed.
72790         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
72791         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
72792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72793         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72794         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72795         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72796         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72797         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
72798         Add AVX variants.
72799         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
72800         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
72801         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
72802         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
72803         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
72804         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
72805         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
72806         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
72807         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
72808         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
72809         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
72810         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
72811         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
72812         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
72813         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
72814         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
72815         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
72816         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
72817         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
72819         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
72820         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
72822         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
72823         place.  Use VEX encoding when compiling for AVX.
72825 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72827         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
72828         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
72830         * string/test-strchr.c (do_test): Don't generate NUL bytes.
72832 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72834         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
72835         useless if() expression.
72836         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72837         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72838         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72839         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72840         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72841         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72842         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72843         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72844         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72845         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72846         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72847         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72848         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72849         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72850         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72851         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72852         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72853         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72854         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72856         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
72858 2011-10-25  Andreas Schwab  <schwab@redhat.com>
72860         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
72861         condition.
72862         * elf/dl-fini.c (_dl_sort_fini): Likewise.
72864 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
72866         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
72867         .text section.  Avoid duplicate constants.
72868         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72869         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72870         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72871         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72872         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72873         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72874         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72876         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72877         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
72878         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72879         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72880         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72881         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72882         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72883         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72884         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72885         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72886         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72887         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72888         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72889         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72890         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72891         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
72892         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
72893         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
72894         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
72895         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
72896         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
72897         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
72898         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
72899         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
72900         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72901         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
72902         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
72903         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
72904         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
72905         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
72906         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
72907         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
72908         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
72909         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
72910         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
72911         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
72912         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
72914 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
72916         * sysdeps/x86_64/dla.h: Move to ...
72917         * sysdeps/x86_64/fpu/dla.h: ...here.
72918         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
72919         situations.  Use __builtin_fma only for gcc 4.6 and up.
72921         * config.make.in: Add have-mfma4 entry.
72922         * configure.in: Substitute libc_cv_cc_fma4.
72923         * math/Makefile (dbl-only-routines): Add sincostab.
72924         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
72925         Use __sincostab not sincos.
72926         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
72927         name is a macro.
72928         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72929         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72930         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72931         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
72932         using __copysign.
72933         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
72934         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
72935         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
72936         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
72937         and __inv.
72938         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
72939         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
72940         __copysign.
72941         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
72942         define aliases when function name is a macro.
72943         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
72944         sysdeps/ieee754/dbl-64/sincos.tbl.
72945         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
72946         fma4-enabled routines.
72947         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
72948         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
72949         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
72950         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
72951         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
72952         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
72953         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
72954         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
72955         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
72956         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
72957         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
72958         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
72959         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
72960         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
72961         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
72962         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
72963         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
72964         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
72965         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
72966         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
72967         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
72968         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
72969         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
72970         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
72971         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
72972         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
72973         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
72974         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
72975         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
72976         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
72978         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
72979         rename.
72980         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72981         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72982         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72983         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72984         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72985         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72986         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72987         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72989 2011-10-24  Andreas Schwab  <schwab@redhat.com>
72991         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
72993 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
72995         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
72997         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
72998         prediction.
72999         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73001         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73002         Remove unused variable magic_bits.
73003         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73005         * string/strnlen.c: Define and use STRNLEN macro.
73006         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73007         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73008         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73009         * wcsmbs/wcslen.c: Define and use WCSLEN.
73010         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73011         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73012         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73013         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73014         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73015         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73016         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73018 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73021         strnlen-sse2-no-bsf.
73022         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73023         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73024         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73025         Add strnlen support.
73026         (USE_AS_STRNLEN): New macro.
73027         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73028         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73029         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73030         * sysdeps/x86_64/wcslen.S: New file.
73032 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73034         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73035         XMM-moves are used for copying on small sizes.
73037 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73039         * wcsmbs/Makefile (strop-tests): Add wcschr.
73040         * wcsmbs/test-wcschr.c: New file.
73041         * string/test-strchr.c: Update.
73042         Add wcschr support.
73043         (WIDE): New macro.
73045 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73047         * wcsmbs/Makefile (strop-tests): Add wcslen.
73048         * wcsmbs/test-wcslen.c: New file.
73049         * string/test-strlen.c: Update.
73050         Add wcslen support.
73051         (WIDE): New macro.
73053 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73055         * po/it.po: Update from translation team.
73057 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73059         * sysdeps/x86_64/wcscmp.S: Update.
73060         Fix wrong comparison semantics.
73061         wcscmp shall use signed comparison not unsigned.
73062         Don't use substraction to avoid overflow bug.
73063         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73064         * wcsmbc/wcscmp.c: Likewise.
73065         * string/test-strcmp.c: Likewise.
73066         Add new tests to check cases with negative values.
73068 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73070         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73071         * sysdeps/x86_64/dla.h: ...here.  New file.
73072         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
73073         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73074         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73075         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73076         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73077         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73078         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73079         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73080         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73082 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73084         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73085         __ynl_finite aliases.
73087 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73091         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73092         define DLA_FMA.
73093         [DLA_FMA] (EMULV): Use DLA_FMA.
73094         [DLA_FMA] (MUL12): Use EMULV.
73095         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73096         that are not needed.
73097         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73098         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73100         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73101         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73102         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73103         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73105 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73107         * math/s_nan.c: Undef __nan.
73108         * math/s_nanf.c: Undef __nanf.
73109         * math/s_nanl.c: Undef __nanl.
73110         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73111         "math_private.h".
73113 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73115         * math/s_catan.c: Add branch predictions.
73116         * math/s_catanf.c: Likewise.
73117         * math/s_catanh.c: Likewise.
73118         * math/s_catanhf.c: Likewise.
73119         * math/s_catanhl.c: Likewise.
73120         * math/s_catanl.c: Likewise.
73121         * math/s_cexp.c: Likewise.
73122         * math/s_cexpf.c: Likewise.
73123         * math/s_cexpl.c: Likewise.
73124         * math/s_clog.c: Likewise.
73125         * math/s_clog10.c: Likewise.
73126         * math/s_clog10f.c: Likewise.
73127         * math/s_clog10l.c: Likewise.
73128         * math/s_clogf.c: Likewise.
73129         * math/s_clogl.c: Likewise.
73130         * math/s_csqrt.c: Likewise.
73131         * math/s_csqrtf.c: Likewise.
73132         * math/s_csqrtl.c: Likewise.
73133         * math/s_ctanf.c: Likewise.
73134         * math/s_ctanh.c: Likewise.
73135         * math/s_ctanhf.c: Likewise.
73136         * math/s_ctanhl.c: Likewise.
73137         * math/s_ctanl.c: Likewise.
73139         * math/math_private.h: Define __nan, __nanf, __nanl.
73140         * math/s_cacosh.c: Include <math_private.h>.
73141         * math/s_cacoshl.c: Likewise.
73142         * math/s_casinh.c: Likewise.
73143         * math/s_casinhf.c: Likewise.
73144         * math/s_casinhl.c: Likewise.
73145         * math/s_ccos.c: Rely entire on ccosh.
73146         * math/s_ccosf.c: Rely entire on ccoshf.
73147         * math/s_ccosl.c: Rely entirely on ccoshl.
73148         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73149         Remove tests for FE_INVALID.
73150         * math/s_ccoshf.c: Likewise.
73151         * math/s_ccoshl.c: Likewise.
73152         * math/s_csin.c: Likewise.
73153         * math/s_csinf.c: Likewise.
73154         * math/s_csinh.c Likewise.
73155         * math/s_csinhf.c: Likewise.
73156         * math/s_csinhl.c: Likewise.
73157         * math/s_csinl.c: Likewise.
73158         * math/s_ctan.c: Likewise.
73159         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73160         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73161         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
73163 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
73165         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
73166         compilation problems.
73168         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
73169         __builtin_expect.
73171 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
73173         * sysdeps/i386/configure.in: Test for -mfma4 option.
73174         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
73175         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
73176         COMMON_CPUID_INDEX_80000001.
73177         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
73178         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
73179         use it if FMA3 is not supported.
73180         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
73182         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
73183         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
73185 2011-10-20  Andreas Schwab  <schwab@redhat.com>
73187         [BZ #12892]
73188         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
73189         it would create a cycle with a link time dependency.
73191 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
73193         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
73194         instruction.
73195         * string/Makefile (strop-tests): Add rawmemchr.
73196         * string/test-rawmemchr.c: New file.
73198         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
73199         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
73200         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
73201         when compiling str{,n}casecmp and when AVX is available.  Hook up
73202         new optimized code in initializers.
73204 2011-10-19  Andreas Schwab  <schwab@redhat.com>
73206         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
73207         __feraiseexcept instead of feraiseexcept.
73209 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
73211         * math/math_private.h: Define defaults for libc_fetestexcept and
73212         libc_feupdateenv.
73213         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
73214         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
73215         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73216         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73217         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73218         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73219         libc_fetestexcept and libc_feupdateenv.
73221         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
73222         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
73223         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
73224         * sysdeps/x86_64/fpu/math_private.h: Define special version of
73225         libc_feholdexcept_setround.
73227         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
73228         Add s_nearbyint-c and s_nearbyintf-c.
73229         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
73230         nearbyintf inlines.
73231         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
73232         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
73233         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
73234         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
73236         * math/math_private.h: Define defaults for libc_fegetround,
73237         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
73238         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
73239         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
73240         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
73241         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
73242         standard functions.
73243         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73244         Remove comments and hacks for old compiler versions.
73245         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
73246         libc_fegetround, libc_fesetround, libc_feholdexcept, and
73247         libc_feholdexceptl.
73249 2011-10-18  Andreas Schwab  <schwab@redhat.com>
73251         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
73252         (__feraiseexcept_renamed): Add __NTH.
73253         (feraiseexcept): Add __NTH.  Rename local variables to fix
73254         namespace violations.
73256 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
73258         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
73260         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
73262         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
73263         recently added interfaces.
73264         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
73266         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
73267         about macro parameter expansion.
73269         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
73270         __NO_MATH_INLINES is defined.  Cleanups.
73272         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
73273         and __floorf is target has SSE4.1.
73274         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
73275         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
73276         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
73277         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
73279         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
73280         name.
73281         (floorf): Likewise.
73283         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
73285 2011-10-17  Andreas Schwab  <schwab@redhat.com>
73287         * misc/sys/cdefs.h: Fix last change.
73289         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
73290         database lookup.
73292 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
73294         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
73296         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
73297         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73298         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73299         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73300         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73301         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73302         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73303         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73304         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73305         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
73306         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
73307         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
73308         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
73309         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
73310         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
73311         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
73312         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
73313         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
73314         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
73315         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
73316         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
73317         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
73319         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
73320         ceil, ceilf, floor, floorf.
73322         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
73323         Perform IRELATIVE relocations last.
73325         * elf/do-rel.h: Add another parameter nrelative, replacing the
73326         local variable with the same name.  Change name of the function
73327         to end in Rel or Rela (uppercase).
73328         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
73329         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
73330         elf_dynamic_do_##reloc function.
73332 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73334         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
73335         is sufficient, at least on modern CPUs.
73337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
73339         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
73340         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
73342         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
73343         __expl_finite.
73344         * math/bits/math-finite.h: Add entries for exp.
73345         * math/e_expl.c: Add __*_finite alias.
73346         * sysdeps/i386/fpu/e_exp.S: Likewise.
73347         * sysdeps/i386/fpu/e_expf.S: Likewise.
73348         * sysdeps/i386/fpu/e_expl.c: Likewise.
73349         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73350         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
73351         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
73352         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
73353         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
73354         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73355         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73357         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
73358         is sufficient, at least on modern CPUs.
73360         * ctype/ctype-info.c (__ctype_init): Define.
73361         * include/ctype.h (__ctype_init): Declare.
73362         (__ctype_b_loc): The variable is always initialized.
73363         (__ctype_toupper_loc): Likewise.
73364         (__ctype_tolower_loc): Likewise.
73365         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
73366         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
73368 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
73370         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
73372         * configure.in: Also look in $cxxmachine/include for C++ system
73373         headers.
73375 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73377         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
73378         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
73379         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
73380         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
73381         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
73382         (USE_AS_WMEMCMP): New macro.
73383         Fixing indents.
73384         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
73385         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
73386         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
73387         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
73388         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73389         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
73390         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
73391         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
73392         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
73393         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
73394         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
73395         (USE_AS_WMEMCMP): New macro.
73396         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
73397         * sysdeps/string/test-memcmp.c: Update.
73398         Fix simple_wmemcmp.
73399         Add new tests.
73400         * wcsmbs/wmemcmp.c: Update.
73401         (WMEMCMP): New macro.
73402         Fix overflow bug.
73404 2011-10-12  Andreas Jaeger  <aj@suse.de>
73406         [BZ #13268]
73407         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
73409 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
73411         * libio/iofwide.c (do_length): Avoid warning.
73413         * ctype/ctype.h (__isctype_f): Add missing __THROW.
73415 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
73417         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
73419         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
73420         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
73421         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
73422         * sysdeps/i386/i686/fpu/e_log.S: New file.
73423         * sysdeps/i386/i686/fpu/e_logf.S: New file.
73424         * sysdeps/i386/i686/fpu/e_logl.S: New file.
73426         * ctype/ctype.h: Add support for inlined isXXX functions when
73427         compiling C++ code.
73429 2011-10-14  Andreas Schwab  <schwab@redhat.com>
73431         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73433         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
73435 2011-10-13  Roland McGrath  <roland@hack.frob.com>
73437         [BZ #13291]
73438         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
73440 2011-10-13  Andreas Schwab  <schwab@redhat.com>
73442         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
73443         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
73444         feraiseexcept.
73446         * sysdeps/x86_64/memrchr.S: Check for zero size.
73448         * string/stratcliff.c: Add memrchr tests.
73450 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73452         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
73453         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
73454         rawmemchr-sse2 rawmemchr-sse2-bsf.
73455         * sysdeps/i386/i686/multiarch/memchr.S: New file.
73456         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
73457         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
73458         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
73459         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
73460         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
73461         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
73462         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
73463         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
73464         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
73465         * string/memrchr.c (MEMRCHR): New macro.
73467 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
73469         Add integration with gcc's -ffinite-math-only and optimize wrapper
73470         functions in libm.
73471         * Versions.def: Define GLIBC_2.15 version for libm.
73472         * math/Makefile (headers): Add bits/math-finite.h.
73473         * math/bits/math-finite.h: New file.
73474         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
73475         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
73476         * math/e_acoshl.c: Add __*_finite alias.
73477         * math/e_acosl.c: Likewise.
73478         * math/e_asinl.c: Likewise.
73479         * math/e_atan2l.c: Likewise.
73480         * math/e_atanhl.c: Likewise.
73481         * math/e_coshl.c: Likewise.
73482         * math/e_exp10.c: Likewise.
73483         * math/e_exp10f.c: Likewise.
73484         * math/e_exp10l.c: Likewise.
73485         * math/e_exp2l.c: Likewise.
73486         * math/e_fmodl.c: Likewise.
73487         * math/e_gammal_r.c: Likewise.
73488         * math/e_hypotl.c: Likewise.
73489         * math/e_j0l.c: Likewise.
73490         * math/e_j1l.c: Likewise.
73491         * math/e_jnl.c: Likewise.
73492         * math/e_lgammal_r.c: Likewise.
73493         * math/e_log10l.c: Likewise.
73494         * math/e_log2l.c: Likewise.
73495         * math/e_logl.c: Likewise.
73496         * math/e_powl.c: Likewise.
73497         * math/e_sinhl.c: Likewise.
73498         * math/e_sqrtl.c: Likewise.
73499         * math/e_scalb.c: Completely rewritten and optimized.
73500         * math/e_scalbf.c: Likewise.
73501         * math/e_scalbl.c: Likewise.
73502         * math/w_acos.c: Likewise.
73503         * math/w_acosf.c: Likewise.
73504         * math/w_acosl.c: Likewise.
73505         * math/w_acosh.c: Likewise.
73506         * math/w_acoshf.c: Likewise.
73507         * math/w_acoshl.c: Likewise.
73508         * math/w_asin.c: Likewise.
73509         * math/w_asinf.c: Likewise.
73510         * math/w_asinl.c: Likewise.
73511         * math/w_atan2.c: Likewise.
73512         * math/w_atan2f.c: Likewise.
73513         * math/w_atan2l.c: Likewise.
73514         * math/w_atanh.c: Likewise.
73515         * math/w_atanhf.c: Likewise.
73516         * math/w_atanhl.c: Likewise.
73517         * math/w_exp10.c: Likewise.
73518         * math/w_exp10f.c: Likewise.
73519         * math/w_exp10l.c: Likewise.
73520         * math/w_fmod.c: Likewise.
73521         * math/w_fmodf.c: Likewise.
73522         * math/w_fmodl.c: Likewise.
73523         * math/w_j0.c: Likewise.
73524         * math/w_j0f.c: Likewise.
73525         * math/w_j0l.c: Likewise.
73526         * math/w_j1.c: Likewise.
73527         * math/w_j1f.c: Likewise.
73528         * math/w_j1l.c: Likewise.
73529         * math/w_jn.c: Likewise.
73530         * math/w_jnf.c: Likewise.
73531         * math/w_log.c: Likewise.
73532         * math/w_logf.c: Likewise.
73533         * math/w_logl.c: Likewise.
73534         * math/w_log10.c: Likewise.
73535         * math/w_log10f.c: Likewise.
73536         * math/w_log10l.c: Likewise.
73537         * math/w_log2.c: Likewise.
73538         * math/w_log2f.c: Likewise.
73539         * math/w_log2l.c: Likewise.
73540         * math/w_pow.c: Likewise.
73541         * math/w_powf.c: Likewise.
73542         * math/w_powl.c: Likewise.
73543         * math/w_remainder.c: Likewise.
73544         * math/w_remainderf.c: Likewise.
73545         * math/w_remainderl.c: Likewise.
73546         * math/w_scalb.c: Likewise.
73547         * math/w_scalbf.c: Likewise.
73548         * math/w_scalbl.c: Likewise.
73549         * math/w_sqrt.c: Likewise.
73550         * math/w_sqrtf.c: Likewise.
73551         * math/w_sqrtl.c: Likewise.
73552         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
73553         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
73554         used.
73555         * math/math_private.h: Declare __kernel_standard_f.
73556         * math/w_cosh.c: Remove cruft and optimize a bit.
73557         * math/w_coshf.c: Likewise.
73558         * math/w_coshl.c: Likewise.
73559         * math/w_exp2.c: Likewise.
73560         * math/w_exp2f.c: Likewise.
73561         * math/w_exp2l.c: Likewise.
73562         * math/w_hypot.c: Likewise.
73563         * math/w_hypotf.c: Likewise.
73564         * math/w_hypotl.c: Likewise.
73565         * math/w_lgamma.c: Likewise.
73566         * math/w_lgamma_r.c: Likewise.
73567         * math/w_lgammaf.c: Likewise.
73568         * math/w_lgammaf_r.c: Likewise.
73569         * math/w_lgammal.c: Likewise.
73570         * math/w_lgammal_r.c: Likewise.
73571         * math/w_sinh.c: Likewise.
73572         * math/w_sinhf.c: Likewise.
73573         * math/w_sinhl.c: Likewise.
73574         * math/w_tgamma.c: Likewise.
73575         * math/w_tgammaf.c: Likewise.
73576         * math/w_tgammal.c: Likewise.
73577         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73579         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
73580         Minor optimizations.  Pretty printing.  Remove cruft.
73581         * sysdeps/i386/fpu/e_acosf.S: Likewise.
73582         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73583         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73584         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73585         * sysdeps/i386/fpu/e_acosl.c: Likewise.
73586         * sysdeps/i386/fpu/e_asin.S: Likewise.
73587         * sysdeps/i386/fpu/e_asinf.S: Likewise.
73588         * sysdeps/i386/fpu/e_atan2.S: Likewise.
73589         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
73590         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
73591         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73592         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73593         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73594         * sysdeps/i386/fpu/e_exp10.S: Likewise.
73595         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
73596         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
73597         * sysdeps/i386/fpu/e_exp2.S: Likewise.
73598         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
73599         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
73600         * sysdeps/i386/fpu/e_fmod.S: Likewise.
73601         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
73602         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
73603         * sysdeps/i386/fpu/e_hypot.S: Likewise.
73604         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
73605         * sysdeps/i386/fpu/e_log.S: Likewise.
73606         * sysdeps/i386/fpu/e_log10.S: Likewise.
73607         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73608         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73609         * sysdeps/i386/fpu/e_log2.S: Likewise.
73610         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73611         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73612         * sysdeps/i386/fpu/e_logf.S: Likewise.
73613         * sysdeps/i386/fpu/e_logl.S: Likewise.
73614         * sysdeps/i386/fpu/e_pow.S: Likewise.
73615         * sysdeps/i386/fpu/e_powf.S: Likewise.
73616         * sysdeps/i386/fpu/e_powl.S: Likewise.
73617         * sysdeps/i386/fpu/e_remainder.S: Likewise.
73618         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
73619         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
73620         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73621         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73622         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73623         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
73624         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
73625         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
73626         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73627         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73628         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73629         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73630         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
73631         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73632         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
73633         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73634         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73635         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73636         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73638         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73639         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73640         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73642         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73643         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73644         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73645         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73646         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73647         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73648         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73649         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73650         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73651         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73652         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
73653         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73654         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
73655         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73656         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73657         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73658         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73659         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73660         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73661         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73662         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73663         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73664         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73665         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73666         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73667         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73668         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73669         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73670         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73671         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73672         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73673         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73674         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73675         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
73676         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73677         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73678         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73679         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73680         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73681         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73682         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73683         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73684         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73685         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73686         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73687         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73688         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73689         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73690         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73691         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73692         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73693         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73694         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
73695         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73696         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73697         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73698         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73699         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73700         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73701         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73702         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73703         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73704         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73705         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73706         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73707         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73708         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
73709         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73710         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73711         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73712         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73713         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73714         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73715         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73716         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73717         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73718         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73719         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
73720         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73721         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73722         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73723         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
73724         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
73725         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
73726         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
73727         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
73728         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
73729         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
73730         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73731         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73732         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73733         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73734         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
73735         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73736         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
73737         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
73738         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
73739         (__isnanf): Likewise.
73740         (__isinf_ns): Likewise.
73741         (__isinf_nsf): Likewise.
73742         (__finite): Likewise.
73743         (__finitef): Likewise.
73744         (__ieee754_sqrt): Define as macro.
73745         (__ieee754_sqrtf): Define as macro.
73746         (__ieee754_sqrtl): Define as macro.
73747         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
73748         inlined copy.
73749         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
73750         __FINITE_MATH_ONLY__ consistent.
73751         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
73753 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
73755         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
73756         of rawmemchr.
73758         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
73760 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
73762         * po/ja.po: Update from translation team.
73764 2011-10-08  Roland McGrath  <roland@hack.frob.com>
73766         * locale/programs/locarchive.c (prepare_address_space): New function.
73767         (create_archive, enlarge_archive, open_archive): Use it.
73769         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
73770         inside [SHARED], where it is used.
73772         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
73774         * nss/getent.c (netgroup_keys): Remove unused variable.
73775         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73777 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
73779         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
73780         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
73781         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
73782         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
73783         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
73784         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
73785         * math/Makefile (libm-calls): Add s_isinf_ns.
73786         * math/divtc3.c: Use __isinf_nsl instead of isinf.
73787         * math/multc3.c: Likewise.
73788         * math/s_casin.c: Likewise.
73789         * math/s_casinf.c: Likewise.
73790         * math/s_casinl.c: Likewise.
73791         * math/s_ccos.c: Likewise.
73792         * math/s_ccosf.c: Likewise.
73793         * math/s_ccosl.c: Likewise.
73794         * math/s_ctan.c: Likewise.
73795         * math/s_ctanf.c: Likewise.
73796         * math/s_ctanh.c: Likewise.
73797         * math/s_ctanhf.c: Likewise.
73798         * math/s_ctanhl.c: Likewise.
73799         * math/s_ctanl.c: Likewise.
73800         * math/w_fmod.c: Likewise.
73801         * math/w_fmodf.c: Likewise.
73802         * math/w_fmodl.c: Likewise.
73803         * math/w_remainder.c: Likewise.
73804         * math/w_remainderf.c: Likewise.
73805         * math/w_remainderl.c: Likewise.
73806         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
73807         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
73808         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
73809         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
73810         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
73811         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
73812         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
73813         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
73815         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
73816         of the number.
73817         * stdio-common/printf_fphex.c: Likewise.
73818         * stdio-common/printf_size.c: Likewise.
73820         * math/e_exp10.c: Include math_private.h using <...> not "...".
73821         * math/e_exp10f.c: Likewise.
73822         * math/e_exp10l.c: Likewise.
73823         * math/e_exp2l.c: Likewise.
73824         * math/e_j0l.c: Likewise.
73825         * math/e_j1l.c: Likewise.
73826         * math/e_jnl.c: Likewise.
73827         * math/e_lgammal_r.c: Likewise.
73828         * math/e_rem_pio2l.c: Likewise.
73829         * math/e_scalb.c: Likewise.
73830         * math/e_scalbf.c: Likewise.
73831         * math/e_scalbl.c: Likewise.
73832         * math/k_cosl.c: Likewise.
73833         * math/k_sinl.c: Likewise.
73834         * math/k_tanl.c: Likewise.
73835         * math/s_cacoshf.c: Likewise.
73836         * math/s_catan.c: Likewise.
73837         * math/s_catanf.c: Likewise.
73838         * math/s_catanh.c: Likewise.
73839         * math/s_catanhf.c: Likewise.
73840         * math/s_catanhl.c: Likewise.
73841         * math/s_catanl.c: Likewise.
73842         * math/s_ccosh.c: Likewise.
73843         * math/s_ccoshf.c: Likewise.
73844         * math/s_ccoshl.c: Likewise.
73845         * math/s_cexp.c: Likewise.
73846         * math/s_cexpf.c: Likewise.
73847         * math/s_cexpl.c: Likewise.
73848         * math/s_clog.c: Likewise.
73849         * math/s_clog10.c: Likewise.
73850         * math/s_clog10f.c: Likewise.
73851         * math/s_clog10l.c: Likewise.
73852         * math/s_clogf.c: Likewise.
73853         * math/s_clogl.c: Likewise.
73854         * math/s_csin.c: Likewise.
73855         * math/s_csinf.c: Likewise.
73856         * math/s_csinh.c: Likewise.
73857         * math/s_csinhf.c: Likewise.
73858         * math/s_csinhl.c: Likewise.
73859         * math/s_csinl.c: Likewise.
73860         * math/s_csqrt.c: Likewise.
73861         * math/s_csqrtf.c: Likewise.
73862         * math/s_csqrtl.c: Likewise.
73863         * math/s_ctan.c: Likewise.
73864         * math/s_ctanf.c: Likewise.
73865         * math/s_ctanh.c: Likewise.
73866         * math/s_ctanhf.c: Likewise.
73867         * math/s_ctanhl.c: Likewise.
73868         * math/s_ctanl.c: Likewise.
73869         * math/s_ldexp.c: Likewise.
73870         * math/s_ldexpf.c: Likewise.
73871         * math/s_ldexpl.c: Likewise.
73872         * math/s_significand.c: Likewise.
73873         * math/s_significandf.c: Likewise.
73874         * math/s_significandl.c: Likewise.
73875         * math/w_acos.c: Likewise.
73876         * math/w_acosf.c: Likewise.
73877         * math/w_acosh.c: Likewise.
73878         * math/w_acoshf.c: Likewise.
73879         * math/w_acoshl.c: Likewise.
73880         * math/w_acosl.c: Likewise.
73881         * math/w_asin.c: Likewise.
73882         * math/w_asinf.c: Likewise.
73883         * math/w_asinl.c: Likewise.
73884         * math/w_atan2.c: Likewise.
73885         * math/w_atan2f.c: Likewise.
73886         * math/w_atan2l.c: Likewise.
73887         * math/w_atanh.c: Likewise.
73888         * math/w_atanhf.c: Likewise.
73889         * math/w_atanhl.c: Likewise.
73890         * math/w_cosh.c: Likewise.
73891         * math/w_coshf.c: Likewise.
73892         * math/w_coshl.c: Likewise.
73893         * math/w_dremf.c: Likewise.
73894         * math/w_exp10.c: Likewise.
73895         * math/w_exp10f.c: Likewise.
73896         * math/w_exp10l.c: Likewise.
73897         * math/w_exp2.c: Likewise.
73898         * math/w_exp2f.c: Likewise.
73899         * math/w_fmod.c: Likewise.
73900         * math/w_fmodf.c: Likewise.
73901         * math/w_fmodl.c: Likewise.
73902         * math/w_hypot.c: Likewise.
73903         * math/w_hypotf.c: Likewise.
73904         * math/w_hypotl.c: Likewise.
73905         * math/w_j0.c: Likewise.
73906         * math/w_j0f.c: Likewise.
73907         * math/w_j0l.c: Likewise.
73908         * math/w_j1.c: Likewise.
73909         * math/w_j1f.c: Likewise.
73910         * math/w_j1l.c: Likewise.
73911         * math/w_jn.c: Likewise.
73912         * math/w_jnf.c: Likewise.
73913         * math/w_jnl.c: Likewise.
73914         * math/w_lgamma.c: Likewise.
73915         * math/w_lgamma_r.c: Likewise.
73916         * math/w_lgammaf.c: Likewise.
73917         * math/w_lgammaf_r.c: Likewise.
73918         * math/w_lgammal.c: Likewise.
73919         * math/w_lgammal_r.c: Likewise.
73920         * math/w_log.c: Likewise.
73921         * math/w_log10.c: Likewise.
73922         * math/w_log10f.c: Likewise.
73923         * math/w_log10l.c: Likewise.
73924         * math/w_log2.c: Likewise.
73925         * math/w_log2f.c: Likewise.
73926         * math/w_log2l.c: Likewise.
73927         * math/w_logf.c: Likewise.
73928         * math/w_logl.c: Likewise.
73929         * math/w_pow.c: Likewise.
73930         * math/w_powf.c: Likewise.
73931         * math/w_powl.c: Likewise.
73932         * math/w_remainder.c: Likewise.
73933         * math/w_remainderf.c: Likewise.
73934         * math/w_remainderl.c: Likewise.
73935         * math/w_scalb.c: Likewise.
73936         * math/w_scalbf.c: Likewise.
73937         * math/w_scalbl.c: Likewise.
73938         * math/w_sinh.c: Likewise.
73939         * math/w_sinhf.c: Likewise.
73940         * math/w_sinhl.c: Likewise.
73941         * math/w_sqrt.c: Likewise.
73942         * math/w_sqrtf.c: Likewise.
73943         * math/w_sqrtl.c: Likewise.
73944         * math/w_tgamma.c: Likewise.
73945         * math/w_tgammaf.c: Likewise.
73946         * math/w_tgammal.c: Likewise.
73948         * po/ja.po: Update from translation team.
73950 2011-09-29  Andreas Jaeger  <aj@suse.de>
73952         [BZ #13179]
73953         * sunrpc/netname.c (netname2host): Fix logic.
73955         [BZ #6779]
73956         [BZ #6783]
73957         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
73958         correctly.
73959         * math/w_remainder.c (__remainder): Likewise.
73960         * math/w_remainderf.c (__remainderf): Likewise.
73961         * math/libm-test.inc (remainder_test): Add test cases.
73963 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73965         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
73966         sdiv_qrnnd.
73968 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73970         * string/test-memcmp.c: Avoid unncessary #defines.
73971         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73973 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73975         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
73976         Use new sse2 version for core i3 - i7 as it's faster
73977         than sse42 version.
73978         (bit_Prefer_PMINUB_for_stringop): New.
73979         * sysdeps/x86_64/rawmemchr.S: Update.
73980         Replace with faster SSE2 version.
73981         * sysdeps/x86_64/memrchr.S: New file.
73982         * sysdeps/x86_64/memchr.S: Update.
73983         Replace with faster SSE2 version.
73985 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
73987         * elf/dl-load.c (lose): Add cast to avoid warning.
73989 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
73991         * po/ca.po: Update from translation team.
73993         * inet/getnetgrent_r.c: Hook up nscd.
73994         * nscd/Makefile (routines): Add nscd_netgroup.
73995         (nscd-modules): Add netgroupcache.
73996         (CFLAGS-netgroupcache.c): Define.
73997         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
73998         (cache_search): Add const to second parameter.
73999         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74000         INNETGR.
74001         (dbs): Add netgrdb entry.
74002         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74003         (verify_persistent_db): Handle netgrdb.
74004         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74005         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74006         GETFDNETGR.
74007         (netgroup_response_header): Define.
74008         (innetgroup_response_header): Define.
74009         (datahead): Add netgroup_response_header and innetgroup_response_header
74010         elements.
74011         * nscd/nscd.conf: Add entries for netgroup cache.
74012         * nscd/nscd.h (dbtype): Add netgrdb.
74013         (_PATH_NSCD_NETGROUP_DB): Define.
74014         (netgroup_iov_disabled): Declare.
74015         (xmalloc, xcalloc, xrealloc): Move declarations here.
74016         (cache_search): Adjust prototype.
74017         Add netgroup-related prototypes.
74018         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74019         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74020         (__nscd_innetgr): Declare.
74021         * nscd/selinux.c (perms): Use access_vector_t as element type and
74022         add netgroup-related initializers.
74023         * nscd/netgroupcache.c: New file.
74024         * nscd/nscd_netgroup.c: New file.
74025         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74026         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74027         For four parameters use innetgr.
74028         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74029         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74030         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74031         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74033         * nscd/connections.c (register_traced_file): Don't register file
74034         for disabled databases.
74036 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74038         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74040         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74041         from tree and freeing node.
74043 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74045         * nss/nsswitch.c (__nss_database_lookup): Handle
74046         nss_parse_service_list out of memory case.
74048 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74050         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74051         out of memory case.
74053 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74055         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74056         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74057         pass it down.
74058         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74059         elf_machine_rela, elf_machine_lazy_rel.
74060         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74061         (ELF_DYNAMIC_DO_REL): Likewise.
74062         (ELF_DYNAMIC_DO_RELA): Likewise.
74063         (ELF_DYNAMIC_RELOCATE): Likewise.
74064         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74065         to ELF_DYNAMIC_DO_REL.
74066         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74067         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74068         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74069         elf_machine_rela.
74070         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74071         skip_ifunc, don't call ifunc function if non-zero.
74072         (elf_machine_rela): Likewise.
74073         (elf_machine_lazy_rel): Likewise.
74074         (elf_machine_lazy_rela): Likewise.
74075         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74076         (elf_machine_lazy_rel): Likewise.
74077         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74078         Likewise.
74079         (elf_machine_lazy_rel): Likewise.
74080         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74081         Likewise.
74082         (elf_machine_lazy_rel): Likewise.
74083         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74084         (elf_machine_lazy_rel): Likewise.
74085         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74086         (elf_machine_lazy_rel): Likewise.
74087         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74088         (elf_machine_lazy_rel): Likewise.
74089         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74090         (elf_machine_lazy_rel): Likewise.
74091         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74092         (elf_machine_lazy_rel): Likewise.
74093         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74094         (elf_machine_lazy_rel): Likewise.
74096 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74098         * nss/nss_files/files-init.c (_nss_files_init): Use static
74099         initialization for all the *_traced_file variables.
74101 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74103         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74105 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74107         [BZ #13226]
74108         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74110 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74112         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74113         Reread the line before reparsing it.
74115 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74117         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74119 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74120             Maxim Kuvyrkov  <maxim@codesourcery.com>
74121             Joseph Myers  <joseph@codesourcery.com>
74123         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74124         if needed for __stack_chk_guard.
74126 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74128         * sysdeps/posix/spawni.c (script_execute): Always define it.
74129         It will be optimized away if unused.
74130         (maybe_script_execute): New function.
74131         (__spawni): Call it.
74133         * Makerules: Don't include tls.make.
74134         (config-tls): Always set to thread.
74135         * tls.make.c: File removed.
74137 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74139         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74140         * config.make.in (CPPFLAGS-config): New substituted variable.
74142 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74144         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74146         [BZ #13192]
74147         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74148         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74150 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74152         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74153         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74154         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74155         (CALL_FAIL): Likewise.
74156         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74157         (CALL_FAIL): Macro removed.
74158         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74160 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74162         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
74163         for __FINITE_MATH_ONLY__ == 1.
74165 2011-09-15  Andreas Schwab  <schwab@redhat.com>
74167         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
74168         __ieee754_sqrt instead of sqrt.
74169         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
74170         __ieee754_sqrtf instead of sqrtf.
74171         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
74172         __floorf instead of floorf.
74173         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
74174         __floorf, __truncf instead of floorf, truncf.
74176 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
74178         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
74180         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
74181         __extern_always_inline.
74182         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
74183         32-bit.
74185 2011-09-14  Andreas Schwab  <schwab@redhat.com>
74187         * elf/rtld.c (dl_main): Also relocate in dependency order when
74188         doing symbol dependency testing.
74190 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
74192         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74193         Always define `refsym'.
74195 2011-09-13  Andreas Schwab  <schwab@redhat.com>
74197         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
74198         (__FD_ELT): Renamed from __FDELT.
74199         * misc/bits/select2.h (__FD_ELT): Likewise.
74200         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
74201         __FD_MASK instead of __FDELT, __FDMASK.
74202         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74203         Likewise.
74204         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
74205         Likewise.
74207         * elf/Makefile (gen-ldd): Fix pattern.
74209         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
74210         (init_tls): Likewise.
74212 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
74214         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
74216 2011-09-12  Andreas Schwab  <schwab@redhat.com>
74218         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
74219         `struct cmsghdr *' instead of `void *'.
74220         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
74221         Likewise.
74223 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
74225         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
74226         if non-absolute.
74227         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
74228         ldd_rewrite_script.
74230 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
74232         * configure.in: Remove --with-tls option.
74233         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
74234         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
74235         out in case it is missing.
74236         * sysdeps/ia64/elf/configure.in: Likewise.
74237         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
74238         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
74239         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
74240         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
74241         * sysdeps/sh/elf/configure.in: Likewise.
74242         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
74243         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74244         * sysdeps/x86_64/elf/configure.in: Likewise.
74245         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
74246         * sysdeps/mach/hurd/tls.h: Likewise.
74248         [BZ #13067]
74249         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
74251         [BZ #13090]
74252         * configure.in: Fix use of AC_INIT.
74254         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
74256 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
74258         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
74259         __set_errno.
74260         * malloc/hooks.c: Likewise.
74262         [BZ #11929]
74263         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
74264         variables statically.
74265         (narenas): Initialize.
74266         (list_lock): Initialize.
74267         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
74268         initializtion of main_arena and list_lock.  Small cleanups.
74269         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
74270         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
74271         Add initializers to main_arena and mp_.
74272         (malloc_state): Remove pagesize member.  Change all users to use
74273         GLRO(dl_pagesize).
74275         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
74276         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
74277         is always initialized.
74279         * malloc/malloc.c: Removed unused configurations and dead code.
74280         * malloc/arena.c: Likewise.
74281         * malloc/hooks.c: Likewise.
74282         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
74284         * include/tls.h: Removed.  USE___THREAD must always be defined.
74285         * bits/libc-tsd.h: Don't handle !USE___THREAD.
74286         * elf/dl-libc.c: Likewise.
74287         * elf/dl-tsd.c: Likewise.
74288         * include/errno.h: Likewise.
74289         * include/netdb.h: Likewise.
74290         * include/resolv.h: Likewise.
74291         * inet/herrno-loc.c: Likewise.
74292         * inet/herrno.c: Likewise.
74293         * malloc/arena.c: Likewise.
74294         * malloc/hooks.c: Likewise.
74295         * malloc/malloc.c: Likewise.
74296         * resolv/res-state.c: Likewise.
74297         * resolv/res_libc.c: Likewise.
74298         * sysdeps/i386/dl-machine.h: Likewise.
74299         * sysdeps/ia64/dl-machine.h: Likewise.
74300         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
74301         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
74302         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
74303         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
74304         * sysdeps/sh/dl-machine.h: Likewise.
74305         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74306         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74307         * sysdeps/unix/i386/sysdep.S: Likewise.
74308         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
74309         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
74310         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
74311         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
74312         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
74313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
74314         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
74315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74317         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
74318         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74319         * sysdeps/x86_64/dl-machine.h: Likewise.
74320         * tls.make.c: Likewise.
74322         * configure.in: Remove --with-__thread option.  Make tests for
74323         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
74324         tls_model attribute fail if no support is available.  Remove
74325         USE_IN_LIBIO.
74326         * Makeconfig: Adjust for dropped configure option.  All features are
74327         now mandatory.
74328         * Makerules: Likewise.
74329         * Versions.def: Likewise.
74330         * argp/argp-fmtstream.c: Likewise.
74331         * argp/argp-fmtstream.h: Likewise.
74332         * argp/argp-help.c: Likewise.
74333         * assert/assert.c: Likewise.
74334         * config.h.in: Likewise.
74335         * config.make.in: Likewise.
74336         * configure: Likewise.
74337         * configure.in: Likewise.
74338         * csu/Versions: Likewise.
74339         * csu/init.c: Likewise.
74340         * elf/tst-audit2.c: Likewise.
74341         * elf/tst-tls10.c: Likewise.
74342         * elf/tst-tls10.h: Likewise.
74343         * elf/tst-tls11.c: Likewise.
74344         * elf/tst-tls12.c: Likewise.
74345         * elf/tst-tls14.c: Likewise.
74346         * elf/tst-tlsmod11.c: Likewise.
74347         * elf/tst-tlsmod12.c: Likewise.
74348         * elf/tst-tlsmod13.c: Likewise.
74349         * elf/tst-tlsmod13a.c: Likewise.
74350         * elf/tst-tlsmod14a.c: Likewise.
74351         * elf/tst-tlsmod15b.c: Likewise.
74352         * elf/tst-tlsmod16a.c: Likewise.
74353         * elf/tst-tlsmod16b.c: Likewise.
74354         * elf/tst-tlsmod7.c: Likewise.
74355         * elf/tst-tlsmod8.c: Likewise.
74356         * elf/tst-tlsmod9.c: Likewise.
74357         * gmon/gmon.c: Likewise.
74358         * grp/fgetgrent_r.c: Likewise.
74359         * grp/putgrent.c: Likewise.
74360         * hurd/fopenport.c: Likewise.
74361         * include/libc-symbols.h: Likewise.
74362         * include/tls.h: Likewise.
74363         * intl/gettextP.h: Likewise.
74364         * intl/loadinfo.h: Likewise.
74365         * locale/global-locale.c: Likewise.
74366         * locale/localeinfo.h: Likewise.
74367         * mach/devstream.c: Likewise.
74368         * malloc/arena.c: Likewise.
74369         * malloc/set-freeres.c: Likewise.
74370         * misc/err.c: Likewise.
74371         * misc/getttyent.c: Likewise.
74372         * misc/mntent_r.c: Likewise.
74373         * posix/getopt.c: Likewise.
74374         * posix/wordexp.c: Likewise.
74375         * pwd/fgetpwent_r.c: Likewise.
74376         * resolv/Versions: Likewise.
74377         * resolv/res_hconf.c: Likewise.
74378         * shadow/fgetspent_r.c: Likewise.
74379         * shadow/putspent.c: Likewise.
74380         * stdio-common/printf_fphex.c: Likewise.
74381         * stdio-common/tmpfile.c: Likewise.
74382         * stdlib/abort.c: Likewise.
74383         * stdlib/fmtmsg.c: Likewise.
74384         * sunrpc/auth_unix.c: Likewise.
74385         * sunrpc/clnt_perr.c: Likewise.
74386         * sunrpc/clnt_tcp.c: Likewise.
74387         * sunrpc/clnt_udp.c: Likewise.
74388         * sunrpc/clnt_unix.c: Likewise.
74389         * sunrpc/openchild.c: Likewise.
74390         * sunrpc/svc_simple.c: Likewise.
74391         * sunrpc/svc_tcp.c: Likewise.
74392         * sunrpc/svc_udp.c: Likewise.
74393         * sunrpc/svc_unix.c: Likewise.
74394         * sunrpc/xdr.c: Likewise.
74395         * sunrpc/xdr_array.c: Likewise.
74396         * sunrpc/xdr_rec.c: Likewise.
74397         * sunrpc/xdr_ref.c: Likewise.
74398         * sunrpc/xdr_stdio.c: Likewise.
74400 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74402         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74404 2011-07-03  Andreas Jaeger  <aj@suse.de>
74406         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
74407         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
74408         regenerate with gen-libm-tests.pl.
74410 2010-05-12  Petr Baudis  <pasky@suse.cz>
74412         [BZ #11589]
74413         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
74414         around j0() zero points by switching to j1().
74415         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74416         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74417         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74420 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74422         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
74423         instead of 0.
74424         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
74425         instead of 0.
74426         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74427         Patch in part by Pavel Roskin <proski@gnu.org>.
74429         [BZ #13138]
74430         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
74431         realloc.
74432         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
74433         Free memory block if necessary.
74435         [BZ #12847]
74436         * libio/genops.c (INTDEF): For string streams the _lock pointer can
74437         be NULL.  Don't lock in this case.
74439 2011-09-09  Roland McGrath  <roland@hack.frob.com>
74441         * elf/elf.h (ELFOSABI_GNU): New macro.
74442         (ELFOSABI_LINUX): Define to that.
74444 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
74446         * string/strncat.c (strncat): Undef the symbol in case it has been
74447         defined in bits/string.h.
74449 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
74451         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
74453         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74454         link map.
74456 2011-08-17  Andreas Jaeger  <aj@suse.de>
74458         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
74460 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
74461             Ian Lance Taylor  <iant@google.com>
74463         * math/libm-test.inc (lround_test): New testcase.
74464         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
74466 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
74468         * Makefile: Remove support for automatic cvs check-ins.
74469         * Makerules: Likewise.
74470         * config.make.in: Likewise.
74471         * configure.in: Likewise.
74472         * intl/Makefile: Likewise.
74473         * locale/Makefile: Likewise.
74474         * po/Makefile: Likewise.
74475         * posix/Makefile: Likewise.
74476         * sysdeps/gnu/Makefile: Likewise.
74477         * sysdeps/mach/hurd/Makefile: Likewise.
74478         * sysdeps/sparc/sparc32/Makefile: Likewise.
74480         [BZ #13118]
74481         * posix/Makefile (bug-regex32-ENV): Define.
74482         Patch by John Stanley <jpsinthemix@verizon.net>.
74484         * misc/Makefile (headers): Add bits/select2.h.
74485         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
74486         * misc/bits/select2.h: New file.
74487         * include/bits/select2.h: New file.
74488         * debug/Makefile (routines): Add fdelt_chk.
74489         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
74490         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
74491         FD_ISSET.
74492         * debug/fdelt_chk.c: New file.
74494         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
74495         * wcsmbs/test-wmemcmp.c: Likewise.
74496         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
74497         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
74499 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74501         * string/Makefile (strop-tests): Add memcmp.
74502         * string/test-wmemcmp.c: New file.
74503         * string/test-memcmp.c: Add wmemcmp support.
74505 2011-09-08  Roland McGrath  <roland@hack.frob.com>
74507         [BZ #13153]
74508         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
74509         2011-07-19 change.
74511         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
74512         garbage value in a __mach_port_mod_refs call in the cases of the
74513         task-self and thread-self ports.
74515 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74517         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
74519 2011-09-08  Andreas Schwab  <schwab@redhat.com>
74521         * elf/dl-load.c (lose): Check for non-null L.
74523 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74525         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
74527         * elf/dl-libc.c (dlerror_run): Pass back error code from
74528         dl_catch_error.
74530         [BZ #13123]
74531         * elf/dl-load.c (lose): Free l_origin if it is valid.
74533         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
74534         names.
74535         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
74536         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74537         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
74538         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74539         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
74540         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
74542 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74544         * sysdeps/powerpc/fpu/e_hypot.c: New file.
74545         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
74546         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
74547         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
74548         * sysdeps/powerpc/fpu/k_cosf.c: New file.
74549         * sysdeps/powerpc/fpu/k_sinf.c: New file.
74550         * sysdeps/powerpc/fpu/s_cosf.c: New file.
74551         * sysdeps/powerpc/fpu/s_sinf.c: New file.
74552         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
74553         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
74555 2011-08-15  Alan Modra  <amodra@gmail.com>
74557         [BZ #13092]
74558         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
74559         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
74560         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
74561         ppc_mcount to static-only-routines.
74562         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
74563         __mcount_internal.
74564         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
74565         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
74567 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
74569         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
74570         for finite and infinity parameters.
74572 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74574         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
74575         and add nop instructions for throughput optimization.
74576         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
74578 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
74580         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
74581         aligned copy for power7 with vector-scalar instructions.
74582         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
74584 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
74586         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
74587         AVX check.
74589 2011-09-07  Andreas Schwab  <schwab@redhat.com>
74591         [BZ #13144]
74592         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
74593         last change.
74595 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
74597         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74598         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
74599         syscall wrapper around clock_gettime in __vdso_clock_gettime.
74600         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
74601         clock_gettime.
74603 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74605         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
74606         Forgot to demangle the pointer.
74608         * sysdeps/i386/sysdep.h: Define atom_text_section.
74609         * sysdeps/x86_64/sysdep.h: Likewise.
74610         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
74611         section with atom_text_section.
74612         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
74613         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
74614         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
74615         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
74616         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
74618         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
74619         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
74620         already be defined.  Change to take two parameters and don't assign
74621         result to variable.  Adjust all users.
74622         Define INTERNAL_GETTIME if not already defined.
74623         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
74624         call.
74625         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
74626         HAVE_CLOCK_GETTIME_VSYSCALL.
74627         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
74629         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
74630         gettimeofday vsyscall, just use time.
74632 2011-09-06  Andreas Schwab  <schwab@redhat.com>
74634         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
74635         <errno.h>.
74637 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
74639         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
74640         syscall on x86-64.
74641         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
74642         syscall.
74643         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
74644         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
74645         syscall if possible.
74647 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74649         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
74650         e_ident.  Don't pass to find_mapsXX.
74651         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
74653 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
74656         strchr-sse2-no-bsf strrchr-sse2-no-bsf
74657         * sysdeps/x86_64/multiarch/strchr.S: Update.
74658         Check bit_slow_BSF bit.
74659         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
74660         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
74661         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
74663 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74665         [BZ #13134]
74666         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
74667         before glibc 2.15.
74668         (tryshell): Define.
74669         (__spawni): Change last parameter to be flag.  Test
74670         SPAWN_XFLAGS_USE_PATH flag to use path or not.
74671         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
74672         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
74673         * posix/spawni.c: Likewise.
74674         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
74675         * posix/spawnp.c: Likewise.  Change normal version to use
74676         SPAWN_XFLAGS_USE_PATH.
74677         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
74678         SPAWN_XFLAGS_TRY_SHELL.
74680         [BZ #13150]
74681         * posix/glob.h: Remove gcc 1.x support.
74683         [BZ #13068]
74684         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
74686 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
74688         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74689         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
74690         strrchr-sse2-bsf
74691         * sysdeps/i386/i686/multiarch/strchr.S: New file.
74692         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
74693         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
74694         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
74695         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
74696         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
74698 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74700         * sysdeps/x86_64/wcscmp.S: New file.
74702         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
74703         wcscmp-c wcscmp-sse2
74704         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
74705         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
74706         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
74707         * wcsmbs/wcscmp.c: Allow renaming.
74709 2011-09-05  David S. Miller  <davem@davemloft.net>
74711         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
74712         stack slot, rather than the struct return pointer slot.
74713         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
74714         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
74715         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
74716         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
74718 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
74720         * po/ja.po: Update from translation team.
74722         [BZ #13144]
74723         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
74724         kernel in 64-bit binaries.
74726 2011-09-01  David S. Miller  <davem@davemloft.net>
74728         * elf/elf.h (HWCAP_SPARC_*): Move to..
74729         * sysdeps/sparc/sysdep.h: this new file and add new values.
74730         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
74731         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
74732         _DL_HWCAP_COUNT to 24.
74733         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74734         entries.
74735         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
74736         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
74737         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
74738         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
74739         instead of magic constants.
74740         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74742 2011-08-31  David S. Miller  <davem@davemloft.net>
74744         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
74745         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
74746         Reimplement to do errno handling inline.
74747         (SYSCALL_ERROR_HANDLER): New macro.
74748         (__SYSCALL_STRING): Do not do errno handling in asm.
74749         (__CLONE_SYSCALL_STRING): Delete.
74750         (__INTERNAL_SYSCALL_STRING): Delete.
74751         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
74752         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
74753         (PSEUDO): Reimplement to do errno handling inline.
74754         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
74755         (SYSCALL_ERROR_HANDLER): New macro.
74756         (__SYSCALL_STRING): Do not do errno handling in asm.
74757         (__CLONE_SYSCALL_STRING): Delete.
74758         (__INTERNAL_SYSCALL_STRING): Delete.
74759         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
74760         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
74761         i386.
74762         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
74763         (inline_syscall*): Add 'err' argument.
74764         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
74765         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
74766         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
74767         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
74769         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
74770         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
74772 2011-08-30  Andreas Schwab  <schwab@redhat.com>
74774         * elf/rtld.c (dl_main): Relocate objects in dependency order.
74776 2011-08-29  Jiri Olsa <jolsa@redhat.com>
74778         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
74779         directive.
74781 2011-08-24  David S. Miller  <davem@davemloft.net>
74783         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
74785 2011-08-24  Andreas Schwab  <schwab@redhat.com>
74787         * elf/Makefile: Add rules to build and run unload8 test.
74788         * elf/unload8.c: New file.
74789         * elf/unload8mod1.c: New file.
74790         * elf/unload8mod1x.c: New file.
74791         * elf/unload8mod2.c: New file.
74792         * elf/unload8mod3.c: New file.
74794         * elf/dl-close.c (_dl_close_worker): Reset private search list if
74795         it wasn't used.
74797 2011-08-23  David S. Miller  <davem@davemloft.net>
74799         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
74800         subtract stack bias.
74801         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
74802         %sp not %fp in calculations.
74803         (_JMPBUF_UNWINDS_ADJ): Likewise.
74805         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
74806         (aio_suspend): Call it to force an exception region around the
74807         AIO_MISC_WAIT() invocation.
74809 2011-08-23  Andreas Schwab  <schwab@redhat.com>
74811         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
74812         backslash.
74814 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
74816         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
74817         protection macro.
74818         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
74819         and <dl-machine.h>.
74820         (Elf64_FuncDesc): Remove.
74822 2011-08-22  David S. Miller  <davem@davemloft.net>
74824         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
74825         sigaltstack check, add missing cfi directives.
74826         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
74827         missing cfi directives, and sigaltstack handling.
74829 2011-08-16  Andreas Schwab  <schwab@redhat.com>
74831         [BZ #11724]
74832         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
74833         object is seen twice.
74834         * elf/dl-fini.c (_dl_sort_fini): Likewise.
74836         * elf/Makefile (distribute): Add tst-initorder2.c.
74837         (tests): Add tst-initorder2.
74838         (modules-names): Add tst-initorder2a tst-initorder2b
74839         tst-initorder2c tst-initorder2d.  Add rules to build them.
74840         ($(objpfx)tst-initorder2.out): New rule.
74841         * elf/tst-initorder2.c: New file.
74842         * elf/tst-initorder2.exp: New file.
74844 2011-08-22  Andreas Schwab  <schwab@redhat.com>
74846         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
74848         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
74849         dependencies back to end of function.
74851         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
74852         $(elfobjdir)/ld.so.
74854 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
74856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
74857         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
74858         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
74859         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
74860         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
74861         of __vdso_gettimeofday.
74862         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
74863         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
74864         attribute_hidden.
74865         (_libc_vdso_platform_setup): Remove initialization of
74866         __vdso_gettimeofday and __vdso_time.
74868 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74870         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
74871         and fgetc_unlocked.
74872         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
74873         getc_unlocked.
74875         * elf/dl-open.c (add_to_global): Report additions to the global scope
74876         for LD_DEBUG=scopes.
74877         (dl_open_worker): Also print scope of newly loaded dependencies.
74878         (_dl_show_scope): Indicate if there is no scope.
74880         [BZ #13114]
74881         * stdio-common/Makefile (tests): Add bug24.
74882         * stdio-common/bug24.c: New file.
74884 2011-08-19  Andreas Jaeger  <aj@suse.de>
74886         [BZ #13114]
74887         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
74888         non-existant file when using close-on-exec mode.
74890 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
74892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
74893         the very first instruction.
74895         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
74896         the CFI state in the end.
74897         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
74898         inclusion of dl-trampoline.h.
74899         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
74901 2011-08-19  Andreas Schwab  <schwab@redhat.com>
74903         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
74904         expectations for long double.
74906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
74907         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
74909 2011-08-14  David S. Miller  <davem@davemloft.net>
74911         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
74912         artificual limit depends upon the system page size.
74914 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74916         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
74917         * resolv/Makefile: Define CFLAGS-libresolv.
74919 2011-08-17  Andreas Schwab  <schwab@redhat.com>
74921         * nss/makedb.c (compute_tables): Make variables used in nested
74922         function static.
74924 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
74926         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
74927         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
74928         if buffer was too small.
74930         * elf/pldd.c (main): Attach to all threads in the process.
74931         Rewrite /proc handling to use *at functions.
74933 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
74935         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
74936         specifies first scope to show.
74937         (dl_open_worker): Update callers.  Move printing scope of new
74938         object to before the relocation.
74939         * elf/rtld.c (dl_main): Update _dl_show_scope call.
74940         * sysdeps/generic/ldsodefs.h: Update declaration.
74942         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
74943         string for the scope number.
74945 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
74947         * nscd/servicescache.c (cache_addserv): Make sure written is always
74948         initialized.
74950 2011-08-14  Roland McGrath  <roland@hack.frob.com>
74952         * sysdeps/i386/i486/bits/atomic.h
74953         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
74954         statement expression, so as to suppress "set but not used" warning.
74955         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
74957         * string/strncat.c (STRNCAT): Use prototype definition.
74959         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
74960         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
74961         -Iprograms here.
74962         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
74963         (localedef-modules): Add localedef.
74964         (locale-modules): Add locale.
74966         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
74967         * elf/rtld.c (dl_main): Invert order of assignment in last change,
74968         to avoid a warning.
74970 2011-08-14  David S. Miller  <davem@davemloft.net>
74972         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
74973         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
74975 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
74977         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
74978         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
74979         * elf/rtld.c (dl_main): Set l_name of vDSO.
74980         Call _dl_show_scope when DL_DEBUG_SCOPES.
74981         (process_dl_debug): Recognize scopes flag and also set it for all.
74982         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
74983         Declare _dl_show_scope.
74985         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
74986         (do_dlopen): Pass caller_dlopen to dl_open.
74987         (__libc_dlopen_mode): Initialize caller_dlopen.
74989         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
74990         of libc.  Make tolower call locale-independent.  Optimize a bit by
74991         using isdigit instead of isalnum.
74992         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
74994 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
74996         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
74997         was a dependency or dynamically loaded.
74999 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75001         * intl/l10nflist.c: Allow architecture-specific pop function.
75002         * sysdeps/x86_64/l10nflist.c: New file.
75004         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75005         classification.
75007 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75009         * include/dirent.h: Add libc_hidden_proto for scandirat and
75010         scandirat64.  Don't declare __scandirat64.
75011         * dirent/scandirat.c: Add libc_hidden_def.
75012         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75013         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75015 2011-08-10  David S. Miller  <davem@davemloft.net>
75017         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75018         enum.
75019         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75020         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75021         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75023 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75025         * Versions.def [libc]: Add GLIBC_2.15.
75026         * dirent/Makefile (routines): Add scandirat and scandirat64.
75027         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75028         GLIBC_2.15.
75029         * dirent/dirent.h: Declare scandirat and scandirat64.
75030         * dirent/scandirat.c: New file.
75031         * dirent/scandirat64.c: New file.
75032         * sysdeps/wordsize-64/scandirat.c: New file.
75033         * sysdeps/wordsize-64/scandirat64.c: New file.
75034         * dirent/opendir.c: Define opendirat.
75035         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75036         using scandirat.
75037         * dirent/scandir64.c: Adjust for scandir.c change.
75038         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75039         __scandirat64, and __scandir_cancel_handler.
75040         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75041         additional parameter and use openat instead of open (outside of ld.so).
75042         Add new __opendir as wrapper around __opendirat.
75043         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75044         here without requiring old scandirat implementation.
75046 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75048         * dirent/scandir.c (cancel_handler): Renamed to
75049         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75050         defined.  Adjust users.
75051         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75052         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75054 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75056         * string/test-string.h (IMPL): Use __STRING to expand name and then
75057         stringify it.
75059         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75060         of cleanups.
75062 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75064         * string/Makefile: Update.
75065         (strop-tests): Append strncat.
75066         * string/test-wcscmp.c: New file.
75067         New comprehensive test for wcscmp.
75068         * string/test-strcmp.c: Update.
75069         (WIDE): New define.
75071 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75073         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75074         line.
75076 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75079         encoding to ACE if AI_IDN.
75081 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75083         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75084         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75086 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75088         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75089         Fix overflow bug in strncat.
75090         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75092         * string/test-strncat.c: Update.
75093         Add new tests for checking overflow bugs.
75095 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75097         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75098         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75099         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75100         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75101         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75102         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75103         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75104         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75105         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75107         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75108         (USE_AS_STRCAT): Define.
75109         Add strcat and strncat support.
75110         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75112 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75114         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75115         __n bigger than INT_MAX+1.
75116         (__strncmp_g): Likewise.
75118 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75120         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75121         * libio/stido.h: Likewise.
75123         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75124         (AF_NFC): Define.
75125         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75126         (AF_NFC): Define.
75128         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75129         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75130         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75131         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75134         [BZ #13021]
75135         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75136         installed.
75138         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75139         typo.
75140         (_dl_x86_64_save_sse): Likewise.
75142 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75144         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75145         OSXSAVE.
75146         (_dl_x86_64_save_sse): Likewise.
75148         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75150         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75152 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75154         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75155         change.
75156         (_dl_x86_64_save_sse): Use correct AVX check.
75158 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75160         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75161         bug in strncpy/strncat.
75162         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
75164 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
75166         * string/tester.c (test_strcat): Add tests for different alignments
75167         of source and destination.
75168         (test_strncat): Likewise.
75170 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75172         [BZ #12852]
75173         * posix/glob.c (glob): Check passed in values before using them in
75174         expressions to avoid some overflows.
75175         (glob_in_dir): Likewise.
75177         [BZ #13007]
75178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
75179         check for AVX enablement so that we don't crash with old kernels and
75180         new hardware.
75181         * elf/tst-audit4.c: Add same checks here.
75182         * elf/tst-audit6.c: Likewise.
75184         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
75186 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
75188         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
75190 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
75192         * po/cs.po: Update from translation team.
75193         * po/bg.po: Likewise.
75195 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
75197         * misc/sys/cdefs.h: Add support for const attribute.
75198         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
75199         to gnu_dev_{major,minor,makedev} functions.
75201 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
75203         * intl/dcigettext.c (get_output_charset): Add missing bracket.
75205 2011-07-20  Andreas Schwab  <schwab@redhat.com>
75207         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
75208         strlen results.
75210 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
75213         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
75214         register in order to avoid conflicts with the soft frame pointer
75215         being held in r11 when necessary.
75216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
75217         (INTERNAL_VSYSCALL_NCS): Likewise.
75219 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
75221         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
75222         * elf/dl-fini.c (_dl_fini): Adjust caller.
75223         * elf/dl-close.c (_dl_close_worker): Likewise.
75224         * sysdeps/generic/ldsodefs.h: Adjust declaration.
75226 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75228         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
75229         "aux_cache->nlibs < 0".
75231         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
75232         in the reload-count case.
75234 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75237         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
75238         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
75239         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
75240         * sysdeps/x86_64/multiarch/strcat.S: New file.
75241         * sysdeps/x86_64/multiarch/strncat.S: New file.
75242         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
75243         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
75244         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
75245         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
75246         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
75247         (USE_AS_STRCAT): Define.
75248         Add strcat and strncat support.
75249         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75250         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
75251         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
75252         * string/strncat.c: Update.
75253         (USE_AS_STRNCAT): Define.
75254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75255         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
75256         and i7.
75257         * sysdeps/x86_64/multiarch/init-arch.h
75258         (bit_Prefer_PMINUB_for_stringop): New.
75259         (index_Prefer_PMINUB_for_stringop): Likewise.
75260         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
75261         bit_Prefer_PMINUB_for_stringop.
75263 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75265         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
75266         buffer64.
75267         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
75268         of casting of buffer.
75269         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
75270         buffer32 and buffer64.
75271         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
75272         writes instead of casting of buffer.
75273         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
75274         buffer32.
75275         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
75276         casting of buffer.
75278 2011-07-19  Andreas Schwab  <schwab@redhat.com>
75280         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
75282 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
75284         * nscd/nscd.c (termination_handler): Don't do anything for a database
75285         if it has not yet been initialized.
75287 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75289         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75291 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
75293         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
75295 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
75297         * po/nl.po: Update from translation team.
75298         * po/sv.po: Likewise.
75300 2011-07-16  Roland McGrath  <roland@hack.frob.com>
75302         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
75303         now disallowed by GCC.
75305         * configure.in (use-default-link): Default to yes if a test -shared
75306         link meets our qualifications.
75307         * configure: Regenerated.
75309         * config.make.in (output-format): New variable.
75310         * configure.in: Check for ld --print-output-format support.
75311         * configure: Regenerated.
75312         * Makerules ($(common-objpfx)format.lds)
75313         [$(output-format) != unknown]: Just use $(output-format),
75314         instead of the linker-script munging.
75316 2011-07-14  Roland McGrath  <roland@hack.frob.com>
75318         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
75319         of $(common-objpfx)shlib.lds.
75320         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
75322         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
75323         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
75325         * configure.in (-z relro check): Adjust test code to add a large
75326         writable data section after it.
75327         * configure: Regenerated.
75329 2011-07-11  Roland McGrath  <roland@hack.frob.com>
75331         * configure.in (-z relro check): Fix test code to make the variable
75332         truly const.
75333         * configure: Regenerated.
75335 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
75337         * nscd/nscd.h (struct traced_file): Define.
75338         (struct database_dyn): Remove inotify_descr, reset_res, and filename
75339         elements.  Add traced_files.
75340         (inotify_fd): Declare.
75341         (register_traced_file): Declare.
75342         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
75343         (inotify_fd): Export.
75344         (resolv_conf_descr): Remove.
75345         (nscd_init): Move inotify descriptor creation to main.
75346         Don't register files for notification here.
75347         (register_traced_file): New function.
75348         (invalidate_cache): Don't use reset_res to determine whether to call
75349         res_init, go through the list of registered files.
75350         (main_loop_poll): The inotify descriptors are now stored in the
75351         structures for the traced files.
75352         (main_loop_epoll): Likewise.
75353         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
75354         to __nss_disable_nscd.
75355         * nscd/cache.c (prune_cache): There is no single inotify descriptor
75356         for a database anymore.  Check the records for all the registered
75357         files instead.
75358         * nss/Makefile (libnss_files-routines): Add files-init.
75359         (libnss_db-routines): Add db-init.
75360         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
75361         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
75362         * nss/nss_db/db-init.c: New file.
75363         * nss/nss_files/files-init.c: New file.
75364         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
75365         __nss_lookup_function.
75366         (__nss_lookup_function): Call nss_load_library.
75367         (nss_load_all_libraries): New function.
75368         (__nss_disable_nscd): Take parameter with callback function for files
75369         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
75370         used for the cached services.
75371         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
75372         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
75373         options for features to all the files in nscd.
75375         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
75377 2011-07-10  Roland McGrath  <roland@hack.frob.com>
75379         * csu/elf-init.c (__libc_csu_init): Comment typo.
75381 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
75383         * po/pl.po: Update from translation team.
75384         * po/ja.po: Likewise.
75385         * po/ru.po: Likewise.
75386         * po/ko.po: Likewise.
75387         * po/fr.po: Likewise.
75389 2011-07-09  Roland McGrath  <roland@hack.frob.com>
75391         * configure.in (.ctors/.dtors header and trailer check):
75392         Use an empirical test on a built program.
75393         * configure: Regenerated.
75395         * configure.in (-z relro check): Use an empirical test on a built DSO.
75396         Detect, but do not require, on ia64.
75397         * configure: Regenerated.
75399         * configure.in (READELF): Find it with AC_CHECK_TOOL.
75400         Update tests that use readelf to use $READELF instead.
75401         * configure: Regenerated.
75403 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
75405         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
75406         if the result is not used.
75408 2011-07-05  Andreas Jaeger  <aj@suse.de>
75410         [BZ#9696]
75411         * stdlib/tst-strtod.c: Add testcase.
75413 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
75415         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
75416         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
75417         The latter has a higher limit.  Take additional parameter to pass to
75418         the new function.
75419         (__pathconf): Pass file to __statfs_link_max.
75420         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
75421         __statfs_link_max.
75422         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
75423         __statfs_link_max.
75425         [BZ #12868]
75426         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
75427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
75428         Handle Lustre.
75429         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
75430         (__statfs_filesize_max): Likewise.
75431         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
75433 2011-07-05  Andreas Jaeger  <aj@suse.de>
75435         * resolv/res_comp.c (dn_skipname): Remove unused variable.
75437 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
75439         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
75440         `status' variable.
75441         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
75442         Likewise.
75444 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
75446         * Makefile (strop-tests): Add strncat.
75447         * string/test-strncat.c: New file.
75449 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
75451         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
75453 2011-06-21  Andreas Jaeger  <aj@suse.de>
75455         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
75456         Copy rule from iconvdata/Makefile.
75458 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75460         [BZ #12922]
75461         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
75462         but no long options are defined, just return 'W'.
75464 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
75466         [BZ #9696]
75467         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
75469 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
75471         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
75472         netgroups to read.
75473         (innetgr): Likewise.
75475 2011-07-05  Roland McGrath  <roland@hack.frob.com>
75477         * config.make.in (install_root): Default to $(DESTDIR).
75479 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
75481         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
75483 2011-07-02  Roland McGrath  <roland@hack.frob.com>
75485         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
75487         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
75488         containing directory rather than embedding absolute directory names.
75490         * scripts/check-local-headers.sh: Rewritten using awk.
75491         Match by word, not by line.  Print error messages for matches.
75492         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
75494         * Makerules [shlib-lds-flags empty]:
75495         ($(common-objpfx)libc_pic.opts): New target.
75496         ($(common-objpfx)libc_pic.os.clean): New target.
75497         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
75499         * config.make.in (OBJCOPY): New variable.
75500         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
75501         * configure: Regenerated.
75503         * config.make.in (use-default-link): New variable.
75504         * configure.in (use_default_link): Grok --with-default-link to set it.
75505         * configure: Regenerated.
75506         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
75507         (shlib-lds, shlib-lds-flags): Define to empty.
75509         * Makerules (shlib-lds): New variable.
75510         (shlib-lds-flags): New variable.
75511         (build-shlib, build-moduile, build-module-asneeded): Use it.
75512         ($(common-objpfx)libc.so): Use $(shlib-lds).
75513         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
75514         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
75516         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
75517         DT_FLAGS/DT_FLAGS_1 with zero flags.
75519         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
75520         linker script munging.
75522 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
75524         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
75525         as 128-bit value.
75526         * crypt/sha512.c (sha512_process_block): Perform total addition using
75527         128-bit if possible.
75528         (__sha512_finish_ctx): Likewise.
75529         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
75530         as 64-bit value.
75531         * crypt/sha256.c (SWAP64): Define.
75532         (sha256_process_block): Perform total addition using 64-bit if
75533         possible.
75534         (__sha256_finish_ctx): Likewise.
75536 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
75538         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
75539         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75540         * nscd/hstcache.c (cache_addhst): Likewise.
75541         * nscd/grpcache.c (cache_addgr): Likewise.
75542         * nscd/aicache.c (addhstaiX): Likewise.
75543         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
75545 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
75547         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
75548         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75549         * nscd/hstcache.c (cache_addhst): Likewise.
75550         * nscd/grpcache.c (cache_addgr): Likewise.
75551         * nscd/aicache.c (addhstaiX): Likewise.
75553 2011-07-01  Andreas Schwab  <schwab@redhat.com>
75555         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
75556         domain only when needed.
75558 2011-06-30  Andreas Schwab  <schwab@redhat.com>
75560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
75561         is always restored.
75563 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
75565         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
75566         are re-adding the entry.
75567         * nscd/servicescache.c (cache_addserv): Likewise.
75569 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
75571         * sysdeps/generic/dl-irel.h: fix protection against multiple
75572         inclusions.
75573         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
75575 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
75577         [BZ #12935]
75578         * malloc/memusage.sh: Fix quoting in message.
75579         * debug/xtrace.sh: Likewise.
75581         * configure.in: Remove support for --experimental-malloc option, make
75582         it the default.
75583         * config.make.in: Likewise.
75584         * malloc/Makefile: Likewise.
75586 2011-06-27  Andreas Schwab  <schwab@redhat.com>
75588         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
75589         two-byte characters.
75591 2011-06-27  Roland McGrath  <roland@hack.frob.com>
75593         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
75594         AC_CACHE_CHECK invocation.
75595         * configure: Regenerated.
75597         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
75599 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
75601         [BZ #12350]
75602         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
75603         bit from old_res_options.
75605         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
75607         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
75608         value type for setfct.
75610 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
75612         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75613         __gettimeofday instead of gettimeofday.
75615 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
75617         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
75619 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
75621         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
75623         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
75624         info.
75626 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75629         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75630         strcpy-sse2-unaligned strncpy-sse2-unaligned
75631         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
75632         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
75633         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
75634         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
75635         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
75636         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
75637         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
75638         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
75639         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
75640         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
75641         (STRCPY): Support SSE2 and SSSE3 versions.
75643 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
75645         [BZ #12874]
75646         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
75647         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
75648         kernels which artificially limit size of requests.
75650 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
75652         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75653         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
75654         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
75655         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
75656         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
75657         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
75658         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
75659         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
75660         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
75661         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
75662         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
75663         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
75664         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
75665         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
75666         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
75667         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75668         Enable unaligned load optimization for Intel Core i3, i5 and i7
75669         processors.
75670         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
75671         Define.
75672         (index_Fast_Unaligned_Load): Define.
75673         (HAS_FAST_UNALIGNED_LOAD): Define.
75675 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
75677         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
75679 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75681         [BZ #12907]
75682         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
75683         until it is clear that the information is realy needed.
75684         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
75686 2011-06-22  Andreas Schwab  <schwab@redhat.com>
75688         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
75690 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
75692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
75693         /sys/devices/system/cpu/online if it is usable.
75695         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
75696         reading the information from the /proc filesystem to once a second.
75698 2011-06-21  Andreas Jaeger  <aj@suse.de>
75700         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
75701         NULL after inclusion of kernel headers.
75703 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
75705         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
75706         calls to internal_setent.
75708         [BZ #12885]
75709         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
75710         addresses using gethostbyname4_r ignore IPv4 addresses.
75712         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
75713         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
75715         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
75717 2011-06-20  David S. Miller  <davem@davemloft.net>
75719         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
75720         inclusions.
75721         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
75723         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
75724         (elf_irel): Use it.
75725         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
75726         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
75727         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
75728         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
75729         * sysdeps/x86_64/dl-irel.h: Likewise.
75731         * elf/dl-runtime.c: Use elf_ifunc_invoke.
75732         * elf/dl-sym.c: Likewise.
75734 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75736         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
75737         need to dereference resplen2.
75739 2011-06-14  Andreas Schwab  <schwab@redhat.com>
75741         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
75743 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
75745         * Makeconfig: Define vardbdir and inst_vardbdir.
75746         * nss/Makefile: Add rules to install db-Makefile.
75748         * nss/nss_db/db-XXX.c: Cleanup.
75750         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
75751         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
75752         GLIBC_PRIVATE.
75753         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
75754         * nss/makedb.c: Implement -g option to specify that value strings
75755         are generated and should not be added to table iterated over for
75756         get*ent calls.
75757         * nss/nss_db/db-initgroups.c: New file.
75759         * nss/getent.c: Add support for initgroups lookups through getgrouplist
75760         interface.
75762         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
75763         (internal_getgrouplist): Adjust to name change.
75764         Update use_initgroups_entry if this is not the first call.
75765         * nss/databases.def: Add initgroups entry.
75767         * nss/makedb.c (compute_tables): Check result of multiple hash table
75768         sizes to minimize maximum chain length.
75770 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
75772         * Versions.def: Add entry for libnss_db.
75773         * shlib-versions: Likewise.
75774         * nss/Makefile: Add rules to build libnss_db.
75775         * nss/Versions: Add libnss_db information.  Organize libnss_files
75776         entries better.
75777         * nss/db-Makefile: Add gshadow support.  Change rules for the new
75778         makedb progra.  Some minor improvements to generate smaller files.
75779         * nss/nss_db/nss_db.h: Move NSS database header data structures to
75780         here from...
75781         * nss/makedb.c: ...here.
75782         Improve database format to be smaller and require less memory at
75783         runtime.
75784         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
75785         db anymore.
75786         * nss/nss_db/db-netgrp.c: Likewise.
75787         * nss/nss_db/db-open.c: Likewise.
75788         * nss/nss_files/flies-XXX.x: Adjust comments.
75789         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
75790         * nss/nss_files/files-grp.c: Likewise.
75791         * nss/nss_files/files-hosts.c: Likewise.
75792         * nss/nss_files/files-network.c: Likewise.
75793         * nss/nss_files/files-proto.c: Likewise.
75794         * nss/nss_files/files-pwd.c: Likewise.
75795         * nss/nss_files/files-rpc.c: Likewise.
75796         * nss/nss_files/files-service.c: Likewise.
75797         * nss/nss_files/files-sgrp.c: Likewise.
75798         * nss/nss_files/files-spwd.c: Likewise.
75799         * nss/nss_db/db-alias.c: Removed.
75800         * nss/nss_db/dummy-db.h: Removed.
75802 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
75804         * nss/makedb.c: Rewritten to not use database library.
75805         * nss/Makefile: Update to build new makedb program.
75807 2011-06-14  Andreas Jaeger  <aj@suse.de>
75809         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
75810         memset declaration.
75812 2011-06-10  Andreas Schwab  <schwab@redhat.com>
75814         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
75815         tmpbuf.
75817 2011-06-10  Roland McGrath  <roland@hack.frob.com>
75819         * Makerules (shlib.lds): Fail if the linker script comes out empty.
75820         * elf/Makefile ($(objpfx)ld.so): Likewise.
75822         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
75823         Don't list ld.so twice in dependencies.
75825         * posix/bug-regex31.c: Include <stdlib.h>.
75827         * nscd/hstcache.c (cache_addhst): Remove unused variable.
75829         * nis/nss_compat/compat-spwd.c
75830         (getspent_next_nss_netgr): Remove unused variable.
75831         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
75833         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
75834         nonmembers" output to use the right array.
75836         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
75838         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
75840         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
75841         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
75842         * catgets/gencat.c (read_input_file): Likewise.
75843         * locale/programs/locarchive.c (enlarge_archive): Likewise.
75845         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
75846         variable definition inside #if's controlling its use.
75848         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
75850         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
75852         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
75854         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
75855         unreachable code.
75857         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
75859         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
75860         * configure: Regenerated.
75862         * Makerules: Revert last change.
75863         * elf/Makefile: Likewise.
75865 2011-06-09  Roland McGrath  <roland@hack.frob.com>
75867         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
75868         * elf/Makefile ($(objpfx)librtld.os): Likewise.
75869         (reloc-link): Likewise.
75871 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
75873         * elf/Makefile: Add rules to build pldd.
75874         * elf/pldd.c: New file.
75875         * elf/pldd-xx.c: New file.
75877 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
75879         * version.h: Update for 2.15 development version.
75881 2011-06-07  David S. Miller  <davem@davemloft.net>
75883         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
75884         ifuncs.
75885         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
75886         elf_machine_lazy_rel): Likewise.
75887         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
75888         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
75889         elf_machine_lazy_rel): Likewise.
75890         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
75891         dl_hwcap via passed in argument.
75892         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
75893         Likewise.
75895 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75897         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
75899 2011-06-06  Roland McGrath  <roland@hack.frob.com>
75901         [BZ #12849]
75902         * manual/fdl-1.1.texi: New file, verbatim from:
75903         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
75904         * manual/lgpl-2.1.texi: New file, verbatim from:
75905         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
75906         * manual/Makefile (licenses): New variable, list those new file names.
75907         (texis): Use it.
75908         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
75910         * manual/fdl.texi: File removed.
75911         * manual/lesser.texi: File removed.
75912         * manual/libc.texinfo (Copying, Documentation License):
75913         Use new @include file names, put @appendix directive before @include.
75915 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
75917         [BZ #12841]
75918         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
75919         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
75920         (mq_open): Add __NTH.
75922 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
75924         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
75925         Assume Intel Core i3/i5/i7 processor if AVX is available.
75927 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75929         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
75930         typo.
75932 2011-05-31  Andreas Schwab  <schwab@redhat.com>
75934         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
75935         memory.  Use alloca_account.  Fix memory leak when retrying.
75937 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
75939         * version.h (RELEASE): Bump for 2.14 release.
75940         * include/features.h (__GLIBC_MINOR__): Bump to 14.
75942         * config.make.in (RANLIB): Remove entry.
75944 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
75946         * po/Makefile (po-sed-cmd): Add ksh to extensions.
75947         (libc.pot): Work around missing support for .ksh extension in xgettext.
75949         [BZ #12684]
75950         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
75951         if both request failed.
75952         (send_dg): In case of server errors clear resplen or *resplen2.
75954         [BZ #12454]
75955         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
75956         when there are multiple maps.
75957         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
75958         (_dl_fini): Remove test here.
75960         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
75962 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
75964         [BZ #12350]
75965         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
75966         bit from old_res_options.
75967         (gaih_inet): Likewise.
75969         [BZ #11099]
75970         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
75971         as signed.
75973         * resolv/res_init.c (res_setoptions): Make the code more compact.
75975         [BZ #11558]
75976         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
75977         set RES_USEVC.
75979         [BZ #11634]
75980         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
75982         * malloc/malloc.h: Mark malloc hook variables as deprecated.
75984         [BZ #11781]
75985         * malloc/malloc.h: Declare malloc hook variables as volatile.
75987         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
75988         in last patch.
75990         [BZ #11799]
75991         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
75992         raise in the comment.
75993         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
75994         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
75995         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
75997 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
75999         [BZ #12811]
76000         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76001         grow the buffers more if it already has to be sufficient.
76002         (build_wcs_upper_buffer): Likewise.
76003         * posix/regexec.c (check_matching): Likewise.
76004         (clean_state_log_if_needed): Likewise.
76005         (extend_buffers): Don't enlarge buffers beyond size of the input
76006         buffer.
76007         Patches mostly by Emil Wojak <emil@wojak.eu>.
76008         * posix/bug-regex32.c: New file.
76009         * posix/Makefile (tests): Add bug-regex32.
76011         * locale/findlocale.c (_nl_find_locale): Return right away if
76012         _nl_explode_name failed.
76013         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76015         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76017         * debug/xtrace.sh: Unify messages.
76018         * malloc/memusage.sh: Likewise.
76020         [BZ #12813]
76021         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76022         time symbol from vDSO.  Substitute with vsyscall if not available.
76023         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76024         __vdso_time.
76026         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76027         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76028         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76029         Add sendmmsg and internal_sendmmsg.
76030         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76031         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76032         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76034         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76035         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76036         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76038 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76040         [BZ #12813]
76041         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76042         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76043         available.
76044         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76045         __vdso_getcpu.
76047         [BZ #12814]
76048         * iconvdata/Makefile (tests): Add bug-iconv9.
76049         * iconvdata/bug-iconv9.c: New file.
76051 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76053         [BZ #12814]
76054         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76056 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76058         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76059         (struct user_regs_struct): Change intcs field back to cs.
76061 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76063         * po/ja.po: Update from translation team.
76065 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76067         [BZ #12795]
76068         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76069         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76071 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76073         * stdlib/longlong.h: Update from GCC.
76075 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76077         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76078         parameter name.
76079         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76080         Add parameter name.
76081         (__sysconf): Pass it down.
76083 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76085         [BZ #12671]
76086         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76087         some situations.
76088         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76089         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76090         add in in __libc_use_alloca calls.  Adjust callers.
76091         (glob): Use malloc in some situations.
76093         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76094         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76095         pltexit.
76097 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76099         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76100         and CLOCK_BOOTTIME_ALARM.
76102         [BZ #12782]
76103         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76104         is returned.
76106         * string/_strerror.c (__strerror_r): Print negative errors as signed
76107         numbers.
76109         [BZ #12777]
76110         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76111         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76112         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76114         * configure.in: Fix typo in redirection and correct removal of test
76115         files in two cases.
76117         [BZ #12788]
76118         * locale/setlocale.c (new_composite_name): Fix test to check for
76119         identical name of all categories.
76121         [BZ #12792]
76122         * libio/filedoalloc.c (local_isatty): New function.
76123         (_IO_file_doallocate): Use local_isatty.
76124         * stdio-common/perror.c (perror): In case a new stream is used
76125         forward the stream error.
76126         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76127         error flag.
76129 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76131         [BZ #11884]
76132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76133         alloca.
76134         * include/alloca.h (extend_alloca_account): Define.
76136         [BZ #11857]
76137         * posix/regex.h: Fix comments with documentation of user-accessible
76138         fields after compilation and describe correct free'ing of pattern
76139         after re_compile_pattern.
76140         Patch by Reuben Thomas <rrt@sc3d.org>.
76142 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76144         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76145         and -mno-altivec to prevent the compiler from using Altivec and/or
76146         VSX instructions when the corresponding registers are not available.
76148 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76150         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76152 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76154         * libio/freopen.c (freopen): Use __dup2, not dup2.
76155         * libio/freopen64.c (freopen64): Likewise.
76157 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76159         [BZ #12775]
76160         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76161         * math/Makefile (tests): Add test-powl.
76162         (CFLAGS-test-powl.c): Define.
76163         * math/test-powl.c: New file.
76165 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
76167         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
76169 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
76171         [BZ #11837]
76172         * iconvdata/gb18030.c: Update to GB18020-2005.
76174 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
76176         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
76177         RE_SYNTAX_POSIX_AWK): Update to match recent development.
76178         Patch by Aharon Robbins <arnold@skeeve.com>.
76180         [BZ #11892]
76181         * stdlib/putenv.c (putenv): Don't always create copy of the variable
76182         on the stack.
76184         [BZ #11895]
76185         * misc/pselect.c (__pselect): Handle timeout value errors hidden
76186         through underflows.
76188         [BZ #12766]
76189         * misc/error.c (error_at_line): Ensure file_name and old_file_name
76190         point to strings before performing equality test for error_one_per_line
76191         mode.
76193         [BZ #11697]
76194         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
76196         [BZ #11820]
76197         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76198         (struct user_fpregs_struct): Avoid __uint*_t types.
76200         [BZ #6420]
76201         * malloc/mtrace.c (tr_where): Add additional parameter to point to
76202         symbol info.  Use it instead of calling _dl_addr locally.
76203         (lock_and_info): New function.
76204         (tr_freehook): Call lock_and_info and pass symbol info as additional
76205         parameter to tr_where.
76206         (tr_mallochook): Likewise.
76207         (tr_reallochook): Likewise.
76208         (tr_memalignhook): Likewise.
76210         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
76211         used and couldn't be at all thread-safe.
76213 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
76215         * libio/freopen.c (freopen): Don't close old file descriptor
76216         before the new one is opened.  Instead dup the new file descriptor
76217         to the old one after the new stream is created.
76218         * libio/freopen64.c (freopen64): Likewise.
76219         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
76220         * libio/fileops.c (_IO_new_file_close_it): Handle new
76221         _IO_FLAGS2_NOCLOSE flag.
76222         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
76223         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
76224         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
76225         _IO_FLAGS2_NOCLOSE flag.
76226         * include/unistd.h: Add hidden_proto for dup3.
76227         Define __have_dup3.
76228         * io/dup3.c: Define hidden symbol.
76229         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
76231         [BZ #7101]
76232         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
76233         when an incomplete long option is used.
76234         * posix/tst-getopt_long1.c: New file.
76235         * posix/Makefile (tests): Add tst-getopt_long1.
76237         [BZ #10138]
76238         * scripts/config.guess: Update from autoconf-2.68.
76239         * scripts/config.sub: Likewise.
76241         [BZ #10157]
76242         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
76243         tests into ...
76244         (has_cpuclock): ...this.  New function.
76245         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
76246         macro here based on has_cpuclock code.
76248         [BZ #10149]
76249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76250         First byte (not low byte) is now always NUL.
76251         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
76253         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76254         Use non-cancelable interfaces.
76256         [BZ #9809]
76257         * locale/iso-639.def: Add entry for Sorani.
76259         [BZ #11901]
76260         * include/stdlib.h: Move include protection to the right place.
76261         Define abort_msg_s.  Declare __abort_msg with it.
76262         * stdlib/abort.c (__abort_msg): Adjust type.
76263         * assert/assert.c (__assert_fail_base): New function.  Majority
76264         of code from __assert_fail.  Allocate memory for __abort_msg with
76265         mmap.
76266         (__assert_fail): Now call __assert_fail_base.
76267         * assert/assert-perr.c: Remove bulk of implementation.  Use
76268         __assert_fail_base.
76269         * include/assert.hL Declare __assert_fail_base.
76270         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
76271         mmap.
76272         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
76274 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
76276         [BZ #11952]
76277         [BZ #12453]
76278         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
76279         until all modules are registered in the DTV.
76280         * elf/Makefile: Add rules to build and run tst-tls19.
76281         * elf/tst-tls19.c: New file.
76282         * elf/tst-tls19mod1.c: New file.
76283         * elf/tst-tls19mod2.c: New file.
76284         * elf/tst-tls19mod3.c: New file.
76285         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
76287         [BZ #12083]
76288         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
76289         correctly.
76291         [BZ #12601]
76292         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
76293         two-byte sequence errors.
76294         * iconvdata/Makefile (tests): Add bug-iconv8.
76295         * iconvdata/bug-iconv8.c: New file.
76297         [BZ #12626]
76298         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
76299         buf2 definition.
76301         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
76303         [BZ #12432]
76304         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
76305         (dummy_getcfa): New function.
76306         (init): Get _Unwind_GetCFA address, use dummy if not found.
76307         (backtrace_helper): In recursion check, also check whether CFA changes.
76308         (__backtrace): Completely initialize arg.
76310         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
76311         storing incomplete byte sequence in state object.  Avoid testing for
76312         guaranteed too small input if we know there is enough data available.
76314 2011-05-11  Andreas Schwab  <schwab@redhat.com>
76316         * Makeconfig (+link-pie): Indent.
76317         * Rules (binaries-pie): Define if $(have-fpie) and
76318         $(build-shared).
76319         (binaries-shared): Also filter out $(binaries-pie).
76320         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
76321         * nscd/Makefile (others-pie): Add nscd.
76322         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
76323         ($(objpfx)nscd): Remove command override.
76324         * login/Makefile (others-pie): Add pt_chown.
76325         ($(objpfx)pt_chown): Remove command override.
76326         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
76327         remove command overrides.
76329 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
76331         * libio/tst_putwc.c: Fix error messages.
76333         [BZ #12724]
76334         * libio/fileops.c (_IO_new_file_close_it): Always flush when
76335         currently writing and seek to current position when not.
76336         * libio/Makefile (tests): Add bug-fclose1.
76337         * libio/bug-fclose1.c: New file.
76339 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
76341         [BZ #12511]
76342         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
76343         don't set DF_1_NODELETE here.
76344         (do_lookup_x): When entering new entry test for copy relocation
76345         and if necessary set DF_1_NODELETE flag.
76346         * elf/tst-unique4.cc: New file.
76347         * elf/tst-unique4.h: New file.
76348         * elf/tst-unique4lib.cc: New file.
76349         * elf/Makefile: Add rules to build and run tst-unique4.
76350         Patch by Piotr Bury <pbury@goahead.com>.
76352 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
76354         [BZ #12052]
76355         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
76357         [BZ #12625]
76358         * misc/mntent_r.c (addmntent): Flush the stream after the output
76360         [BZ #12393]
76361         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
76362         (is_trusted_path_normalize): Skip initial colon.  Append slash
76363         to empty buffer.  Duplicate is_trusted_path code but allow
76364         constructed patch to be prefix.
76365         (is_dst): Allow $ORIGIN followed by /.
76366         (_dl_dst_substitute): Correct clearing of check_for_trusted.
76367         Correct testing of result of is_trusted_path_normalize
76368         (decompose_rpath): Fix warning.
76370 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
76372         [BZ #11257]
76373         * grp/initgroups.c (internal_getgrouplist): When we found the service
76374         list through the initgroups entry in nsswitch.conf do not always
76375         continue on a successful lookup.  Don't always use the
76376         __nss_group_database value if it is set.
76377         * nss/nsswitch.conf (initgroups): Change action for successful db
76378         lookup to continue for compatibility.
76380 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
76382         [BZ #11532]
76383         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
76384         and CP774 modules.
76385         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
76386         and CP774 modules.
76387         * iconvdata/tst-tables.sh: Likewise.
76388         * iconvdata/cp770.c: New file.
76389         * iconvdata/cp771.c: New file.
76390         * iconvdata/cp772.c: New file.
76391         * iconvdata/cp773.c: New file.
76392         * iconvdata/cp774.c: New file.
76393         * iconvdata/testdata/CP770: New file.
76394         * iconvdata/testdata/CP770..UTF8: New file.
76395         * iconvdata/testdata/CP771: New file.
76396         * iconvdata/testdata/CP771..UTF8: New file.
76397         * iconvdata/testdata/CP772: New file.
76398         * iconvdata/testdata/CP772..UTF8: New file.
76399         * iconvdata/testdata/CP773: New file.
76400         * iconvdata/testdata/CP773..UTF8: New file.
76401         * iconvdata/testdata/CP774: New file.
76402         * iconvdata/testdata/CP774..UTF8: New file.
76404         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
76405         END CHARMAP line.
76406         * iconvdata/gen-8bit-gap.sh: Likewise.
76407         * iconvdata/gen-8bit.sh: Likewise.
76409         * locale/iso-639.def: Add ary entry.
76411         [BZ #11258]
76412         * locale/C-translit.h.in: Add U20A1 transliteration.
76414         [BZ #12178]
76415         * locale/iso-639.def: Add wae entry.
76416         Patch by Kevin Bortis <bortis@translate-wae.ch>.
76418         [BZ #12545]
76419         * locale/programs/localedef.c (construct_output_path): Use ssize_t
76420         for n.
76422         [BZ #12711]
76423         * locale/C-translit.h.in: Add entry for U20B9.
76424         Patch by pravin.d.s@gmail.com.
76426 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
76428         [BZ #12713]
76429         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
76430         ENAMETOOLONG use generic getcwd.
76431         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
76432         in rtld.  Use *stat64.
76433         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
76434         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
76435         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
76436         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
76437         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
76438         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
76439         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
76440         __fstatat64 macros.
76441         * include/dirent.h: Add libc_hidden_proto for rewinddir.
76442         * dirent/rewinddir.c: Add libc_hidden_def.
76443         * sysdeps/mach/hurd/rewinddir.c: Likewise.
76444         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
76446         * include/dirent.h (__alloc_dir): Add flags parameter.
76447         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
76448         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
76449         __alloc_dir.
76450         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
76451         from fdopendir if O_CLOEXEC is already set.
76453 2011-03-15  Alan Modra  <amodra@gmail.com>
76455         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
76456         l_tls_firstbyte_offset non-zero.  Save padding offset in
76457         l_tls_firstbyte_offset for later use.
76458         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
76459         freeing static tls block.
76461 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
76463         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
76464         where #ifdef was intended.  The intent is to prevent ARG_MAX from
76465         being defined by the kernel headers.
76467 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
76469         [BZ #12734]
76470         * resolv/resolv.h: Define RES_NOTLDQUERY.
76471         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
76472         no-tld-query and set RES_NOTLDQUERY.
76473         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
76474         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
76475         modern BIND to search name as TLD unless forbidden.
76477 2011-05-07  Petr Baudis  <pasky@suse.cz>
76478             Ulrich Drepper  <drepper@gmail.com>
76480         [BZ #12393]
76481         * elf/dl-load.c (fillin_rpath): Move trusted path check...
76482         (is_trusted_path): ...to here.
76483         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
76484         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
76485         using is_trusted_path_normalize() in setuid scripts.
76487 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
76489         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
76490         __BEGIN/__END_DECLS.
76492 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
76494         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
76495         NSS_STATUS_NOTFOUND if no record was found.
76497 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76499         * sunrpc/Makefile (headers): Add rpc/netdb.h.
76500         (headers-not-in-tirpc): Remove rpc/netdb.h
76501         * resolv/netdb.h: Revert last change.
76503 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
76505         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
76506         circular dependency between libgcc.a and libc.a.
76508 2011-05-05  Andreas Schwab  <schwab@redhat.com>
76510         * resolv/netdb.h: Don't include <rpc/netdb.h>.
76511         * nis/Makefile: Don't install rpcsvc/*.
76512         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
76513         instead of <rpc/types.h>.
76514         (MAXHOSTNAMELEN): Define.
76516 2011-05-03  Andreas Schwab  <schwab@redhat.com>
76518         * elf/ldconfig.c (add_dir): Don't crash on empty path.
76520 2011-04-28  Maciej Babinski  <mbabinski@google.com>
76522         [BZ #12714]
76523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
76524         gethostbyname4_r when IPv6 results are possible.
76526 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
76528         [BZ #12723]
76529         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
76530         _PC_PIPE_BUF handling.
76532 2011-04-30  Bruno Haible  <bruno@clisp.org>
76534         [BZ #12717]
76535         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
76536         * resolv/netdb.h (getnameinfo): Change type of flags parameter
76537         to 'int'.
76538         * inet/getnameinfo.c (getnameinfo): Likewise.
76540 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
76542         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
76543         to groups setting in database lookup.
76544         * nss/nsswitch.conf: Add initgroups entry.
76546 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
76548         [BZ #12685]
76549         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
76550         mode string.
76551         Patch by Eric Blake <eblake@redhat.com>.
76553 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
76555         * sunrpc/Makefile (need-export-routines): Add svc_run.
76556         (routines): Remove svc_run.
76557         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
76558         * sunrpc/clnt_perr.c (clnt_perrno): Export.
76559         * sunrpc/svc_run.c (svc_run): Likewise.
76560         * sunrpc/svc_udp.c (svcudp_create): Likewise.
76562 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
76564         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
76565         problem in reallocation in last patch.
76567 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
76569         * sunrpc/Makefile: Move inclusion of Rules.
76571 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76573         * nss/nss_files/files-initgroups.c: New file.
76574         * nss/Makefile (libnss_files-routines): Add files-initgroups.
76575         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
76576         _nss_files_initgroups_dyn.
76578 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
76580         * elf/elf.h (R_ARM_IRELATIVE): Define.
76582 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
76584         * po/ru.po: Update from translation team.
76586 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76588         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
76589         dependencies.
76591 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
76593         [BZ #12653]
76594         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
76595         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
76596         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
76597         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
76598         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
76600 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
76602         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
76603         differing bytes.
76604         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
76605         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
76606         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
76608 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
76610         [BZ #12420]
76611         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
76612         storing it.
76613         * stdlib/bug-getcontext.c: New file.
76614         * stdlib/Makefile: Add rules to build and run bug-getcontext.
76616 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76618         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
76619         instructions into .machine "z9-109".
76620         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
76621         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
76623 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76625         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
76626         between environment variables and auxiliary vector.
76628 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
76630         * Makefile: Add rules to build linkobj/libc.so.
76631         * include/libc-symbols.h: Define libc_hidden_nolink.
76632         * include/rpc/auth.h: Mark functions which are to be hidden.
76633         * include/rpc/auth_des.h: Likewise.
76634         * include/rpc/auth_unix.h: Likewise.
76635         * include/rpc/clnt.h: Likewise.
76636         * include/rpc/des_crypt.h: Likewise.
76637         * include/rpc/key_prot.h: Likewise.
76638         * include/rpc/pmap_clnt.h: Likewise.
76639         * include/rpc/pmap_prot.h: Likewise.
76640         * include/rpc/pmap_rmt.h: Likewise.
76641         * include/rpc/rpc_msg.h: Likewise.
76642         * include/rpc/svc.h: Likewise.
76643         * include/rpc/svc_auth.h: Likewise.
76644         * include/rpc/xdr.h: Likewise.
76645         * nis/Makefile: Link all DSOs against linkobj/libc.so.
76646         * nss/Makefile: Likewise.
76647         * sunrpc/Makefile: Don't install headers.  Build library with normal
76648         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
76649         * sunrpc/auth_des.c: Hide exported symbols by default, export some
76650         for the compat linking library.  Remove use of INTDEF/INTUSE.
76651         * sunrpc/auth_none.c: Likewise.
76652         * sunrpc/auth_unix.c: Likewise.
76653         * sunrpc/authdes_prot.c: Likewise.
76654         * sunrpc/authuxprot.c: Likewise.
76655         * sunrpc/clnt_gen.c: Likewise.
76656         * sunrpc/clnt_perr.c: Likewise.
76657         * sunrpc/clnt_raw.c: Likewise.
76658         * sunrpc/clnt_simp.c: Likewise.
76659         * sunrpc/clnt_tcp.c: Likewise.
76660         * sunrpc/clnt_udp.c: Likewise.
76661         * sunrpc/clnt_unix.c: Likewise.
76662         * sunrpc/des_crypt.c: Likewise.
76663         * sunrpc/des_soft.c: Likewise.
76664         * sunrpc/get_myaddr.c: Likewise.
76665         * sunrpc/key_call.c: Likewise.
76666         * sunrpc/key_prot.c: Likewise.
76667         * sunrpc/netname.c: Likewise.
76668         * sunrpc/pm_getmaps.c: Likewise.
76669         * sunrpc/pm_getport.c: Likewise.
76670         * sunrpc/pmap_clnt.c: Likewise.
76671         * sunrpc/pmap_prot.c: Likewise.
76672         * sunrpc/pmap_prot2.c: Likewise.
76673         * sunrpc/pmap_rmt.c: Likewise.
76674         * sunrpc/publickey.c: Likewise.
76675         * sunrpc/rpc_cmsg.c: Likewise.
76676         * sunrpc/rpc_common.c: Likewise.
76677         * sunrpc/rpc_dtable.c: Likewise.
76678         * sunrpc/rpc_prot.c: Likewise.
76679         * sunrpc/rpc_thread.c: Likewise.
76680         * sunrpc/rtime.c: Likewise.
76681         * sunrpc/svc.c: Likewise.
76682         * sunrpc/svc_auth.c: Likewise.
76683         * sunrpc/svc_authux.c: Likewise.
76684         * sunrpc/svc_raw.c: Likewise.
76685         * sunrpc/svc_run.c: Likewise.
76686         * sunrpc/svc_simple.c: Likewise.
76687         * sunrpc/svc_tcp.c: Likewise.
76688         * sunrpc/svc_udp.c: Likewise.
76689         * sunrpc/svc_unix.c: Likewise.
76690         * sunrpc/svcauth_des.c: Likewise.
76691         * sunrpc/xcrypt.c: Likewise.
76692         * sunrpc/xdr.c: Likewise.
76693         * sunrpc/xdr_array.c: Likewise.
76694         * sunrpc/xdr_float.c: Likewise.
76695         * sunrpc/xdr_intXX_t.c: Likewise.
76696         * sunrpc/xdr_mem.c: Likewise.
76697         * sunrpc/xdr_rec.c: Likewise.
76698         * sunrpc/xdr_ref.c: Likewise.
76699         * sunrpc/xdr_sizeof.c: Likewise.
76700         * sunrpc/xdr_stdio.c: Likewise.
76702 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
76704         [BZ #12650]
76705         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
76706         * sysdeps/ia64/dl-tls.h: Likewise.
76707         * sysdeps/powerpc/dl-tls.h: Likewise.
76708         * sysdeps/s390/dl-tls.h: Likewise.
76709         * sysdeps/sh/dl-tls.h: Likewise.
76710         * sysdeps/sparc/dl-tls.h: Likewise.
76711         * sysdeps/x86_64/dl-tls.h: Likewise.
76712         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
76714 2011-03-14  Andreas Schwab  <schwab@redhat.com>
76716         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
76717         rpath element also skip the following colon.
76718         (expand_dynamic_string_token): Add is_path parameter and pass
76719         down to DL_DST_REQUIRED and _dl_dst_substitute.
76720         (decompose_rpath): Call expand_dynamic_string_token with
76721         non-zero is_path.  Ignore empty rpaths.
76722         (_dl_map_object_from_fd): Call expand_dynamic_string_token
76723         with zero is_path.
76725 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
76727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
76728         Make cancelable.
76730 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
76732         [BZ #12655]
76733         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
76734         Patch by Filipe David Manana <fdmanana@apache.org>.
76736 2011-04-07  Andreas Schwab  <schwab@redhat.com>
76738         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
76739         Maintain aligned stack.
76740         (CHECK_RSP): Remove unused macro.
76742 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
76744         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
76745         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
76747 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
76749         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
76751         * include/features.h: Mention __USE_XOPEN2K8 in comment.
76753 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
76755         [BZ #12518]
76756         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
76757         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
76758         * sysdeps/x86_64/memmove.c: New file.
76759         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
76760         (memcpy): Renamed to ...
76761         (__new_memcpy): This.
76762         (memcpy): Provide GLIBC_2_14 memcpy.
76763         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
76764         (memcpy): Provide GLIBC_2_2_5 memcpy.
76766 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76768         [BZ #12631]
76769         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
76771 2011-03-30  Andreas Schwab  <schwab@redhat.com>
76773         * misc/syncfs.c: New file.
76774         * misc/Makefile (routines): Add syncfs.
76775         * posix/unistd.h: Declare syncfs.
76776         * sysdeps/unix/syscalls.list: Add syncfs.
76778 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76780         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
76781         open_by_handle_at.
76782         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
76783         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76785         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76786         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76787         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
76788         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76790 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76792         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
76793         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76794         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
76795         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76796         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76797         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76798         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76800         * io/Makefile: Compile fallocate.c, fallocate64.c, and
76801         sync_file_range.c with -fexceptions.
76802         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
76803         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
76804         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
76805         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
76806         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
76807         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
76808         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
76809         sync_file_range as cancellation point
76810         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
76811         now a wrapper around __call_sync_file_range with cancellation handling.
76812         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
76813         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
76814         function name to __call_sync_file_range.
76815         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
76816         Add call_sync_file_range.
76818 2011-04-01  Andreas Schwab  <schwab@redhat.com>
76820         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76821         bits/timex.h.
76823 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
76825         * iconv/iconv.h: Fix typo in comment.
76826         * io/fcntl.h: Likewise.
76827         * libio/stdio.h: Likewise.
76828         * posix/spawn.h: Likewise.
76829         * posix/unistd.h: Likewise.
76830         * stdlib/stdlib.h: Likewise.
76831         * time/time.h: Likewise.
76832         * wcsmbs/wchar.h: Likewise.
76834         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
76835         open_by_handle): Add.
76836         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
76837         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
76838         Augment a few comments.
76839         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
76840         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76841         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
76842         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76843         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
76844         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
76845         open_by_handle.
76847         * io/fcntl.h (AT_EMPTY_PATH): Define.
76849 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
76851         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
76852         * sysdeps/unix/sysv/linux/bits/time.h: New file.
76853         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
76854         to...
76855         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
76856         * Versions.def: Add GLIBC_2.14.
76857         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
76858         Export.
76860 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
76862         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
76863         round counter.
76864         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76866 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
76868         [BZ #12597]
76869         * string/test-strncmp.c (do_page_test): New function.
76870         (check2): Likewise.
76871         (test_main): Call check2.
76872         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
76874 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
76876         [BZ #12587]
76877         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
76878         Handle cache information in CPU leaf 4.
76879         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
76881 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
76883         [BZ #12583]
76884         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
76885         character representation.
76886         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
76888 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
76890         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
76891         END(__isnan) to END(__isnanf) to match function entry point/label
76892         EALIGN(__isnanf,...).
76894 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
76896         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
76898 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
76900         [BZ #12510]
76901         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
76902         copy from the symbol referenced in the relocation to initialize the
76903         used variable.
76904         Patch by Piotr Bury <pbury@goahead.com>.
76905         * elf/Makefile: Add rules to build and tst-unique3.
76906         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
76907         * elf/tst-unique3.cc: New file.
76908         * elf/tst-unique3.h: New file.
76909         * elf/tst-unique3lib.cc: New file.
76910         * elf/tst-unique3lib2.cc: New file.
76912         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
76914 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
76916         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
76917         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
76918         to _start.
76920 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
76922         * elf/dl-load.c (_dl_map_object): If we are looking for the first
76923         to-be-loaded object along a path to loader is ld.so.
76925 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76926             Ulrich Drepper  <drepper@gmail.com>
76928         * sysdeps/x86_64/memset.S: After aligning destination, code
76929         branches to different locations depending on the value of
76930         misalignment, when multiarch is enabled. Fix this.
76932 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
76934         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
76935         Set _x86_64_preferred_memory_instruction for AMD processsors.
76936         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76937         Set bit_Prefer_SSE_for_memop for AMD processors.
76939 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
76941         * libio/fmemopen.c (fmemopen): Optimize a bit.
76943 2011-03-03  Andreas Schwab  <schwab@redhat.com>
76945         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
76947 2011-03-03  Roland McGrath  <roland@redhat.com>
76949         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
76951 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
76953         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
76954         __bzero_ultra1 instead of __memset_ultra1.
76956 2011-02-23  Andreas Schwab  <schwab@redhat.com>
76957             Ulrich Drepper  <drepper@gmail.com>
76959         [BZ #12509]
76960         * include/link.h (struct link_map): Add l_orig_initfini.
76961         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
76962         returning unsuccessfully.
76963         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
76964         close of a file loaded at startup, restore the original l_initfini
76965         list.
76966         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
76967         list, store the pointer.
76968         * elf/Makefile ($(objpfx)noload-mem): New rule.
76969         (noload-ENV): Define.
76970         (tests): Add $(objpfx)noload-mem.
76971         * elf/noload.c: Include <memcheck.h>.
76972         (main): Call mtrace.  Close all opened handles.
76974 2011-02-17  Andreas Schwab  <schwab@redhat.com>
76976         [BZ #12454]
76977         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
76978         dependencies are missing.
76980 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
76982         Fix __if_freereq crash: Unlike the generic version which uses free,
76983         Hurd needs munmap.
76984         * sysdeps/mach/hurd/ifreq.h: New file.
76986 2011-01-27  Petr Baudis  <pasky@suse.cz>
76987             Ulrich Drepper  <drepper@gmail.com>
76989         [BZ 12445]#
76990         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
76991         to extend_alloca().
76992         * stdio-common/bug23.c: New file.
76993         * stdio-common/Makefile (tests): Add bug23.
76995 2010-09-28  Andreas Schwab  <schwab@redhat.com>
76996             Ulrich Drepper  <drepper@gmail.com>
76998         [BZ #12489]
76999         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77000         before performing relro protection.  At old place add assertion
77001         to make sure nothing changed.
77003 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77004             Glauber de Oliveira Costa  <glommer@gmail.com>
77006         * elf/elf.h: Add new ARM TLS relocs.
77008 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77011         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77012         cast from r3.
77013         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77014         'tests' variable.
77015         * sysdeps/wordsize-64/tst-writev.c: New file.
77017 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77019         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77020         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77021         insns in _dl_start to prevent a TOC reference before relocs are
77022         resolved.
77024 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77026         [BZ #12469]
77027         * Makeconfig: Remove RANLIB definition.
77028         * Makerules: Don't use RANLIB.
77029         * aclocal.m4: Remove ranlib test.
77030         * configure.in: No need to check for ranlib.
77031         * elf/rtld-Rules: Don't use RANLIB.
77033 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77035         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77036         protection macro.
77037         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77038         inclusion protection macro.
77040         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77041         SIGRTMIN and SIGRTMAX and print information in that case only when
77042         SIGRTMIN is defined.
77044 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77046         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77047         arginfo fn returning -1.
77049         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77050         and thousands string is zero terminated.
77052 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77054         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77055         sysdeps/unix/sysv/linux/bits/socket.h.
77057 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77059         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77060         (__CPU_COUNT): Remove old macros.
77061         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77062         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77063         (__CPU_ALLOC, __CPU_FREE): Add macros.
77064         (__sched_cpualloc, __sched_cpufree): Add declarations.
77066 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77068         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77069         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77070         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77071         (readdhstai): Return value of addhstaiX call.
77072         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77073         (addgrbyX): Return value returned by cache_addgr.
77074         (readdgrbyname): Return value returned by addgrbyX.
77075         (readdgrbygid): Likewise.
77076         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77077         (addpwbyX): Return value returned by cache_addpw.
77078         (readdpwbyname): Return value returned by addhstbyX.
77079         (readdpwbyuid): Likewise.
77080         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77081         (addservbyX): Return value returned by cache_addserv.
77082         (readdservbyname): Return value returned by addservbyX:
77083         (readdservbyport): Likewise.
77084         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77085         (addhstbyX): Return value returned by cache_addhst.
77086         (readdhstbyname): Return value returned by addhstbyX.
77087         (readdhstbyaddr): Likewise.
77088         (readdhstbynamev6): Likewise.
77089         (readdhstbyaddrv6): Likewise.
77090         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77091         (readdinitgroups): Return value returned by addinitgroupsX.
77092         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77093         (prune_cache): Keep track of timeout value of re-added entries.
77094         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77095         * nscd/nscd.h: Adjust prototypes of readd* functions.
77097 2011-02-04  Roland McGrath  <roland@redhat.com>
77099         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77100         (nis_stats): Likewise.
77101         * nis/nis_modify.c (nis_modify): Likewise.
77102         * nis/nis_remove.c (nis_remove): Likewise.
77103         * nis/nis_add.c (nis_add): Likewise.
77105         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77107         * posix/fnmatch_loop.c: Add some consts.
77109         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77111 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77113         [BZ #12460]
77114         * config.make.in (config-cflags-novzeroupper): Define.
77115         * configure.in: Substitute libc_cv_cc_novzeroupper.
77116         * elf/Makefile (AVX-CFLAGS): Define.
77117         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77118         (CFLAGS-tst-auditmod4a.c): Likewise.
77119         (CFLAGS-tst-auditmod4b.c): Likewise.
77120         (CFLAGS-tst-auditmod6b.c): Likewise.
77121         (CFLAGS-tst-auditmod6c.c): Likewise.
77122         (CFLAGS-tst-auditmod7b.c): Likewise.
77123         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77125 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77127         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77128         function to the callback.
77129         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77131 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77133         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77134         of errno.
77136 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77138         [BZ #11724]
77139         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77140         of constructors.
77141         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77142         of destructors.
77143         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77145         [BZ #11724]
77146         * elf/Makefile: Add rules to build and run new test.
77147         * elf/tst-initorder.c: New file.
77148         * elf/tst-initorder.exp: New file.
77149         * elf/tst-initordera1.c: New file.
77150         * elf/tst-initordera2.c: New file.
77151         * elf/tst-initordera3.c: New file.
77152         * elf/tst-initordera4.c: New file.
77153         * elf/tst-initorderb1.c: New file.
77154         * elf/tst-initorderb2.c: New file.
77155         * elf/tst-order-a1.c: New file.
77156         * elf/tst-order-a2.c: New file.
77157         * elf/tst-order-a3.c: New file.
77158         * elf/tst-order-a4.c: New file.
77159         * elf/tst-order-b1.c: New file.
77160         * elf/tst-order-b2.c: New file.
77161         * elf/tst-order-main.c: New file.
77162         New test case by George Gensure <werkt0@gmail.com>.
77164 2010-10-01  Andreas Schwab  <schwab@redhat.com>
77166         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
77167         decoding ACE if AI_CANONIDN.
77169 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
77171         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
77173 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
77175         * version.h (RELEASE): Bump for 2.13 release.
77176         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
77178         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
77180         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
77181         MADV_NOHUGEPAGE.
77182         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
77183         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
77184         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
77185         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
77186         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
77187         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77189         * posix/getconf.c: Update copyright year.
77190         * catgets/gencat.c: Likewise.
77191         * csu/version.c: Likewise.
77192         * debug/catchsegv.sh: Likewise.
77193         * debug/xtrace.sh: Likewise.
77194         * elf/ldconfig.c: Likewise.
77195         * elf/ldd.bash.in: Likewise.
77196         * elf/sprof.c (print_version): Likewise.
77197         * iconv/iconv_prog.c: Likewise.
77198         * iconv/iconvconfig.c: Likewise.
77199         * locale/programs/locale.c: Likewise.
77200         * locale/programs/localedef.c: Likewise.
77201         * malloc/memusage.sh: Likewise.
77202         * malloc/mtrace.pl: Likewise.
77203         * nscd/nscd.c (print_version): Likewise.
77204         * nss/getent.c: Likewise.
77206         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
77207         PF_CAIF, and PF_ALG.
77208         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77210 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
77212         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
77213         (modules-names): Use them.
77214         (ifunc-test-modules, ifunc-pie-tests): Define.
77215         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
77216         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
77217         (test-extras): Likewise.
77218         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
77219         $(compile-command.c).
77220         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
77221         (all-built-dso): Define.
77222         (check-textrel.out, check-execstack.out): Depend on it.
77224         * configure.in: Don't override --enable-multi-arch.
77226 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
77228         [BZ #6812]
77229         * nscd/hstcache.c (tryagain): Define.
77230         (cache_addhst): Return tryagain not notfound for temporary errors.
77231         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
77232         failed.
77234 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
77236         [BZ #10563]
77237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
77238         to make the syscall.
77239         * sysdeps/unix/sysv/linux/setgroups.c: New file.
77241         [BZ #12378]
77242         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
77243         and fall back to matching as normal character if the string ends before
77244         the matching ']' is found.  This is what POSIX requires.
77245         * posix/testfnm.c: Adjust test result.
77246         * posix/globtest.sh: Adjust test result.  Add new test.
77247         * posix/tst-fnmatch.input: Likewise.
77248         * posix/tst-fnmatch2.c: Add new test.
77250 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
77252         * elf/Makefile (check-execstack): Revert last change.  Depend on
77253         check-execstack.h.
77254         (check-execstack.h): New target.
77255         (generated): Add check-execstack.h.
77256         * elf/check-execstack.c: Include "check-execstack.h".
77257         (main): Revert last change.
77258         (handle_file): Return zero if GNU_STACK is absent and
77259         DEFAULT_STACK_PERMS doesn't include PF_X.
77261 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
77263         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
77264         in child fails because the descriptor is already closed.
77265         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
77266         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
77267         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
77269         [BZ #12397]
77270         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
77271         syscall.
77273         [BZ #10484]
77274         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
77275         temporary buffer used to handle multi lookups locally.
77276         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
77278 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77280         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
77281         loader is ld.so.
77283 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
77285         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
77286         alignment for SSE2.
77288 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
77290         [BZ #12394]
77291         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
77292         characters.  When rounding increased number of integer digits recompute
77293         number of groups.
77294         * stdio-common/tst-grouping.c: New file.
77295         * stdio-common/Makefile: Add rules to build and run tst-grouping.
77297 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
77299         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
77300         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
77302         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
77303         void.
77304         * bits/select.h: Likewise.
77306 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
77308         * po/ja.po: Update from translation team.
77310 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
77312         [BZ #11155]
77313         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
77314         implementation just like for lxstat, fxstatat, et al.
77316 2010-12-27  Jim Meyering  <meyering@redhat.com>
77318         [BZ #12348]
77319         * posix/regexec.c (build_trtable): Return failure indication upon
77320         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
77322 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
77324         [BZ #12201]
77325         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
77326         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
77327         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
77328         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
77330         [BZ #12207]
77331         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
77333         [BZ #12204]
77334         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
77335         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
77337 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
77339         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
77340         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
77341         script has SORT_BY_INIT_PRIORITY.
77342         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
77343         NO_CTORS_DTORS_SECTIONS is defined.
77344         * elf/soinit.c: Likewise.
77345         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
77346         NO_CTORS_DTORS_SECTIONS is defined.
77347         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
77348         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
77349         * sysdeps/sh/init-first.c: Likewise.
77350         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
77352 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
77354         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
77355         always use the slow path.
77357 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
77359         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
77360         similar rule which adds the sysdep directories to the header search in
77361         order to pick up the correct platform stackinfo.h.
77362         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
77363         perform test if it is, otherwise return successfully without testing.
77364         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
77365         DEFAULT_STACK_PERMS define in stackinfo.h.
77366         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
77367         defined in stackinfo.h.
77368         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
77369         DEFAULT_STACK_PERMS defined in stackinfo.h.
77370         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
77371         * sysdeps/ia64/stackinfo.h: Likewise.
77372         * sysdeps/s390/stackinfo.h: Likewise.
77373         * sysdeps/sh/stackinfo.h: Likewise.
77374         * sysdeps/sparc/stackinfo.h: Likewise.
77375         * sysdeps/x86_64/stackinfo.h: Likewise.
77376         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
77377         PF_X for powerpc64.  Retain PF_X for powerpc32.
77379 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
77381         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
77382         accurately.
77383         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
77384         GETDENTS_64BIT_ALIGNED.
77386 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
77388         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
77390 2010-12-10  Andreas Schwab  <schwab@redhat.com>
77392         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
77393         _GNU_SOURCE.
77395         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
77396         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
77397         Remove __restrict.
77398         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
77399         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
77401 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
77403         [BZ #11655]
77404         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
77405         are initialized.
77407 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
77409         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
77411 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
77413         * po/it.po: Update from translation team.
77415 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
77417         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
77418         unused codes.
77420 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
77422         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
77424 2010-11-24  Andreas Schwab  <schwab@redhat.com>
77426         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
77427         specially.
77428         (gaih_getanswer_slice): Likewise.
77430 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
77432         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
77434 2010-05-31  Petr Baudis  <pasky@suse.cz>
77436         [BZ #11149]
77437         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
77438         silently even in the chroot mode.
77440 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
77442         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
77443         last patch a bit.  Pretty printing
77445 2010-05-31  Petr Baudis <pasky@suse.cz>
77447         [BZ #10085]
77448         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
77449         initialization of skip_initgroups_dyn.
77451 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
77453         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
77454         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
77456 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
77458         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
77460 2010-11-11  Andreas Schwab  <schwab@redhat.com>
77462         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
77463         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
77464         (tst-fnmatch-ENV): Set MALLOC_TRACE.
77465         ($(objpfx)tst-fnmatch-mem): New rule.
77466         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
77467         * posix/tst-fnmatch.c (main): Call mtrace.
77469 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
77471         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77472         Support Intel processor model 6 and model 0x2c.
77474 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
77476         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
77477           signed comparison.
77479 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
77481         [BZ #12205]
77482         * string/test-strncasecmp.c (check_result): New function.
77483         (do_one_test): Use it.
77484         (check1): New function.
77485         (test_main): Use it.
77486         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
77487         Support strcasecmp and strncasecmp.
77489 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
77491         [BZ #12194]
77492         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
77493         * sysdeps/x86_64/bits/byteswap.h: Likewise.
77495 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
77497         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
77498         IFUNC support.
77499         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77500         memset-x86-64.
77501         * sysdeps/x86_64/multiarch/bzero.S: New file.
77502         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
77503         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
77504         * sysdeps/x86_64/multiarch/memset.S: New file.
77505         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
77506         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77507         Set bit_Prefer_SSE_for_memop for Intel processors.
77508         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
77509         Define.
77510         (index_Prefer_SSE_for_memop): Define.
77511         (HAS_PREFER_SSE_FOR_MEMOP): Define.
77513 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
77515         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
77516         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
77518 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
77520         [BZ #12191]
77521         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77522         (__x86_64_raw_data_cache_size_half): Likewise.
77523         (__x86_64_raw_shared_cache_size): Likewise.
77524         (__x86_64_raw_shared_cache_size_half): Likewise.
77526         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
77527         (__x86_64_raw_data_cache_size_half): Likewise.
77528         (__x86_64_raw_shared_cache_size): Likewise.
77529         (__x86_64_raw_shared_cache_size_half): Likewise.
77530         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
77531         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
77532         and __x86_64_raw_shared_cache_size_half.  Round
77533         __x86_64_data_cache_size_half, __x86_64_data_cache_size
77534         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
77535         to multiple of 256 bytes.
77537 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
77539         [BZ #12167]
77540         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
77541         of inacessible symlinks.  Verify result of symlink before returning it.
77542         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
77543         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
77545 2010-10-28  Erich Ritz  <erichritz@gmail.com>
77547         * math/math.h (isinf): Fix typo in comment.
77549 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
77551         * po/da.po: Update from translation team.
77553 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
77555         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
77556         is added to the list.
77558 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77559             Ulrich Drepper  <drepper@gmail.com>
77561         * elf/dl-object.c (_dl_new_object): Don't append the new object to
77562         the global list here.  Move code to...
77563         (_dl_add_to_namespace_list): ...here.  New function.
77564         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
77565         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
77566         * elf/dl-load.c (lose): Don't remove the element from the list.
77567         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
77568         (_dl_map_object): Likewise.
77570 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
77572         [BZ #12159]
77573         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
77574         into all bytes of SSE register.
77575         Patch by Richard Li <richardpku@gmail.com>.
77577 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
77579         [BZ #12140]
77580         * malloc/malloc.c (_int_free): Fill correct number of bytes when
77581         perturbing.
77583 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
77585         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
77586         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
77587         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
77588         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
77589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
77590         submachine.
77591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
77593 2010-10-22  Andreas Schwab  <schwab@redhat.com>
77595         * include/dlfcn.h (__RTLD_SECURE): Define.
77596         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
77597         mode & __RTLD_SECURE instead.
77598         (open_path): Rename preloaded parameter to secure.
77599         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
77600         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
77601         * elf/dl-deps.c (openaux): Likewise.
77602         * elf/rtld.c (struct map_args): Remove is_preloaded.
77603         (map_doit): Don't use it.
77604         (dl_main): Likewise.
77605         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
77606         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
77608 2010-09-09  Andreas Schwab  <schwab@redhat.com>
77610         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
77611         (sysd-rules-targets): Remove duplicates.
77612         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
77613         rtld-%.$o dependency.
77615 2010-10-18  Andreas Schwab  <schwab@redhat.com>
77617         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
77618         _dl_map_object do it.
77620 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
77622         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
77623         fast fma builtins, define the macros in the C99 standard.
77624         (FP_FAST_FMAF): Likewise.
77625         (FP_FAST_FMAL): Likewise.
77626         * sysdeps/x86_64/bits/mathdef.h: Likewise.
77628         * bits/mathdef.h: Update copyright year.
77629         * sysdeps/powerpc/bits/mathdef.h: Likewise.
77631 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
77633         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
77634         builtins, define the macros in the C99 standard.
77635         (FP_FAST_FMAF): Likewise.
77636         (FP_FAST_FMAL): Likewise.
77637         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
77638         multiply/add.
77639         (FP_FAST_FMAF): Likewise.
77641 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
77643         [BZ #3268]
77644         * math/libm-test.inc (fma_test): Some new testcases.
77645         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
77646         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
77647         y and infinite z.  Do multiplication by C already in long double.
77648         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
77649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
77650         y and infinite z.  Do bitwise or of inexact bit into u.d.
77651         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
77652         * sysdeps/i386/fpu/s_fmaf.S: Removed.
77653         * sysdeps/i386/fpu/s_fma.S: Removed.
77654         * sysdeps/i386/fpu/s_fmal.S: Removed.
77656 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
77658         [BZ #3268]
77659         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
77660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
77661         computation is not scheduled after fetestexcept.  Fix value
77662         of minimum denormal long double.
77664 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
77666         [BZ #3268]
77667         * math/libm-test.inc (fma_test): Add some more tests.
77668         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
77669         correctly.
77671 2010-10-15  Andreas Schwab  <schwab@redhat.com>
77673         * scripts/data/localplt-s390-linux-gnu.data: New file.
77674         * scripts/data/localplt-s390x-linux-gnu.data: New file.
77676 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
77678         [BZ #3268]
77679         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
77680         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
77681         instead of dbl-64.
77682         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
77683         inlines.
77684         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
77685         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
77686         if one of x and y is very large and the other is subnormal.
77687         * sysdeps/s390/fpu/s_fmaf.c: New file.
77688         * sysdeps/s390/fpu/s_fma.c: New file.
77689         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
77690         * sysdeps/powerpc/fpu/s_fma.S: New file.
77691         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
77692         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
77693         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
77695 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
77697         [BZ #3268]
77698         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
77699         fma tests.
77700         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
77701         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
77702         * sysdeps/i386/i686/multiarch/s_fma.c: Include
77703         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
77704         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
77705         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
77706         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
77708 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
77710         [BZ #12078]
77711         * posix/regcomp.c (parse_branch): One more memory leak plugged.
77712         * posix/bug-regex31.input: Add test case.
77714 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77716         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
77717         * posix/bug-regex31.input: New file.
77719         [BZ #12078]
77720         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
77721         (parse_sub_exp): Fix last change, use postorder.
77723         * posix/bug-regex31.c: New file.
77724         * posix/Makefile: Add rules to build and run bug-regex31.
77726         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
77728         [BZ #12078]
77729         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
77731         [BZ #12108]
77732         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
77733         to have entries in sys_siglist.
77735         [BZ #12093]
77736         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
77737         be NULL.
77739 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
77741         [BZ #3268]
77742         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
77743         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
77744         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
77745         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
77746         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77747         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
77748         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
77749         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
77750         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
77751         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
77752         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
77753         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
77754         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
77755         * math/ftestexcept.c (fetestexcept): Likewise.
77756         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
77757         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
77758         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
77759         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
77760         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
77761         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
77762         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77764 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
77766         [BZ #12107]
77767         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
77768         newline.
77770 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
77772         * string/bug-strstr1.c: New file.
77773         * string/Makefile: Add rules to build and run bug-strstr1.
77775 2010-10-05  Eric Blake  <eblake@redhat.com>
77777         [BZ #12092]
77778         * string/str-two-way.h (two_way_long_needle): Always clear memory
77779         when skipping input due to the shift table.
77781 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
77783         [BZ #12005]
77784         * malloc/mcheck.c: Handle large requests.
77786         [BZ #12077]
77787         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
77788         for strncmp and strncasecmp.
77789         * string/stratcliff.c: Add tests for strcmp and strncmp.
77790         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
77792 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
77794         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
77795         __set_fpscr.
77797 2010-09-30  Andreas Jaeger  <aj@suse.de>
77799         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
77800         (CGROUP_SUPER_MAGIC): Define.
77801         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
77802         Handle btrfs and cgroup file systems.
77803         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
77804         Likewise.
77806 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
77808         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
77809         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
77811 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77813         [BZ #12067]
77814         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
77815         trying to locate the ELF header.
77817 2010-09-27  Andreas Schwab  <schwab@redhat.com>
77819         [BZ #11611]
77820         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
77821         Mask out sign-bit copies when constructing f_fsid.
77823 2010-09-24  Petr Baudis <pasky@suse.cz>
77825         * debug/stack_chk_fail_local.c: Add missing licence exception.
77826         * debug/warning-nop.c: Likewise.
77828 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
77830         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
77831         implementing getdents64 using getdents syscall, set d_type if
77832         __ASSUME_GETDENTS32_D_TYPE.
77834 2010-09-16  Andreas Schwab  <schwab@redhat.com>
77836         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
77837         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
77839 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
77841         [BZ #12037]
77842         * posix/unistd.h: Undo change of feature selection for ftruncate from
77843         2010-01-11.
77845 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
77847         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
77848         detection.
77850 2010-09-20  Andreas Schwab  <schwab@redhat.com>
77852         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
77853         fanotify_mark.
77854         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
77856 2010-09-14  Andreas Schwab  <schwab@redhat.com>
77858         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
77859         variables after CHECK_SP call.
77860         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
77862 2010-09-13  Andreas Schwab  <schwab@redhat.com>
77863             Ulrich Drepper  <drepper@redhat.com>
77865         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
77866         re-relocationg ld.so.
77867         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
77868         _dl_init_paths call.
77869         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
77870         here anymore.
77872 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
77874         * resolv/res_init.c (__res_vinit): Count the default server we added.
77876 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
77877             Ulrich Drepper  <drepper@redhat.com>
77879         [BZ #11968]
77880         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77881         (____longjmp_chk): Use %ebx for saving value across system call.
77882         Add unwind info.
77884 2010-09-06  Andreas Schwab  <schwab@redhat.com>
77886         * manual/Makefile: Don't mix pattern rules with normal rules.
77888 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77890         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
77891         operation.
77892         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
77893         * libio/iofopncook.c (_IO_cookie_init): Likewise.
77894         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
77895         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
77896         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77897         Likewise.
77899 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
77901         [BZ #11979]
77902         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
77903         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
77905 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
77907         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
77908         * sysdeps/x86_64/addmul_1.S: Likewise.
77909         * sysdeps/x86_64/lshift.S: Likewise.
77910         * sysdeps/x86_64/mul_1.S: Likewise.
77911         * sysdeps/x86_64/rshift.S: Likewise.
77912         * sysdeps/x86_64/sub_n.S: Likewise.
77913         * sysdeps/x86_64/submul_1.S: Likewise.
77915 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77917         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
77918         Define __sched_param instead of SCHED_* and sched_param when
77919         <bits/sched.h> is included with __need_schedparam defined.
77920         * bits/sched.h [__need_schedparam]
77921         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
77922         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
77923         (__defined_schedparam): Define to 1.
77924         (__sched_param): New structure, identical to sched_param.
77925         (__need_schedparam): Undefine.
77927 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
77929         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
77930         (epoll_create1): Declare.
77932         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
77934 2010-08-31  Andreas Schwab  <schwab@redhat.com>
77936         [BZ #7066]
77937         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
77938         shifting retval into place.
77940 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
77942         * nis/rpcsvc/nis.h: Update copyright notice.
77943         * nis/rpcsvc/nis.x: Likewise.
77944         * nis/rpcsvc/nis_callback.h: Likewise.
77945         * nis/rpcsvc/nis_callback.x: Likewise.
77946         * nis/rpcsvc/nis_object.x: Likewise.
77947         * nis/rpcsvc/nis_tags.h: Likewise.
77948         * nis/rpcsvc/yp.h: Likewise.
77949         * nis/rpcsvc/yp.x: Likewise.
77950         * nis/rpcsvc/ypupd.h: Likewise.
77951         * nis/yp_xdr.c: Likewise.
77952         * nis/ypupdate_xdr.c: Likewise.
77954         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
77955         mainly the body of pmap_getport.  Add parameters to specify timeouts.
77956         (pmap_getport): Use __libc_rpc_getport.
77957         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
77958         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
77959         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
77961 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
77963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
77964         fanotify_mark.
77966 2010-08-27  Roland McGrath  <roland@redhat.com>
77968         * sysdeps/i386/i686/multiarch/Makefile
77969         (CFLAGS-varshift.c): New variable.
77971 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
77973         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
77974         * sysdeps/i386/i686/multiarch/varshift.c: New file.
77976         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
77978         * sysdeps/x86_64/strlen.S: Minimal code improvement.
77980 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
77982         * sysdeps/x86_64/strlen.S: Unroll the loop.
77983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77984         strlen-sse2 strlen-sse2-bsf.
77985         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
77986         __strlen_no_bsf if bit_Slow_BSF is set.
77987         (__strlen_sse42): Removed.
77988         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
77989         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
77991 2010-08-25  Roland McGrath  <roland@redhat.com>
77993         * sysdeps/x86_64/multiarch/varshift.S: File removed.
77994         * sysdeps/x86_64/multiarch/varshift.c: New file.
77995         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
77996         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
77997         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
77998         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78000 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78002         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78003         strlen-sse2 strlen-sse2-bsf.
78004         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78005         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78006         (__strlen_sse2): Removed.
78007         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78008         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78010         bit_Slow_BSF for Atom.
78011         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78012         (index_Slow_BSF): Define.
78013         (HAS_SLOW_BSF): Define.
78015 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78017         [BZ #10851]
78018         * resolv/res_init.c (__res_vinit): When no server address at all
78019         is given default to loopback.
78021 2010-08-24  Roland McGrath  <roland@redhat.com>
78023         * configure.in: Remove config-name.h generation.
78024         * configure: Regenerated.
78025         * config-name.in: File removed.
78026         * scripts/config-uname.sh: New file.
78027         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78028         ($(objdir)config-name.h): New target.
78030         * sunrpc/rpc_parse.h: Avoid nested comment.
78032 2010-08-24  Richard Henderson  <rth@redhat.com>
78033             Ulrich Drepper  <drepper@redhat.com>
78034             H.J. Lu  <hongjiu.lu@intel.com>
78036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78038         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78039         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78040         _mm_alignr_epi8 with _mm_loadu_si128.
78041         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78042         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78043         (__m128i_shift_right): Removed.
78044         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78045         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78046         * sysdeps/x86_64/multiarch/varshift.h: New file.
78047         * sysdeps/x86_64/multiarch/varshift.S: New file.
78049 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78051         * configure.in: Move assembler checks to before sysdep dir checking.
78053 2010-08-20  Petr Baudis  <pasky@suse.cz>
78055         * LICENSES: Sync the sunrpc license.
78057 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78059         * sunrpc/auth_des.c: Update copyright notice once again.
78060         * sunrpc/auth_none.c: Likewise.
78061         * sunrpc/auth_unix.c: Likewise.
78062         * sunrpc/authdes_prot.c: Likewise.
78063         * sunrpc/authuxprot.c: Likewise.
78064         * sunrpc/bindrsvprt.c: Likewise.
78065         * sunrpc/clnt_gen.c: Likewise.
78066         * sunrpc/clnt_perr.c: Likewise.
78067         * sunrpc/clnt_raw.c: Likewise.
78068         * sunrpc/clnt_simp.c: Likewise.
78069         * sunrpc/clnt_tcp.c: Likewise.
78070         * sunrpc/clnt_udp.c: Likewise.
78071         * sunrpc/clnt_unix.c: Likewise.
78072         * sunrpc/des_crypt.c: Likewise.
78073         * sunrpc/des_soft.c: Likewise.
78074         * sunrpc/get_myaddr.c: Likewise.
78075         * sunrpc/getrpcport.c: Likewise.
78076         * sunrpc/key_call.c: Likewise.
78077         * sunrpc/key_prot.c: Likewise.
78078         * sunrpc/openchild.c: Likewise.
78079         * sunrpc/pm_getmaps.c: Likewise.
78080         * sunrpc/pm_getport.c: Likewise.
78081         * sunrpc/pmap_clnt.c: Likewise.
78082         * sunrpc/pmap_prot.c: Likewise.
78083         * sunrpc/pmap_prot2.c: Likewise.
78084         * sunrpc/pmap_rmt.c: Likewise.
78085         * sunrpc/rpc/auth.h: Likewise.
78086         * sunrpc/rpc/auth_unix.h: Likewise.
78087         * sunrpc/rpc/clnt.h: Likewise.
78088         * sunrpc/rpc/des_crypt.h: Likewise.
78089         * sunrpc/rpc/key_prot.h: Likewise.
78090         * sunrpc/rpc/netdb.h: Likewise.
78091         * sunrpc/rpc/pmap_clnt.h: Likewise.
78092         * sunrpc/rpc/pmap_prot.h: Likewise.
78093         * sunrpc/rpc/pmap_rmt.h: Likewise.
78094         * sunrpc/rpc/rpc.h: Likewise.
78095         * sunrpc/rpc/rpc_des.h: Likewise.
78096         * sunrpc/rpc/rpc_msg.h: Likewise.
78097         * sunrpc/rpc/svc.h: Likewise.
78098         * sunrpc/rpc/svc_auth.h: Likewise.
78099         * sunrpc/rpc/types.h: Likewise.
78100         * sunrpc/rpc/xdr.h: Likewise.
78101         * sunrpc/rpc_clntout.c: Likewise.
78102         * sunrpc/rpc_cmsg.c: Likewise.
78103         * sunrpc/rpc_common.c: Likewise.
78104         * sunrpc/rpc_cout.c: Likewise.
78105         * sunrpc/rpc_dtable.c: Likewise.
78106         * sunrpc/rpc_hout.c: Likewise.
78107         * sunrpc/rpc_main.c: Likewise.
78108         * sunrpc/rpc_parse.c: Likewise.
78109         * sunrpc/rpc_parse.h: Likewise.
78110         * sunrpc/rpc_prot.c: Likewise.
78111         * sunrpc/rpc_sample.c: Likewise.
78112         * sunrpc/rpc_scan.c: Likewise.
78113         * sunrpc/rpc_scan.h: Likewise.
78114         * sunrpc/rpc_svcout.c: Likewise.
78115         * sunrpc/rpc_tblout.c: Likewise.
78116         * sunrpc/rpc_util.c: Likewise.
78117         * sunrpc/rpc_util.h: Likewise.
78118         * sunrpc/rpcinfo.c: Likewise.
78119         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78120         * sunrpc/rpcsvc/key_prot.x: Likewise.
78121         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78122         * sunrpc/rpcsvc/mount.x: Likewise.
78123         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78124         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78125         * sunrpc/rpcsvc/rex.x: Likewise.
78126         * sunrpc/rpcsvc/rstat.x: Likewise.
78127         * sunrpc/rpcsvc/rusers.x: Likewise.
78128         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78129         * sunrpc/rpcsvc/spray.x: Likewise.
78130         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78131         * sunrpc/rtime.c: Likewise.
78132         * sunrpc/svc.c: Likewise.
78133         * sunrpc/svc_auth.c: Likewise.
78134         * sunrpc/svc_authux.c: Likewise.
78135         * sunrpc/svc_raw.c: Likewise.
78136         * sunrpc/svc_run.c: Likewise.
78137         * sunrpc/svc_simple.c: Likewise.
78138         * sunrpc/svc_tcp.c: Likewise.
78139         * sunrpc/svc_udp.c: Likewise.
78140         * sunrpc/svc_unix.c: Likewise.
78141         * sunrpc/svcauth_des.c: Likewise.
78142         * sunrpc/xcrypt.c: Likewise.
78143         * sunrpc/xdr.c: Likewise.
78144         * sunrpc/xdr_array.c: Likewise.
78145         * sunrpc/xdr_float.c: Likewise.
78146         * sunrpc/xdr_mem.c: Likewise.
78147         * sunrpc/xdr_rec.c: Likewise.
78148         * sunrpc/xdr_ref.c: Likewise.
78149         * sunrpc/xdr_sizeof.c: Likewise.
78150         * sunrpc/xdr_stdio.c: Likewise.
78152         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78153         handling.
78155 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78157         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78159 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78161         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78162         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
78163         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
78164         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
78165         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
78166         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
78167         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
78168         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
78169         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
78170         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
78171         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
78172         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
78173         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
78174         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
78176 2010-07-26  Anton Blanchard  <anton@samba.org>
78178         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
78179         * malloc/arena.c (heap_trim): Likewise.
78181 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
78183         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
78184         here.  Not...
78185         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
78186         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
78188 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
78190         * sysdeps/i386/elf/Makefile: New file.
78192 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78194         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
78195         from fanotify_init.
78196         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
78197         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78199 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
78201         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
78202         of strncasecmp_l.
78203         * sysdeps/multiarch/strcmp.S: Likewise.
78205 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
78207         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78208         strncase_l-nonascii.
78209         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78210         Add strncase_l-ssse3.
78211         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
78212         * sysdeps/x86_64/strcmp.S: Likewise.
78213         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
78214         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
78215         * sysdeps/x86_64/strncase.S: New file.
78216         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
78217         * sysdeps/x86_64/strncase_l.S: New file.
78218         * string/Makefile (strop-tests): Add strncasecmp.
78219         * string/test-strncasecmp.c: New file.
78221         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
78222         warning.
78224         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
78225         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
78227 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
78229         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
78231 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
78233         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
78234         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
78235         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
78237 2010-05-01  Alan Modra  <amodra@gmail.com>
78239         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
78240         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
78241         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
78242         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
78243         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
78244         tidying.  Don't tail-call __sigjmp_save for static lib.
78245         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
78246         save location.
78247         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
78248         (CALL_MCOUNT): Add eh info, and nop after bl.
78249         (TAIL_CALL_SYSCALL_ERROR): New macro.
78250         (PSEUDO_RET): Use it.
78251         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
78252         Correct save location of integer regs and cr.
78253         (_dl_profile_resolve): Correct cr save location.  Delete nops
78254         after bl when SHARED.  Reduce cfi size a little by better
78255         placement of cfi directives.
78256         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
78257         make a stack frame.  Instead use parm save area as a temp.
78258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
78259         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
78260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
78261         Don't make a stack frame for parent, use parm save area.
78262         Increase child stack frame to 112 bytes.  Don't save unused reg,
78263         and adjust reg usage.  Set up cfi on error recovery and
78264         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
78265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78266         (__makecontext): Add dummy nop after jump to exit.
78267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
78268         Use correct parm save area and cr save, reduce stack frame.
78269         Correct cfi for possible PSEUDO_RET frame setup.
78270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
78271         Branch to local label emitted by PSEUDO_RET rather than
78272         __syscall_error.
78274 2010-08-12  Andreas Schwab  <schwab@redhat.com>
78276         [BZ #11904]
78277         * locale/programs/locale.c (print_assignment): New function.
78278         (show_locale_vars): Use it.
78280 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
78282         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
78283         field.
78284         (struct statfs64): Likewise.
78285         (_STATFS_F_FLAGS): Define.
78286         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
78287         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78288         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
78289         (ST_VALID): Define locally.
78290         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
78291         __statvfs_getflags, use the provided value.
78292         * sysdeps/unix/sysv/linux/kernel-features.h: Define
78293         __ASSUME_STATFS_F_FLAGS.
78295         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
78297         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
78298         Add sys/fanotify.h.
78299         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
78300         fanotify_mask for GLIBC_2.13.
78301         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
78302         fanotify_init and fanotify_mark.
78303         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
78304         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
78306         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
78307         Add prlimit.
78308         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
78309         prlimit64 for GLIBC_2.13.
78310         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
78311         prlimit64.
78312         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
78313         syscall.
78314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
78315         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78316         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
78317         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
78318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
78319         add prlimit alias.
78320         * sysdeps/unix/sysv/linux/prlimit.c: New file.
78322         [BZ #11903]
78323         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
78324         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
78326         * nss/Makefile: Add rules to build and run tst-nss-test1.
78327         * shlib-versions: Add entry for libnss_test1.
78328         * nss/nss_test1.c: New file.
78329         * nss/tst-nss-test1.c: New file.
78331         * nss/nsswitch.c (__nss_database_custom): Define new variable.
78332         (__nss_configure_lookup): Set appropriate entry in
78333         __nss_configure_lookup to true.
78334         * nss/nsswitch.h: Define enum with indeces of databases in
78335         databases and __nss_database_custom arrays.  Declare
78336         __nss_database_custom.
78337         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
78338         to avoid using nscd when custom rules are installed.
78339         * nss/getXXbyYY_r.c: Likewise.
78340         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
78342         * nss/nss_files/files-parse.c: Whitespace fixes.
78344 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
78346         [BZ #11883]
78347         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
78348         * posix/fnmatch_loop.c: Likewise.
78350 2010-07-17  Andi Kleen  <ak@linux.intel.com>
78352         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
78353         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
78354         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
78355         * Versions.def [GLIBC_2.13]: Add.
78357 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
78359         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78360         Also fail if tpwd after pwuid call is NULL.
78362 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78364         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
78365         when converting to ms.
78367 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78369         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
78370         EOPNOTSUPP errors with ENOTTY.
78371         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
78372         EOPNOTSUPP errors with ENOTTY.
78374 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
78376         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
78377         Add strcasecmp_l-ssse3.
78378         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
78379         strcasecmp.
78380         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
78381         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
78382         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
78384 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
78386         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
78388         * string/Makefile (strop-tests): Add strcasecmp.
78389         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
78390         strcasecmp_l-nonascii.
78391         (gen-as-const-headers): Add locale-defines.sym.
78392         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
78393         * sysdeps/x86_64/strcasecmp.S: New file.
78394         * sysdeps/x86_64/strcasecmp_l.S: New file.
78395         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
78396         * sysdeps/x86_64/locale-defines.sym: New file.
78397         * string/test-strcasecmp.c: New file.
78399         * string/test-strcasestr.c: Test both ends of the range of characters.
78400         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
78402 2010-07-29  Roland McGrath  <roland@redhat.com>
78404         [BZ #11856]
78405         * manual/locale.texi (Yes-or-No Questions): Fix example code.
78407 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
78409         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
78410         for ld.so.
78412 2010-07-27  Andreas Schwab  <schwab@redhat.com>
78414         * manual/memory.texi (Malloc Tunable Parameters): Document
78415         M_PERTURB.
78417 2010-07-26  Roland McGrath  <roland@redhat.com>
78419         [BZ #11840]
78420         * configure.in (-fgnu89-inline check): Set and substitute
78421         gnu89_inline, not libc_cv_gnu89_inline.
78422         * configure: Regenerated.
78423         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
78425 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
78427         * string/test-strnlen.c: New file.
78428         * string/Makefile (strop-tests): Add strnlen.
78429         * string/tester.c (test_strnlen): Add a few more test cases.
78430         * string/tst-strlen.c: Better error reporting.
78432         * sysdeps/x86_64/strnlen.S: New file.
78434 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
78436         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
78437         lower-latency instructions.
78439 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
78441         * string/test-strcasestr.c: New file.
78442         * string/test-strstr.c: New file.
78443         * string/Makefile (strop-tests): Add strstr and strcasestr.
78444         * string/str-two-way.h: Don't undefine MAX.
78445         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
78447 2010-07-21  Andreas Schwab  <schwab@redhat.com>
78449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78450         strcasestr-nonascii.
78451         (CFLAGS-strcasestr-nonascii.c): Define.
78452         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
78453         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
78454         Remove unused attribute.
78456 2010-07-20  Roland McGrath  <roland@redhat.com>
78458         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
78459         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
78460         ld.so.cache was broken.  With it, there is no way to disable dsocaps
78461         like LD_HWCAP_MASK can disable hwcaps.
78463 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78465         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
78467 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
78469         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
78470         call in strcasestr.
78471         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
78472         __strcasestr_sse42_nonascii.
78473         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
78474         strcasestr-nonascii.c.
78475         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
78477 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
78479         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
78480         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
78481         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
78482         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
78484 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
78486         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
78487         fcntl.
78489 2010-07-06  Andreas Schwab  <schwab@redhat.com>
78491         [BZ #11577]
78492         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
78493         dl_signal_cerror.
78495 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
78497         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
78498         _PC_PIPE_BUF using F_GETPIPE_SZ.
78500 2010-07-05  Roland McGrath  <roland@redhat.com>
78502         * manual/arith.texi (Rounding Functions): Fix rint description
78503         implicit in round description.
78505 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
78507         * elf/Makefile: Fix linking for a few tests to make recent linker
78508         happy.
78510 2010-06-30  Andreas Schwab  <schwab@redhat.com>
78512         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
78513         $(common-objpfx)libc_nonshared.a.
78515 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
78517         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
78518         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
78519         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78520         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78521         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
78522         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
78523         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78524         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
78526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
78527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
78528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
78529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
78530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
78531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
78532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
78533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
78534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
78535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
78536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
78537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
78538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
78539         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
78540         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
78541         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
78542         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
78543         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
78544         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
78545         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
78546         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
78547         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
78548         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
78549         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
78550         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
78551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
78552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
78553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
78554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
78555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
78556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
78557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
78558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
78559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
78560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
78561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
78562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
78563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
78564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
78566 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
78568         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
78569         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
78570         * string/memmove.c (memmove): Renamed to ...
78571         (MEMMOVE): ...this.  Default to memmove.
78572         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
78573         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
78574         (END_CHK): Define.
78575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78576         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
78577         mempcpy-ssse3-back memmove-ssse3-back.
78578         * sysdeps/x86_64/multiarch/bcopy.S: New file .
78579         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
78580         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
78581         * sysdeps/x86_64/multiarch/memcpy.S: New file.
78582         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
78583         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
78584         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
78585         * sysdeps/x86_64/multiarch/memmove.c: New file.
78586         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
78587         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
78588         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
78589         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
78590         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
78591         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
78592         Define.
78593         (index_Fast_Copy_Backward): Define.
78594         (HAS_ARCH_FEATURE): Define.
78595         (HAS_FAST_REP_STRING): Define.
78596         (HAS_FAST_COPY_BACKWARD): Define.
78598 2010-06-21  Andreas Schwab  <schwab@redhat.com>
78600         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
78601         Restore proper fallback handling.
78603 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
78605         [BZ #11701]
78606         * posix/group_member.c (__group_member): Correct checking loop.
78608         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
78609         OOM in getpwuid_r correctly.  Return error number when the caller
78610         should return, otherwise -1.
78611         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
78612         call returning > 0 value.
78613         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
78615 2010-06-07  Andreas Schwab  <schwab@redhat.com>
78617         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
78618         libc_nonshared.a from targets in modules-names.
78620 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
78622         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
78623         requires it.
78625 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
78627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
78628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
78629         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
78630         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
78632 2010-06-02  Andreas Schwab  <schwab@redhat.com>
78634         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
78636 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
78638         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
78639         and F_GETPIPE_SZ.
78640         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
78641         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
78642         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
78643         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
78644         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
78645         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
78647 2010-06-14  Roland McGrath  <roland@redhat.com>
78649         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
78651 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
78653         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
78654         __REDIRECT followed by __THROW.
78655         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
78656         * posix/getopt.h (getopt): Likewise.
78658 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
78660         * hurd/lookup-at.c (__file_name_lookup_at): Accept
78661         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
78662         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
78663         in AT_FLAGS.
78664         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
78665         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
78667 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
78669         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
78671 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
78673         [BZ #11640]
78674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78675         Properly check family and model.
78677 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
78679         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
78681 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
78683         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
78685 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
78687         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
78688         symbol reference.
78690 2010-05-19  Andreas Schwab  <schwab@redhat.com>
78692         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
78693         symbol reference.
78695 2010-05-21  Andreas Schwab  <schwab@redhat.com>
78697         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
78698         and internal_recvmmsg.
78699         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
78700         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
78701         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
78702         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
78704         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
78705         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
78706         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
78708 2010-05-20  Andreas Schwab  <schwab@redhat.com>
78710         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
78712 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
78714         POWER7 optimizations.
78715         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
78716         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
78718 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
78720         * version.h: Update for 2.13 development version.
78722 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
78724         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
78725         exceptions.  Return 0.
78727 2010-05-07  Roland McGrath  <roland@redhat.com>
78729         * elf/ldconfig.c (main): Add a const.
78731 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
78733         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
78734         (args_options): Add no-idn option.
78735         (ahosts_keys_int): Add idn_flags to ai_flags.
78736         (parse_option): Handle 'i' option to clear idn_flags.
78738         * malloc/malloc.c (_int_free): Possible race in the most recently
78739         added check.  Only act on the data if no current modification
78740         happened.
78742 See ChangeLog.17 for earlier changes.