Get rid of Versions.def source file
[glibc.git] / ChangeLog
blob99d2caed9b7ff7ba86d2a25ec90362310530b854
1 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3         * scripts/versionlist.awk: New file.
4         * Makerules [$(build-shared) = yes]
5         (postclean-generated): Add Versions.def, not Versions.def.v and
6         Versions.def.v.i.
7         ($(common-objpfx)Versions.def.v.i): Target removed.
8         ($(common-objpfx)Versions.def): New target.
9         ($(common-objpfx)Versions.all): Depend on that rather that
10         $(common-objpfx)Versions.def.v.
11         * Versions.def: File removed.
13         * Makeconfig (+gccwarn): Add -Wundef.
14         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15         a dl-sysdep.h breaking its contract.
16         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
17         * include/stackinfo.h: New file.
18         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
20         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
21         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
22         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
23         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
24         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
26         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
27         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
28         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
29         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
30         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
31         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
32         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
34 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36         [BZ #16707]
37         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
38         implementation.
39         * math/libm-test.inc (round_test_data): Add more tests.
41 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43         [BZ #16706]
44         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
45         implementation.
46         * math/libm-test.inc (nearbyint_test_data): Add more tests.
48 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50         [BZ #16701]
51         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
52         implementation.
53         * math/libm-test.inc (ceil_test_data): Add more tests.
55 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57         * math/libm-test.inc (trunc_test_data): Add more tests related to
58         BZ#16414.
60 2014-03-14  Roland McGrath  <roland@hack.frob.com>
62         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
63         with #if rather than #ifdef.
64         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
66 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
68         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
69         first.  Disable AVX-512 GCC support if assembler doesn't support
70         it.
71         * sysdeps/x86_64/configure: Regenerated.
73 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
75         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
76         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
77         (__old_pthread_attr_setstack): Likewise.
78         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
79         [!_STACK_GROWS_DOWN]: Likewise.
81 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
83         * config.make.in (have-bash2): Delete.
84         * configure.ac (libc_cv_have_bash2): Delete.
85         * configure: Regenerate.
86         * elf/Makefile (common-ldd-rewrite): Rename to ...
87         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
88         (sh-ldd-rewrite): Delete.
89         (bash-ldd-rewrite): Delete.
90         (have-bash2): Delete checks.
91         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
93 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
95         * config.make.in (have-ksh): Delete.
96         (KSH): Delete.
97         * configure.ac (libc_cv_have_ksh): Delete.
98         * configure: Regenerate.
100 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
102         * elf/Makefile: Delete $(have-ksh) check.
103         ($(objpfx)sotruss): Change KSH to BASH.
104         * elf/sotruss.ksh: Rename to ...
105         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
106         function style to match POSIX.  Drop ksh vim mode setting.
108 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
110         * manual/time.texi (Specifying the Time Zone with TZ): Change
111         Tuesday to Thursday.
113 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
115         * debug/tst-longjmp_chk2.c: Update header comment.
116         (stackoverflow_handler): Add comment.  Call assert on pass value.
118 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
120         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
121         (HAVE_AVX512_ASM_SUPPORT): Likewise.
122         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
123         (La_x86_64_vector): Add zmm.
124         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
125         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
126         ($(objpfx)tst-audit10): New target.
127         ($(objpfx)tst-audit10.out): Likewise.
128         (tst-audit10-ENV): New.
129         (AVX512-CFLAGS): Likewise.
130         (CFLAGS-tst-audit10.c): Likewise.
131         (CFLAGS-tst-auditmod10a.c): Likewise.
132         (CFLAGS-tst-auditmod10b.c): Likewise.
133         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
134         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
135         * sysdeps/x86_64/configure: Regenerated.
136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
137         AVX-512 zmm register support.
138         (_dl_x86_64_save_sse): Likewise.
139         (_dl_x86_64_restore_sse): Likewise.
140         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
141         size vector registers.
142         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
143         (ZMM_SIZE): Likewise.
144         * sysdeps/x86_64/tst-audit10.c: New file.
145         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
146         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
148 2014-03-13  Roland McGrath  <roland@hack.frob.com>
150         * configure.ac (HAVE_EHDR_START): New check.
151         * configure: Regenerated.
152         * config.h.in (HAVE_EHDR_START): New #undef.
153         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
154         assuming the lowest-addressed segment maps the start of the file.
156 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
158         * INSTALL: Regenerated.
160 2014-03-13  Will Newton  <will.newton@linaro.org>
162         * manual/setjmp.texi (System V contexts): Improve
163         clarity and grammar of documentation.
165 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
167         [BZ #16381]
168         * elf/Makefile (tests): Add tst-pie2.
169         (tests-pie): Add tst-pie2.
170         * elf/tst-pie2.c: New file.
171         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
172         for ET_EXEC.
173         * elf/rtld.c (map_doit): Load executable as lt_executable.
174         (dl_main): Likewise.
176 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
178         [BZ #16642]
179         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
180         (__ASSUME_PSELECT): Undefine.
182 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
184         [BZ #16689]
185         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
186         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
187         static build.
188         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
189         selector for static builds.
191 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
193         [BZ #16695]
194         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
195         key in the buffer.
197 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
199         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
200         selector for static builds.
202 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
204         * sysdeps/mips/math_private.h [__mips_hard_float]
205         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
206         libc_feresetround_mips_ctx.
207         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
208         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
209         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
211         [BZ #16677]
212         * math/s_nextafter.c (__nextafter): Do not return value from
213         overflowing computation.
214         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
215         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
216         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
217         Likewise.
218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
219         Likewise.
220         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
221         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
223 2014-03-11  Roland McGrath  <roland@hack.frob.com>
225         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
226         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
227         Move sfi_sp use from the load-multiple (that no longer sets sp) to
228         the new mov targetting sp.
230 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
232         [BZ #16683]
233         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
234         Define it for static builds as well.
235         (NO_BZERO_IMPL): Likewise.
237 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
239         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
240         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
241         multiarch strspn for PPC64.
242         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
243         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
244         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
245         (__libc_ifunc_impl_list): Likewise.
246         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
247         multiarch optimizations
248         * string/strspn.c (strspn): Using macro to redefine symbol name.
250 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
251             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
253         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
254         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
255         multiarch strncat for PPC64.
256         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
257         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
258         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
259         (__libc_ifunc_impl_list): Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
261         multiarch optimizations
263 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
265         [BZ #16639]
266         * nscd/nscd.service: Make service type forking.
268 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
270         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
271         sign in non default rounding modes.
272         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
274 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
276         * math/libm-test.inc (ALL_RM_TEST): New macro.
277         (ceil_test): Use ALL_RM_TEST.
278         (cimag_test): Likewise.
279         (conj_test): Likewise.
280         (copysign_test): Likewise.
281         (cproj_test): Likewise.
282         (creal_test): Likewise.
283         (fabs_test): Likewise.
284         (floor_test): Likewise.
285         (fmax_test): Likewise.
286         (fmin_test): Likewise.
287         (fmod_test): Likewise.
288         (fpclassify_test): Likewise.
289         (frexp_test): Likewise.
290         (ilogb_test): Likewise.
291         (isfinite_test): Likewise.
292         (finite_test): Likewise.
293         (isgreater_test): Likewise.
294         (isgreaterequal_test): Likewise.
295         (isinf_test): Likewise.
296         (isless_test): Likewise.
297         (islessequal_test): Likewise.
298         (islessgreater_test): Likewise.
299         (isnan_test): Likewise.
300         (isnormal_test): Likewise.
301         (issignaling_test): Likewise.
302         (isunordered_test): Likewise.
303         (logb_test): Likewise.
304         (logb_downward_test_data): Remove.
305         (logb_test_downward): Likewise.
306         (lround_test): Use ALL_RM_TEST.
307         (llround_test): Likewise.
308         (modf_test): Likewise.
309         (nexttoward_test): Likewise.
310         (remainder_test): Likewise.
311         (drem_test): Likewise.
312         (remainder_tonearest_test_data): Likewise.
313         (remainder_test_tonearest): Likewise.
314         (drem_test_tonearest): Likewise.
315         (remainder_towardzero_test_data): Likewise.
316         (remainder_test_towardzero): Likewise.
317         (drem_test_towardzero): Likewise.
318         (remainder_downward_test_data): Likewise.
319         (remainder_test_downward): Likewise.
320         (drem_test_downward): Likewise.
321         (remainder_upward_test_data): Likewise.
322         (remainder_test_upward): Likewise.
323         (drem_test_upward): Likewise.
324         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
325         (round_test): Use ALL_RM_TEST.
326         (signbit_test): Likewise.
327         (trunc_test): Likewise.
328         (significand_test): Likewise.
329         (main): Don't call removed functions.
331 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
333         [BZ #16674]
334         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
335         || __USE_XOPEN2K8].
336         (ILL_ILLOPN): Likewise.
337         (ILL_ILLADR): Likewise.
338         (ILL_ILLTRP): Likewise.
339         (ILL_PRVOPC): Likewise.
340         (ILL_PRVREG): Likewise.
341         (ILL_COPROC): Likewise.
342         (ILL_BADSTK): Likewise.
343         (FPE_INTDIV): Likewise.
344         (FPE_INTOVF): Likewise.
345         (FPE_FLTDIV): Likewise.
346         (FPE_FLTOVF): Likewise.
347         (FPE_FLTUND): Likewise.
348         (FPE_FLTRES): Likewise.
349         (FPE_FLTINV): Likewise.
350         (FPE_FLTSUB): Likewise.
351         (SEGV_MAPERR): Likewise.
352         (SEGV_ACCERR): Likewise.
353         (BUS_ADRALN): Likewise.
354         (BUS_ADRERR): Likewise.
355         (BUS_OBJERR): Likewise.
356         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
357         (TRAP_TRACE): Likewise.
358         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
359         __USE_XOPEN2K8].
360         (CLD_KILLED): Likewise.
361         (CLD_DUMPED): Likewise.
362         (CLD_TRAPPED): Likewise.
363         (CLD_STOPPED): Likewise.
364         (CLD_CONTINUED): Likewise.
365         (POLL_IN): Likewise.
366         (POLL_OUT): Likewise.
367         (POLL_MSG): Likewise.
368         (POLL_ERR): Likewise.
369         (POLL_PRI): Likewise.
370         (POLL_HUP): Likewise.
371         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
372         Likewise.
373         (ILL_ILLOPN): Likewise.
374         (ILL_ILLADR): Likewise.
375         (ILL_ILLTRP): Likewise.
376         (ILL_PRVOPC): Likewise.
377         (ILL_PRVREG): Likewise.
378         (ILL_COPROC): Likewise.
379         (ILL_BADSTK): Likewise.
380         (FPE_INTDIV): Likewise.
381         (FPE_INTOVF): Likewise.
382         (FPE_FLTDIV): Likewise.
383         (FPE_FLTOVF): Likewise.
384         (FPE_FLTUND): Likewise.
385         (FPE_FLTRES): Likewise.
386         (FPE_FLTINV): Likewise.
387         (FPE_FLTSUB): Likewise.
388         (SEGV_MAPERR): Likewise.
389         (SEGV_ACCERR): Likewise.
390         (BUS_ADRALN): Likewise.
391         (BUS_ADRERR): Likewise.
392         (BUS_OBJERR): Likewise.
393         (BUS_MCEERR_AR): Likewise.
394         (BUS_MCEERR_AO): Likewise.
395         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
396         (TRAP_TRACE): Likewise.
397         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
398         __USE_XOPEN2K8].
399         (CLD_KILLED): Likewise.
400         (CLD_DUMPED): Likewise.
401         (CLD_TRAPPED): Likewise.
402         (CLD_STOPPED): Likewise.
403         (CLD_CONTINUED): Likewise.
404         (POLL_IN): Likewise.
405         (POLL_OUT): Likewise.
406         (POLL_MSG): Likewise.
407         (POLL_ERR): Likewise.
408         (POLL_PRI): Likewise.
409         (POLL_HUP): Likewise.
410         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
411         (ILL_ILLOPN): Likewise.
412         (ILL_ILLADR): Likewise.
413         (ILL_ILLTRP): Likewise.
414         (ILL_PRVOPC): Likewise.
415         (ILL_PRVREG): Likewise.
416         (ILL_COPROC): Likewise.
417         (ILL_BADSTK): Likewise.
418         (FPE_INTDIV): Likewise.
419         (FPE_INTOVF): Likewise.
420         (FPE_FLTDIV): Likewise.
421         (FPE_FLTOVF): Likewise.
422         (FPE_FLTUND): Likewise.
423         (FPE_FLTRES): Likewise.
424         (FPE_FLTINV): Likewise.
425         (FPE_FLTSUB): Likewise.
426         (SEGV_MAPERR): Likewise.
427         (SEGV_ACCERR): Likewise.
428         (BUS_ADRALN): Likewise.
429         (BUS_ADRERR): Likewise.
430         (BUS_OBJERR): Likewise.
431         (BUS_MCEERR_AR): Likewise.
432         (BUS_MCEERR_AO): Likewise.
433         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
434         (TRAP_TRACE): Likewise.
435         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
436         __USE_XOPEN2K8].
437         (CLD_KILLED): Likewise.
438         (CLD_DUMPED): Likewise.
439         (CLD_TRAPPED): Likewise.
440         (CLD_STOPPED): Likewise.
441         (CLD_CONTINUED): Likewise.
442         (POLL_IN): Likewise.
443         (POLL_OUT): Likewise.
444         (POLL_MSG): Likewise.
445         (POLL_ERR): Likewise.
446         (POLL_PRI): Likewise.
447         (POLL_HUP): Likewise.
448         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
449         Likewise.
450         (ILL_ILLOPN): Likewise.
451         (ILL_ILLADR): Likewise.
452         (ILL_ILLTRP): Likewise.
453         (ILL_PRVOPC): Likewise.
454         (ILL_PRVREG): Likewise.
455         (ILL_COPROC): Likewise.
456         (ILL_BADSTK): Likewise.
457         (ILL_BADIADDR): Likewise.
458         (ILL_BREAK): Likewise.
459         (FPE_INTDIV): Likewise.
460         (FPE_INTOVF): Likewise.
461         (FPE_FLTDIV): Likewise.
462         (FPE_FLTOVF): Likewise.
463         (FPE_FLTUND): Likewise.
464         (FPE_FLTRES): Likewise.
465         (FPE_FLTINV): Likewise.
466         (FPE_FLTSUB): Likewise.
467         (FPE_DECOVF): Likewise.
468         (FPE_DECDIV): Likewise.
469         (FPE_DECERR): Likewise.
470         (FPE_INVASC): Likewise.
471         (FPE_INVDEC): Likewise.
472         (SEGV_MAPERR): Likewise.
473         (SEGV_ACCERR): Likewise.
474         (SEGV_PSTKOVF): Likewise.
475         (BUS_ADRALN): Likewise.
476         (BUS_ADRERR): Likewise.
477         (BUS_OBJERR): Likewise.
478         (BUS_MCEERR_AR): Likewise.
479         (BUS_MCEERR_AO): Likewise.
480         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
481         (TRAP_TRACE): Likewise.
482         (TRAP_BRANCH): Likewise.
483         (TRAP_HWBKPT): Likewise.
484         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
485         __USE_XOPEN2K8].
486         (CLD_KILLED): Likewise.
487         (CLD_DUMPED): Likewise.
488         (CLD_TRAPPED): Likewise.
489         (CLD_STOPPED): Likewise.
490         (CLD_CONTINUED): Likewise.
491         (POLL_IN): Likewise.
492         (POLL_OUT): Likewise.
493         (POLL_MSG): Likewise.
494         (POLL_ERR): Likewise.
495         (POLL_PRI): Likewise.
496         (POLL_HUP): Likewise.
497         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
498         (ILL_ILLOPN): Likewise.
499         (ILL_ILLADR): Likewise.
500         (ILL_ILLTRP): Likewise.
501         (ILL_PRVOPC): Likewise.
502         (ILL_PRVREG): Likewise.
503         (ILL_COPROC): Likewise.
504         (ILL_BADSTK): Likewise.
505         (FPE_INTDIV): Likewise.
506         (FPE_INTOVF): Likewise.
507         (FPE_FLTDIV): Likewise.
508         (FPE_FLTOVF): Likewise.
509         (FPE_FLTUND): Likewise.
510         (FPE_FLTRES): Likewise.
511         (FPE_FLTINV): Likewise.
512         (FPE_FLTSUB): Likewise.
513         (SEGV_MAPERR): Likewise.
514         (SEGV_ACCERR): Likewise.
515         (BUS_ADRALN): Likewise.
516         (BUS_ADRERR): Likewise.
517         (BUS_OBJERR): Likewise.
518         (BUS_MCEERR_AR): Likewise.
519         (BUS_MCEERR_AO): Likewise.
520         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
521         (TRAP_TRACE): Likewise.
522         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
523         __USE_XOPEN2K8].
524         (CLD_KILLED): Likewise.
525         (CLD_DUMPED): Likewise.
526         (CLD_TRAPPED): Likewise.
527         (CLD_STOPPED): Likewise.
528         (CLD_CONTINUED): Likewise.
529         (POLL_IN): Likewise.
530         (POLL_OUT): Likewise.
531         (POLL_MSG): Likewise.
532         (POLL_ERR): Likewise.
533         (POLL_PRI): Likewise.
534         (POLL_HUP): Likewise.
535         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
536         (ILL_ILLOPN): Likewise.
537         (ILL_ILLADR): Likewise.
538         (ILL_ILLTRP): Likewise.
539         (ILL_PRVOPC): Likewise.
540         (ILL_PRVREG): Likewise.
541         (ILL_COPROC): Likewise.
542         (ILL_BADSTK): Likewise.
543         (FPE_INTDIV): Likewise.
544         (FPE_INTOVF): Likewise.
545         (FPE_FLTDIV): Likewise.
546         (FPE_FLTOVF): Likewise.
547         (FPE_FLTUND): Likewise.
548         (FPE_FLTRES): Likewise.
549         (FPE_FLTINV): Likewise.
550         (FPE_FLTSUB): Likewise.
551         (SEGV_MAPERR): Likewise.
552         (SEGV_ACCERR): Likewise.
553         (BUS_ADRALN): Likewise.
554         (BUS_ADRERR): Likewise.
555         (BUS_OBJERR): Likewise.
556         (BUS_MCEERR_AR): Likewise.
557         (BUS_MCEERR_AO): Likewise.
558         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
559         (TRAP_TRACE): Likewise.
560         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
561         __USE_XOPEN2K8].
562         (CLD_KILLED): Likewise.
563         (CLD_DUMPED): Likewise.
564         (CLD_TRAPPED): Likewise.
565         (CLD_STOPPED): Likewise.
566         (CLD_CONTINUED): Likewise.
567         (POLL_IN): Likewise.
568         (POLL_OUT): Likewise.
569         (POLL_MSG): Likewise.
570         (POLL_ERR): Likewise.
571         (POLL_PRI): Likewise.
572         (POLL_HUP): Likewise.
573         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
574         (ILL_ILLOPN): Likewise.
575         (ILL_ILLADR): Likewise.
576         (ILL_ILLTRP): Likewise.
577         (ILL_PRVOPC): Likewise.
578         (ILL_PRVREG): Likewise.
579         (ILL_COPROC): Likewise.
580         (ILL_BADSTK): Likewise.
581         (FPE_INTDIV): Likewise.
582         (FPE_INTOVF): Likewise.
583         (FPE_FLTDIV): Likewise.
584         (FPE_FLTOVF): Likewise.
585         (FPE_FLTUND): Likewise.
586         (FPE_FLTRES): Likewise.
587         (FPE_FLTINV): Likewise.
588         (FPE_FLTSUB): Likewise.
589         (SEGV_MAPERR): Likewise.
590         (SEGV_ACCERR): Likewise.
591         (BUS_ADRALN): Likewise.
592         (BUS_ADRERR): Likewise.
593         (BUS_OBJERR): Likewise.
594         (BUS_MCEERR_AR): Likewise.
595         (BUS_MCEERR_AO): Likewise.
596         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
597         (TRAP_TRACE): Likewise.
598         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
599         __USE_XOPEN2K8].
600         (CLD_KILLED): Likewise.
601         (CLD_DUMPED): Likewise.
602         (CLD_TRAPPED): Likewise.
603         (CLD_STOPPED): Likewise.
604         (CLD_CONTINUED): Likewise.
605         (POLL_IN): Likewise.
606         (POLL_OUT): Likewise.
607         (POLL_MSG): Likewise.
608         (POLL_ERR): Likewise.
609         (POLL_PRI): Likewise.
610         (POLL_HUP): Likewise.
611         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
612         (ILL_ILLOPN): Likewise.
613         (ILL_ILLADR): Likewise.
614         (ILL_ILLTRP): Likewise.
615         (ILL_PRVOPC): Likewise.
616         (ILL_PRVREG): Likewise.
617         (ILL_COPROC): Likewise.
618         (ILL_BADSTK): Likewise.
619         (ILL_DBLFLT): Likewise.
620         (ILL_HARDWALL): Likewise.
621         (FPE_INTDIV): Likewise.
622         (FPE_INTOVF): Likewise.
623         (FPE_FLTDIV): Likewise.
624         (FPE_FLTOVF): Likewise.
625         (FPE_FLTUND): Likewise.
626         (FPE_FLTRES): Likewise.
627         (FPE_FLTINV): Likewise.
628         (FPE_FLTSUB): Likewise.
629         (SEGV_MAPERR): Likewise.
630         (SEGV_ACCERR): Likewise.
631         (BUS_ADRALN): Likewise.
632         (BUS_ADRERR): Likewise.
633         (BUS_OBJERR): Likewise.
634         (BUS_MCEERR_AR): Likewise.
635         (BUS_MCEERR_AO): Likewise.
636         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
637         (TRAP_TRACE): Likewise.
638         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
639         __USE_XOPEN2K8].
640         (CLD_KILLED): Likewise.
641         (CLD_DUMPED): Likewise.
642         (CLD_TRAPPED): Likewise.
643         (CLD_STOPPED): Likewise.
644         (CLD_CONTINUED): Likewise.
645         (POLL_IN): Likewise.
646         (POLL_OUT): Likewise.
647         (POLL_MSG): Likewise.
648         (POLL_ERR): Likewise.
649         (POLL_PRI): Likewise.
650         (POLL_HUP): Likewise.
651         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
652         (ILL_ILLOPN): Likewise.
653         (ILL_ILLADR): Likewise.
654         (ILL_ILLTRP): Likewise.
655         (ILL_PRVOPC): Likewise.
656         (ILL_PRVREG): Likewise.
657         (ILL_COPROC): Likewise.
658         (ILL_BADSTK): Likewise.
659         (FPE_INTDIV): Likewise.
660         (FPE_INTOVF): Likewise.
661         (FPE_FLTDIV): Likewise.
662         (FPE_FLTOVF): Likewise.
663         (FPE_FLTUND): Likewise.
664         (FPE_FLTRES): Likewise.
665         (FPE_FLTINV): Likewise.
666         (FPE_FLTSUB): Likewise.
667         (SEGV_MAPERR): Likewise.
668         (SEGV_ACCERR): Likewise.
669         (BUS_ADRALN): Likewise.
670         (BUS_ADRERR): Likewise.
671         (BUS_OBJERR): Likewise.
672         (BUS_MCEERR_AR): Likewise.
673         (BUS_MCEERR_AO): Likewise.
674         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
675         (TRAP_TRACE): Likewise.
676         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
677         __USE_XOPEN2K8].
678         (CLD_KILLED): Likewise.
679         (CLD_DUMPED): Likewise.
680         (CLD_TRAPPED): Likewise.
681         (CLD_STOPPED): Likewise.
682         (CLD_CONTINUED): Likewise.
683         (POLL_IN): Likewise.
684         (POLL_OUT): Likewise.
685         (POLL_MSG): Likewise.
686         (POLL_ERR): Likewise.
687         (POLL_PRI): Likewise.
688         (POLL_HUP): Likewise.
689         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
690         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
692         [BZ #16670]
693         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
694         before #include of <time.h>.
695         [!__USE_XOPEN2K] (__need_timespec): Likewise.
696         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
697         (test-xfail-UNIX98/sched.h/conform): Likewise.
699 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
701         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
702         error absence of trapping exception support.
703         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
705 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
707         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
708         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
709         * timezone/Makefile (testdata): Move definition above include of
710         Rules.
711         (test-zones): New variable.
712         (tests-special): Add zone files.
713         (build-testdata): Use $(evaluate-test).
715         * elf/Makefile (tests-special): Rename tests to end with .out.
716         ($(objpfx)noload-mem): Likewise.
717         ($(objpfx)tst-leaks1-mem): Likewise.
718         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
719         * iconv/Makefile (xtests-special): Change test-iconvconfig to
720         $(objpfx)test-iconvconfig.out.
721         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
722         set -e inside subshell and redirect output to file.
723         * iconvdata/Makefile (generated): Rename tests to end with .out.
724         Correct type.
725         (tests-special): Rename tests to end with .out.
726         ($(objpfx)mtrace-tst-loading): Likewise.
727         * intl/Makefile (generated): Likewise.
728         (tests-special): Likewise.
729         ($(objpfx)mtrace-tst-gettext): Likewise.
730         * misc/Makefile (generated): Likewise.
731         (tests-special): Likewise.
732         ($(objpfx)tst-error1-mem): Likewise.
733         * nptl/Makefile (tests-special): Likewise.
734         ($(objpfx)tst-stack3-mem): Likewise.
735         (generated): Likewise.
736         * posix/Makefile (generated): Likewise.
737         (tests-special): Likewise.
738         (xtests-special): Likewise.
739         ($(objpfx)tst-fnmatch-mem): Likewise.
740         ($(objpfx)bug-regex2-mem): Likewise.
741         ($(objpfx)bug-regex14-mem): Likewise.
742         ($(objpfx)bug-regex21-mem): Likewise.
743         ($(objpfx)bug-regex31-mem): Likewise.
744         ($(objpfx)tst-vfork3-mem): Likewise.
745         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
746         ($(objpfx)tst-pcre-mem): Likewise.
747         ($(objpfx)tst-boost-mem): Likewise.
748         ($(objpfx)bug-ga2-mem): Likewise.
749         ($(objpfx)bug-glob2-mem): Likewise.
750         * resolv/Makefile (generate): Likewise.
751         (tests-special): Likewise.
752         (xtests-special): Likewise.
753         (generated): Likewise.
754         ($(objpfx)mtrace-tst-leaks): Likewise.
755         ($(objpfx)mtrace-tst-leaks2): Likewise.
757         * scripts/merge-test-results.sh: New file.
758         * Makefile (tests-special-notdir): New variable.
759         (tests): Run merge-test-results.sh.
760         (xtests): Likewise.
761         * Rules (tests-special-notdir): New variable.
762         (xtests-special-notdir): Likewise.
763         (tests): Run merge-test-results.sh
764         (xtests): Likewise.
766         * Makeconfig (test-xfail-name): New variable.
767         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
768         compute variable name for expected failures.
769         * conform/Makefile (conformtest-headers-data): New variable.
770         (conformtest-standards): Likewise.
771         (conformtest-headers-ISO): Likewise.
772         (conformtest-headers-ISO99): Likewise.
773         (conformtest-headers-ISO11): Likewise.
774         (conformtest-headers-POSIX): Likewise.
775         (conformtest-headers-XPG3): Likewise.
776         (conformtest-headers-XPG4): Likewise.
777         (conformtest-headers-UNIX98): Likewise.
778         (conformtest-headers-XOPEN2K): Likewise.
779         (conformtest-headers-POSIX2008): Likewise.
780         (conformtest-headers-XOPEN2K8): Likewise.
781         (conformtest-header-list-base): Likewise.
782         (conformtest-header-list-tests): Likewise.
783         (conformtest-header-base): Likewise.
784         (conformtest-header-tests): Likewise.
785         (tests-special): Add $(conformtest-header-list-tests).  If
786         [$(fast-check) && !$(cross-compiling)], add
787         $(conformtest-header-tests) instead of
788         $(objpfx)run-conformtest.out.
789         (generated): Add $(conformtest-header-list-base).  If
790         [$(fast-check) && !$(cross-compiling)], add
791         $(conformtest-header-base).  Remove previous setting.
792         ($(conformtest-header-list-tests)): New target.
793         (test-xfail-run-conformtest): Remove variable.
794         ($(objpfx)run-conformtest.out): Remove target.
795         (test-xfail-ISO11/complex.h/conform): New variable.
796         (test-xfail-ISO11/stdalign.h/conform): Likewise.
797         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
798         (test-xfail-XPG3/varargs.h/conform): Likewise.
799         (test-xfail-XPG4/varargs.h/conform): Likewise.
800         (test-xfail-UNIX98/varargs.h/conform): Likewise.
801         (test-xfail-XPG4/ndbm.h/conform): Likewise.
802         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
803         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
804         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
805         (test-xfail-XPG3/fcntl.h/conform): Likewise.
806         (test-xfail-XPG3/ftw.h/conform): Likewise.
807         (test-xfail-XPG3/grp.h/conform): Likewise.
808         (test-xfail-XPG3/langinfo.h/conform): Likewise.
809         (test-xfail-XPG3/limits.h/conform): Likewise.
810         (test-xfail-XPG3/pwd.h/conform): Likewise.
811         (test-xfail-XPG3/search.h/conform): Likewise.
812         (test-xfail-XPG3/signal.h/conform): Likewise.
813         (test-xfail-XPG3/stdio.h/conform): Likewise.
814         (test-xfail-XPG3/stdlib.h/conform): Likewise.
815         (test-xfail-XPG3/string.h/conform): Likewise.
816         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
817         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
818         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
819         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
820         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
821         (test-xfail-XPG3/sys/types.h/conform): Likewise.
822         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
823         (test-xfail-XPG3/termios.h/conform): Likewise.
824         (test-xfail-XPG3/time.h/conform): Likewise.
825         (test-xfail-XPG3/unistd.h/conform): Likewise.
826         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
827         (test-xfail-XPG4/fcntl.h/conform): Likewise.
828         (test-xfail-XPG4/langinfo.h/conform): Likewise.
829         (test-xfail-XPG4/netdb.h/conform): Likewise.
830         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
831         (test-xfail-XPG4/signal.h/conform): Likewise.
832         (test-xfail-XPG4/stdio.h/conform): Likewise.
833         (test-xfail-XPG4/stdlib.h/conform): Likewise.
834         (test-xfail-XPG4/stropts.h/conform): Likewise.
835         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
836         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
837         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
838         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
839         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
840         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
841         (test-xfail-XPG4/sys/time.h/conform): Likewise.
842         (test-xfail-XPG4/sys/types.h/conform): Likewise.
843         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
844         (test-xfail-XPG4/termios.h/conform): Likewise.
845         (test-xfail-XPG4/ucontext.h/conform): Likewise.
846         (test-xfail-XPG4/unistd.h/conform): Likewise.
847         (test-xfail-XPG4/utmpx.h/conform): Likewise.
848         (test-xfail-POSIX/sched.h/conform): Likewise.
849         (test-xfail-POSIX/signal.h/conform): Likewise.
850         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
851         (test-xfail-POSIX/tar.h/conform): Likewise.
852         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
853         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
854         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
855         (test-xfail-UNIX98/netdb.h/conform): Likewise.
856         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
857         (test-xfail-UNIX98/sched.h/conform): Likewise.
858         (test-xfail-UNIX98/signal.h/conform): Likewise.
859         (test-xfail-UNIX98/stdio.h/conform): Likewise.
860         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
861         (test-xfail-UNIX98/stropts.h/conform): Likewise.
862         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
863         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
864         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
865         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
866         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
867         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
868         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
869         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
870         (test-xfail-UNIX98/unistd.h/conform): Likewise.
871         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
872         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
873         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
874         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
875         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
876         (test-xfail-XOPEN2K/math.h/conform): Likewise.
877         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
878         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
879         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
880         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
881         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
882         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
883         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
884         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
885         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
886         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
887         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
888         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
889         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
890         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
891         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
892         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
893         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
894         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
895         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
896         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
897         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
898         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
899         (test-xfail-POSIX2008/signal.h/conform): Likewise.
900         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
901         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
902         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
903         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
904         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
905         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
906         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
907         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
908         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
909         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
910         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
911         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
912         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
913         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
914         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
915         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
916         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
917         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
918         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
919         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
920         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
921         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
922         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
923         (conformtest-cc-flags): Likewise.
924         ($(conformtest-header-tests): New target.
925         * conform/check-header-lists.sh: New file.
926         * conform/run-conformtest.sh: Remove.
928         * conform/conformtest.pl: Allow ' and \ in values given for
929         constants.
930         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
931         inclusion.
932         [POSIX] (sys/types.h): Likewise.
933         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
934         inclusion.
935         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
936         inclusion.
937         * conform/data/signal.h-data (SIGIO): Remove expectation.
938         [XPG3] (SIGBUS): Do not expect.
939         [POSIX || XPG3] (SIGPOLL): Likewise.
940         [POSIX || XPG3] (SIGPROF): Likewise.
941         [POSIX || XPG3] (SIGSYS): Likewise.
942         [XPG3] (SIGTRAP): Likewise.
943         [POSIX || XPG3] (SIGURG): Likewise.
944         [POSIX || XPG3] (SIGVTALRM): Likewise.
945         [POSIX || XPG3] (SIGXCPU): Likewise.
946         [POSIX || XPG3] (SIGXFSZ): Likewise.
947         [POSIX] (SA_SIGINFO): Expect.
948         [XPG3] (siginfo_t): Do not expect type or contents.
949         [POSIX] (si_pid): Do not expect element.
950         [POSIX] (si_uid): Likewise.
951         [POSIX] (si_addr): Likewise.
952         [POSIX] (si_status): Likewise.
953         [POSIX] (si_band): Likewise.
954         [XPG4] (si_value): Likewise.
955         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
956         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
957         [POSIX || XPG3] (ILL_ILLADR): Likewise.
958         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
959         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
960         [POSIX || XPG3] (ILL_PRVREG): Likewise.
961         [POSIX || XPG3] (ILL_COPROC): Likewise.
962         [POSIX || XPG3] (ILL_BADSTK): Likewise.
963         [POSIX || XPG3] (FPE_INTDIV): Likewise.
964         [POSIX || XPG3] (FPE_INTOVF): Likewise.
965         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
966         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
967         [POSIX || XPG3] (FPE_FLTUND): Likewise.
968         [POSIX || XPG3] (FPE_FLTRES): Likewise.
969         [POSIX || XPG3] (FPE_FLTINV): Likewise.
970         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
971         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
972         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
973         [POSIX || XPG3] (BUS_ADRALN): Likewise.
974         [POSIX || XPG3] (BUS_ADRERR): Likewise.
975         [POSIX || XPG3] (BUS_OBJERR): Likewise.
976         [POSIX || XPG3] (CLD_EXITED): Likewise.
977         [POSIX || XPG3] (CLD_KILLED): Likewise.
978         [POSIX || XPG3] (CLD_DUMPED): Likewise.
979         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
980         [POSIX || XPG3] (CLD_STOPPED): Likewise.
981         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
982         [POSIX || XPG3] (POLL_IN): Likewise.
983         [POSIX || XPG3] (POLL_OUT): Likewise.
984         [POSIX || XPG3] (POLL_MSG): Likewise.
985         [POSIX || XPG3] (POLL_ERR): Likewise.
986         [POSIX || XPG3] (POLL_PRI): Likewise.
987         [POSIX || XPG3] (POLL_HUP): Likewise.
988         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
989         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
990         (SIG*): Do not allow.
991         [XPG3] (si_*): Likewise.
992         [XPG3] (SI_*): Likewise.
993         [XPG3 || XPG4] (sigev_*): Likewise.
994         [XPG3 || XPG4] (SIGEV_*): Likewise.
995         [XPG3 || XPG4] (sival_*): Likewise.
996         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
997         [POSIX || XPG3] (BUS_*): Likewise.
998         [POSIX || XPG3] (CLD_*): Likewise.
999         [POSIX || XPG3] (FPE_*): Likewise.
1000         [POSIX || XPG3] (ILL_*): Likewise.
1001         [POSIX || XPG3] (POLL_*): Likewise.
1002         [POSIX || XPG3] (SEGV_*): Likewise.
1003         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
1004         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
1005         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
1006         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
1007         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
1008         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
1009         Specify type and value.
1010         (TVERSLEN): Likewise.
1011         (REGTYPE): Likewise.
1012         (AREGTYPE): Likewise.
1013         (LNKTYPE): Likewise.
1014         (SYMTYPE): Likewise.
1015         (CHRTYPE): Likewise.
1016         (BLKTYPE): Likewise.
1017         (DIRTYPE): Likewise.
1018         (FIFOTYPE): Likewise.
1019         (CONTTYPE): Likewise.
1020         (TSUID): Likewise.
1021         (TSGID): Likewise.
1022         (TSVTX): Likewise.
1023         (TUREAD): Likewise.
1024         (TUWRITE): Likewise.
1025         (TUEXEC): Likewise.
1026         (TGREAD): Likewise.
1027         (TGWRITE): Likewise.
1028         (TGEXEC): Likewise.
1029         (TOREAD): Likewise.
1030         (TOWRITE): Likewise.
1031         (TOEXEC): Likewise.
1032         [POSIX] (TSVTX): Expect constant.
1034 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
1036         * Makefile (tests): Change dependencies to ....
1037         (tests-special): ... additions to this variable.
1038         (tests): Depend on $(tests-special).
1039         * Makerules (check-abi-list): New variable.
1040         (check-abi): Depend on $(check-abi-list).
1041         [$(subdir) = elf] (tests-special): Add
1042         $(objpfx)check-abi-libc.out.
1043         [$(build-shared) = yes && subdir] (tests-special): Add
1044         $(check-abi-list).
1045         [$(build-shared) = yes && subdir] (tests): Do not depend on
1046         check-abi.
1047         * Rules (tests): Depend on $(tests-special).
1048         (xtests): Depend on $(xtests-special).
1049         * catgets/Makefile (tests): Change dependencies to ....
1050         (tests-special): ... additions to this variable.
1051         * conform/Makefile (tests): Change dependencies to ....
1052         (tests-special): ... additions to this variable.
1053         * elf/Makefile (tests): Change dependencies to ....
1054         (tests-special): ... additions to this variable.
1055         * grp/Makefile (tests): Change dependencies to ....
1056         (tests-special): ... additions to this variable.
1057         * iconv/Makefile (xtests): Change dependencies to ....
1058         (xtests-special): ... additions to this variable.
1059         * iconvdata/Makefile (tests): Change dependencies to ....
1060         (tests-special): ... additions to this variable.
1061         * intl/Makefile (tests): Change dependencies to ....
1062         (tests-special): ... additions to this variable.  Also add
1063         $(objpfx)tst-gettext.out.
1064         * io/Makefile (tests): Change dependencies to ....
1065         (tests-special): ... additions to this variable.
1066         * libio/Makefile (tests): Change dependencies to ....
1067         (tests-special): ... additions to this variable.
1068         * malloc/Makefile (tests): Change dependencies to ....
1069         (tests-special): ... additions to this variable.
1070         * misc/Makefile (tests): Change dependencies to ....
1071         (tests-special): ... additions to this variable.
1072         * nptl/Makefile (tests): Change dependencies to ....
1073         (tests-special): ... additions to this variable.
1074         * nptl_db/Makefile (tests): Change dependencies to ....
1075         (tests-special): ... additions to this variable.
1076         * posix/Makefile (tests): Change dependencies to ....
1077         (tests-special): ... additions to this variable.
1078         (xtests): Change dependencies to ....
1079         (xtests-special): ... additions to this variable.
1080         * resolv/Makefile (tests): Change dependencies to ....
1081         (tests-special): ... additions to this variable.
1082         (xtests): Change dependencies to ....
1083         (xtests-special): ... additions to this variable.
1084         * stdio-common/Makefile (tests): Change dependencies to ....
1085         (tests-special): ... additions to this variable.
1086         (do-tst-unbputc): Remove target.
1087         (do-tst-printf): Likewise.
1088         * stdlib/Makefile (tests): Change dependencies to ....
1089         (tests-special): ... additions to this variable.
1090         * string/Makefile (tests): Change dependencies to ....
1091         (tests-special): ... additions to this variable.
1092         * sysdeps/x86/Makefile (tests): Change dependencies to ....
1093         (tests-special): ... additions to this variable.
1095         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
1096         whole file.
1097         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
1098         whole file.
1099         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
1100         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
1102         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
1103         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
1104         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
1105         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
1106         * conform/data/libgen.h-data [XPG3]: Likewise.
1107         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
1108         * conform/data/ndbm.h-data [XPG3]: Likewise.
1109         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1110         * conform/data/netdb.h-data [XPG3]: Likewise.
1111         * conform/data/netinet/in.h-data [XPG3]: Likewise.
1112         * conform/data/poll.h-data [XPG3]: Likewise.
1113         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
1114         * conform/data/strings.h-data [XPG3]: Likewise.
1115         * conform/data/stropts.h-data [XPG3]: Likewise.
1116         * conform/data/sys/mman.h-data [XPG3]: Likewise.
1117         * conform/data/sys/resource.h-data [XPG3]: Likewise.
1118         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
1119         Likewise.
1120         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
1121         * conform/data/sys/time.h-data [XPG3]: Likewise.
1122         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
1123         * conform/data/sys/uio.h-data [XPG3]: Likewise.
1124         * conform/data/sys/un.h-data [XPG3]: Likewise.
1125         * conform/data/syslog.h-data [XPG3]: Likewise.
1126         * conform/data/ucontext.h-data [XPG3]: Likewise.
1127         * conform/data/utmpx.h-data [XPG3]: Likewise.
1128         * conform/data/varargs.h-data [UNIX98]: Enable file.
1130         * manual/Makefile (INSTALL_INFO): Remove variable setting.
1132         * math/libm-test.inc (struct test_f_f_data): Move expected results
1133         into structure for each rounding mode.
1134         (struct test_ff_f_data): Likewise.
1135         (struct test_ff_f_data_nexttoward): Likewise.
1136         (struct test_fi_f_data): Likewise.
1137         (struct test_fl_f_data): Likewise.
1138         (struct test_if_f_data): Likewise.
1139         (struct test_fff_f_data): Likewise.
1140         (struct test_c_f_data): Likewise.
1141         (struct test_f_f1_data): Likewise.
1142         (struct test_fF_f1_data): Likewise.
1143         (struct test_ffI_f1_data): Likewise.
1144         (struct test_c_c_data): Likewise.
1145         (struct test_cc_c_data): Likewise.
1146         (struct test_f_i_data): Likewise.
1147         (struct test_ff_i_data): Likewise.
1148         (struct test_f_l_data): Likewise.
1149         (struct test_f_L_data): Likewise.
1150         (struct test_fFF_11_data): Likewise.
1151         (RM_): New macro.
1152         (RM_FE_DOWNWARD): Likewise.
1153         (RM_FE_TONEAREST): Likewise.
1154         (RM_FE_TOWARDZERO): Likewise.
1155         (RM_FE_UPWARD): Likewise.
1156         (RUN_TEST_LOOP_f_f): Update references to expected results.
1157         (RUN_TEST_LOOP_2_f): Likewise.
1158         (RUN_TEST_LOOP_fff_f): Likewise.
1159         (RUN_TEST_LOOP_c_f): Likewise.
1160         (RUN_TEST_LOOP_f_f1): Likewise.
1161         (RUN_TEST_LOOP_fF_f1): Likewise.
1162         (RUN_TEST_LOOP_fI_f1): Likewise.
1163         (RUN_TEST_LOOP_ffI_f1): Likewise.
1164         (RUN_TEST_LOOP_c_c): Likewise.
1165         (RUN_TEST_LOOP_cc_c): Likewise.
1166         (RUN_TEST_LOOP_f_i): Likewise.
1167         (RUN_TEST_LOOP_f_i_tg): Likewise.
1168         (RUN_TEST_LOOP_ff_i_tg): Likewise.
1169         (RUN_TEST_LOOP_f_b): Likewise.
1170         (RUN_TEST_LOOP_f_b_tg): Likewise.
1171         (RUN_TEST_LOOP_f_l): Likewise.
1172         (RUN_TEST_LOOP_f_L): Likewise.
1173         (RUN_TEST_LOOP_fFF_11): Likewise.
1174         * math/gen-libm-test.pl (parse_args): Output four copies of
1175         expected results for each test.
1177         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1178         (__ASSUME_UTIMES): Remove.
1179         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1180         (__ASSUME_UTIMES): Likewise.
1182         * math/gen-auto-libm-tests.c: Update comment on output format.
1183         (output_for_one_input_case): Generate before-rounding and
1184         after-rounding information as conditions on output flags not
1185         floating-point format.
1186         * math/auto-libm-test-out: Regenerated.
1187         * math/gen-libm-test.pl (cond_value): New function.
1188         (or_cond_value): Use cond_value.
1189         (generate_testfile): Handle conditional exceptions.
1191 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
1193         * math/libm-test.inc (max_valid_error): New variable.
1194         (init_max_error): Take new argument specifying whether function
1195         results are exactly determined.  Set max_valid_error and bound
1196         other variables for errors based on this argument.
1197         (set_max_error): Do not record results above max_valid_error.
1198         (check_float_internal): Only accept errors of up to 0.5ulps if
1199         also at most max_valid_error.
1200         (START): Take new argument EXACT and pass it to init_max_error.
1201         (acos_test): Update call to START.
1202         (acos_test_tonearest): Likewise.
1203         (acos_test_towardzero): Likewise.
1204         (acos_test_downward): Likewise.
1205         (acos_test_upward): Likewise.
1206         (acosh_test): Likewise.
1207         (asin_test): Likewise.
1208         (asin_test_tonearest): Likewise.
1209         (asin_test_towardzero): Likewise.
1210         (asin_test_downward): Likewise.
1211         (asin_test_upward): Likewise.
1212         (asinh_test): Likewise.
1213         (atan_test): Likewise.
1214         (atanh_test): Likewise.
1215         (atan2_test): Likewise.
1216         (cabs_test): Likewise.
1217         (cacos_test): Likewise.
1218         (cacosh_test): Likewise.
1219         (carg_test): Likewise.
1220         (casin_test): Likewise.
1221         (casinh_test): Likewise.
1222         (catan_test): Likewise.
1223         (catanh_test): Likewise.
1224         (cbrt_test): Likewise.
1225         (ccos_test): Likewise.
1226         (ccosh_test): Likewise.
1227         (ceil_test): Likewise.
1228         (cexp_test): Likewise.
1229         (cimag_test): Likewise.
1230         (clog_test): Likewise.
1231         (clog10_test): Likewise.
1232         (conj_test): Likewise.
1233         (copysign_test): Likewise.
1234         (cos_test): Likewise.
1235         (cos_test_tonearest): Likewise.
1236         (cos_test_towardzero): Likewise.
1237         (cos_test_downward): Likewise.
1238         (cos_test_upward): Likewise.
1239         (cosh_test): Likewise.
1240         (cosh_test_tonearest): Likewise.
1241         (cosh_test_towardzero): Likewise.
1242         (cosh_test_downward): Likewise.
1243         (cosh_test_upward): Likewise.
1244         (cpow_test): Likewise.
1245         (cproj_test): Likewise.
1246         (creal_test): Likewise.
1247         (csin_test): Likewise.
1248         (csinh_test): Likewise.
1249         (csqrt_test): Likewise.
1250         (ctan_test): Likewise.
1251         (ctan_test_tonearest): Likewise.
1252         (ctan_test_towardzero): Likewise.
1253         (ctan_test_downward): Likewise.
1254         (ctan_test_upward): Likewise.
1255         (ctanh_test): Likewise.
1256         (ctanh_test_tonearest): Likewise.
1257         (ctanh_test_towardzero): Likewise.
1258         (ctanh_test_downward): Likewise.
1259         (ctanh_test_upward): Likewise.
1260         (erf_test): Likewise.
1261         (erfc_test): Likewise.
1262         (exp_test): Likewise.
1263         (exp_test_tonearest): Likewise.
1264         (exp_test_towardzero): Likewise.
1265         (exp_test_downward): Likewise.
1266         (exp_test_upward): Likewise.
1267         (exp10_test): Likewise.
1268         (exp10_test_tonearest): Likewise.
1269         (exp10_test_towardzero): Likewise.
1270         (exp10_test_downward): Likewise.
1271         (exp10_test_upward): Likewise.
1272         (pow10_test): Likewise.
1273         (exp2_test): Likewise.
1274         (expm1_test): Likewise.
1275         (expm1_test_tonearest): Likewise.
1276         (expm1_test_towardzero): Likewise.
1277         (expm1_test_downward): Likewise.
1278         (expm1_test_upward): Likewise.
1279         (fabs_test): Likewise.
1280         (fdim_test): Likewise.
1281         (floor_test): Likewise.
1282         (fma_test): Likewise.
1283         (fma_test_towardzero): Likewise.
1284         (fma_test_downward): Likewise.
1285         (fma_test_upward): Likewise.
1286         (fmax_test): Likewise.
1287         (fmin_test): Likewise.
1288         (fmod_test): Likewise.
1289         (fpclassify_test): Likewise.
1290         (frexp_test): Likewise.
1291         (hypot_test): Likewise.
1292         (ilogb_test): Likewise.
1293         (isfinite_test): Likewise.
1294         (finite_test): Likewise.
1295         (isgreater_test): Likewise.
1296         (isgreaterequal_test): Likewise.
1297         (isinf_test): Likewise.
1298         (isless_test): Likewise.
1299         (islessequal_test): Likewise.
1300         (islessgreater_test): Likewise.
1301         (isnan_test): Likewise.
1302         (isnormal_test): Likewise.
1303         (issignaling_test): Likewise.
1304         (isunordered_test): Likewise.
1305         (j0_test): Likewise.
1306         (j1_test): Likewise.
1307         (jn_test): Likewise.
1308         (ldexp_test): Likewise.
1309         (lgamma_test): Likewise.
1310         (gamma_test): Likewise.
1311         (lrint_test): Likewise.
1312         (lrint_test_tonearest): Likewise.
1313         (lrint_test_towardzero): Likewise.
1314         (lrint_test_downward): Likewise.
1315         (lrint_test_upward): Likewise.
1316         (llrint_test): Likewise.
1317         (llrint_test_tonearest): Likewise.
1318         (llrint_test_towardzero): Likewise.
1319         (llrint_test_downward): Likewise.
1320         (llrint_test_upward): Likewise.
1321         (log_test): Likewise.
1322         (log10_test): Likewise.
1323         (log1p_test): Likewise.
1324         (log2_test): Likewise.
1325         (logb_test): Likewise.
1326         (logb_test_downward): Likewise.
1327         (lround_test): Likewise.
1328         (llround_test): Likewise.
1329         (modf_test): Likewise.
1330         (nearbyint_test): Likewise.
1331         (nextafter_test): Likewise.
1332         (nexttoward_test): Likewise.
1333         (pow_test): Likewise.
1334         (pow_test_tonearest): Likewise.
1335         (pow_test_towardzero): Likewise.
1336         (pow_test_downward): Likewise.
1337         (pow_test_upward): Likewise.
1338         (remainder_test): Likewise.
1339         (drem_test): Likewise.
1340         (remainder_test_tonearest): Likewise.
1341         (drem_test_tonearest): Likewise.
1342         (remainder_test_towardzero): Likewise.
1343         (drem_test_towardzero): Likewise.
1344         (remainder_test_downward): Likewise.
1345         (drem_test_downward): Likewise.
1346         (remainder_test_upward): Likewise.
1347         (drem_test_upward): Likewise.
1348         (remquo_test): Likewise.
1349         (rint_test): Likewise.
1350         (rint_test_tonearest): Likewise.
1351         (rint_test_towardzero): Likewise.
1352         (rint_test_downward): Likewise.
1353         (rint_test_upward): Likewise.
1354         (round_test): Likewise.
1355         (scalb_test): Likewise.
1356         (scalbn_test): Likewise.
1357         (scalbln_test): Likewise.
1358         (signbit_test): Likewise.
1359         (sin_test): Likewise.
1360         (sin_test_tonearest): Likewise.
1361         (sin_test_towardzero): Likewise.
1362         (sin_test_downward): Likewise.
1363         (sin_test_upward): Likewise.
1364         (sincos_test): Likewise.
1365         (sinh_test): Likewise.
1366         (sinh_test_tonearest): Likewise.
1367         (sinh_test_towardzero): Likewise.
1368         (sinh_test_downward): Likewise.
1369         (sinh_test_upward): Likewise.
1370         (sqrt_test): Likewise.
1371         (sqrt_test_tonearest): Likewise.
1372         (sqrt_test_towardzero): Likewise.
1373         (sqrt_test_downward): Likewise.
1374         (sqrt_test_upward): Likewise.
1375         (tan_test): Likewise.
1376         (tan_test_tonearest): Likewise.
1377         (tan_test_towardzero): Likewise.
1378         (tan_test_downward): Likewise.
1379         (tan_test_upward): Likewise.
1380         (tanh_test): Likewise.
1381         (tgamma_test): Likewise.
1382         (trunc_test): Likewise.
1383         (y0_test): Likewise.
1384         (y1_test): Likewise.
1385         (yn_test): Likewise.
1386         (significand_test): Likewise.
1388         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
1389         individual tests in comment.
1390         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
1391         (prev_max_error): New variable.
1392         (prev_real_max_error): Likewise.
1393         (prev_imag_max_error): Likewise.
1394         (compare_ulp_data): Don't refer to test names in comment.
1395         (find_test_ulps): Remove function.
1396         (find_function_ulps): Likewise.
1397         (find_complex_function_ulps): Likewise.
1398         (init_max_error): Take function name as argument.  Look up ulps
1399         for that function.
1400         (print_ulps): Remove function.
1401         (print_max_error): Use prev_max_error instead of calling
1402         find_function_ulps.
1403         (print_complex_max_error): Use prev_real_max_error and
1404         prev_imag_max_error instead of calling find_complex_function_ulps.
1405         (check_float_internal): Take max_ulp parameter instead of calling
1406         find_test_ulps.  Don't call print_ulps.
1407         (check_float): Update call to check_float_internal.
1408         (check_complex): Update calls to check_float_internal.
1409         (START): Pass argument to init_max_error.
1410         * math/gen-libm-test.pl (%results): Don't include "kind"
1411         information.
1412         (parse_ulps): Don't handle ulps of individual tests.
1413         (print_ulps_file): Likewise.
1414         (output_ulps): Likewise.
1415         * math/README.libm-test: Update.
1416         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
1417         individual tests.
1418         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
1419         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
1420         * sysdeps/arm/libm-test-ulps: Likewise.
1421         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1422         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
1423         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
1424         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
1425         * sysdeps/microblaze/libm-test-ulps: Likewise.
1426         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
1427         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
1428         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
1429         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
1430         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
1431         * sysdeps/sh/libm-test-ulps: Likewise.
1432         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
1433         * sysdeps/tile/libm-test-ulps: Likewise.
1434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1436 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
1438         * math/libm-test.inc (print_complex_max_error): Check separately
1439         whether real and imaginary errors are within allowed range and
1440         pass 0 to print_complex_function_ulps instead of value within
1441         allowed range.
1443 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1445         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
1446         formatting.
1447         (get_handles_fopen): Likewise.
1448         (do_write_test): Likewise.
1450         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
1452         * libio/fileops.c (do_ftell): Use cached offset when
1453         available.
1454         * libio/iofwide.c (do_ftell_wide): Likewise.
1455         * libio/iofdopen.c (_IO_new_fdopen): Don't use
1456         _IO_file_attach.
1457         * libio/wfileops.c (_IO_fwide): Don't cache offset.
1459         [BZ #16532]
1460         * libio/libioP.h (get_file_offset): New function.
1461         * libio/fileops.c (get_file_offset): Likewise.
1462         (do_ftell): Likewise.
1463         (_IO_new_file_seekoff): Split out ftell logic.
1464         * libio/wfileops.c (do_ftell_wide): Likewise.
1465         (_IO_wfile_seekoff): Split out ftell logic.
1466         * libio/tst-ftell-active-handler.c: New test case.
1467         * libio/Makefile (tests): Add it.
1469 2014-03-03  Roland McGrath  <roland@hack.frob.com>
1471         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
1472         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
1474 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1476         [BZ #16639]
1477         * nscd/connections.c (nscd_init): Call do_exit.
1478         (start_threads): Call do_exit and notify_parent.
1479         (begin_drop_privileges): Call do_exit.
1480         (finish_drop_privileges): Likewise.
1481         * nscd/selinux.c (preserve_capabilities): Likewise.
1482         (install_real_capabilities): Likewise.
1483         (nscd_selinux_enabled): Likewise.
1484         (avc_create_thread): Likewise.
1485         (avc_alloc_lock): Likewise.
1486         (nscd_avc_init): Likewise.
1487         * nscd/nscd.c (parent_fd): New static variable.
1488         (main): Create a pipe between parent and child processes.
1489         Skip closing parent_fd.
1490         (monitor_child): New function.
1491         (do_exit): Likewise.
1492         (notify_parent): Likewise.
1493         * nscd/nscd.h (notify_parent): Likewise.
1494         (do_exit): Likewise.
1496 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
1498         * malloc/malloc.c (__libc_calloc): Revert last change.
1500 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1504 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1506         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
1507         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
1508         implementation.
1509         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1510         (__libc_ifunc_impl_list): Likewise.
1511         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
1512         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
1513         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
1514         * string/strrchr.c: Define STRRCHR.
1516 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
1518         * benchtest/bench-strtok.c (simple_strtok): Delete.
1519         (strtok_string): Use as benchmark.
1520         * string/strtok (STRTOK): New macro.
1522 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
1524         * manual/threads.texi: Add header and standard comments to all
1525         functions.
1527         * elf/dl-lookup.c (check_match): New function.
1528         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
1529         (do_lookup_x): Remove nested function check_match. Use non-nested
1530         function check_match.
1532 2014-02-28  Roland McGrath  <roland@hack.frob.com>
1534         * csu/Makefile (generated, before-compile): Use += rather than =.
1535         * catgets/Makefile (generated, generated-dirs): Likewise.
1536         * debug/Makefile (generated): Likewise.
1537         * dlfcn/Makefile (generated): Likewise.
1538         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
1539         * iconvdata/Makefile (before-compile, generated): Likewise.
1540         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
1541         * libio/Makefile (generated): Likewise.
1542         * malloc/Makefile (generated): Likewise.
1543         * manual/Makefile (generated, generated-dirs): Likewise.
1544         * misc/Makefile (generated): Likewise.
1545         * posix/Makefile (generated): Likewise.
1546         * resolv/Makefile (generated): Likewise.
1547         * sunrpc/Makefile (generated, generated-dirs): Likewise.
1548         * timezone/Makefile (generated, generated-dirs): Likewise.
1550         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
1552 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
1555         implementation.
1556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
1557         POWER8 llround ifunc implementation.
1558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
1559         POWER8 implementation.
1560         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
1561         POWER8 llround implementation.
1563 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
1566         implementation.
1567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
1568         POWER8 llrint ifunc implementation.
1569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
1570         POWER8 implementation.
1571         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
1572         POWER8 llrint implementation.
1574 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
1577         implementation.
1578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
1579         POWER8 finite ifunc implementation.
1580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
1581         POWER8 implementation.
1582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
1583         Likewise.
1584         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
1585         POWER8 finite implementation.
1586         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
1588 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1590         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
1591         implementation.
1592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
1593         POWER8 isinf ifunc implementation.
1594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
1595         POWER8 implementation.
1596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
1597         Likewise.
1598         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
1599         POWER8 isinf implementation.
1600         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
1602 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1604         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
1605         Add hwcap2 initialization.
1606         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
1607         implementation.
1608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
1609         POWER8 isnan ifunc implementation.
1610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
1611         POWER8 implementation.
1612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
1613         Likewise.
1614         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
1615         POWER8 isnan implementation.
1616         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
1618 2014-02-27  Joey Ye  <joey.ye@arm.com>
1620         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
1621         (_FP_NANFRAC_Q): Set to zero.
1623 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1625         [BZ #16623]
1626         * math/auto-libm-test-in: New test inputs.
1627         * math/auto-libm-test-out: Regenerate.
1628         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
1629         and DA.
1630         (__cos): Likewise.
1631         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
1633 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
1635         * scripts/evaluate-test.sh: Take new argument indicating whether
1636         failure is expected.
1637         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
1638         indicating whether failure is expected.
1639         * conform/Makefile (test-xfail-run-conformtest): New variable.
1640         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
1641         level.
1642         * posix/Makefile (test-xfail-annexc): New variable.
1643         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
1645 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
1647         * argp/Makefile: Include Makeconfig immediately after defining
1648         subdir.
1649         * assert/Makefile: Likewise.
1650         * benchtests/Makefile: Likewise.
1651         * catgets/Makefile: Likewise.
1652         * conform/Makefile: Likewise.
1653         * crypt/Makefile: Likewise.
1654         * csu/Makefile: Likewise.
1655         (all): Remove target.
1656         * ctype/Makefile: Include Makeconfig immediately after defining
1657         subdir.
1658         * debug/Makefile: Likewise.
1659         * dirent/Makefile: Likewise.
1660         * dlfcn/Makefile: Likewise.
1661         * gmon/Makefile: Likewise.
1662         * gnulib/Makefile: Likewise.
1663         * grp/Makefile: Likewise.
1664         * gshadow/Makefile: Likewise.
1665         * hesiod/Makefile: Likewise.
1666         * hurd/Makefile: Likewise.
1667         (all): Remove target.
1668         * iconvdata/Makefile: Include Makeconfig immediately after
1669         defining subdir.
1670         * inet/Makefile: Likewise.
1671         * intl/Makefile: Likewise.
1672         * io/Makefile: Likewise.
1673         * libio/Makefile: Likewise.
1674         (all): Remove target.
1675         * locale/Makefile: Include Makeconfig immediately after defining
1676         subdir.
1677         * login/Makefile: Likewise.
1678         * mach/Makefile: Likewise.
1679         (all): Remove target.
1680         * malloc/Makefile: Include Makeconfig immediately after defining
1681         subdir.
1682         (all): Remove target.
1683         * manual/Makefile: Include Makeconfig immediately after defining
1684         subdir.
1685         * math/Makefile: Likewise.
1686         * misc/Makefile: Likewise.
1687         * nis/Makefile: Likewise.
1688         * nss/Makefile: Likewise.
1689         * po/Makefile: Likewise.
1690         (all): Remove target.
1691         * posix/Makefile: Include Makeconfig immediately after defining
1692         subdir.
1693         * pwd/Makefile: Likewise.
1694         * resolv/Makefile: Likewise.
1695         * resource/Makefile: Likewise.
1696         * rt/Makefile: Likewise.
1697         * setjmp/Makefile: Likewise.
1698         * shadow/Makefile: Likewise.
1699         * signal/Makefile: Likewise.
1700         * socket/Makefile: Likewise.
1701         * soft-fp/Makefile: Likewise.
1702         * stdio-common/Makefile: Likewise.
1703         * stdlib/Makefile: Likewise.
1704         * streams/Makefile: Likewise.
1705         * string/Makefile: Likewise.
1706         * sunrpc/Makefile: Likewise.
1707         (all): Remove target.
1708         * sysvipc/Makefile: Include Makeconfig immediately after defining
1709         subdir.
1710         * termios/Makefile: Likewise.
1711         * time/Makefile: Likewise.
1712         * timezone/Makefile: Likewise.
1713         (all): Remove target.
1714         * wcsmbs/Makefile: Include Makeconfig immediately after defining
1715         subdir.
1716         * wctype/Makefile: Likewise.
1718 2014-02-26  Steve Ellcey  <sellcey@mips.com>
1720         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
1721         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
1722         (libc_feholdexcept_setround_mips): Ditto.
1723         (libc_feholdsetround): New.
1724         (libc_feholdsetroundf): New.
1725         (libc_feholdsetroundl): New.
1726         (libc_feupdateenv_test_mips): New.
1727         (libc_feupdateenv_test): New.
1728         (libc_feupdateenv_testf): New.
1729         (libc_feupdateenv_testl): New.
1730         (libc_feresetround): New.
1731         (libc_feresetroundf): New.
1732         (libc_feresetroundl): New.
1733         (libc_fetestexcept_mips): New.
1734         (libc_fetestexcept): New.
1735         (libc_fetestexceptf): New.
1736         (libc_fetestexceptl): New.
1737         (HAVE_RM_CTX): New.
1738         (libc_feholdexcept_setround_mips_ctx): New.
1739         (libc_feholdexcept_setround_ctx): New.
1740         (libc_feholdexcept_setroundf_ctx): New.
1741         (libc_feholdexcept_setroundl_ctx): New.
1742         (libc_fesetenv_mips_ctx): New.
1743         (libc_fesetenv_ctx): New.
1744         (libc_fesetenv_ctxf): New.
1745         (libc_fesetenv_ctxl): New.
1746         (libc_feupdateenv_mips_ctx): New.
1747         (libc_feupdateenv_ctx): New.
1748         (libc_feupdateenvf_ctx): New.
1749         (libc_feupdateenvl_ctx): New.
1750         (libc_feholdsetround_mips_ctx): New.
1751         (libc_feholdsetround_ctx): New.
1752         (libc_feholdsetroundf_ctx): New.
1753         (libc_feholdsetroundl_ctx): New.
1754         (libc_feresetround_mips_ctx): New.
1755         (libc_feresetround_ctx): New.
1756         (libc_feresetroundf_ctx): New.
1757         (libc_feresetroundl_ctx): New.
1759 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
1761         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
1763         * manual/ipc.texi: New file.
1764         * manual/Makefile (chapters): Add ipc.
1765         * manual/job.texi: Add "Inter-Process Communication" to next.
1766         * manual/process.texi: Add "Inter-Process Communication" to prev.
1768 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1772 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
1774         * malloc/malloc.c (__libc_calloc): Simplify implementation.
1776         * manual/arith.texi: Fix spaces after sentences.
1777         * manual/charset.texi: Likewise.
1778         * manual/errno.texi: Likewise.
1779         * manual/install.texi: Likewise.
1780         * manual/llio.texi: Likewise.
1781         * manual/locale.texi: Likewise.
1782         * manual/maint.texi: Likewise.
1783         * manual/math.texi: Likewise.
1784         * manual/memory.texi: Likewise.
1785         * manual/message.texi: Likewise.
1786         * manual/probes.texi: Likewise.
1787         * manual/resource.texi: Likewise.
1788         * manual/signal.texi: Likewise.
1789         * manual/socket.texi: Likewise.
1790         * manual/stdio.texi: Likewise.
1791         * manual/string.texi: Likewise.
1792         * manual/time.texi: Likewise.
1793         * manual/users.texi: Likewise.
1795 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
1797         [BZ #16632]
1798         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
1799         _DEFAULT_SOURCE is defined.
1801 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
1802             Carlos O'Donell  <carlos@redhat.com>
1804         [BZ #16613]
1805         * elf/dl-tls.c (_dl_count_modids): New function.
1806         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
1807         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
1808         audit library and increment generation counter.
1809         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
1810         * elf/tst-audit9.c: New file.
1811         * elf/tst-auditmod9a.c: New file.
1812         * elf/tst-auditmod9b.c: New file.
1813         * elf/Makefile: Add rules to build and run tst-audit9.
1815 2014-02-25  Florian Weimer  <fweimer@redhat.com>
1817         [BZ #15347]
1818         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
1820 2014-02-25  Will Newton  <will.newton@linaro.org>
1822         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
1823         (__longjmp): Restore sp and lr before restoring callee
1824         saved registers.  Add longjmp and longjmp_target
1825         SystemTap probe point.
1826         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
1827         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
1828         Define to zero to match jmpbuf layout.
1829         * sysdeps/arm/setjmp.S: Include stap-probe.h.
1830         (__sigsetjmp): Save sp and lr before saving callee
1831         saved registers.  Add setjmp SystemTap probe point.
1833 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
1835         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1837 2014-02-24  Andreas Schwab  <schwab@suse.de>
1839         [BZ #15804]
1840         * elf/pldd.c (wait_for_ptrace_stop): New function.
1841         (main): Call it after attaching.
1843 2014-02-22  Roland McGrath  <roland@hack.frob.com>
1845         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
1846         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
1847         Versions files is now verboten.
1848         * hurd/Versions (libc: GLIBC_2.0):
1849         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
1850         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
1851         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
1852         * mach/Versions: Likewise.
1854         * csu/Versions: Remove unused %include.
1855         * resolv/Versions: Likewise.
1857 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
1859         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
1860         ($(objpfx)check-local-headers.out): Likewise.
1861         ($(objpfx)begin-end-check.out): Likewise.
1862         * Makerules (check-abi-%.out): Likewise.
1863         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
1864         ($(objpfx)test2.cat): Likewise.
1865         ($(objpfx)de/libc.cat): Likewise.
1866         ($(objpfx)test-gencat.out): Likewise.
1867         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
1868         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
1869         ($(objpfx)noload-mem): Likewise.
1870         ($(objpfx)tst-pathopt.out): Likewise.
1871         ($(objpfx)tst-rtld-load-self.out): Likewise.
1872         ($(objpfx)tst-array1-cmp.out): Likewise.
1873         ($(objpfx)tst-array1-static-cmp.out): Likewise.
1874         ($(objpfx)tst-array2-cmp.out): Likewise.
1875         ($(objpfx)tst-array3-cmp.out): Likewise.
1876         ($(objpfx)tst-array4-cmp.out): Likewise.
1877         ($(objpfx)tst-array5-cmp.out): Likewise.
1878         ($(objpfx)tst-array5-static-cmp.out): Likewise.
1879         ($(objpfx)check-textrel.out): Likewise.
1880         ($(objpfx)check-execstack.out): Likewise.
1881         ($(objpfx)check-localplt.out): Likewise.
1882         ($(objpfx)order2-cmp.out): Likewise.
1883         ($(objpfx)tst-leaks1-mem): Likewise.
1884         ($(objpfx)tst-leaks1-static-mem): Likewise.
1885         ($(objpfx)tst-initorder-cmp.out): Likewise.
1886         ($(objpfx)tst-initorder2-cmp.out): Likewise.
1887         ($(objpfx)tst-unused-dep.out): Likewise.
1888         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
1889         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
1890         * iconv/Makefile (test-iconvconfig): Likewise.
1891         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
1892         ($(objpfx)iconv-test.out): Likewise.
1893         ($(objpfx)tst-tables.out): Likewise.
1894         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
1895         ($(objpfx)tst-gettext.out): Likewise.
1896         ($(objpfx)tst-translit.out): Likewise.
1897         ($(objpfx)tst-gettext2.out): Likewise.
1898         ($(objpfx)tst-gettext4.out): Likewise.
1899         ($(objpfx)tst-gettext6.out): Likewise.
1900         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
1901         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
1902         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
1903         ($(objpfx)tst-fopenloc-mem.out): Likewise.
1904         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
1905         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
1906         * posix/Makefile ($(objpfx)globtest.out): Likewise.
1907         ($(objpfx)wordexp-tst.out): Likewise.
1908         ($(objpfx)annexc.out): Likewise.
1909         ($(objpfx)tst-fnmatch-mem): Likewise.
1910         ($(objpfx)bug-regex2-mem): Likewise.
1911         ($(objpfx)bug-regex14-mem): Likewise.
1912         ($(objpfx)bug-regex21-mem): Likewise.
1913         ($(objpfx)bug-regex31-mem): Likewise.
1914         ($(objpfx)tst-vfork3-mem): Likewise.
1915         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1916         ($(objpfx)tst-pcre-mem): Likewise.
1917         ($(objpfx)tst-boost-mem): Likewise.
1918         ($(objpfx)tst-getconf.out): Likewise.
1919         ($(objpfx)bug-ga2-mem): Likewise.
1920         ($(objpfx)bug-glob2-mem): Likewise.
1921         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
1922         ($(objpfx)mtrace-tst-leaks2): Likewise.
1923         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
1924         ($(objpfx)tst-printf.out): Likewise.
1925         ($(objpfx)tst-setvbuf1.out): Likewise.
1926         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
1927         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
1928         ($(objpfx)tst-fmtmsg.out): Likewise.
1929         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
1930         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
1932         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
1933         * bits/sigaction.h [__USE_MISC]: Likewise.
1934         * bits/waitstatus.h: Update #endif comments.
1935         * ctype/ctype.h: Likewise.
1936         * dirent/dirent.h: Likewise.
1937         [__USE_MISC]: Remove redundant conditionals.
1938         * grp/grp.h: Update #endif comments.
1939         [__USE_GNU]: Remove redundant conditionals.
1940         [__USE_MISC]: Likewise.
1941         * inet/netinet/in.h [__USE_GNU]: Likewise.
1942         * io/sys/stat.h [__USE_MISC]: Likewise.
1943         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
1944         * libio/bits/stdio.h: Update #endif comments.
1945         [__USE_MISC]: Remove redundant conditionals.
1946         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
1947         * libio/stdio.h: Update #endif comments.
1948         [__USE_MISC]: Remove redundant conditionals.
1949         * math/bits/math-finite.h [__USE_MISC]: Likewise.
1950         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
1951         * math/math.h: Update #else and #endif comments.
1952         [__USE_MISC]: Remove redundant conditionals.
1953         * misc/sys/uio.h: Update #endif comments.
1954         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
1955         * posix/glob.h [__USE_MISC]: Likewise.
1956         * posix/sys/types.h: Update #endif comments.
1957         [__USE_MISC]: Remove redundant conditionals.
1958         * posix/sys/wait.h: Update #endif comments.
1959         [__USE_MISC]: Remove redundant conditionals.
1960         * posix/unistd.h: Update #endif comments.
1961         [__USE_MISC]: Remove redundant conditionals.
1962         * pwd/pwd.h [__USE_GNU]: Likewise.
1963         [__USE_MISC]: Likewise.
1964         * resolv/netdb.h [__USE_GNU]: Likewise.
1965         * signal/signal.h: Update #endif comments.
1966         [__USE_MISC]: Remove redundant conditionals.
1967         * stdlib/stdlib.h: Update #else and #endif comments.
1968         [__USE_MISC]: Remove redundant conditionals.
1969         [__USE_GNU]: Likewise.
1970         * string/bits/string2.h [__USE_MISC]: Likewise.
1971         * string/string.h: Update #endif comments.
1972         [__USE_MISC]: Remove redundant conditionals.
1973         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
1974         Likewise.
1975         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
1976         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
1977         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
1980         Likewise.
1981         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
1982         comments.
1983         [__USE_MISC]: Remove redundant conditionals.
1984         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
1985         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
1986         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
1987         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
1988         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
1989         Likewise.
1990         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
1991         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
1992         Likewise.
1993         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
1994         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
1995         Likewise.
1996         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
1997         Likewise.
1998         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
1999         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
2000         Likewise.
2001         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
2002         Likewise.
2003         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
2004         * sysdeps/x86/bits/string.h: Update #endif comments.
2005         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
2006         conditionals.
2007         * time/sys/time.h: Update #endif comments.
2008         * time/time.h: Likewise.
2009         [__USE_MISC]: Remove redundant conditionals.
2011 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
2013         [BZ #16600]
2014         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
2016 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
2018         * Versions.def (librt): Add GLIBC_2.17.
2020 2014-02-21  Adam Conrad  <adconrad@0c3.net>
2022         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
2023         synonym for _SYS_AUXV_H to allow direct inclusion.
2024         * sysdeps/sparc/bits/hwcap.h: Likewise.
2025         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
2026         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
2027         * sysdeps/sparc/sysdep.h: Likewise.
2029 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2031         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
2033 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2035         * benchtests/bench-strrchr.c: Print length instead of position.
2037 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
2039         [BZ #16611]
2040         * sysdeps/unix/sysv/linux/kernel-features.h
2041         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
2042         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
2043         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
2044         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
2045         Likewise.
2046         [__i386__ || __powerpc__ || __sh__ || __sparc__]
2047         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2048         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
2049         (__ASSUME_SENDMMSG): Define instead of using previous
2050         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
2051         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2052         (__ASSUME_SENDMMSG_SYSCALL): Define.
2053         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2054         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
2055         Likewise.
2056         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2057         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2058         Likewise.
2059         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2060         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2061         Likewise.
2062         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
2063         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2064         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2065         [__ASSUME_SENDMMSG]: Change conditionals to
2066         [__ASSUME_SENDMMSG_SOCKETCALL].
2067         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2068         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
2069         Define.
2070         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2071         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
2072         Likewise.
2073         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
2074         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
2075         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
2076         [!__ASSUME_SENDMMSG]: Change conditional to
2077         [!__ASSUME_SENDMMSG_SOCKETCALL].
2078         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2079         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
2080         Define.
2082         [BZ #16610]
2083         * sysdeps/unix/sysv/linux/kernel-features.h
2084         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
2085         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
2086         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
2087         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
2088         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2089         [__i386__ || __sparc__]
2090         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2091         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
2092         (__ASSUME_RECVMMSG): Define instead of using previous
2093         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
2094         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2095         (__ASSUME_RECVMMSG_SYSCALL): Define.
2096         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2097         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2098         Likewise.
2099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2100         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2101         Likewise.
2102         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2103         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2104         Likewise.
2105         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
2106         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2107         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2108         [__ASSUME_RECVMMSG]: Change condition to
2109         [__ASSUME_RECVMMSG_SOCKETCALL].
2110         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2111         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2112         Define.
2113         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2114         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2115         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
2116         Likewise.
2117         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
2118         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
2119         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
2120         [!__ASSUME_RECVMMSG]: Change condition to
2121         [!__ASSUME_RECVMMSG_SOCKETCALL].
2122         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2123         (__ASSUME_RECVMMSG_SYSCALL): Define.
2125         [BZ #16609]
2126         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
2127         __powerpc__ || __s390__ || __sh__ || __sparc__]
2128         (__ASSUME_SOCKETCALL): Define.
2129         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
2130         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
2131         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
2132         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
2133         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
2134         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2135         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
2136         (__ASSUME_ACCEPT4): Define instead of using previous
2137         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
2138         __powerpc__ || __sparc__ || __s390__)] condition.
2139         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2140         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2141         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
2142         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2143         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2144         [!__ASSUME_ACCEPT4]: Change condition to
2145         [!__ASSUME_ACCEPT4_SOCKETCALL].
2146         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2147         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
2148         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
2149         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2150         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
2151         __ASSUME_ACCEPT4_SYSCALL.
2152         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
2153         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
2154         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2155         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
2156         __ASSUME_ACCEPT4_SYSCALL.
2157         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
2158         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
2159         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
2160         [__ASSUME_ACCEPT4]: Change condition to
2161         [__ASSUME_ACCEPT4_SOCKETCALL].
2162         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2163         (__ASSUME_SOCKETCALL): Define.
2164         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
2165         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2166         (__ASSUME_SOCKETCALL): Define.
2167         (__ASSUME_ACCEPT4): Remove.
2168         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
2169         Define.
2170         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2171         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
2172         Likewise.
2173         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2174         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
2176         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
2177         macro.
2178         (HWCAP_ARM_LPAE): Likewise.
2179         (HWCAP_ARM_EVTSTRM): Likewise.
2180         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
2181         Add vpfd32, lpae and evtstrm.
2182         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
2183         Increase to 22.
2185 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
2187         * math/auto-libm-test-in: Add tests of clog10.
2188         * math/auto-libm-test-out: Regenerated.
2189         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
2190         * sysdeps/i386/fpu/libm-test-ulps: Update.
2191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2193 2014-02-18  Andreas Schwab  <schwab@suse.de>
2195         [BZ #16574]
2196         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
2197         Store non-zero if the second buffer was newly allocated.
2198         (send_dg): Likewise.
2199         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
2200         to send_vc and send_dg.
2201         (res_nsend): Pass NULL for ansp2_malloced.
2202         * resolv/res_query.c (__libc_res_nquery): Add parameter
2203         answerp2_malloced and pass it down to __libc_res_nsend.
2204         (res_nquery): Pass additional NULL to __libc_res_nquery.
2205         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
2206         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
2207         second answer buffer if answerp2_malloced was set.
2208         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
2209         (__libc_res_nquerydomain): Add parameter
2210         answerp2_malloced and pass it down to __libc_res_nquery.
2211         (res_nquerydomain): Pass additional NULL to
2212         __libc_res_nquerydomain.
2213         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
2214         additional NULL to __libc_res_nsend and __libc_res_nquery.
2215         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
2216         additional NULL to __libc_res_nsearch.
2217         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
2218         parameter of __libc_res_nsearch to check for separately allocated
2219         second buffer.
2220         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
2221         __libc_res_nquery.
2222         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
2223         additional NULL to __libc_res_nquery.
2224         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
2225         __libc_res_nsearch.
2226         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
2227         * include/resolv.h: Update prototypes of __libc_res_nquery,
2228         __libc_res_nsearch, __libc_res_nsend.
2230 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
2232         * math/auto-libm-test-in: Add tests of fma.
2233         * math/auto-libm-test-out: Regenerated.
2234         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
2235         (fma_towardzero_test_data): Likewise.
2236         (fma_downward_test_data): Likewise.
2237         (fma_upward_test_data): Likewise.
2238         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
2239         mpc_mode.
2240         (rounding_modes): Add values for new field.
2241         (func_calc_method): Add value mpfr_fff_f.
2242         (func_calc_desc): Add mpfr_fff_f union field.
2243         (test_function): Add field exact_args.
2244         (FUNC): Add macro argument EXACT_ARGS.
2245         (FUNC_mpfr_f_f): Update call to FUNC.
2246         (FUNC_mpfr_f_f): Likewise.
2247         (FUNC_mpfr_ff_f): Likewise.
2248         (FUNC_mpfr_if_f): Likewise.
2249         (FUNC_mpc_c_f): Likewise.
2250         (FUNC_mpc_c_c): Likewise.
2251         (test_functions): Add fma.  Update calls to FUNC.
2252         (handle_input_arg): Add argument exact_args.
2253         (add_test): Update call to handle_input_arg.
2254         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
2255         (output_for_one_input_case): Update call to calc_generic_results.
2256         Recalculate exact zero results in each rounding mode.
2258         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
2259         non-negative before setting low bit.
2260         * math/auto-libm-test-in: Mark one asin test possibly having
2261         spurious underflow.
2262         * math/auto-libm-test-out: Regenerated.
2263         * sysdeps/i386/fpu/libm-test-ulps: Update.
2264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2266 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
2268         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
2269         * sysdeps/unix/sysv/linux/microblaze: Move directory from
2270         ports/sysdeps/unix/sysv/linux/microblaze.
2271         * README: Add missing listing for microblaze*-*-linux-gnu.
2273 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
2275         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
2276         * sysdeps/unix/sysv/linux/ia64: Move directory from
2277         ports/sysdeps/unix/sysv/linux/ia64.
2278         * README: Update listing for ia64-*-linux-gnu.
2280 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
2281             Joseph Myers  <joseph@codesourcery.com>
2283         * Makeconfig (test-name): New variable.
2284         (evaluate-test): Likewise.
2285         * Makerules (do-test-clean): Remove .test-result files.
2286         (common-mostlyclean): Likewise.
2287         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
2288         * scripts/evaluate-test.sh: New file.
2290 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
2292         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
2293         separate $(objpfx)tst-fopenloc-cmp.out and
2294         $(objpfx)tst-fopenloc-mem.out targets.
2295         (tests): Update dependencies.
2296         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
2297         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
2298         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
2299         (tst-rxspencer-no-utf8-ARGS): New variable.
2300         (tst-rxspencer-no-utf8-ENV): Likewise.
2301         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
2302         instead of $(objpfx)tst-rxspencer-mem.
2303         ($(objpfx)tst-rxspencer-mem): Change target to
2304         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
2305         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
2306         * posix/tst-rxspencer-no-utf8.c: New file.
2308         * elf/Makefile ($(objpfx)order.out): Remove rule.
2309         [$(run-built-tests) = yes] (tests): Depend on
2310         $(objpfx)order-cmp.out.
2311         ($(objpfx)order-cmp.out): New rule.
2312         [$(run-built-tests) = yes] (tests): Depend on
2313         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
2314         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
2315         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
2316         $(objpfx)tst-array5-static-cmp.out.
2317         ($(objpfx)tst-array1.out): Remove rule.
2318         ($(objpfx)tst-array1-cmp.out): New rule.
2319         ($(objpfx)tst-array1-static.out): Remove rule.
2320         ($(objpfx)tst-array1-static-cmp.out): New rule.
2321         ($(objpfx)tst-array2.out): Remove rule.
2322         ($(objpfx)tst-array2-cmp.out): New rule.
2323         ($(objpfx)tst-array3.out): Remove rule.
2324         ($(objpfx)tst-array3-cmp.out): New rule.
2325         ($(objpfx)tst-array4.out): Remove rule.
2326         ($(objpfx)tst-array4-cmp.out): New rule.
2327         ($(objpfx)tst-array5.out): Remove rule.
2328         ($(objpfx)tst-array5-cmp.out): New rule.
2329         ($(objpfx)tst-array5-static.out): Remove rule.
2330         ($(objpfx)tst-array5-static-cmp.out): New rule.
2331         [$(run-built-tests) = yes] (tests): Depend on
2332         $(objpfx)order2-cmp.out.
2333         ($(objpfx)order2.out): Remove rule.
2334         ($(objpfx)order2-cmp.out): New rule.
2335         ($(objpfx)tst-initorder.out): Remove rule.
2336         [$(run-built-tests) = yes] (tests): Depend on
2337         $(objpfx)tst-initorder-cmp.out.
2338         ($(objpfx)tst-initorder-cmp.out): New rule.
2339         ($(objpfx)tst-initorder2.out): Remove rule.
2340         [$(run-built-tests) = yes] (tests): Depend on
2341         $(objpfx)tst-initorder2-cmp.out.
2342         ($(objpfx)tst-initorder2-cmp.out): New rule.
2343         [$(run-built-tests) = yes] (tests): Depend on
2344         $(objpfx)tst-unused-dep-cmp.out.
2345         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
2346         ($(objpfx)tst-unused-dep-cmp.out): New rule.
2347         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
2348         on $(objpfx)tst-setvbuf1-cmp.out.
2349         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
2350         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
2351         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
2352         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
2353         ($(objpfx)tst-svc.out): Remove rule.
2354         ($(objpfx)tst-svc-cmp.out): New rule.
2356 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
2358         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
2359         * ctype/ctype.h [__USE_MISC]: Likewise.
2360         * dirent/dirent.h [__USE_MISC]: Likewise.
2361         * grp/grp.h [__USE_MISC]: Likewise.
2362         * io/fcntl.h [__USE_MISC]: Likewise.
2363         * io/sys/stat.h [__USE_MISC]: Likewise.
2364         * libio/stdio.h [__USE_MISC]: Likewise.
2365         * posix/unistd.h [__USE_MISC]: Likewise.
2366         * pwd/pwd.h [__USE_MISC]: Likewise.
2367         * stdlib.h [__USE_MISC]: Likewise.
2368         * string/bits/string2.h [__USE_MISC]: Likewise.
2369         * string/string.h [__USE_MISC]: Likewise.
2370         * time/time.h [__USE_MISC]: Likewise.
2372 2014-02-13  Andreas Schwab  <schwab@suse.de>
2374         [BZ #16574]
2375         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
2376         second answer buffer if it was separately allocated.
2378 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
2380         * sysdeps/mips/math-tests.h: Include <features.h>.
2381         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2382         (ROUNDING_TESTS_long_double): Do not define.
2383         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
2384         (EXCEPTION_TESTS_long_double): Likewise.
2385         * sysdeps/mips/mips64/libm-test-ulps: Update.
2387         * include/features.h (__USE_BSD): Remove macro definitions.
2388         (__USE_SVID): Likewise.
2389         (_BSD_SOURCE): Likewise.
2390         (_SVID_SOURCE): Likewise.
2391         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
2392         from definition of _DEFAULT_SOURCE.
2393         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
2394         [_DEFAULT_SOURCE].
2395         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
2396         * bits/mman.h [__USE_BSD]: Likewise.
2397         * bits/termios.h [__USE_BSD]: Likewise.
2398         * bits/waitstatus.h [__USE_BSD]: Likewise.
2399         * ctype/ctype.h [__USE_SVID]: Likewise.
2400         * dirent/dirent.h [__USE_BSD]: Likewise.
2401         * grp/grp.h [__USE_SVID]: Likewise.
2402         [__USE_BSD]: Likewise.
2403         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
2404         * io/fcntl.h [__USE_BSD]: Likewise.
2405         * io/ftw.h [__USE_BSD]: Likewise.
2406         * io/sys/stat.h [__USE_BSD]: Likewise.
2407         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
2408         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
2409         * libio/stdio.h [__USE_SVID]: Likewise.
2410         [__USE_BSD]: Likewise.
2411         * math/math.h [__USE_SVID]: Likewise.
2412         [__USE_BSD]: Likewise.
2413         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
2414         * misc/bits/syslog.h [__USE_BSD]: Likewise.
2415         * misc/search.h [__USE_SVID]: Likewise.
2416         * misc/sys/mman.h [__USE_BSD]: Likewise.
2417         * misc/sys/syslog.h [__USE_BSD]: Likewise.
2418         * misc/sys/uio.h [__USE_BSD]: Likewise.
2419         * posix/bits/unistd.h [__USE_BSD]: Likewise.
2420         * posix/glob.h [__USE_BSD]: Likewise.
2421         * posix/regex.h [__USE_BSD]: Likewise.
2422         * posix/sys/types.h [__USE_BSD]: Likewise.
2423         [__USE_SVID]: Likewise.
2424         * posix/sys/utsname.h [__USE_SVID]: Likewise.
2425         * posix/sys/wait.h [__USE_BSD]: Likewise.
2426         [__USE_SVID]: Likewise.
2427         * posix/unistd.h [__USE_BSD]: Likewise.
2428         [__USE_SVID]: Likewise.
2429         * pwd/pwd.h [__USE_SVID]: Likewise.
2430         * resolv/netdb.h [__USE_BSD]: Likewise.
2431         * setjmp/setjmp.h [__USE_BSD]: Likewise.
2432         * signal/signal.h [__USE_BSD]: Likewise.
2433         [__USE_SVID]: Likewise.
2434         * socket/sys/socket.h [__USE_BSD]: Likewise.
2435         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
2436         * stdlib/stdlib.h [__USE_BSD]: Likewise.
2437         [__USE_SVID]: Likewise.
2438         * string/bits/string2.h [__USE_BSD]: Likewise.
2439         [__USE_SVID]: Likewise.
2440         * string/bits/string3.h [__USE_BSD]: Likewise.
2441         * string/endian.h [__USE_BSD]: Likewise.
2442         * string/string.h [__USE_SVID]: Likewise.
2443         [__USE_BSD]: Likewise.
2444         * string/strings.h [__USE_BSD]: Likewise.
2445         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
2446         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
2447         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
2448         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
2449         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
2450         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
2451         Likewise.
2452         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
2453         Likewise.
2454         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
2455         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
2456         Likewise.
2457         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
2458         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
2459         Likewise.
2460         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
2461         Likewise.
2462         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
2463         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
2464         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
2465         Likewise.
2466         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
2467         Likewise.
2468         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
2469         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
2470         * termios/termios.h [__USE_BSD]: Likewise.
2471         * time/sys/time.h [__USE_BSD]: Likewise.
2472         * time/time.h [__USE_BSD]: Likewise.
2473         [__USE_SVID]: Likewise.
2475         * Makefile (subdir_targets): Remove subdir_lint.out.
2477         * stdio-common/Makefile (do-tst-unbputc): Remove target.
2478         (do-tst-printf): Likewise.
2479         (tests): Depend directly on $(objpfx)tst-unbputc.out and
2480         $(objpfx)tst-printf.out.
2482         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
2484         * Makerules (check-abi-%): Change target to
2485         $(objpfx)check-abi-%.out.
2486         (check-abi target): Update dependencies.
2487         (check-abi-pattern variable): Redirect output of diff to $@.
2488         (check-abi variable): Likewise.
2489         * elf/Makefile (check-abi): Update dependencies.
2491         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
2492         unused.
2493         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
2494         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
2495         subnormal range.
2496         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
2497         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
2498         value has largest subnormal exponent.
2499         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
2500         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
2501         * sysdeps/aarch64/soft-fp/sfp-machine.h
2502         (_FP_TININESS_AFTER_ROUNDING): New macro.
2503         * sysdeps/alpha/soft-fp/sfp-machine.h
2504         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2505         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2506         Likewise.
2507         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
2508         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2509         * sysdeps/mips/soft-fp/sfp-machine.h
2510         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2511         * sysdeps/powerpc/soft-fp/sfp-machine.h
2512         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2513         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2514         Likewise.
2515         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
2516         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2517         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
2518         (_FP_TININESS_AFTER_ROUNDING): Likewise.
2519         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
2520         Likewise.
2522 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
2524         [BZ #16545]
2525         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
2526         model 1.
2528 2014-02-12  Richard Henderson  <rth@redhat.com>
2530         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
2531         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
2532         * sysdeps/unix/sysv/linux/alpha: Move directory from
2533         ports/sysdeps/unix/sysv/linux/alpha.
2534         * README: Update listing for alpha-*-linux-gnu.
2536 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
2538         * include/features.h: Update comment documenting feature test
2539         macros.
2540         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
2541         _DEFAULT_SOURCE.
2542         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
2543         (_SVID_SOURCE): Likewise.
2544         (_DEFAULT_SOURCE): Update description of default features.
2545         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
2546         with _GNU_SOURCE.
2547         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
2548         (S_ISVTX): Likewise.
2549         * manual/math.texi (Mathematical Constants): Likewise.
2550         * manual/signal.texi (Interrupted Primitives): Likewise.
2551         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
2552         * math/test-matherr.c (_SVID_SOURCE): Do not define.
2553         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
2554         Don't refer to _SVID_SOURCE in warning text.
2556         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2558         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
2559         already defined.
2560         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
2561         * sysdeps/mips/dl-lookup.c: Remove.
2562         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
2564 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2566         [BZ #16447]
2567         * math/auto-libm-test-in: Add testcase for expl.
2568         * math/auto-libm-test-out: Regenerate.
2569         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
2570         calculation of unsafe.
2571         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
2573 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2575         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
2576         * sysdeps/unix/sysv/linux/aarch64: Move directory from
2577         ports/sysdeps/unix/sysv/linux/aarch64.
2578         * README: Update listing for aarch64*-*-linux-gnu.
2580 2014-02-11  Will Newton  <will.newton@linaro.org>
2582         * manual/probes.texi (Mathematical Function Probes): Use
2583         "triggered" instead of "hit".
2585 2014-02-11  Will Newton  <will.newton@linaro.org>
2587         * manual/probes.texi (Internal Probes): Add documentation
2588         of setjmp, longjmp and longjmp_target probes.
2590 2014-02-11  Will Newton  <will.newton@linaro.org>
2592         * include/stap-probe.h: Add comment about probe argument
2593         format.
2595 2014-02-11  Will Newton  <will.newton@linaro.org>
2597         * malloc/mtrace.c (attribute_hidden): Remove unused macro
2598         definition.  (tr_where, tr_freehook, tr_mallochook,
2599         tr_reallochook, tr_memalignhook): Use ANSI protoype.
2601 2014-02-11  David S. Miller  <davem@davemloft.net>
2603         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
2604         processing int_tests.
2606 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
2608         * sysdeps/mips: Move directory from ports/sysdeps/mips.
2609         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
2610         * sysdeps/unix/sysv/linux/mips: Move directory from
2611         ports/sysdeps/unix/sysv/linux/mips.
2612         * README: Update listing for mips-*-linux-gnu and
2613         mips64-*-linux-gnu.
2615 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
2617         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
2618         * sysdeps/unix/sysv/linux/m68k: Move directory from
2619         ports/sysdeps/unix/sysv/linux/m68k.
2620         * README: Update listing for m68k-*-linux-gnu.
2622 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
2624         * sysdeps/tile: Move directory from ports/sysdeps/tile.
2625         * sysdeps/unix/sysv/linux/generic: Move directory from
2626         ports/sysdeps/unix/sysv/linux/generic.
2627         * sysdeps/unix/sysv/linux/tile: Move directory from
2628         ports/sysdeps/unix/sysv/linux/tile.
2629         * README: Update listing for tile*-*-linux-gnu.
2631 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
2633         * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
2634         * benchtests/bench-memmem.c (simple_memmem): Likewise.
2635         * catgets/open_catalog.c (__open_catalog): Likewise.
2636         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
2637         * debug/confstr_chk.c: Likewise.
2638         * debug/fread_chk.c (__fread_chk): Likewise.
2639         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
2640         * debug/getgroups_chk.c: Likewise.
2641         * debug/mbsnrtowcs_chk.c: Likewise.
2642         * debug/mbsrtowcs_chk.c: Likewise.
2643         * debug/mbstowcs_chk.c: Likewise.
2644         * debug/memcpy_chk.c: Likewise.
2645         * debug/memmove_chk.c: Likewise.
2646         * debug/mempcpy_chk.c: Likewise.
2647         * debug/memset_chk.c: Likewise.
2648         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
2649         * debug/strcat_chk.c (__strcat_chk): Likewise.
2650         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
2651         * debug/strncat_chk.c (__strncat_chk): Likewise.
2652         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
2653         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
2654         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
2655         * debug/wcpncpy_chk.c: Likewise.
2656         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
2657         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
2658         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
2659         * debug/wcsncpy_chk.c: Likewise.
2660         * debug/wcsnrtombs_chk.c: Likewise.
2661         * debug/wcsrtombs_chk.c: Likewise.
2662         * debug/wcstombs_chk.c: Likewise.
2663         * debug/wmemcpy_chk.c: Likewise.
2664         * debug/wmemmove_chk.c: Likewise.
2665         * debug/wmempcpy_chk.c: Likewise.
2666         * debug/wmemset_chk.c: Likewise.
2667         * dirent/scandirat.c (SCANDIRAT): Likewise.
2668         * dlfcn/dladdr1.c (dladdr1): Likewise.
2669         * dlfcn/dladdr.c (dladdr): Likewise.
2670         * dlfcn/dlclose.c (dlclose_doit): Likewise.
2671         * dlfcn/dlerror.c (__dlerror): Likewise.
2672         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
2673         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
2674         * dlfcn/dlopen.c (dlopen_doit): Likewise.
2675         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
2676         * dlfcn/dlsym.c (dlsym_doit): Likewise.
2677         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
2678         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
2679         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
2680         Likewise.
2681         * elf/dl-conflict.c: Likewise.
2682         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
2683         * elf/dl-dst.h: Likewise.
2684         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
2685         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
2686         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
2687         * elf/dl-init.c (call_init, _dl_init): Likewise.
2688         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
2689         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
2690         _dl_map_object_from_fd, open_verify, open_path,
2691         _dl_map_object): Likewise.
2692         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
2693         Likewise.
2694         * elf/dl-minimal.c (__libc_memalign): Likewise.
2695         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
2696         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
2697         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
2698         * elf/dl-sym.c (do_sym): Likewise.
2699         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
2700         _dl_tls_get_addr_soft): Likewise.
2701         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
2702         * elf/dl-writev.h (_dl_writev): Likewise.
2703         * elf/ldconfig.c (search_dir): Likewise.
2704         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
2705         dl_main): Likewise.
2706         * elf/setup-vdso.h (setup_vdso): Likewise.
2707         * grp/compat-initgroups.c (compat_call): Likewise.
2708         * grp/fgetgrent.c (fgetgrent): Likewise.
2709         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
2710         * grp/putgrent.c (putgrent): Likewise.
2711         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
2712         Likewise.
2713         * hurd/hurdinit.c: Likewise.
2714         * iconvdata/8bit-gap.c (struct): Likewise.
2715         * iconvdata/ansi_x3.110.c : Likewise.
2716         * iconvdata/big5.c : Likewise.
2717         * iconvdata/big5hkscs.c : Likewise.
2718         * iconvdata/cp1255.c: Likewise.
2719         * iconvdata/cp1258.c : Likewise.
2720         * iconvdata/cp932.c : Likewise.
2721         * iconvdata/euc-cn.c: Likewise.
2722         * iconvdata/euc-jisx0213.c : Likewise.
2723         * iconvdata/euc-jp.c: Likewise.
2724         * iconvdata/euc-jp-ms.c : Likewise.
2725         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
2726         * iconvdata/gb18030.c : Likewise.
2727         * iconvdata/gbbig5.c (const): Likewise.
2728         * iconvdata/gbgbk.c: Likewise.
2729         * iconvdata/gbk.c : Likewise.
2730         * iconvdata/ibm1364.c : Likewise.
2731         * iconvdata/ibm930.c : Likewise.
2732         * iconvdata/ibm932.c: Likewise.
2733         * iconvdata/ibm933.c : Likewise.
2734         * iconvdata/ibm935.c : Likewise.
2735         * iconvdata/ibm937.c : Likewise.
2736         * iconvdata/ibm939.c : Likewise.
2737         * iconvdata/ibm943.c: Likewise.
2738         * iconvdata/iso_11548-1.c: Likewise.
2739         * iconvdata/iso-2022-cn.c : Likewise.
2740         * iconvdata/iso-2022-cn-ext.c : Likewise.
2741         * iconvdata/iso-2022-jp-3.c: Likewise.
2742         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
2743         * iconvdata/iso-2022-kr.c : Likewise.
2744         * iconvdata/iso646.c (gconv_end): Likewise.
2745         * iconvdata/iso_6937-2.c : Likewise.
2746         * iconvdata/iso_6937.c : Likewise.
2747         * iconvdata/iso8859-1.c: Likewise.
2748         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
2749         * iconvdata/shift_jisx0213.c : Likewise.
2750         * iconvdata/sjis.c : Likewise.
2751         * iconvdata/t.61.c : Likewise.
2752         * iconvdata/tcvn5712-1.c : Likewise.
2753         * iconvdata/tscii.c: Likewise.
2754         * iconvdata/uhc.c : Likewise.
2755         * iconvdata/unicode.c (gconv_end): Likewise.
2756         * iconvdata/utf-16.c (gconv_end): Likewise.
2757         * iconvdata/utf-32.c (gconv_end): Likewise.
2758         * iconvdata/utf-7.c (base64): Likewise.
2759         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
2760         * iconv/gconv_close.c (__gconv_close): Likewise.
2761         * iconv/gconv_open.c (__gconv_open): Likewise.
2762         * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
2763         ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
2764         internal_ucs4le_loop_single, ucs4le_internal_loop,
2765         ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
2766         * iconv/iconv.c (iconv): Likewise.
2767         * iconv/iconv_close.c: Likewise.
2768         * iconv/loop.c (SINGLE): Likewise.
2769         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
2770         * include/atomic.h: Likewise.
2771         * inet/inet6_option.c (option_alloc): Likewise.
2772         * intl/bindtextdom.c (set_binding_values): Likewise.
2773         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
2774         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
2775         * intl/localealias.c (read_alias_file): Likewise.
2776         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
2777         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
2778         _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
2779         * libio/fmemopen.c (fmemopen): Likewise.
2780         * libio/iofgets.c (_IO_fgets): Likewise.
2781         * libio/iofgets_u.c (fgets_unlocked): Likewise.
2782         * libio/iofgetws.c (fgetws): Likewise.
2783         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
2784         * libio/iogetdelim.c (_IO_getdelim): Likewise.
2785         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
2786         adjust_wide_data, _IO_wfile_seekoff): Likewise.
2787         * locale/findlocale.c (_nl_find_locale): Likewise.
2788         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
2789         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
2790         Likewise.
2791         * locale/setlocale.c (setlocale): Likewise.
2792         * login/programs/pt_chown.c (main): Likewise.
2793         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
2794         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
2795         * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
2796         mmap, mmap64, mremap, munmap): Likewise.
2797         * math/e_exp2l.c: Likewise.
2798         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
2799         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
2800         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
2801         * math/s_catan.c (__catan): Likewise.
2802         * math/s_catanf.c (__catanf): Likewise.
2803         * math/s_catanh.c (__catanh): Likewise.
2804         * math/s_catanhf.c (__catanhf): Likewise.
2805         * math/s_catanhl.c (__catanhl): Likewise.
2806         * math/s_catanl.c (__catanl): Likewise.
2807         * math/s_ccosh.c (__ccosh): Likewise.
2808         * math/s_ccoshf.c (__ccoshf): Likewise.
2809         * math/s_ccoshl.c (__ccoshl): Likewise.
2810         * math/s_cexp.c (__cexp): Likewise.
2811         * math/s_cexpf.c (__cexpf): Likewise.
2812         * math/s_cexpl.c (__cexpl): Likewise.
2813         * math/s_clog10.c (__clog10): Likewise.
2814         * math/s_clog10f.c (__clog10f): Likewise.
2815         * math/s_clog10l.c (__clog10l): Likewise.
2816         * math/s_clog.c (__clog): Likewise.
2817         * math/s_clogf.c (__clogf): Likewise.
2818         * math/s_clogl.c (__clogl): Likewise.
2819         * math/s_csin.c (__csin): Likewise.
2820         * math/s_csinf.c (__csinf): Likewise.
2821         * math/s_csinh.c (__csinh): Likewise.
2822         * math/s_csinhf.c (__csinhf): Likewise.
2823         * math/s_csinhl.c (__csinhl): Likewise.
2824         * math/s_csinl.c (__csinl): Likewise.
2825         * math/s_csqrt.c (__csqrt): Likewise.
2826         * math/s_csqrtf.c (__csqrtf): Likewise.
2827         * math/s_csqrtl.c (__csqrtl): Likewise.
2828         * math/s_ctan.c (__ctan): Likewise.
2829         * math/s_ctanf.c (__ctanf): Likewise.
2830         * math/s_ctanh.c (__ctanh): Likewise.
2831         * math/s_ctanhf.c (__ctanhf): Likewise.
2832         * math/s_ctanhl.c (__ctanhl): Likewise.
2833         * math/s_ctanl.c (__ctanl): Likewise.
2834         * math/w_pow.c: Likewise.
2835         * math/w_powf.c: Likewise.
2836         * math/w_powl.c: Likewise.
2837         * math/w_scalb.c (sysv_scalb): Likewise.
2838         * math/w_scalbf.c (sysv_scalbf): Likewise.
2839         * math/w_scalbl.c (sysv_scalbl): Likewise.
2840         * misc/error.c (error_tail): Likewise.
2841         * misc/pselect.c (__pselect): Likewise.
2842         * nis/nis_callback.c (__nis_create_callback): Likewise.
2843         * nis/nis_call.c (__nisfind_server): Likewise.
2844         * nis/nis_creategroup.c (nis_creategroup): Likewise.
2845         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
2846         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2847         * nis/nis_getservlist.c (nis_getservlist): Likewise.
2848         * nis/nis_lookup.c (nis_lookup): Likewise.
2849         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
2850         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
2851         nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
2852         * nis/nis_xdr.c (xdr_endpoint): Likewise.
2853         * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
2854         internal_getgrgid_r): Likewise.
2855         * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
2856         Likewise.
2857         * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
2858         internal_getpwuid_r): Likewise.
2859         * nis/nss_compat/compat-spwd.c (getspent_next_file,
2860         internal_getspnam_r): Likewise.
2861         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
2862         _nss_nis_getaliasbyname_r): Likewise.
2863         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
2864         _nss_nis_getntohost_r): Likewise.
2865         * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
2866         internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
2867         Likewise.
2868         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
2869         internal_nis_gethostent_r, internal_gethostbyname2_r,
2870         _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
2871         _nss_nis_gethostbyname4_r): Likewise.
2872         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
2873         initgroups_netid): Likewise.
2874         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
2875         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
2876         _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
2877         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
2878         _nss_nis_getprotobynumber_r): Likewise.
2879         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
2880         _nss_nis_getsecretkey): Likewise.
2881         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
2882         internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
2883         Likewise.
2884         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
2885         _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
2886         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
2887         _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
2888         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
2889         _nss_nis_getspnam_r): Likewise.
2890         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2891         Likewise.
2892         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
2893         _nss_nisplus_getntohost_r): Likewise.
2894         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
2895         _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
2896         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
2897         _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
2898         * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
2899         Likewise.
2900         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
2901         _nss_nisplus_getnetbyaddr_r): Likewise.
2902         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
2903         _nss_nisplus_getprotobynumber_r): Likewise.
2904         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
2905         _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
2906         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
2907         Likewise.
2908         * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
2909         _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
2910         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
2911         _nss_nisplus_getspnam_r): Likewise.
2912         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
2913         * nscd/aicache.c (addhstaiX): Likewise.
2914         * nscd/cache.c (cache_search, prune_cache): Likewise.
2915         * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
2916         nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
2917         * nscd/grpcache.c (addgrbyX): Likewise.
2918         * nscd/hstcache.c (addhstbyX): Likewise.
2919         * nscd/initgrcache.c (addinitgroupsX): Likewise.
2920         * nscd/mem.c (gc, mempool_alloc): Likewise.
2921         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
2922         Likewise.
2923         * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
2924         Likewise.
2925         * nscd/nscd_getai.c (__nscd_getai): Likewise.
2926         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2927         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
2928         Likewise.
2929         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
2930         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
2931         * nscd/nscd_helper.c (__readvall, open_socket,
2932         __nscd_get_mapping, __nscd_get_map_ref): Likewise.
2933         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
2934         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
2935         * nscd/pwdcache.c (addpwbyX): Likewise.
2936         * nscd/selinux.c (preserve_capabilities): Likewise.
2937         * nscd/servicescache.c (addservbyX): Likewise.
2938         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
2939         * posix/fnmatch.c (fnmatch): Likewise.
2940         * posix/getopt.c (_getopt_internal_r): Likewise.
2941         * posix/glob.c (glob, glob_in_dir): Likewise.
2942         * posix/wordexp.c (exec_comm_child): Likewise.
2943         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
2944         gaih_getanswer_slice): Likewise.
2945         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
2946         * resolv/res_init.c: Likewise.
2947         * resolv/res_mkquery.c (res_nmkquery): Likewise.
2948         * resolv/res_query.c (__libc_res_nquery): Likewise.
2949         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
2950         Likewise.
2951         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
2952         * stdio-common/perror.c (perror): Likewise.
2953         * stdio-common/printf_fp.c (___printf_fp): Likewise.
2954         * stdio-common/tmpnam.c (tmpnam): Likewise.
2955         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
2956         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
2957         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
2958         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
2959         * stdlib/putenv.c (putenv): Likewise.
2960         * stdlib/setenv.c (__add_to_environ): Likewise.
2961         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
2962         * stdlib/strtol_l.c (INTERNAL): Likewise.
2963         * string/memmem.c (memmem): Likewise.
2964         * string/strerror.c (strerror): Likewise.
2965         * string/strnlen.c (__strnlen): Likewise.
2966         * string/test-memmem.c (simple_memmem): Likewise.
2967         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
2968         * sunrpc/pm_getport.c (__get_socket): Likewise.
2969         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
2970         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
2971         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
2972         elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
2973         Likewise.
2974         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
2975         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
2976         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
2977         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
2978         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
2979         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
2980         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
2981         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
2982         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
2983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
2984         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
2985         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
2986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
2987         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
2988         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
2989         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
2990         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
2991         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2992         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
2993         Likewise.
2994         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
2995         Likewise.
2996         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
2997         Likewise.
2998         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
2999         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3000         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
3001         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
3002         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
3003         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
3004         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
3005         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
3006         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
3007         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
3008         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
3009         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3010         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
3011         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
3012         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3013         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
3014         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
3015         Likewise.
3016         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
3017         Likewise.
3018         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
3019         Likewise.
3020         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3021         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3022         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
3023         Likewise.
3024         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
3025         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
3026         * sysdeps/posix/opendir.c (__opendirat): Likewise.
3027         * sysdeps/posix/sleep.c: Likewise.
3028         * sysdeps/posix/tempname.c: Likewise.
3029         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
3030         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3031         Likewise.
3032         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
3033         elf_machine_rela): Likewise.
3034         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
3035         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3036         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
3037         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
3038         Likewise.
3039         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
3040         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
3041         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3042         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
3043         elf_machine_rela, elf_machine_lazy_rel): Likewise.
3044         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
3045         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
3046         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
3047         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
3048         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
3049         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
3050         elf_machine_lazy_rel): Likewise.
3051         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
3052         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
3053         elf_machine_lazy_rel): Likewise.
3054         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
3055         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
3056         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
3057         * sysdeps/unix/grantpt.c (grantpt): Likewise.
3058         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
3059         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
3060         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
3061         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
3062         Likewise.
3063         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
3064         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
3065         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
3066         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
3067         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
3068         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
3069         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
3070         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
3071         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
3072         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
3073         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
3074         Likewise.
3075         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
3076         (__posix_fallocate64_l64): Likewise.
3077         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
3078         (posix_fallocate): Likewise.
3079         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
3080         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3081         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
3082         getifaddrs_internal): Likewise.
3083         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
3084         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
3085         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
3086         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3087         * sysdeps/unix/sysv/linux/posix_fallocate64.c
3088         (__posix_fallocate64_l64): Likewise.
3089         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
3090         Likewise.
3091         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
3092         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
3093         Likewise.
3094         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
3095         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
3096         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
3097         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3098         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3099         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
3100         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
3101         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
3102         Likewise.
3103         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
3104         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
3105         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
3106         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
3107         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
3108         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
3109         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
3110         Likewise.
3111         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3112         (posix_fallocate): Likewise.
3113         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3114         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
3115         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
3116         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
3117         elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
3118         Likewise.
3119         * time/asctime.c (asctime_internal): Likewise.
3120         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
3121         * time/tzset.c (__tzset_parse_tz): Likewise.
3122         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3123         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3124         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
3125         * wcsmbs/wcsmbsload.h: Likewise.
3127 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3129         [BZ #15894]
3130         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
3132 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
3134         * malloc/arena.c (grow_heap, get_free_list, reused_arena,
3135         arena_get2): Remove THREAD_STATS conditionals.
3136         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
3137         __malloc_stats, int): Likewise.
3139 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3141         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
3142         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
3144 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3146         * manual/setjmp.texi: Fix typos/grammar errors.
3148 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3150         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
3151         Only return early when n is <= 0.  Delete unused return statement.
3153 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3155         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
3156         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
3157         * debug/tst-longjmp_chk3.c: New file.
3159 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3161         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
3162         (test_main): Replace code with set_fortify_handler call.
3163         * debug/test-strcpy_chk.c: Likewise.
3164         * debug/tst-chk1.c: Likewise.
3165         * debug/tst-longjmp_chk.c: Likewise.
3166         * test-skeleton.c: Include fcntl.h & paths.h
3167         (set_fortify_handler): Define.
3169 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3171         * debug/tst-longjmp_chk.c: Add header comment and include
3172         ../test-skeleton.c.
3173         (do_test): Mark static.
3174         (TEST_FUNCTION): Define.
3176 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3178         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
3179         (IP_PMTUDISC_INTERFACE): Likewise.
3180         (IP_MULTICAST_IF): Likewise.
3181         (IP_MULTICAST_TTL): Likewise.
3182         (IP_MULTICAST_LOOP): Likewise.
3183         (IP_ADD_MEMBERSHIP): Likewise.
3184         (IP_DROP_MEMBERSHIP): Likewise.
3185         (IP_UNBLOCK_SOURCE): Likewise.
3186         (IP_BLOCK_SOURCE): Likewise.
3187         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
3188         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
3189         (IP_MSFILTER): Likewise.
3190         (MCAST_JOIN_GROUP): Likewise.
3191         (MCAST_BLOCK_SOURCE): Likewise.
3192         (MCAST_UNBLOCK_SOURCE): Likewise.
3193         (MCAST_LEAVE_GROUP): Likewise.
3194         (MCAST_JOIN_SOURCE_GROUP): Likewise.
3195         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
3196         (MCAST_MSFILTER): Likewise.
3197         (IP_MULTICAST_ALL): Likewise.
3198         (IP_UNICAST_IF): Likewise.
3200 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3202         * timezone/Makefile: Delete $(have-ksh) check.
3203         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
3204         * timezone/tzselect.ksh: Add +x mode bits.
3206 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
3208         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
3209         (ANON_INODE_FS_MAGIC): Likewise.
3210         (BDEVFS_MAGIC): Likewise.
3211         (BINFMTFS_MAGIC): Likewise.
3212         (BTRFS_TEST_MAGIC): Likewise.
3213         (CRAMFS_MAGIC_WEND): Likewise.
3214         (DEBUGFS_MAGIC): Likewise.
3215         (ECRYPTFS_SUPER_MAGIC): Likewise.
3216         (EXT3_SUPER_MAGIC): Likewise.
3217         (EXT4_SUPER_MAGIC): Likewise.
3218         (FUTEXFS_SUPER_MAGIC): Likewise.
3219         (HOSTFS_SUPER_MAGIC): Likewise.
3220         (HUGETLBFS_MAGIC): Likewise.
3221         (MINIX3_SUPER_MAGIC): Likewise.
3222         (MTD_INODE_FS_MAGIC): Likewise.
3223         (NILFS_SUPER_MAGIC): Likewise.
3224         (OPENPROM_SUPER_MAGIC): Likewise.
3225         (PIPEFS_MAGIC): Likewise.
3226         (PSTOREFS_MAGIC): Likewise.
3227         (QNX6_SUPER_MAGIC): Likewise.
3228         (RAMFS_MAGIC): Likewise.
3229         (REISERFS_SUPER_MAGIC_STRING): Likewise.
3230         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
3231         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
3232         (SECURITYFS_MAGIC): Likewise.
3233         (SELINUX_MAGIC): Likewise.
3234         (SMACK_MAGIC): Likewise.
3235         (SOCKFS_MAGIC): Likewise.
3236         (SQUASHFS_MAGIC): Likewise.
3237         (STACK_END_MAGIC): Likewise.
3238         (TMPFS_MAGIC): Likewise.
3239         (USBDEVICE_SUPER_MAGIC): Likewise.
3240         (V9FS_MAGIC): Likewise.
3241         (XENFS_SUPER_MAGIC): Likewise.
3242         (CRAMFS_MAGIC): Fix typo in comment.
3243         (EXT2_SUPER_MAGIC): Update comment.
3244         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
3246 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
3248         * sysdeps/arm: Move directory from ports/sysdeps/arm.
3249         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
3250         * sysdeps/unix/sysv/linux/arm: Move directory from
3251         ports/sysdeps/unix/sysv/linux/arm.
3252         * README: Update listing for arm-*-linux-gnueabi.
3254         * README: Remove mention of am33.
3256 2014-02-07  Roland McGrath  <roland@hack.frob.com>
3258         * bits/sigset.h (__sigemptyset): Use a statement expression rather
3259         than the comma operator, to avoid "rhs of comma has no effect"
3260         compiler warnings.
3261         (__sigfillset, __sigandset, __sigorset): Likewise.
3262         * include/signal.h (__sigemptyset): Likewise.
3263         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
3265 2014-02-07  Allan McRae  <allan@archlinux.org>
3267         * version.h (RELEASE): Set to "development".
3268         (VERSION): Set to "2.19.90"
3269         * NEWS: Add 2.20 section.
3271 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
3273         [BZ #16529]
3274         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
3276 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
3278         * manual/contrib.texi: Update entry for Carlos O'Donell,
3279         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
3281 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
3283         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
3285         * sysdeps/unix/sysv/linux/kernel-features.h
3286         [__LINUX_KERNEL_VERSION >= 0x020621]
3287         (__ASSUME_PROC_PID_TASK_COMM): Define.
3289 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
3291         [BZ #16398]
3292         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
3293         conversion when destination buffer does not have enough space.
3294         * libio/tst-ftell-partial-wide.c: New test case.
3295         * libio/Makefile (tests): Add tst-ftell-partial-wide.
3297         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
3298         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
3299         Leonard and Allan McRae.
3301 2014-02-04  David S. Miller  <davem@davemloft.net>
3303         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
3304         32-bit.
3306 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
3309         file
3310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
3311         New file
3312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
3313         file.
3314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
3315         file.
3316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
3317         New file.
3318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
3319         file.
3320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
3321         file.
3322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
3323         New file.
3324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
3325         New file.
3326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
3327         New file.
3328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
3329         New file.
3330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
3331         New file.
3332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
3333         New file.
3335 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3337         * nptl/shlib-versions: Change powerpc*le start to 2.17.
3338         * shlib-versions: Likewise.
3340 2014-02-04  Roland McGrath  <roland@hack.frob.com>
3341             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3343         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
3344         (abilist-pattern): New variable, set to %-le.abilist.
3346         * Makerules (abilist-pattern): New variable.
3347         (vpath): Use $(abilist-pattern) in place of %.abilist.
3348         (check-abi-% pattern rule): Likewise.
3349         (check-abi, update-abi): Likewise.
3351 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3353         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3355 2014-02-04  Eric Wong  <normalperson@yhbt.net>
3357         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3359 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
3361         * manual/startup.texi: Add next, previous, and top entries for
3362         the `Program Arguments' and `Environment Variables' nodes.
3364 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
3366         * manual/macros.texi: Add comments before MTASC-safety macros.
3368         * manual/users.texi: Document MTASC-safety properties.
3370         * manual/threads.texi (pthread_key_create, pthread_key_delete,
3371         pthread_getspecific, pthread_setspecific): Format with
3372         @deftypefun, and add @safety note.
3373         * manual/signal.texi: Move comments that analyze the above
3374         functions to their home place.
3376 2014-02-03  Allan McRae  <allan@archlinux.org>
3378         * po/sl.po: Update Slovenian translation from translation project.
3380 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
3382         * manual/time.texi (timegm): Add missing blank after @c.
3383         Reported by Joseph Myers <joseph@codesourcery.com>.
3385 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
3387         * manual/check-safety.sh: New.
3388         * manual/Makefile ($(objpfx)stamp-summary): Run it.
3390         * manual/terminal.texi: Document MTASC-safety properties.
3392         * manual/filesys.texi: Document MTASC-safety properties.
3394         * manual/errno.texi: Document MTASC-safety properties.
3396         * manual/intro.texi: Document safety identifiers and
3397         conditionals.
3399         * manual/string.texi (wcstok): Fix prototype.
3400         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
3402         * manual/time.texi: Document MTASC-safety properties.
3404         * manual/string.texi: Document MTASC-safety properties.
3406         * manual/threads.texi: Document MTASC-safety properties.
3408         * manual/stdio.texi: Document MTASC-safety properties.
3410         * manual/syslog.texi: Document MTASC-safety properties.
3412         * manual/sysinfo.texi: Document MTASC-safety properties.
3414         * manual/startup.texi: Document MTASC-safety properties.
3416         * manual/socket.texi: Document MTASC-safety properties.
3418         * manual/signal.texi: Document MTASC-safety properties.
3420 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
3422         * manual/setjmp.texi: Document MTASC-safety properties.
3424         * manual/search.texi: Document MTASC-safety properties.
3426         * manual/resource.texi: Document MTASC-safety properties.
3428         * manual/process.texi: Document MTASC-safety properties.
3430         * manual/platform.texi: Document MTASC-safety properties.
3432         * manual/pipe.texi: Document MTASC-safety properties.
3434         * manual/pattern.texi: Document MTASC-safety properties.
3436         * manual/message.texi: Document MTASC-safety properties.
3438         [BZ #12751]
3439         * manual/memory.texi: Document MTASC-safety properties.
3441         * manual/math.texi: Document MTASC-safety properties.
3443         * manual/locale.texi: Document MTASC-safety properties.
3445         * manual/llio.texi: Document MTASC-safety properties.
3447         * manual/libdl.texi: New.
3449         * manual/lang.texi: Document MTASC-safety properties.
3451         * manual/job.texi: Document MTASC-safety properties.
3453         * manual/getopt.texi: Document MTASC-safety properties.
3455         * manual/ctype.texi: Document MTASC-safety properties.
3457 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
3459         [BZ #16046]
3460         * csu/libc-tls.c (static_map): Remove variable.
3461         (__libc_setup_tls): Use main executable's link map for TLS data.
3462         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
3463         casing for LM_ID_BASE and GL(dl_nns).
3464         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
3465         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
3466         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
3467         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
3468         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
3469         member.
3470         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
3471         l_phnum members.
3473 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
3475         * manual/debug.texi: Document MTASC-safety properties.
3477 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
3479         [BZ #16510]
3480         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
3481         of __x86_64__ when disabling x87 inline functions.
3483 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
3485         * manual/charset.texi: Document MTASC-safety properties.
3487         * manual/crypt.texi: Document MTASC-safety properties.
3489         * manual/conf.texi: Document MTASC-safety properties.
3491         * manual/arith.texi: Document MTASC-safety properties.
3493         * manual/argp.texi: Document MTASC-safety properties.
3495         * manual/macros.texi: Introduce macros to document multi
3496         thread, asynchronous signal and asynchronous cancellation
3497         safety properties.
3498         * manual/intro.texi: Introduce the properties themselves.
3500 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3502         * sysdeps/sh/sh4/Makefile: New file.
3504 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
3506         * math/gen-libm-test.pl ($srcdir): New variable.
3507         ($auto_input): Use it.
3509 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3511         [BZ #16506]
3512         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
3513         access beyond array bounds when parsing netgroups file.
3515         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
3516         the old buffer before realloc.
3518 2014-01-27  Allan McRae  <allan@archlinux.org>
3520         * po/fr.po: Update French translation from translation project.
3522 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3524         * sysdeps/sh/libm-test-ulps: Regenerate.
3526 2014-01-24  David S. Miller  <davem@davemloft.net>
3528         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
3530 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3532         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
3533         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
3535 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3537         [BZ #16474]
3538         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
3539         string pointers after reallocation.
3541 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3543         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
3544         __SH4A__ instead of __SH_FPU_ANY__.
3546 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3548         * sysdeps/sh/fpu_control.h: New file.
3549         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
3550         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
3551         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
3552         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
3553         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
3554         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
3555         * sysdeps/sh/sys/ucontext.h: Remove.
3556         * sysdeps/sh/sys: Remove directory.
3558 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3560         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
3561         s390/sys/ucontext.h.
3562         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
3563         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
3565 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
3567         [BZ #15605]
3568         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
3570 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3572         [BZ#16431]
3573         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
3574         Adjust the vDSO correctly for internal calls.
3575         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
3577 2014-01-20  Allan McRae  <allan@archlinux.org>
3579         * po/ca.po: Update Catalan translation from translation project.
3581 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
3583         * sysdeps/s390/sotruss-lib.c: New file.
3585 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3587         [BZ#16430]
3588         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
3589         (__GI___gettimeofday): Alias for a different internal symbol to avoid
3590         local calls issues by not having a PLT stub required for IFUNC calls.
3591         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
3593 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
3595         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
3596         * math/test-fpucw-static.c: Likewise.
3598 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3600         [BZ #16453]
3601         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
3603 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3605         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
3606         implementation for powerpc.
3608 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
3610         [BZ #14782]
3611         * sysdeps/posix/system.c (__libc_system): Do not enable
3612         asynchronous cancellation.
3614 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3616         [BZ #16427]
3617         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
3618         handling only for numbers special also in the IEEE case.
3620 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3622         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3624 2014-01-11  Allan McRae  <allan@archlinux.org>
3626         * po/bg.po: Update Bulgarian translation from translation project.
3628         * po/de.po: Update German translation from translation project.
3630 2014-01-10  Roland McGrath  <roland@hack.frob.com>
3632         * sysdeps/generic/gcc-compat.h: New file.
3634 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3636         * benchtests/asin-inputs: Correct slow inputs.
3637         * benchtests/acos-inputs: Likewise.
3639 2014-01-10  Allan McRae  <allan@archlinux.org>
3641         * po:sv.po: Update Swedish translation from translation project.
3643         * po/vi.po: Update Vietnamese translation from translation project.
3645         * po/eo.po: Update Esperanto translation from translation project.
3647         * po/cs.po: Update Czech translation from translation project.
3649         * po/nl.po: Update Dutch translation from translation project.
3651         * po/pl.po: Update Polish translation from translation project.
3653         * po/ru.po: Update Russian translation from translation project.
3655         * po/uk.po: Update Ukrainian translation from translation project.
3657 2014-01-08  Brooks Moses  <bmoses@google.com>
3659         * elf/dl-load.c: Fix comment typo.
3661 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
3663         * po/header.pot: Rename to...
3664         * po/pot.header: ... this.
3665         * po/Makefile: Use pot.header.
3667 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
3668             Maxim Kuvyrkov  <maxim@kugelworks.com>
3670         [BZ #16394]
3671         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
3672         SRC and DEST against LEN.
3674 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3676         [BZ #16414]
3677         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
3678         implementation.
3679         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
3681 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3685 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
3687         [BZ #16408]
3688         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
3689         for large positive arguments.
3691 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
3693         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3695         * math/auto-libm-test-in: Mark various tests with
3696         xfail-rounding:ldbl-128ibm.
3697         * math/auto-libm-test-out: Regenerated.
3699         [BZ #16407]
3700         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
3701         Increase overflow threshold.
3703 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
3705         [BZ #14286]
3706         * stdio-common/vfprintf.c: Check for integer overflow.
3708 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3710         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
3711         the first argument and return value of __tls_get_addr_internal.
3713 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3715         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
3716         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
3718 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3720         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
3721         * sysdeps/s390/rtld-global-offsets.sym: New file.
3722         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
3723         GLIBC_2.19 symbol.
3724         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
3725         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
3726         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3727         ... this.
3728         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
3729         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3730         ... this.
3731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3732         Regenerate.
3733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3734         Regenerate.
3735         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
3736         halfs of GPRs for high_gprs contexts.
3737         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
3738         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
3739         field.
3740         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
3741         uc_flags field.
3742         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
3743         64 bit versions:
3744         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
3745         for high GPRs (uc_high_gprs) and for future extensions
3746         (__reserved).
3747         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
3748         for future extensions (__reserved).
3749         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
3750         64 bit versions:
3751         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
3752         SC_HIGHGPRS offset definition.
3753         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
3754         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
3756 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3758         * Versions.def: Add GLIBC_2.19 for libpthread.
3759         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
3760         siglongjmp for libpthread with GLIBC_2.19 symver.
3761         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
3762         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
3763         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
3764         * sysdeps/s390/__longjmp.c: New file.
3765         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
3766         * sysdeps/s390/longjmp.c: New file.
3767         * sysdeps/s390/setjmp.S: New file.
3768         * sysdeps/s390/sigjmp.S: New file.
3769         * sysdeps/s390/v1-longjmp.c: New file.
3770         * sysdeps/s390/v1-setjmp.h: New file.
3771         * sysdeps/s390/v1-sigjmp.c: New file.
3772         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
3773         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
3774         GLIBC_2.19 version.
3775         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
3776         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
3777         versioned symbols for ____longjmp_chk.
3778         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3779         Likewise.
3780         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
3781         Regenerate.
3782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3783         Regenerate.
3784         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
3785         Regenerate.
3786         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3787         Regenerate.
3788         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
3789         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
3790         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
3791         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
3792         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
3793         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
3794         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
3795         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
3796         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
3797         * sysdeps/s390/rtld-__longjmp.c: New file.
3798         * sysdeps/s390/rtld-setjmp.S: New file.
3800 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
3802         [BZ #16400]
3803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
3804         Return -__logl (x) for small positive arguments without evaluating
3805         a polynomial.
3807 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
3809         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
3810         Rename to ...
3811         (__ptrace_peeksiginfo_args): ... this.
3812         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3813         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3814         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3816 2014-01-06  Allan McRae  <allan@archlinux.org>
3818         * inet/netinet/in.h: Fix typo in comment.
3820 2014-01-05  Andreas Jaeger  <aj@suse.de>
3822         * sysdeps/i386/fpu/libm-test-ulps: Update.
3824 2014-01-05  Allan McRae  <allan@archlinux.org>
3826         * po/libc.pot: Regenerated.
3828         * malloc/memusagestat.c: Fix gettext call formatting.
3830 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
3832         * nscd/nscd.c: Improve usage() output.
3834 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
3836         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
3837         * sysdeps/unix/sysv/linux/configure: Regenerated.
3838         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
3839         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
3841 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3843         [BZ #16390]
3844         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
3845         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
3847 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3849         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
3850         extra tokens at end of #undef directive.
3851         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
3852         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
3853         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3855 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
3857         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
3859         * math/auto-libm-test-in: Mark various tests with
3860         xfail-rounding:ldbl-128ibm.
3861         * math/auto-libm-test-out: Regenerated.
3863 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
3865         [BZ #16386]
3866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
3867         numbers with subnormal high part when calculating exponent.
3869         [BZ #16385]
3870         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
3871         fabs.
3873         [BZ #16384]
3874         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
3875         M_LN2l.
3876         (__ieee754_acoshl): Use __log1pl not __log1p.
3878 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
3880         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
3881         ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
3882         __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
3883         heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
3884         Convert to GNU style.
3885         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
3886         mem2mem_check, mem2chunk_check, top_check, realloc_check,
3887         memalign_check, __malloc_set_state): Likewise.
3888         * malloc/mallocbug.c (main): Likewise.
3889         * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
3890         do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
3891         mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
3892         _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
3893         musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
3894         * malloc/malloc.h: Likewise.
3895         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
3896         memalignhook, reallochook, mabort): Likewise.
3897         * malloc/mcheck.h: Likewise.
3898         * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
3899         mmap64, mremap, munmap, dest): Likewise.
3900         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
3901         * malloc/morecore.c (__default_morecore): Likewise.
3902         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
3903         * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
3904         _obstack_allocated_p, obstack_free, _obstack_memory_used,
3905         print_and_abort): Likewise.
3906         * malloc/obstack.h: Likewise.
3907         * malloc/set-freeres.c (__libc_freeres): Likewise.
3908         * malloc/tst-mallocstate.c (main): Likewise.
3909         * malloc/tst-mtrace.c (main): Likewise.
3910         * malloc/tst-realloc.c (do_test): Likewise.
3912 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
3914         [BZ #16366]
3915         * nscd/netgroupcache.c (do_notfound): New function.
3916         (addgetnetgrentX): Use it.
3918         [BZ # 16365]
3919         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
3920         NSS_STATUS_NOTFOUND.
3922 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
3924         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3927 2014-01-01  Allan McRae  <allan@archlinux.org>
3929         * scripts/update-copyrights: Update configure input file suffix.
3931         * NEWS: Update copyright year.
3932         * catgets/gencat.c: Likewise.
3933         * csu/version.c: Likewise.
3934         * debug/catchsegv.sh: Likewise.
3935         * debug/pcprofiledump.c: Likewise.
3936         * debug/xtrace.sh: Likewise.
3937         * elf/ldconfig.c: Likewise.
3938         * elf/ldd.bash.in: Likewise.
3939         * elf/pldd.c: Likewise.
3940         * elf/sotruss.ksh: Likewise.
3941         * elf/sprof.c: Likewise.
3942         * iconv/iconv_prog.c: Likewise.
3943         * iconv/iconvconfig.c: Likewise.
3944         * locale/programs/locale.c: Likewise.
3945         * locale/programs/localedef.c: Likewise.
3946         * login/programs/pt_chown.c: Likewise.
3947         * malloc/memusage.sh: Likewise.
3948         * malloc/memusagestat.c: Likewise.
3949         * malloc/mtrace.pl: Likewise.
3950         * manual/libc.texinfo: Likewise.
3951         * nscd/nscd.c: Likewise.
3952         * nss/getent.c: Likewise.
3953         * nss/makedb.c: Likewise.
3954         * posix/getconf.c: Likewise.
3955         * scripts/test-installation.pl: Likewise.
3957         * All files with FSF copyright notices: Update copyright dates
3958         using scripts/update-copyrights.
3959         * intl/plural.c: Regenerated.
3960         * locale/programs/charmap-kw.h: Likewise.
3961         * locale/programs/locfile-kw.h: Likewise.
3963 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
3965         * sysdeps/unix/sysv/linux/configure: Regenerated.
3966         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
3967         the linux/fanotify.h header.
3968         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
3969         HAVE_LINUX_FANOTIFY_H is defined.
3971 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
3973         * benchtests/cos-inputs: New inputs.
3974         * benchtests/sin-inputs: Likewise.
3976         * benchtests/atan-inputs: New inputs. Fix name of multiple
3977         precision fallback inputs.
3979         * benchtests/atanh-inputs: New inputs.
3980         * benchtests/tanh-inputs: Likewise.
3982         * benchtests/acosh-inputs: New inputs.
3983         * benchtests/asinh-inputs: Likewise.
3985         * benchtests/cosh-inputs: New inputs.
3986         * benchtests/sinh-inputs: Likewise.
3988         * benchtests/acos-inputs: Add more inputs.
3989         * benchtests/asin-inputs: Likewise.
3991 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
3993         [BZ #16375]
3994         * manual/arith.texi: Fix spelling.
3995         * manual/charset.texi: Likewise.
3996         * manual/errno.texi: Likewise.
3997         * manual/filesys.texi: Likewise.
3998         * manual/lang.texi: Likewise.
3999         * manual/llio.texi: Likewise.
4000         * manual/locale.texi: Likewise.
4001         * manual/message.texi: Likewise.
4002         * manual/resource.texi: Likewise.
4003         * manual/search.texi: Likewise.
4004         * manual/setjmp.texi: Likewise.
4005         * manual/stdio.texi: Likewise.
4006         * manual/string.texi: Likewise.
4007         * manual/sysinfo.texi: Likewise.
4008         * manual/time.texi: Likewise.
4010 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
4012         * po/sl.po: New file.
4014 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
4016         * .gitignore: Add core/.gdbinit/.gdb_history.
4018 2013-12-27  Allan McRae  <allan@archlinux.org>
4020         [BZ #16369]
4021         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
4022         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
4024 2013-12-24  Brooks Moses  <bmoses@google.com>
4026         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
4027         all compilers that claim C++98 compliance, not just GCC.
4028         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
4029         Likewise.
4031 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4033         * NEWS: Restore accidentally deleted bug-fix entries.
4035 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
4036             Ondřej Bílka  <neleai@seznam.cz>
4038         [BZ #15073]
4039         * malloc/malloc.c (_int_free): Perform sanity check only if we
4040         have_lock.
4042 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
4044         [BZ #12986]
4045         * manual/stdio.texi (String Input Conversions): Clarify that character
4046         classes are not supported.
4048 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4052 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
4054         [BZ #16337]
4055         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4056         Calculate results for small negative arguments directly rather
4057         than using reflection formula with special underflow handling.
4059         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
4060         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
4061         sysdeps/unix/bsd/bsd4.4/syscalls.list.
4062         (fchflags): Likewise.
4063         (revoke): Likewise.
4064         (setlogin): Likewise.
4065         (sigaltstack): Likewise.
4066         (wait4): Likewise.
4067         (sigblock): Remove.
4068         (sigsetmask): Likewise.
4069         (wait3): Likewise.
4070         (waitpid): Likewise.
4071         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
4072         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
4073         file.
4074         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
4075         * sysdeps/unix/bsd/Makefile: ... here.
4076         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
4077         * sysdeps/unix/bsd/Versions: ... here.
4078         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
4079         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
4080         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
4081         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
4082         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
4083         * sysdeps/unix/bsd/sigblock.c: ... here.
4084         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
4085         * sysdeps/unix/bsd/sigsetmask.c: ... here.
4086         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
4087         * sysdeps/unix/bsd/sigvec.c: ... here.
4088         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
4089         * sysdeps/unix/bsd/tcdrain.c: ... here.
4090         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
4091         * sysdeps/unix/bsd/tcgetattr.c: ... here.
4092         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
4093         * sysdeps/unix/bsd/tcsetattr.c: ... here.
4094         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
4095         * sysdeps/unix/bsd/wait.c: ... here.
4096         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
4097         * sysdeps/unix/bsd/wait3.c: ... here.
4098         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
4099         * sysdeps/unix/bsd/waitpid.c: ... here.
4101 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
4103         [BZ #16356]
4104         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
4105         round-to-nearest for [!USE_AS_EXPM1L].
4106         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
4107         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
4108         more tests of exp and exp10.  Expect some exp10 tests to miss
4109         exceptions or fail in directed rounding modes.
4110         * math/auto-libm-test-out: Regenerated.
4111         * math/libm-test.inc (exp10_tonearest_test_data): New array.
4112         (exp10_test_tonearest): New function.
4113         (exp10_towardzero_test_data): New array.
4114         (exp10_test_towardzero): New function.
4115         (exp10_downward_test_data): New array.
4116         (exp10_test_downward): New function.
4117         (exp10_upward_test_data): New array.
4118         (exp10_test_upward): New function.
4119         (main): Call the new functions.
4120         * sysdeps/i386/fpu/libm-test-ulps: Update.
4121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
4125         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
4126         asinh, atan, atan2, atanh, cbrt, cos and cosh.
4127         * math/auto-libm-test-out: Regenerated.
4128         * math/libm-test.inc (acosh_test_data): Add more tests.
4129         (atanh_test_data): Likewise.
4130         (ceil_test_data): Likewise.
4131         (copysign_test_data): Likewise.
4132         * sysdeps/i386/fpu/libm-test-ulps: Update.
4133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4135         * timezone/checktab.awk: Update from tzcode 2013i.
4136         * timezone/private.h: Likewise.
4137         * timezone/scheck.c: Likewise.
4138         * timezone/tzfile.h: Likewise.
4139         * timezone/tzselect.ksh: Likewise.
4140         * timezone/zdump.c: Likewise.
4141         * timezone/zic.c: Likewise.
4143         * math/auto-libm-test-in: Add tests of cpow.
4144         * math/auto-libm-test-out: Regenerated.
4145         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
4146         * * math/gen-auto-libm-tests.c (func_calc_method): Add value
4147         mpc_cc_c.
4148         (func_calc_desc): Add mpc_cc_c union field.
4149         (test_functions): Add cpow.
4150         (special_fill_2pi): New function.
4151         (special_real_inputs): Add 2pi.
4152         (calc_generic_results): Handle mpc_cc_c.
4153         * sysdeps/i386/fpu/libm-test-ulps: Update.
4154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4156         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
4157         csqrt, ctan and ctanh.
4158         * math/auto-libm-test-out: Regenerated.
4159         * math/libm-test.inc (TEST_COND_x86_64): New macro.
4160         (TEST_COND_x86): Likewise.
4161         (ccos_test_data): Use AUTO_TESTS_c_c.
4162         (ccosh_test_data): Likewise.
4163         (cexp_test_data): Likewise.
4164         (clog_test_data): Likewise.
4165         (csqrt_test_data): Likewise.
4166         (ctan_test_data): Likewise.
4167         (ctan_tonearest_test_data): Likewise.
4168         (ctan_towardzero_test_data): Likewise.
4169         (ctan_downward_test_data): Likewise.
4170         (ctan_upward_test_data): Likewise.
4171         (ctanh_test_data): Likewise.
4172         (ctanh_tonearest_test_data): Likewise.
4173         (ctanh_towardzero_test_data): Likewise.
4174         (ctanh_downward_test_data): Likewise.
4175         (ctanh_upward_test_data): Likewise.
4176         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4177         mpc_c_c.
4178         (func_calc_desc): Add mpc_c_c union field.
4179         (FUNC_mpc_c_c): New macro.
4180         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
4181         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
4182         ctanh.
4183         (special_fill_min_subnorm_p120): New function.
4184         (special_real_inputs): Add min_subnorm_p120.
4185         (calc_generic_results): Handle mpc_c_c.
4186         * sysdeps/i386/fpu/libm-test-ulps: Update.
4187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4189 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4191         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
4192         do_sin_slow): New functions.
4193         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
4194         cslow2, csloww1, csloww2): Use the new functions.
4196         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
4197         Use M to change sign of result instead of X.  Assume X is
4198         positive.
4199         (csloww1): Likewise.
4200         (__sin): Adjust.
4201         (__cos): Adjust.
4203         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
4204         arguments A and DA.
4205         (__sin): Adjust.
4206         (__cos): Likewise.
4208         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
4209         (__cos): Likewise.
4210         (sloww1): Don't adjust sign of DX.
4211         (csloww1): Likewise.
4212         (sloww2): Use X directly and don't adjust sign of DX.
4213         (csloww2): Likewise.
4215 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4217         * math/auto-libm-test-in: Add tests of cabs and carg.
4218         * math/auto-libm-test-out: Regenerated.
4219         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
4220         (carg_test_data): Likewise.
4221         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4222         mpc_c_f.
4223         (func_calc_desc): Add mpc_c_f union field.
4224         (test_functions): Add cabs and carg.
4225         (calc_generic_results): Handle mpc_c_f.
4227         * sysdeps/powerpc/powerpc32/libgcc-compat.S
4228         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
4229         as a macro and a compat symbol.
4230         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
4231         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
4232         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
4233         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
4234         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
4235         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
4236         not use .hidden.
4237         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
4238         Likewise.
4239         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
4240         Likewise.
4241         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
4242         Likewise.
4243         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
4244         Likewise.
4245         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
4246         Likewise.
4247         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
4248         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
4249         from GLIBC_2.3.2.
4251 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4255 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4257         * manual/texinfo.tex: Update to version 2013-11-26.10 with
4258         trailing whitespace removed.
4259         * scripts/config.guess: Update to version 2013-11-29.
4260         * scripts/config.sub: Update to version 2013-10-01.
4262         * math/auto-libm-test-in: Add tests of sincos.
4263         * math/auto-libm-test-out: Regenerated.
4264         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
4265         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4266         mpfr_f_11.
4267         (func_calc_desc): Add mpfr_f_11 union field.
4268         (test_functions): Add sincos.
4269         (calc_generic_results): Handle mpfr_f_11.
4270         * sysdeps/i386/fpu/libm-test-ulps: Update.
4271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4273 2013-12-19  Andreas Schwab  <schwab@suse.de>
4275         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
4276         CALL_MCOUNT.
4277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
4278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
4279         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
4281 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
4283         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
4284         * sysdeps/i386/fpu/libm-test-ulps: Update.
4285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4287         [BZ #16293]
4288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
4289         round-to-nearest mode when using frndint.
4290         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
4291         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
4292         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
4293         Likewise.
4294         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
4295         sinh test to fail.
4296         * math/auto-libm-test-out: Regenerated.
4297         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
4298         (TEST_COND_x86): Likewise.
4299         (expm1_tonearest_test_data): New array.
4300         (expm1_test_tonearest): New function.
4301         (expm1_towardzero_test_data): New array.
4302         (expm1_test_towardzero): New function.
4303         (expm1_downward_test_data): New array.
4304         (expm1_test_downward): New function.
4305         (expm1_upward_test_data): New array.
4306         (expm1_test_upward): New function.
4307         (main): Run the new test functions.
4308         * sysdeps/i386/fpu/libm-test-ulps: Update.
4309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4311         * include/features.h: Update comment documenting feature test
4312         macros.  Mention _DEFAULT_SOURCE in comment.
4313         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
4314         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
4315         _BSD_SOURCE and _SVID_SOURCE.
4316         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
4317         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
4318         !_SVID_SOURCE]: Likewise.
4319         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4320         (__USE_POSIX_IMPLICITLY): Define.
4321         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4322         (_POSIX_SOURCE): Undefine and redefine.
4323         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
4324         (_POSIX_C_SOURCE): Likewise.
4325         * manual/creature.texi (_DEFAULT_SOURCE): Document.
4326         (Feature Test Macros): Update documentation of default features.
4328 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4330         * benchtests/Makefile: Add bench-strtok.
4331         * benchtests/bench-strtok.c: New file: strtok benchtest.
4333 2013-12-19  Allan McRae  <allan@archlinux.org>
4335         * manual/install.texi: Suppress menu for plain text output.
4336         * INSTALL: Regenerated.
4338 2013-12-18  Brooks Moses  <bmoses@google.com>
4340         [BZ #15846]
4341         * misc/getauxval.c: Include errno.h.
4342         (__getauxval): Set errno to ENOENT if the requested type is not
4343         found.
4344         * misc/sys/auxv.h (getauxval): Document that it may set errno;
4345         don't declare with __attribute_const__.
4346         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
4347         * manual/startup.texi: Document that getauxval sets errno.
4349 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4351         * math/auto-libm-test-in: Add tests of jn and yn.
4352         * math/auto-libm-test-out: Regenerated.
4353         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
4354         (yn_test_data): Likewise.
4355         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4356         mpfr_if_f.
4357         (func_calc_desc): Add mpfr_if_f union field.
4358         (FUNC_mpfr_if_f): New macro.
4359         (test_functions): Add jn and yn.
4360         (calc_generic_results): Assert type of second input for
4361         mpfr_ff_f.  Handle mpfr_if_f.
4362         (output_for_one_input_case): Disable all checking for arguments
4363         fitting floating-point types in case of an integer argument.
4364         * sysdeps/i386/fpu/libm-test-ulps: Update.
4365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
4368         Don't expect fegetround reference in libm.so.
4370 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
4372         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
4373         $(config-cflags-nofma).
4375 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
4377         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
4378         * math/auto-libm-test-out: Regenerated.
4380         [BZ #16338]
4381         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
4382         to determine exponent and adjust argument to have exponent of -1.
4383         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
4384         log2.
4385         * math/auto-libm-test-out: Regenerated.
4386         * sysdeps/i386/fpu/libm-test-ulps: Update.
4387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4389 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
4391         * manual/probes.texi: Remove cases when per-thread arenas are
4392         disabled.
4394 2013-12-18  Andreas Schwab  <schwab@suse.de>
4396         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
4397         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
4398         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
4399         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
4400         * sysdeps/i386/i686/multiarch/Makefile: Update.
4401         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
4403 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4405         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
4406         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
4408 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
4410         [BZ #15968]
4411         Support TZ transition times < 00:00:00.
4412         This is needed for version-3 tz-format files; it supports time
4413         stamps past 2037 for America/Godthab (the only entry in the tz
4414         database for which this change is relevant).
4415         * manual/time.texi (TZ Variable): Document transition times
4416         from -167:59:59 through -00:00:01.
4417         * time/tzset.c (tz_rule): Time of day is now signed.
4418         (__tzset_parse_tz): Parse negative time of day.
4420         Document TZ transition times >= 25:00:00.
4421         * manual/time.texi (TZ Variable): Document transition times from
4422         25:00:00 through 167:59:59.  These are already supported, and this
4423         support will help with version-3 tz-format files.
4425         * manual/time.texi (TZ Variable): Modernize North America example
4426         to reflect current (i.e., 2007-and-later) daylight saving rules.
4428         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
4430 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4432         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
4433         * sysdeps/unix/bsd/bits/stat.h: Likewise.
4434         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
4435         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
4436         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
4437         * sysdeps/unix/bsd/bsdstat.h: Likewise.
4438         * sysdeps/unix/bsd/clock.c: Likewise.
4439         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
4440         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
4441         * sysdeps/unix/bsd/init-posix.c: Likewise.
4442         * sysdeps/unix/bsd/poll.c: Likewise.
4443         * sysdeps/unix/bsd/ptsname.c: Likewise.
4444         * sysdeps/unix/bsd/seekdir.c: Likewise.
4445         * sysdeps/unix/bsd/setegid.c: Likewise.
4446         * sysdeps/unix/bsd/seteuid.c: Likewise.
4447         * sysdeps/unix/bsd/setgid.c: Likewise.
4448         * sysdeps/unix/bsd/setrgid.c: Likewise.
4449         * sysdeps/unix/bsd/setruid.c: Likewise.
4450         * sysdeps/unix/bsd/setsid.c: Likewise.
4451         * sysdeps/unix/bsd/setuid.c: Likewise.
4452         * sysdeps/unix/bsd/sigaction.c: Likewise.
4453         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
4454         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
4455         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
4456         * sysdeps/unix/bsd/telldir.c: Likewise.
4457         * sysdeps/unix/bsd/times.c: Likewise.
4458         * sysdeps/unix/bsd/usleep.c: Likewise.
4460         * misc/Makefile (install-lib): Remove libbsd-compat.a.
4461         ($(objpfx)libbsd-compat.a): Remove rule.
4463         * include/features.h (__FAVOR_BSD): Do not define.
4464         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
4465         features conflicting with POSIX.
4466         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
4467         (_BSD_SOURCE): Remove description of not being a subset of other
4468         feature test macros.
4469         * manual/job.texi (getpgrp): Do not document BSD version.
4470         (getpgid): Do not document by reference to BSD getpgrp.
4471         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
4472         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
4473         * signal/signal.h [__FAVOR_BSD]: Likewise.
4474         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
4475         instead of making contents conditional on [__FAVOR_BSD].
4476         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
4478 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4482 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
4484         [BZ #16314]
4485         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
4486         values below 2**-450, not 2**-500.
4487         * math/auto-libm-test-in: Don't allow spurious underflow from
4488         hypot.
4489         * math/auto-libm-test-out: Regenerated.
4491         [BZ #16316]
4492         [BZ #16330]
4493         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
4494         values of ha and hb and sort them after adjusting subnormal
4495         arguments.
4496         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
4497         Likewise.
4498         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
4499         values of ea and eb and sort them after adjusting subnormal
4500         arguments.
4501         * math/auto-libm-test-in: Do not expect some hypot tests of
4502         subnormals to fail.  Add more hypot tests.
4503         * math/auto-libm-test-out: Regenerated.
4505 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4507         [BZ #13304]
4508         * sysdeps/sh/s_fma.c: New file.
4509         * sysdeps/sh/s_fmaf.c: New file.
4510         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
4511         version.
4512         * sysdeps/sh/Implies: Add sh/soft-fp.
4514 2013-12-16  Roland McGrath  <roland@hack.frob.com>
4516         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
4517         level of indirection to members `objname', `errstring', `malloced'.
4518         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
4519         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
4520         it as the __longjmp argument (just pass 1 instead).
4521         (_dl_catch_error): Initialize C with argument pointers and address of
4522         volatile local ERRCODE rather than copying values out of C at return.
4524 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
4526         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
4527         * math/auto-libm-test-out: Regenerated.
4528         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
4529         (hypot_test_data): Likewise.
4530         (pow_test_data): Likewise.
4531         (pow_tonearest_test_data): Likewise.
4532         * math/gen-auto-libm-tests.c (func_calc_method): Add value
4533         mpfr_ff_f.
4534         (func_calc_desc): Add mpfr_ff_f union field.
4535         (FUNC_mpfr_ff_f): New macro.
4536         (test_functions): Add atan2, hypot and pow.
4537         (special_fill_min): New function.
4538         (special_fill_minus_min): Likewise.
4539         (special_fill_min_subnorm): Likewise.
4540         (special_fill_minus_min_subnorm): Likewise.
4541         (special_real_inputs): Add min, -min, min_subnorm and
4542         -min_subnorm.
4543         (calc_generic_results): Handle mpfr_ff_f.
4544         * sysdeps/i386/fpu/libm-test-ulps: Update.
4545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4547 2013-12-16  Will Newton  <will.newton@linaro.org>
4549         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
4550         (Aligned Memory Blocks): Add documentation for aligned_alloc
4551         and suggest it as an alternative to posix_memalign.
4552         (Hooks for Malloc): Document __memalign_hook is also called
4553         for aligned_alloc.  (Summary of Malloc): Add summary for
4554         aligned alloc.  Document __memalign_hook is also called
4555         for aligned_alloc.
4557 2013-12-16  Will Newton  <will.newton@linaro.org>
4559         * manual/memory.texi (Malloc Examples): Clarify default
4560         alignment documentation.  Suggest posix_memalign rather
4561         than memalign or valloc.
4562         (Aligned Memory Blocks): Remove suggestion to use memalign
4563         or valloc.  Remove obsolete comment about BSD.
4564         Document memalign errno values and mark the function obsolete.
4565         Document posix_memalign returned error codes.  Mark valloc
4566         as obsolete.  (Hooks for Malloc): __memalign_hook is also
4567         called for posix_memalign and valloc.
4568         (Summary of Malloc): Add posix_memalign to function summary.
4569         __memalign_hook is also called for posix_memalign and valloc.
4571 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4573         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
4574         TAYLOR_SIN.
4575         (__sin): Adjust.
4576         (__cos): Likewise.
4577         (sloww): Use mynumber union.  Expand ternary operator into
4578         if-else statements.
4579         (cslow): use mynumber union.
4581 2013-12-16  Allan McRae  <allan@archlinux.org>
4583         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
4584         * configure: Regenerated.
4586         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
4588         [BZ #14120]
4589         * configure.ac: Added --enable-maintainer-mode. Check for
4590         autoconf when enabled.
4591         * configure: Regenerated.
4593         * nscd/nscd.service: New file.
4594         * nscd/nscd.tmpfiles: New file.
4596 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
4598         [BZ #12100]
4599         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
4600         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
4601         * sysdeps/x86_64/multiarch/strstr.c: ... here.
4602         (strstr): Add __strstr_sse2_unaligned ifunc.
4603         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
4604         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
4605         (strcasestr): Remove __strcasestr_sse42 ifunc.
4606         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
4607         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4608         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
4610 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
4612         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
4613         * sysdeps/sh/bits/fenv.h: ... here.
4614         * sysdeps/sh/sh4/fpu/bits: Remove directory.
4616 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4618         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
4620 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4622         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
4623         hypotf multiarch implementations.
4624         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
4625         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
4626         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
4627         multiarch hypot for PPC64.
4628         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
4629         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
4630         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
4631         multiarch hypotf for PPC64.
4633 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4635         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
4636         modff multiarch implementations.
4637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
4638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
4639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
4640         multiarch modf for PPC64.
4641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
4642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
4643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
4644         multiarch modff for PPC64.
4646 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4648         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
4649         and logl multiarch implementations.
4650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
4651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
4652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
4653         multiarch logb for PPC64.
4654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
4655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
4656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
4657         multiarch logb for PPC64.
4658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
4659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
4660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
4661         multiarch logb for PPC64.
4663 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
4666         isinff multiarch implementation.
4667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
4668         file.
4669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
4670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
4671         multiarch isinf for PPC64.
4672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
4673         file.
4674         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
4675         multiarch isinff for PPC64.
4677 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4679         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
4680         finitef multiarch implementation.
4681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
4682         file.
4683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
4684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
4685         multiarch finite for PPC64.
4686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
4687         file.
4688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
4689         multiarch finitef for PPC64.
4691 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4693         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
4694         lrint multiarch implementation.
4695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
4696         file.
4697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
4698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
4699         multiarch llrint for PPC64.
4700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
4701         multiarch lrint for PPC64.
4703 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4705         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
4706         copysignf multiarch implementation.
4707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
4708         file.
4709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
4710         file.
4711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
4712         multiarch copysign for PPC64.
4713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
4714         multiarch copysignf for PPC64.
4716 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4718         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
4719         multiarch implementation.
4720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
4721         file.
4722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
4723         file.
4724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
4725         file.
4726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
4727         file.
4728         multiarch llround for PPC64.
4729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
4730         multiarch trunc for PPC64.
4731         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
4732         multiarch truncf for PPC64.
4734 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4736         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
4737         multiarch implementation.
4738         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
4739         file.
4740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
4741         file.
4742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
4743         file.
4744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
4745         file.
4746         multiarch llround for PPC64.
4747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
4748         multiarch round for PPC64.
4749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
4750         multiarch roundf for PPC64.
4752 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4754         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
4755         multiarch implementation.
4756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
4757         file.
4758         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
4759         file.
4760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
4761         file.
4762         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
4763         file.
4764         multiarch llround for PPC64.
4765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
4766         multiarch floor for PPC64.
4767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
4768         multiarch floorf for PPC64.
4770 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4772         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
4773         multiarch implementation.
4774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
4775         file.
4776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
4777         file.
4778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
4779         file.
4780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
4781         file.
4782         multiarch llround for PPC64.
4783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
4784         multiarch ceil for PPC64.
4785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
4786         multiarch ceilf for PPC64.
4788 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4790         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4791         multiarch implementation.
4792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
4793         file.
4794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
4795         file.
4796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
4797         file.
4798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
4799         multiarch llround for PPC64.
4800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
4801         multiarch lround for PPC64.
4803 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4805         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4806         multiarch implementation.
4807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
4808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
4809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
4810         file.
4811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
4812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
4813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
4814         multiarch isnan for PPC64.
4815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
4816         multiarch isnanf for PPC64.
4818 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4820         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
4821         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
4822         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
4823         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
4824         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
4825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
4827 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4829         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
4830         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4834 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
4837         multiarch implementations.
4838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4839         (__libc_ifunc_impl_list): Likewise.
4840         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
4841         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
4842         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
4843         multiarch stpcpy for PPC64.
4845 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4847         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
4848         multiarch implementations.
4849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4850         (__libc_ifunc_impl_list): Likewise.
4851         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
4852         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
4853         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
4854         multiarch strcpy for PPC64.
4856 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4858         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
4859         redefine function name.
4860         (_wordcopy_fwd_dest_aligned): Likewise.
4861         (_wordcopy_bwd_aligned): Likewise.
4862         (_wordcopy_bwd_dest_aligned): Likewise.
4863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
4864         multiarch implementations.
4865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4866         (__libc_ifunc_impl_list): Likewise.
4867         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
4868         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
4869         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
4870         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
4871         multiarch wcscpy for PPC64.
4873 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4875         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
4876         multiarch implementations.
4877         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4878         (__libc_ifunc_impl_list): Likewise.
4879         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
4880         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
4881         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
4882         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
4883         multiarch wcscpy for PPC64.
4885 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
4888         multiarch implementations.
4889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4890         (__libc_ifunc_impl_list): Likewise.
4891         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
4892         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
4893         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
4894         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
4895         multiarch wcsrchr for PPC64.
4897 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
4900         multiarch implementations.
4901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4902         (__libc_ifunc_impl_list): Likewise.
4903         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
4904         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
4905         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
4906         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
4907         multiarch wcschr for PPC64.
4909 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
4912         multiarch implementations.
4913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4914         (__libc_ifunc_impl_list): Likewise.
4915         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
4916         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
4917         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
4918         multiarch strchrnul for PPC64.
4920 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
4923         implementations.
4924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4925         (__libc_ifunc_impl_list): Likewise.
4926         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
4927         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
4928         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
4929         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
4930         strchr for PPC64.
4932 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4934         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
4935         implementations.
4936         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4937         (__libc_ifunc_impl_list): Likewise.
4938         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
4939         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
4940         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
4941         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
4942         strncmp for PPC64.
4944 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4946         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
4947         multiarch implementations.
4948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4949         (__libc_ifunc_impl_list): Likewise.
4950         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
4951         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
4952         strncasecmp for PPC64.
4953         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
4954         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
4955         multiarch strncasecmp_l for PPC64.
4957 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
4960         multiarch implementations.
4961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4962         (__libc_ifunc_impl_list): Likewise.
4963         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
4964         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
4965         multiarch strcasecmp for PPC64.
4966         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
4967         file.
4968         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
4969         multiarch strcasecmp_l for PPC64.
4971 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
4974         implementations.
4975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4976         (__libc_ifunc_impl_list): Likewise.
4977         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
4978         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
4979         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
4980         strnlen for PPC64.
4982 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4984         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
4985         implementations.
4986         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4987         (__libc_ifunc_impl_list): Likewise.
4988         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
4989         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
4990         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
4991         strlen for PPC64.
4993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4995         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
4996         implementations.
4997         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4998         (__libc_ifunc_impl_list): Likewise.
4999         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
5000         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
5001         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
5002         rawmemrchr for PPC64.
5004 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5006         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
5007         implementation.
5008         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5009         (__libc_ifunc_impl_list): Likewise.
5010         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
5011         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
5012         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
5013         memrchr for PPC64.
5015 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5017         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
5018         implementation.
5019         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5020         (__libc_ifunc_impl_list): Likewise.
5021         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
5022         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
5023         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
5024         memchr for PPC64.
5026 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
5029         implementation.
5030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5031         (__libc_ifunc_impl_list): Likewise.
5032         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
5033         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
5034         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
5035         mempcpy for PPC64.
5037 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5039         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
5040         avoid cretion of __bzero symbol.
5041         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
5042         Likewise.
5043         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
5044         Likewise.
5045         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
5046         Likewise.
5047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
5048         multiarch implementations.
5049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5050         (__libc_ifunc_impl_list): Likewise.
5051         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
5052         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
5053         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
5054         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
5055         bzero for PPC32.
5056         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
5057         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
5058         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
5059         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
5060         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
5061         memset for PPC64.
5062         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
5064 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5066         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
5067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
5068         implementations.
5069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5070         (__libc_ifunc_impl_list): Likewise.
5071         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
5072         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
5073         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
5074         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
5075         memcmp for PPC64.
5077 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
5080         multiarch for POWER/PPC64.
5081         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
5082         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
5083         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
5084         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
5085         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
5086         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
5087         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
5088         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
5089         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
5090         memcpy for PPC64.
5092 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5094         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
5095         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5096         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
5097         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
5098         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
5099         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
5100         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
5101         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
5102         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
5103         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
5104         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
5105         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
5106         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
5107         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
5108         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
5109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
5110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
5111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
5112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
5113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
5114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
5115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
5117 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5119         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
5121 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5123         * benchtests/Makefile (bench): Add exp2 and log2.
5124         (LDLIBS-bench-exp2): Add -lm.
5125         (LDLIBS-bench-log2): Likewise.
5126         * benchtests/exp2-inputs: New inputs file.
5127         * benchtests/log2-inputs: New inputs file.
5128         * benchtests/log-inputs: Add new inputs.
5129         * benchtests/tan-inputs: Likewise.
5131 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5133         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
5134         definition...
5135         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
5136         csloww1, csloww2): ... from here.
5138         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
5139         instead of structures.
5140         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
5141         (POLYNOMIAL): Likewise.
5142         (TAYLOR_SLOW): Likewise.
5143         (__sin): Likewise.
5144         (__cos): Likewise.
5145         (slow1): Likewise.
5146         (slow2): Likewise.
5147         (sloww): Likewise.
5148         (sloww1); Likewise.
5149         (sloww2): Likewise.
5150         (bsloww1): Likewise.
5151         (bsloww2): Likewise.
5152         (cslow2): Likewise.
5153         (csloww): Likewise.
5154         (csloww1): Likewise.
5155         (csloww2): Likewise.
5157 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5159         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
5160         (__malloc_assert, __libc_realloc, __libc_calloc,
5161         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
5162         memcpy and memset.
5163         * malloc/hooks.c (realloc_check): Likewise.
5165 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
5167         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
5168         * malloc/arena.c: Remove PER_THREAD conditional.
5169         [!PER_THREAD]: Remove code.
5170         (ptmalloc_unlock_all2): Likewise.
5171         (ptmalloc_init): Likewise.
5172         (_int_new_arena): Likewise.
5173         (arena_get2): Likewise.
5174         * malloc/hooks.c (__malloc_get_state): Likewise.
5175         (__malloc_set_state): Likewise.
5176         * malloc/malloc.c: Likewise.
5177         (struct malloc_state): Likewise.
5178         (struct malloc_par): Likewise.
5179         (__libc_realloc): Likewise.
5180         (__libc_mallopt): Likewise.
5182 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5184         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
5186 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5188         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
5189         macro to a function.  Check for zero perturb_byte.
5190         (_int_malloc, _int_free): Remove zero perturb_byte checks.
5192 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
5194         * malloc/malloc.c: (force_reg): Remove.
5195         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
5196         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
5197         force_reg by atomic_forced_read.
5198         * malloc/arena.c (ptmalloc_init): Likewise.
5199         * malloc/hooks.c (top_check): Likewise.
5201 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5203         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5205 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
5207         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5209 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
5211         * math/auto-libm-test-in: Add tests of lgamma.
5212         * math/auto-libm-test-out: Regenerated.
5213         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
5214         (M_LOG_2_SQRT_PIl): Likewise.
5215         (lgamma_test_data): Use AUTO_TESTS_f_f1.
5216         * math/gen-auto-libm-tests.c (func_calc_method): Add value
5217         mpfr_f_f1.
5218         (func_calc_desc): Add mpfr_f_f1 union field.
5219         (ARGS1): New macro.
5220         (ARGS2): Likewise.
5221         (ARGS3): Likewise.
5222         (ARGS4): Likewise.
5223         (RET1): Likewise.
5224         (RET2): Likewise.
5225         (CALC): Likewise.
5226         (FUNC): Likewise.
5227         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
5228         (test_functions): Add lgamma.
5229         (calc_generic_results): Handle mpfr_f_f1.
5230         * sysdeps/i386/fpu/libm-test-ulps: Update.
5231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5233 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5235         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
5236         __mpn_add_n for PowerPC64/POWER7.
5237         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
5238         __mpn_sub_n for PowerPC64/POWER7.
5240 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5242         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
5243         __mpn_addmul_1 for PowerPC64.
5244         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
5245         __mpn_submul_1 for PowerPC64.
5246         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
5247         for PowerPC64.
5248         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
5249         for PowerPC64.
5251 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
5253         [BZ #15089]
5254         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
5256 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5258         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
5260 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5262         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
5263         add multiarch folders.
5264         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
5265         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
5266         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
5267         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
5268         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
5269         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
5270         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
5271         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
5272         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
5273         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
5274         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
5275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
5276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
5277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
5278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
5279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
5280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
5282 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5285         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
5286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
5287         New file.
5288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
5289         New file.
5290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
5291         multiarch __ieee754_hypot for PowerPC32.
5292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
5293         New file.
5294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
5295         New file.
5296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
5297         multiarch __ieee754_hypotf for PowerPC32.
5299 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5301         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
5302         long_double_symbol only if __logbl is defined.
5303         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
5304         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
5305         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
5306         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
5307         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
5308         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
5309         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
5310         path for implementation.
5311         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
5312         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
5313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
5314         logb, and logbl multiarch implementations for PowerPC32.
5315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
5316         file.
5317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
5318         file.
5319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
5320         multiarch logb for PowerPC32.
5321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
5322         file.
5323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
5324         file.
5325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
5326         multiarch logbf for PowerPC32.
5327         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
5328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
5329         file.
5330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
5331         multiarch logbl implementation for PowerPC32.
5333 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
5336         and modff multiarch implementations.
5337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
5338         New file.
5339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
5340         New file.
5341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
5342         multiarch modf for PowerPC32.
5343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
5344         New file.
5345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
5346         New file.
5347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
5348         multiarch modff for PowerPC32.
5350 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
5353         and lrintf multiarch implementations.
5354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
5355         New file.
5356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
5357         New file.
5358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
5359         multiarch lrint for PowerPC32.
5360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
5361         file: multiarch lrintf for PowerPC32.
5363 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
5366         and lroundf multiarch implementations.
5367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
5368         New file.
5369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
5370         New file.
5371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
5372         New file.
5373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
5374         multiarch lround for PowerPC32.
5375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
5376         file: multiarch lroundf for PowerPC32.
5378 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
5381         copysign and copysignf multiarch implementations.
5382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
5383         New file.
5384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
5385         New file.
5386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
5387         file: multiarch copysign for PowerPC32.
5388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
5389         file: multiarch copysignf for PowerPC32.
5391 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
5394         and truncf multiarch implementations.
5395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
5396         New file.
5397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
5398         file.
5399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
5400         multiarch trunc for PowerPC32.
5401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
5402         New file.
5403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
5404         New file.
5405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
5406         multiarch truncf for PowerPC32.
5408 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
5411         and roundf multiarch implementations.
5412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
5413         New file.
5414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
5415         file.
5416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
5417         multiarch round for PowerPC32.
5418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
5419         New file.
5420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
5421         New file.
5422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
5423         multiarch roundf for PowerPC32.
5425 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
5428         and floorf multiarch implementations.
5429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
5430         New file.
5431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
5432         file.
5433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
5434         multiarch floor for PowerPC32.
5435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
5436         New file.
5437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
5438         New file.
5439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
5440         multiarch floorf for PowerPC32.
5442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
5445         and ceilf multiarch implementations.
5446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
5447         New file.
5448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
5449         file.
5450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
5451         multiarch ceil for PowerPC32.
5452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
5453         New file.
5454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
5455         file.
5456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
5457         multiarch ceilf for PowerPC32.
5459 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5461         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
5462         is defined.
5463         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
5464         FINITEF is defined.
5465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
5466         and finitef multiarch implementations.
5467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
5468         New file.
5469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
5470         file.
5471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
5472         multiarch finite for PowerPC32.
5473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
5474         New file.
5475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
5476         file: multiarch finitef for PowerPC32.
5478 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
5481         and isinff multiarch implementations.
5482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
5483         file.
5484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
5485         file.
5486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
5487         multiarch isinf for PowerPC32.
5488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
5489         New file.
5490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
5491         multiarch isinff for PowerPC32.
5493 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5495         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
5496         alias when __isnan is defined.
5497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
5498         and isnanf multiarch implementations.
5499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
5500         file.
5501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
5502         file.
5503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
5504         file.
5505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
5506         file.
5507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
5508         multiarch isnan for PowerPC32.
5509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
5510         New file.
5511         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
5512         New file.
5513         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
5514         multiarch isnanf for PowerPC32.
5516 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
5519         and sqrtf multiarch implementations.
5520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
5521         file.
5522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
5523         file.
5524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
5525         multiarch sqrt for PowerPC32.
5526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
5527         file.
5528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
5529         file.
5530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
5531         multiarch sqrtf for PowerPC32.
5533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
5536         and llroundf multiarch implementations.
5537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
5538         New file.
5539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
5540         New file.
5541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
5542         New file.
5543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
5544         file: multiarch llround for PowerPC32.
5545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
5546         file: multiarch llroundf for PowerPC32.
5548 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
5551         multiarch PowerPC32 fpu implementations.
5552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
5553         New file.
5554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
5555         New file.
5556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
5557         multiarch llrint for PowerPC32.
5558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
5559         New file.
5560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
5561         New file.
5562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
5563         file.
5565 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
5569 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5571         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
5572         file.
5573         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
5574         file.
5575         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
5576         file.
5577         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
5578         multiarch wordcopy for PPC32.
5579         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5580         wordcopy objects.
5581         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5582         (__libc_ifunc_impl_list): Likewise.
5583         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
5584         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
5585         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
5586         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
5587         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
5588         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
5590 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5592         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
5593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
5594         file.
5595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
5596         file.
5597         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
5598         file.
5599         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
5600         multiarch wcscpy for PPC32.
5601         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
5602         multiarch objects.
5603         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5604         (__libc_ifunc_impl_list): Likewise.
5605         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5606         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5607         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
5608         sysdeps/powerpc/power6/wcscpy.c.
5610 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5612         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
5613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
5614         file.
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
5616         file.
5617         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
5618         file.
5619         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
5620         multiarch wcsrchr for PPC32.
5621         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5622         multiarch objects.
5623         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5624         (__libc_ifunc_impl_list): Likewise.
5625         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
5626         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
5627         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
5628         sysdeps/powerpc/power6/wcsrchr.c.
5630 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5632         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
5633         file.
5634         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
5635         file.
5636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
5637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
5638         multiarch wcschr for PPc32.
5639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
5640         multiarch objects.
5641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5642         (__libc_ifunc_impl_list): Likewise.
5643         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
5644         * sysdeps/powerpc/power6/wcschr.c: ... to here.
5645         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
5646         sysdeps/powerpc/power6/wcschr.c.
5648 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5650         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
5651         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
5652         file.
5653         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
5654         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
5655         file: multiarch strchr for PPC32.
5656         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
5657         multiarch objects.
5658         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5659         (__libc_ifunc_impl_list): Likewise.
5661 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5663         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
5664         name.
5665         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
5666         file.
5667         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
5668         file.
5669         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
5670         multiarch strchrnul for PPC32.
5671         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
5672         multiarch objects.
5673         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5674         (__libc_ifunc_impl_list): Likewise.
5676 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5678         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
5679         file.
5680         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
5681         multiarch strncasecmp for PPC32.
5682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
5683         file.
5684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
5685         multiarch strncasecmp_l for PPC32.
5686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
5687         strncasecmp multiarch objects.
5688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5689         (__libc_ifunc_impl_list): Likewise.
5691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5693         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
5694         file.
5695         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
5696         multiarch strncasecmp for PPC32.
5697         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5698         New file.
5699         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
5700         multiarch strcasecmp_l for PPC32.
5701         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
5702         multiarch objects.
5703         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5704         (__libc_ifunc_impl_list): Likewise.
5706 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5708         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
5709         file.
5710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
5711         file.
5712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
5713         multiarch strncmp for PPC32.
5714         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
5715         multiarch objects.
5716         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5717         (__libc_ifunc_impl_list): Likewise.
5719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5721         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
5722         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
5723         file.
5724         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
5725         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
5726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
5727         multiarch objects.
5728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5729         (__libc_ifunc_impl_list): Likewise.
5731 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5733         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
5734         file.
5735         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
5736         file.
5737         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
5738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
5739         multiarch objects.
5740         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5741         (__libc_ifunc_impl_list): Likewise.
5743 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5745         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
5746         file.
5747         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
5748         file.
5749         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
5750         multiarch rawmemchr for PPC32.
5751         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
5752         multiarch objects.
5753         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5754         (__libc_ifunc_impl_list): Likewise.
5756 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5758         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
5759         file.
5760         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
5761         file.
5762         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
5763         file: memrchr multiarch for PPC32.
5764         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
5765         multiarch objects.
5766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
5767         (__libc_ifunc_impl_list): Likewise.
5769 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5771         * string/memchr.c (__memchr): Using macro to redefine symbol name.
5772         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5773         file.
5774         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
5775         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
5776         multiarch memchr for PPC32.
5777         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
5778         multiarch objects.
5779         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5780         (__libc_ifunc_impl_list): Likewise.
5782 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5784         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
5785         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
5786         file.
5787         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
5788         file.
5789         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
5790         file: multiarch mempcpy for PPC32.
5791         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
5792         multiarch objects.
5793         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5794         (__libc_ifunc_impl_list): Likewise.
5796 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5798         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
5799         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
5800         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
5801         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
5802         multiarch bzero for PPC32.
5803         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
5804         file.
5805         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
5806         file.
5807         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
5808         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
5809         file: multiarch memset for PPC32.
5810         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
5811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
5812         memset multiarch objects.
5813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5814         (__libc_ifunc_impl_list): Likewise.
5816 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5818         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
5819         file.
5820         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
5821         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
5822         memcmp for PPC32.
5823         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
5824         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
5825         multiarch objects.
5826         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5827         (__libc_ifunc_impl_list): Likewise.
5829 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5831         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
5832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
5834         file.
5835         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
5836         file.
5837         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
5838         file.
5839         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
5840         multiarch memcpy for PPC32.
5841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
5842         multiarch objects.
5843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5844         (__libc_ifunc_impl_list): Likewise.
5846 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5848         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
5849         support multiarch for POWER/PPC32.
5850         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
5851         Likewise.
5852         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
5854         Implies file to make multiarch folder appers before the fpu and
5855         default folder for power4 configuration.
5857 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
5859         * scripts/bench.pl: Append volatile keyword to type.
5861 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5863         * sysdeps/sh/sotruss-lib.c: New file.
5864         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
5866 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5868         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5870 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
5872         [BZ #6810]
5873         * math/w_tgamma.c: Include <errno.h>.
5874         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
5875         * math/w_tgammaf.c: Include <errno.h>.
5876         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
5877         * math/w_tgammal.c: Include <errno.h>.
5878         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
5879         * math/auto-libm-test-in: Do not allow missing errno on tgamma
5880         underflow.  Add more tgamma tests.
5881         * math/auto-libm-test-out: Regenerated.
5882         * sysdeps/i386/fpu/libm-test-ulps: Update.
5883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5885         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
5886         sin, sinh, tan, tanh, tgamma, y0 and y1.
5887         * math/auto-libm-test-out: Regenerated.
5888         * math/libm-test.inc (TEST_COND_x86_64): New macro.
5889         (TEST_COND_x86): Likewise.
5890         (M_E2l): Remove macro.
5891         (M_E3l): Likewise.
5892         (M_2_SQRT_PIl): Likewise.
5893         (M_SQRT_PIl): Likewise.
5894         (M_1_DIV_El): Likewise.
5895         (log_test_data): Use AUTO_TESTS_f_f.
5896         (log10_test_data): Likewise.
5897         (log1p_test_data): Likewise.
5898         (log2_test_data): Likewise.
5899         (sin_test_data): Likewise.
5900         (sin_tonearest_test_data): Likewise.
5901         (sin_towardzero_test_data): Likewise.
5902         (sin_downward_test_data): Likewise.
5903         (sin_upward_test_data): Likewise.
5904         (sinh_test_data): Likewise.
5905         (sinh_tonearest_test_data): Likewise.
5906         (sinh_towardzero_test_data): Likewise.
5907         (sinh_downward_test_data): Likewise.
5908         (sinh_upward_test_data): Likewise.
5909         (tan_test_data): Likewise.
5910         (tan_tonearest_test_data): Likewise.
5911         (tan_towardzero_test_data): Likewise.
5912         (tan_downward_test_data): Likewise.
5913         (tan_upward_test_data): Likewise.
5914         (tanh_test_data): Likewise.
5915         (tgamma_test_data): Likewise.
5916         (y0_test_data): Likewise.
5917         (y1_test_data): Likewise.
5918         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
5919         (special_real_inputs): Add pi/4.
5920         * sysdeps/i386/fpu/libm-test-ulps: Update.
5921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5923 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5925         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
5926         "longjmp_target" static probes.
5927         (__longjmp): Rename to __longjmp_symbol.
5928         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5929         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
5930         on which longjmp to generate.
5931         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5932         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
5933         probe.
5934         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5935         (__sigjmp_save): Rename to __sigjmp_save_symbol.
5936         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5937         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
5938         and __sigjmp_save_symbol based on which sigsetjmp to generated.
5939         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
5940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
5941         __longjmp_symbol based on which __longjmp to generate.
5942         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
5943         probe.
5944         (setjmp): Rename to setjmp_symbol.
5945         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5946         (_setjmp): Rename to _setjmp_symbol.
5947         (__sigsetjmp): Rename to __sigsetjmp_symbol.
5948         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
5949         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
5950         which setjmp to generate.
5951         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
5952         "longjmp_target" static probes.
5954 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
5956         * benchtests/README: Add note about output arguments.
5957         * benchtests/bench-sincos.c: Remove file.
5958         * benchtests/sincos-inputs: New file.
5959         * scripts/bench.pl: Identify output arguments and define
5960         static variables for them.
5962         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
5964         [BZ #15941]
5965         * Makefile (INSTALL): Add install-plain.texi as the primary
5966         dependency.
5967         * manual/install-plain.texi: New file.
5968         * manual/install.texi: Include node directive only for
5969         non-plaintext output.
5971 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
5973         * stdlib/longlong.h: Update from GCC.
5975         [BZ #6807]
5976         [BZ #15901]
5977         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
5978         * math/w_j0f.c (y0f): Likewise.
5979         * math/w_j0l.c (__y0l): Likewise.
5980         * math/w_j1.c (y1): Likewise.
5981         * math/w_j1f.c (y1f): Likewise.
5982         * math/w_j1l.c (__y1l): Likewise
5983         * math/w_jn.c (yn): Likewise.
5984         * math/w_jnf.c (ynf): Likewise.
5985         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
5986         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
5987         value for Bessel function domain errors outside _SVID_ mode.
5988         Adjust sign of return value for yn (negative integer, 0).
5989         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
5990         by zero in return for negative x and set sign appropriately for
5991         negative n.
5992         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
5993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
5994         * math/libm-test.inc (y0_test_data): Add more tests and adjust
5995         expectations in error cases.
5996         (y1_test_data): Likewise.
5997         (yn_test_data): Likewise.
5998         * sysdeps/i386/fpu/libm-test-ulps: Update.
5999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6001 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6003         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
6004         "64" to "64-v1".  Add "64-v2".
6005         (abi-64-options): Rename to ...
6006         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
6007         (abi-64-condition): Rename to ...
6008         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
6009         (abi-64-ld-soname): Rename to ...
6010         (abi-64-v1-ld-soname): ... this.
6011         (abi-64-v2-options): Define.
6012         (abi-64-v2-condition): Likewise.
6013         (abi-64-v2-ld-soname): Likewise.
6014         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
6015         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
6016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
6018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
6020 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6021             Alan Modra  <amodra@gmail.com>
6023         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
6024         New versions for use with the ELFv2 ABI.
6025         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
6026         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
6027         declaration.
6028         (struct La_ppc64v2_retval): Likewise.
6029         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
6030         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
6031         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
6032         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
6033         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
6034         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
6035         Do not save or restore CR.
6036         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
6037         (_dl_profile_resolve): Do no save or restore CR.  Support extended
6038         return values for ELFv2 ABI.  Fix location of FPR return registers.
6039         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
6040         updated values for _CALL_ELF == 2.
6041         (La_regs, La_retval, int_retval): Likewise.
6043 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6045         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
6046         (FRAME_MIN_SIZE_PARM): Likewise.
6047         (FRAME_BACKCHAIN): Likewise.
6048         (FRAME_CR_SAVE): Likewise.
6049         (FRAME_LR_SAVE): Likewise.
6050         (FRAME_TOC_SAVE): Likewise.
6051         (FRAME_PARM_SAVE): Likewise.
6052         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6053         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6054         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6055         (call_mcount_parm_offset): New macro.
6056         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
6057         (PROF): Use symbolic stack frame offsets.
6058         (TAIL_CALL_SYSCALL_ERROR): Likewise.
6059         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
6060         Redefine in terms of FRAME_MIN_SIZE.
6061         (_dl_runtime_resolve): Use symbolic stack frame offsets.
6062         (_dl_profile_resolve): Likewise.  Update comment.
6063         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
6064         symbols stack frame offsets.
6065         (__sigsetjmp): Likewise.
6066         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
6067         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
6068         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
6069         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
6071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
6072         (FRAME_BACKCHAIN): Remove.
6073         (FRAME_CR_SAVE): Likewise.
6074         (FRAME_LR_SAVE): Likewise.
6075         (FRAME_COMPILER_DW): Likewise.
6076         (FRAME_LINKER_DW): Likewise.
6077         (FRAME_TOC_SAVE): Likewise.
6078         (FRAME_PARM_SAVE): Likewise.
6079         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
6080         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
6081         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
6082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
6083         (CHECK_SP): Use symbolic stack frame offsets.
6084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
6085         zone" instead of caller's parameter save area for temp storage.
6086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
6087         Likewise.  Also, use symbolic stack frame offsets.
6088         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
6089         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
6090         our own stack frame instead of the caller's.
6091         (__socket): Use symbolic stack frame offsets.
6093 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6094             Alan Modra  <amodra@gmail.com>
6096         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
6097         Define.
6098         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
6099         PPC64_LOCAL_ENTRY_OFFSET): Define.
6100         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
6101         New function.
6102         (elf_machine_fixup_plt): Call it.
6103         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
6104         reloc arguments.
6105         (elf_machine_rela): Update call to elf_machine_plt_conflict.
6106         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6107         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
6108         r2 before calling target.
6110 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6111             Alan Modra  <amodra@gmail.com>
6113         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
6114         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
6115         versions of macros to support ELFv2 ABI.
6116         (LOCALENTRY): New macro.
6117         (ENTRY, EALIGN): Use it.
6118         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
6119         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
6120         fall through into ENTRY entry point.
6121         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
6122         Only define if _CALL_ELF != 2.
6124         (elf_machine_matches_host): Verify ABI version matches.
6125         (RTLD_START): Use LOCALENTRY.
6126         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
6127         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
6128         (PLT_ENTRY_WORDS): New macro.
6129         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
6130         (elf_machine_runtime_setup): Support ELFv2 ABI.
6131         (elf_machine_fixup_plt): Likewise.
6132         (elf_machine_plt_conflict): Likewise.
6133         (resolve_ifunc): Likewise.
6134         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
6136         Likewise.
6137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
6138         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
6139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6140         (makecontext): Support ELFv2 ABI.
6141         * elf/elf.h (EF_PPC64_ABI): Define.
6143 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6145         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
6146         New assembler macro.
6147         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
6148         [ASSEMBLER] (ENTRY): ... but instead here ...
6149         [ASSEMBLER] (EALIGN): ... and here.
6150         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
6151         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
6152         [!ASSEMBLER] (ENTRY_2): Use it.
6153         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
6154         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
6155         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
6156         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
6157         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
6158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
6159         Use PPC64_LOAD_FUNCPTR.
6161 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6163         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
6165 2013-12-04  Alan Modra  <amodra@gmail.com>
6167         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
6168         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
6169         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
6170         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
6172         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
6173         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
6174         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
6175         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
6176         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
6177         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
6179 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
6182         (__makecontext): Fix incorrect CFI when backtracing out of
6183         context created via makecontext.
6184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
6185         (__setcontext): Fix incorrect CFI during switch to new context.
6186         (__novec_setcontext): Likewise.
6188 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6190         [BZ #4772]
6191         * time/strptime_l.c (__strptime_internal): Allow modifiers
6192         in strptime.
6193         * time/tst-strptime.c (day_tests): Add testcase.
6196 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6198         * scripts/bench.pl: Skip over blank lines.
6200 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
6202         [BZ #926]
6203         * manual/time.texi (Calendar Time): Clarify what timezone functions
6204         use.
6206 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6210 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
6212         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
6213         implementation.
6214         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
6215         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
6216         * debug/memset_chk.c (__memset_chk): Likewise.
6217         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
6218         * debug/strncpy_chk.c: Likewise.
6220 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6222         [BZ #15268]
6223         [BZ #15425]
6224         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
6225         (__ieee754_exp): For possibly underflowing results, check size of
6226         result and force underflow exception if required.
6227         * math/auto-libm-test-in: Add more tests of exp.
6228         * math/auto-libm-test-out: Regenerated.
6229         * sysdeps/i386/fpu/libm-test-ulps: Update.
6230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6232         [BZ #16283]
6233         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
6234         * math/w_exp2f.c (__exp2f): Likewise.
6235         * math/w_exp2l.c (__exp2l): Likewise.
6236         * math/auto-libm-test-in: Do not allow missing errno on exp2
6237         underflow.
6238         * math/auto-libm-test-out: Regenerated.
6240 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
6242         [BZ #16274]
6243         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
6244         handle filename validation.
6245         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
6246         (do_open): Delete.
6248 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
6250         [BZ #6786]
6251         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
6252         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
6253         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
6254         <float.h>.
6255         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
6256         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
6257         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6258         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
6259         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6260         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
6261         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
6262         * math/auto-libm-test-in: Don't allow missing errno from erfc.
6263         Add more erfc tests.
6264         * math/auto-libm-test-out: Regenerated.
6265         * sysdeps/i386/fpu/libm-test-ulps: Update.
6266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6268         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
6269         exp2, expm1, j0 and j1.
6270         * math/auto-libm-test-out: Regenerated.
6271         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
6272         (erfc_test_data): Likewise.
6273         (exp_test_data): Likewise.
6274         (exp_tonearest_test_data): Likewise.
6275         (exp_towardzero_test_data): Likewise.
6276         (exp_downward_test_data): Likewise.
6277         (exp_upward_test_data): Likewise.
6278         (exp10_test_data): Likewise.
6279         (exp2_test_data): Likewise.
6280         (expm1_test_data): Likewise.
6281         (j0_test_data): Likewise.
6282         (j1_test_data): Likewise.
6283         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
6284         (input_flag_type): Add flag_xfail_rounding.
6285         (input_flags): Add xfail-rounding.
6286         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
6287         (output_for_one_input_case): Handle flag_xfail_rounding.
6288         * sysdeps/i386/fpu/libm-test-ulps: Update.
6289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6291 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
6293         [BZ #16289]
6294         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
6295         division by 0.
6297 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6299         [BZ #16195]
6300         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
6301         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
6302         (STAP_PROBE0): New macro.
6303         (STAP_PROBE1): Likewise.
6304         (STAP_PROBE2): Likewise.
6305         (STAP_PROBE3): Likewise.
6306         (STAP_PROBE4): Likewise.
6308 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
6310         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
6312 2013-12-02  Steve Ellcey  <sellcey@mips.com>
6314         * benchtests/Makefile (bench): Add sqrt.
6315         (LDLIBS-bench-sqrt): New.
6316         * benchtests/sqrt-input: New.
6318 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
6320         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
6321         (GAIH_EAI): Likewise.
6322         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
6323         (gaih_inet): Likewise.
6324         (getaddrinfo): Don't use GAIH_EAI.
6326         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
6327         (struct gaih): Remove definition.
6329 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6331         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
6332         Use HERRNOP directly.
6334 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6336         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6338 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
6340         * math/gen-auto-libm-tests.c (test_functions): Add more
6341         single-argument functions.
6342         (special_fill_pi_2): New function.
6343         (special_fill_minus_pi_2): Likewise.
6344         (special_fill_pi_6): Likewise.
6345         (special_fill_minus_pi_6): Likewise.
6346         (special_fill_pi_3): Likewise.
6347         (special_fill_2pi_3): Likewise.
6348         (special_fill_e): Likewise.
6349         (special_fill_1_e): Likewise.
6350         (special_fill_e_minus_1): Likewise.
6351         (special_real_inputs): Add more special inputs.
6352         (output_for_one_input_case): Do not require ERANGE on underflow to
6353         zero if round-to-nearest result does not underflow to zero, unless
6354         exact results required.
6355         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
6356         atan, atanh, cbrt, cos and cosh.
6357         * math/auto-libm-test-out: Regenerated.
6358         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
6359         (acos_tonearest_test_data): Likewise.
6360         (acos_towardzero_test_data): Likewise.
6361         (acos_downward_test_data): Likewise.
6362         (acos_upward_test_data): Likewise.
6363         (acosh_test_data): Likewise.
6364         (asin_test_data): Likewise.
6365         (asin_tonearest_test_data): Likewise.
6366         (asin_towardzero_test_data): Likewise.
6367         (asin_upward_test_data): Likewise.
6368         (asinh_test_data): Likewise.
6369         (atan_test_data): Likewise.
6370         (atanh_test_data): Likewise.
6371         (cbrt_test_data): Likewise.
6372         (cos_test_data): Likewise.
6373         (cos_tonearest_test_data): Likewise.
6374         (cos_towardzero_test_data): Likewise.
6375         (cos_downward_test_data): Likewise.
6376         (cos_upward_test_data): Likewise.
6377         (cosh_test_data): Likewise.
6378         (cosh_tonearest_test_data): Likewise.
6379         (cosh_towardzero_test_data): Likewise.
6380         (cosh_downward_test_data): Likewise.
6381         (cosh_upward_test_data): Likewise.
6382         * sysdeps/i386/fpu/libm-test-ulps: Update.
6383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6385 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
6387         [BZ #6787]
6388         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
6389         * math/w_exp10f.c (__exp10f): Likewise.
6390         * math/w_exp10l.c (__exp10l): Likewise.
6391         * math/libm-test.inc (exp10_test_data): Add more tests and expect
6392         errno settings in existing tests.
6394         [BZ #14032]
6395         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
6396         precision control set to double precision.
6397         * sysdeps/i386/fpu/w_sqrt.c: New file.
6398         * math/auto-libm-test-in: Add more tests.
6399         * math/auto-libm-test-out: Update.
6401         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
6402         (sqrt_test_tonearest): New function.
6403         (sqrt_towardzero_test_data): New variable.
6404         (sqrt_test_towardzero): New function.
6405         (sqrt_downward_test_data): New variable.
6406         (sqrt_test_downward): New function.
6407         (sqrt_upward_test_data): New variable.
6408         (sqrt_test_upward): New function.
6409         (main): Call the new functions.
6411         * math/gen-auto-libm-tests.c: New file.
6412         * math/auto-libm-test-in: Likewise.
6413         * math/auto-libm-test-out: New generated file.
6414         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
6415         variables.
6416         (%beautify): Add generated representations of zero.
6417         (top level): Set $auto_input and call parse_auto_input.
6418         (beautify): Remove trailing "f" from hex float constants.
6419         (parse_args): Handle XFAIL_TEST.
6420         (convert_condition): New function.
6421         (or_value): Likewise.
6422         (or_cond_value): Likewise.
6423         (generate_testfile): Handle AUTO_TESTS_* lines.
6424         (parse_auto_input): New function.
6425         * math/libm-test.inc (XFAIL_TEST): New macro.
6426         (ERRNO_UNCHANGED): Update value.
6427         (ERRNO_EDOM): Likewise.
6428         (ERRNO_ERANGE): Likewise.
6429         (IGNORE_RESULT): Likewise.
6430         (TEST_COND_flt_32): New macro.
6431         (TEST_COND_dbl_64): Likewise.
6432         (TEST_COND_ldbl_96_intel): Likewise.
6433         (TEST_COND_ldbl_96_m68k): Likewise.
6434         (TEST_COND_ldbl_128): Likewise.
6435         (TEST_COND_ldbl_128ibm): Likewise.
6436         (TEST_COND_long32): Likewise.
6437         (TEST_COND_long64): Likewise.
6438         (TEST_COND_before_rounding): Likewise.
6439         (TEST_COND_after_rounding): Likewise.
6440         (enable_test): Handle XFAIL_TEST flag.
6441         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
6442         with finite results.
6443         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
6444         auto-libm-test-out.
6446 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6447             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6449         [BZ #16214]
6450         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
6451         __tls_get_addr_internal instead of __tls_get_offset in order to
6452         avoid GOT pointer dependency.  Make rtld export
6453         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
6454         __tls_get_addr since we are a __tls_get_offset platform.
6455         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
6456         GOT pointer being set up before.
6457         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
6459 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
6461         * manual/math.texi (Errors in Math Functions): Document accuracy
6462         goals.
6464         [BZ #15004]
6465         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
6466         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
6467         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6468         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6469         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6470         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6471         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6472         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
6473         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
6474         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6475         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6476         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6477         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6478         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6479         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6480         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
6482         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
6483         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
6484         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
6485         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
6486         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
6487         Likewise.
6488         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
6489         Likewise.
6490         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
6491         Likewise.
6492         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
6493         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
6494         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
6495         atomic-feupdateenv and flt-rounds.
6496         * sysdeps/powerpc/nofpu/Versions (libc): Add
6497         __atomic_feholdexcept, __atomic_feclearexcept,
6498         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
6499         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
6500         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
6501         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
6502         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
6503         here.
6504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6505         Update.
6507         * manual/arith.texi (FP Exceptions): Document that exceptions may
6508         not be raised when matherr is used.
6509         (Math Error Reporting): Document overflow in directed rounding
6510         modes.  Document that errno may not be set when finite values are
6511         returned on overflow.  Document intent to set errno on underflow
6512         only for underflow to zero.
6514         [BZ #16271]
6515         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
6516         round-to-nearest then adjust result for other rounding modes.
6517         * include/fenv.h (fegetround): Use libm_hidden_proto.
6518         * math/fegetround.c (fegetround): Use libm_hidden_def.
6519         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
6520         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
6521         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6522         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6523         Likewise.
6524         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
6525         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6526         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6527         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
6529 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6531         [BZ #16077]
6532         * nss/Versions (libnss_files): Add
6533         _nss_files_gethostbyname3_r.
6534         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
6535         New function.
6536         (HOST_DB_LOOKUP): Remove macro.
6537         (_nss_files_gethostbyname_r): Implement function without the
6538         HOST_DB_LOOKUP macro.
6539         (_nss_files_gethostbyname2_r): Likewise.
6541 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
6543         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
6545 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
6547         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
6548         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
6549         warning.
6551 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6553         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
6554         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
6555         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
6556         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6557         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
6558         __fe_nomask_env_priv and attribute_hidden.
6559         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
6560         (libc_feupdateenv_test_ppc): Likewise.
6561         (libc_feresetround_ppc): Likewise.
6562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
6563         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
6564         compat_symbol macro.
6565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6566         (__fe_nomask_env): Likewise.
6567         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
6569 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6571         * string/Makefile: Remove ifunc tests.
6572         * string/test-string.h: Define TEST_IFUNC.
6573         * string/test-bcopy-ifunc.c: Remove.
6574         * string/test-bzero-ifunc.c: Likewise.
6575         * string/test-memccpy-ifunc.c: Likewise.
6576         * string/test-memchr-ifunc.c: Likewise.
6577         * string/test-memcmp-ifunc.c: Likewise.
6578         * string/test-memcpy-ifunc.c: Likewise.
6579         * string/test-memmem-ifunc.c: Likewise.
6580         * string/test-memmove-ifunc.c: Likewise.
6581         * string/test-mempcpy-ifunc.c: Likewise.
6582         * string/test-memrchr-ifunc.c: Likewise.
6583         * string/test-memset-ifunc.c: Likewise.
6584         * string/test-rawmemchr-ifunc.c: Likewise.
6585         * string/test-stpcpy-ifunc.c: Likewise.
6586         * string/test-stpncpy-ifunc.c: Likewise.
6587         * string/test-strcasecmp-ifunc.c: Likewise.
6588         * string/test-strcasestr-ifunc.c: Likewise.
6589         * string/test-strcat-ifunc.c: Likewise.
6590         * string/test-strchr-ifunc.c: Likewise.
6591         * string/test-strchrnul-ifunc.c: Likewise.
6592         * string/test-strcmp-ifunc.c: Likewise.
6593         * string/test-strcpy-ifunc.c: Likewise.
6594         * string/test-strcspn-ifunc.c: Likewise.
6595         * string/test-strlen-ifunc.c: Likewise.
6596         * string/test-strncasecmp-ifunc.c: Likewise.
6597         * string/test-strncat-ifunc.c: Likewise.
6598         * string/test-strncmp-ifunc.c: Likewise.
6599         * string/test-strncpy-ifunc.c: Likewise.
6600         * string/test-strnlen-ifunc.c: Likewise.
6601         * string/test-strpbrk-ifunc.c: Likewise.
6602         * string/test-strrchr-ifunc.c: Likewise.
6603         * string/test-strspn-ifunc.c: Likewise.
6604         * string/test-strstr-ifunc.c: Likewise.
6606 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6608         * benchtests/Makefile: Remove ifunc tests.
6609         * benchtests/bench-string.h: Define TEST_IFUNC.
6610         * benchtests/bench-bcopy-ifunc.c: Remove.
6611         * benchtests/bench-bzero-ifunc.c: Likewise.
6612         * benchtests/bench-memccpy-ifunc.c: Likewise.
6613         * benchtests/bench-memchr-ifunc.c: Likewise.
6614         * benchtests/bench-memcmp-ifunc.c: Likewise.
6615         * benchtests/bench-memcpy-ifunc.c: Likewise.
6616         * benchtests/bench-memmem-ifunc.c: Likewise.
6617         * benchtests/bench-memmove-ifunc.c: Likewise.
6618         * benchtests/bench-mempcpy-ifunc.c: Likewise.
6619         * benchtests/bench-memrchr-ifunc.c: Likewise.
6620         * benchtests/bench-memset-ifunc.c: Likewise.
6621         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
6622         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
6623         * benchtests/bench-stpcpy-ifunc.c: Likewise.
6624         * benchtests/bench-stpncpy-ifunc.c: Likewise.
6625         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
6626         * benchtests/bench-strcasestr-ifunc.c: Likewise.
6627         * benchtests/bench-strcat-ifunc.c: Likewise.
6628         * benchtests/bench-strchr-ifunc.c: Likewise.
6629         * benchtests/bench-strchrnul-ifunc.c: Likewise.
6630         * benchtests/bench-strcmp-ifunc.c: Likewise.
6631         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
6632         * benchtests/bench-strcpy-ifunc.c: Likewise.
6633         * benchtests/bench-strcspn-ifunc.c: Likewise.
6634         * benchtests/bench-strlen-ifunc.c: Likewise.
6635         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
6636         * benchtests/bench-strncat-ifunc.c: Likewise.
6637         * benchtests/bench-strncmp-ifunc.c: Likewise.
6638         * benchtests/bench-strncpy-ifunc.c: Likewise.
6639         * benchtests/bench-strnlen-ifunc.c: Likewise.
6640         * benchtests/bench-strpbrk-ifunc.c: Likewise.
6641         * benchtests/bench-strrchr-ifunc.c: Likewise.
6642         * benchtests/bench-strsep-ifunc.c: Likewise.
6643         * benchtests/bench-strspn-ifunc.c: Likewise.
6644         * benchtests/bench-strstr-ifunc.c: Likewise.
6646 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6648         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
6650 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
6652         * resolv/netdb.h: Use __glibc_reserved instead __unused.
6653         * rt/aio.h: Likewise.
6654         * sysdeps/gnu/bits/utmp.h: Likewise.
6655         * sysdeps/gnu/bits/utmpx.h: Likewise.
6656         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
6657         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
6658         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
6659         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
6660         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
6661         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
6662         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
6663         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
6664         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
6665         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
6666         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
6667         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
6668         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
6669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
6670         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6671         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
6672         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
6673         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
6674         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
6675         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
6676         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
6677         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
6678         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
6679         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
6680         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
6681         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
6682         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
6683         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
6684         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
6685         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
6686         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
6687         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
6688         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
6689         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
6690         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
6691         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
6692         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
6693         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
6694         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
6695         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
6696         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
6697         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
6699 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
6701         [BZ #16245]
6702         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
6703         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
6705 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
6707         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
6708         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6709         Likewise.
6711 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6713         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
6714         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
6715         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
6716         (__fesetround): Remove define.
6717         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
6718         rounding and exceptions handling.
6719         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
6720         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
6721         (__fe_nomask_env): Likewise.
6722         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
6723         __fegetround instead of fegetround.
6724         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6725         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6727 2013-11-21  Roland McGrath  <roland@hack.frob.com>
6729         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
6730         it's there.
6732         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
6734 2013-11-21  Meador Inge  <meadori@codesourcery.com>
6736         [BZ #11157]
6737         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
6738         (encrypt_r): Likewise.
6739         * malloc/obstack.h (obstack_free): Likewise.
6740         * posix/unistd.h (encrypt): Likewise.
6742 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
6744         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
6745         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
6746         DL_CALL_DT_FINI() that call the functions directly.
6747         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
6748         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
6749         * elf/dl-fini.c: Likewise.
6751 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
6753         * malloc/hooks.c (memalign_check): Add alignment rounding.
6754         * malloc/malloc.c (_mid_memalign): New function.
6755         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
6756         Implement by calling _mid_memalign.
6757         * manual/probes.texi (Memory Allocation Probes): Remove
6758         memory_valloc_retry and memory_pvalloc_retry.
6760 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
6762         * locale/programs/locarchive.c (open_archive): Add const
6763         qualifier to ARCHIVEFNAME and copy default fname to
6764         DEFAULT_FNAME.
6766         [BZ #15601]
6767         * libio/tst-widetext.input: Rename Oriya to Odia.
6768         * locale/iso-639.def: Likewise.
6770         * manual/probes.texi (Mathematical Function Probes): Add
6771         documentation for sin, cos, asin and acos probes.
6772         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
6773         (__sin32): Add slowasin probe.
6774         (__cos32): Add slowacos probe.
6775         (__mpsin): Add slowsin probe.
6776         (__mpcos): Add slowcos probe.
6778 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
6780         [BZ #15483]
6781         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
6782         thread-local __sim_exceptions_thread and global
6783         __sim_exceptions_global.
6784         (__sim_disabled_exceptions): Change to thread-local
6785         __sim_disabled_exceptions_thread and global
6786         __sim_disabled_exceptions_global.
6787         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6788         and global __sim_round_mode_global.
6789         (__simulate_exceptions): Use thread-local floating-point state and
6790         set global state from it as needed.
6791         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
6792         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
6793         __sim_round_mode_thread.
6794         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
6795         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
6796         and global __sim_exceptions_global.
6797         (__sim_disabled_exceptions): Change to thread-local
6798         __sim_disabled_exceptions_thread and global
6799         __sim_disabled_exceptions_global.
6800         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
6801         and global __sim_round_mode_global.
6802         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
6803         (SIM_SET_GLOBAL): Likewise.
6804         * sysdeps/powerpc/soft-fp/sfp-machine.h
6805         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
6806         __sim_round_mode_thread.
6807         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
6808         __sim_disabled_exceptions_thread.
6809         (__sim_exceptions): Change to __sim_exceptions_thread.
6810         (__sim_disabled_exceptions): Change to
6811         __sim_disabled_exceptions_thread.
6812         (__sim_round_mode): Change to __sim_round_mode_thread.
6813         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
6814         thread-local floating-point state and set global state from it as
6815         needed.
6816         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
6817         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
6818         (__sim_disabled_exceptions): Remove extern declaration.
6819         (feenableexcept): Use thread-local floating-point state and set
6820         global state from it as needed.
6821         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
6822         extern declaration.
6823         (__sim_disabled_exceptions): Likewise.
6824         (__sim_round_mode): Likewise.
6825         (__fegetenv): Use thread-local floating-point state.
6826         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
6827         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
6828         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
6829         floating-point state and set global state from it as needed.
6830         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
6831         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
6832         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
6833         Likewise.
6834         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6835         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
6836         Likewise.
6837         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
6838         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
6839         Use __sim_round_mode_thread.
6840         * math/test-fenv-tls.c: New file.
6841         * math/Makefile (tests): Add test-fenv-tls.
6842         ($(objpfx)test-fenv-tls): Depend on
6843         $(common-objpfx)nptl/libpthread.so.
6845 2013-11-19  Andreas Schwab  <schwab@suse.de>
6847         * locale/programs/locale.c (show_info): Decode wordarray elements.
6848         * locale/categories.def (LC_MONETARY): Add element for
6849         _NL_MONETARY_CRNCYSTR.
6850         * locale/C-monetary.c (conversion_rate): New variable.
6851         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
6852         element.
6854 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
6856         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
6857         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
6859 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
6861         * elf/Makefile (tst-auxv): New test.
6862         * elf/tst-auxv.c: New
6863         * elf/rtld.c (dl_main): Adjust AT_EXECFN
6865 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
6867         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
6868         (hidden_proto): Caller changed.
6869         (hidden_tls_proto): New macro.
6870         (libc_hidden_tls_proto): Likewise.
6871         (rtld_hidden_tls_proto): Likewise.
6872         (libm_hidden_tls_proto): Likewise.
6873         (libresolv_hidden_tls_proto): Likewise.
6874         (librt_hidden_tls_proto): Likewise.
6875         (libdl_hidden_tls_proto): Likewise.
6876         (libnss_files_hidden_tls_proto): Likewise.
6877         (libnsl_hidden_tls_proto): Likewise.
6878         (libnss_nisplus_hidden_tls_proto): Likewise.
6879         (libutil_hidden_tls_proto): Likewise.
6881 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
6883         [BZ #10253]
6884         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
6885         (decompose_rpath): Defer expansion to fillin_rpath.
6886         (_dl_init_paths): Pass linkmap to fillin_rpath.
6888 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6890         * benchtests/Makefile: Add strsep.
6891         * benchtests/bench-strsep.c: New file: strsep benchtest.
6892         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
6894 2013-11-18  Andreas Schwab  <schwab@suse.de>
6896         * locale/programs/locale.c (show_info) [case byte]: Check for
6897         '\377' instead of '\177'.
6898         * locale/C-monetary.c (not_available): Always use "\377".
6899         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
6900         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
6901         detect unavailable sign_posn locale elements.
6902         * locale/localeconv.c (__localeconv): For grouping and
6903         mon_grouping handle "\177" and "\377" like no grouping.
6904         (INT_ELEM): New macro.  Use it to set all numeric members.
6905         * locale/programs/ld-monetary.c (monetary_read)
6906         <tok_mon_grouping>: Normalize single -1 to the empty string.
6907         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
6908         Likewise.
6910 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
6912         [BZ #16055]
6913         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
6914         when we match (nil).
6915         * stdio-common/tst-sscanf.c (struct test): Add testcase.
6917 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
6919         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
6920         (NO_TEST_INLINE): Update value.
6921         (ERRNO_UNCHANGED): Likewise.
6922         (ERRNO_EDOM): Likewise.
6923         (ERRNO_ERANGE): Likewise.
6924         (IGNORE_RESULT): Likewise.
6925         (check_float_internal): Check signs of NaN results if
6926         TEST_NAN_SIGN used.
6927         (check_complex): Pass TEST_NAN_SIGN flag through to second
6928         check_float_internal call.
6929         (copysign_test_data): Add tests with quiet NaNs as second
6930         argument.  Use TEST_NAN_SIGN.
6931         (fabs_test_data): Add test of negative quiet NaN argument.  Use
6932         TEST_NAN_SIGN.
6933         (signbit_test_data): Add tests of quiet NaN argument.
6934         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
6936         * math/gen-libm-test.pl (show_exceptions): Take extra argument
6937         $ignore_result.
6938         (parse_args): Handle function results specified as IGNORE.
6939         * math/libm-test.inc (IGNORE_RESULT): New macro.
6940         (check_float_internal): Do not check numerical result if flag
6941         IGNORE_RESULT set.
6942         (check_complex): Pass through IGNORE_RESULT to second
6943         check_float_internal call.
6944         (check_int): Do not check numerical result if flag IGNORE_RESULT
6945         set.
6946         (check_long): Likewise.
6947         (check_bool): Likewise.
6948         (check_longlong): Likewise.
6949         (lrint_test_data): Add tests of infinite and NaN arguments.
6950         (lrint_tonearest_test_data): Likewise.
6951         (lrint_towardzero_test_data): Likewise.
6952         (lrint_downward_test_data): Likewise.
6953         (lrint_upward_test_data): Likewise.
6954         (llrint_test_data): Likewise.
6955         (llrint_tonearest_test_data): Likewise.
6956         (llrint_towardzero_test_data): Likewise.
6957         (llrint_downward_test_data): Likewise.
6958         (llrint_upward_test_data): Likewise.
6959         (lround_test_data): Likewise.
6960         (llround_test_data): Likewise.
6962         * math/libm-test.inc (NO_TEST_INLINE): New macro.
6963         (ERRNO_UNCHANGED): Update value.
6964         (ERRNO_EDOM): Likewise.
6965         (ERRNO_ERANGE): Likewise.
6966         (NO_TEST_INLINE_FLOAT): New macro.
6967         (NO_TEST_INLINE_DOUBLE): Likewise.
6968         (enable_test): New function.
6969         (RUN_TEST_f_f): Check enable_test before running test.
6970         (RUN_TEST_2_f): Likewise.
6971         (RUN_TEST_fff_f): Likewise.
6972         (RUN_TEST_c_f): Likewise.
6973         (RUN_TEST_f_f1): Likewise.
6974         (RUN_TEST_fF_f1): Likewise.
6975         (RUN_TEST_fI_f1): Likewise.
6976         (RUN_TEST_ffI_f1): Likewise.
6977         (RUN_TEST_c_c): Likewise.
6978         (RUN_TEST_cc_c): Likewise.
6979         (RUN_TEST_f_i): Likewise.
6980         (RUN_TEST_f_i_tg): Likewise.
6981         (RUN_TEST_ff_i_tg): Likewise.
6982         (RUN_TEST_f_b): Likewise.
6983         (RUN_TEST_f_b_tg): Likewise.
6984         (RUN_TEST_f_l): Likewise.
6985         (RUN_TEST_f_L): Likewise.
6986         (RUN_TEST_fFF_11): Likewise.
6987         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
6988         conditionals.
6989         (cosh_test_data): Likewise.
6990         (exp_test_data): Likewise.
6991         (expm1_test_data): Likewise.
6992         (hypot_test_data): Likewise.
6993         (pow_test_data): Likewise.
6994         (sinh_test_data): Likewise.
6995         (tanh_test_data): Likewise.
6996         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
6997         flags argument.
6999         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
7000         tests with quiet NaN input and output.
7001         (acosh_test_data): Likewise.
7002         (asin_test_data): Likewise.
7003         (asinh_test_data): Likewise.
7004         (atan_test_data): Likewise.
7005         (atanh_test_data): Likewise.
7006         (atan2_test_data): Likewise.
7007         (cbrt_test_data): Likewise.
7008         (cos_test_data): Likewise.
7009         (cosh_test_data): Likewise.
7010         (erf_test_data): Likewise.
7011         (erfc_test_data): Likewise.
7012         (exp_test_data): Likewise.
7013         (exp10_test_data): Likewise.
7014         (exp2_test_data): Likewise.
7015         (expm1_test_data): Likewise.
7016         (hypot_test_data): Likewise.
7017         (j0_test_data): Likewise.
7018         (j1_test_data): Likewise.
7019         (jn_test_data): Likewise.
7020         (lgamma_test_data): Likewise.
7021         (log_test_data): Likewise.
7022         (log10_test_data): Likewise.
7023         (log1p_test_data): Likewise.
7024         (log2_test_data): Likewise.
7025         (pow_test_data): Likewise.
7026         (scalb_test_data): Likewise.
7027         (sin_test_data): Likewise.
7028         (sincos_test_data): Likewise.
7029         (sinh_test_data): Likewise.
7030         (tan_test_data): Likewise.
7031         (tanh_test_data): Likewise.
7032         (tgamma_test_data): Likewise.
7033         (y0_test_data): Likewise.
7034         (y1_test_data): Likewise.
7035         (yn_test_data): Likewise.
7037         [BZ #16167]
7038         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
7039         argument being NaN and avoid computations with second argument in
7040         that case.
7041         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7042         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7043         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
7045 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
7047         * locale/iso-639.def: Add Chitwani Tharu (the).
7049 2013-11-14  Andreas Schwab  <schwab@suse.de>
7051         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
7052         word instead of empty string.
7054 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7057         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
7058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7059         (__fe_nomask_env): Likewise.
7061 2013-11-13  Steve Ellcey  <sellcey@mips.com>
7063         * benchtests/bench-timing.h: Include time.h.
7065 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
7067         [BZ #15997]
7068         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
7069         to 3.4.0 for x32.
7070         * sysdeps/unix/sysv/linux/configure: Regenerated.
7072 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
7074         [BZ #16151]
7075         * stdlib/strtod_l.c (round_and_return): Do not consider
7076         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
7077         exponent one less than half the least subnormal exponent.
7078         * stdlib/test-strtod-round-data: Add more tests.
7079         * stdlib/tst-strtod-round.c (tests): Regenerated.
7081 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7083         [BZ #14143]
7084         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
7085         (__fe_mask_env): Likewise.
7086         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
7087         libm_hidden_proto and add function prototype.
7088         (__fe_mask_env): Add function prototype.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7090         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
7091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
7092         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
7093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7094         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
7096 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7098         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
7099         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
7101 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7103         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
7104         of htab_find_slot().
7106 2013-11-11  David S. Miller  <davem@davemloft.net>
7108         [BZ #16150]
7109         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
7110         symbol in the non-vis3 case in static builds.
7111         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
7112         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
7113         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
7114         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
7116 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7118         [BZ #387]
7119         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
7120         it is empty.
7122 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7124         * benchtests/Makefile: Add bench-strtod.
7125         * benchtests/bench-strtod.c: New file: strtod benchtest
7127 2013-11-11  Andreas Schwab  <schwab@suse.de>
7129         [BZ #16153]
7130         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
7131         terminating NUL in key length.
7133 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7135         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7136         Add artificial ODP entry for vDSO symbol for PPC64.
7137         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
7138         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
7140 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
7142         [BZ #15374]
7143         * nss/getent.c (services_keys): Recognize services starting with digit.
7145 2013-11-06  David S. Miller  <davem@davemloft.net>
7147         [BZ #15985]
7148         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
7149         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
7151 2013-11-06  Will Newton  <will.newton@linaro.org>
7153         * manual/memory.texi (Malloc Examples): Remove register
7154         keyword from examples.
7156 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
7158         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
7160 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
7162         [BZ #6981]
7163         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
7164         depending on [__GCC_IEC_559 > 0].
7165         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
7166         depending on [__GCC_IEC_559_COMPLEX > 0].
7168 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
7170         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
7171         to iso-639.def.
7173 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
7175         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
7177 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
7179         [BZ #16112]
7180         * malloc/malloc (malloc_info): Do not handle first bin as
7181         special case.
7183 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
7185         * locale/iso-639.def: Add Central Nahuatl (nhn).
7187 2013-11-01  Bruno Haible  <bruno@clisp.org>
7189         [BZ #7003]
7190         * manual/math.texi (BSD Random): Specify range upper bound as
7191         in POSIX.
7193 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
7195         * locale/iso-639.def: Add Meadow Mari (mhr).
7197 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
7199         [BZ #14752], [BZ #15763]
7200         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
7201         Validate name.
7202         * rt/tst_shm.c: Add test for escaping directory.
7204 2013-10-31  Andreas Schwab  <schwab@suse.de>
7206         [BZ #15917]
7207         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
7208         followed by 'x' as part of digit sequence.
7209         * stdio-common/tst-sscanf.c (double_tests2): New tests.
7211 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
7213         [BZ #16037]
7214         * configure.ac: allow GNU Make 4.0 and greater.
7215         * configure: Regenerated.
7217 2013-10-30  Will Newton  <will.newton@linaro.org>
7219         [BZ #16038]
7220         * malloc/hooks.c (memalign_check): Limit alignment to the
7221         maximum representable power of two.
7222         * malloc/malloc.c (__libc_memalign): Likewise.
7223         * malloc/tst-memalign.c (do_test): Add test for very
7224         large alignment values.
7225         * malloc/tst-posix_memalign.c (do_test): Likewise.
7227 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7229         [BZ #11087]
7230         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
7231         (munmap_chunk): Likewise.
7232         (mremap_chunk): Likewise.
7234 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
7236         [BZ #15799]
7237         * stdlib/div.c (div): Remove obsolete code.
7238         * stdlib/ldiv.c (ldiv): Likewise.
7239         * stdlib/lldiv.c (lldiv): Likewise.
7241 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
7243         [BZ #16071]
7244         * nss/nss_files/files-XXX.c (get_contents_ret): New
7245         enumerator.
7246         (get_contents): New function.
7247         (internal_getent): Use it.  Expand size of LINEBUFLEN.
7249 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
7251         * configure.in: Moved to ...
7252         * configure.ac: ... here. Change reference to configure.in
7253         to configure.ac.
7254         * sysdeps/arm/preconfigure.ac: ... here.
7255         configure.in to configure.ac.
7256         * sysdeps/gnu/configure.in: Moved to ...
7257         * sysdeps/gnu/configure.ac: ... here.
7258         * sysdeps/i386/configure.in: Moved to ...
7259         * sysdeps/i386/configure.ac: ... here.
7260         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
7261         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
7262         * sysdeps/mach/configure.in: Moved to ...
7263         * sysdeps/mach/configure.ac: ... here.
7264         * sysdeps/mach/hurd/configure.in: Moved to ...
7265         * sysdeps/mach/hurd/configure.ac: ... here.
7266         * sysdeps/powerpc/configure.in: Moved to ...
7267         * sysdeps/powerpc/configure.ac: ... here.
7268         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
7269         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
7270         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
7271         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
7272         * sysdeps/s390/s390-32/configure.in: Moved to ...
7273         * sysdeps/s390/s390-32/configure.ac: ... here.
7274         * sysdeps/s390/s390-64/configure.in: Moved to ...
7275         * sysdeps/s390/s390-64/configure.ac: ... here.
7276         * sysdeps/sh/configure.in: Moved to ...
7277         * sysdeps/sh/configure.ac: ... here.
7278         * sysdeps/sparc/configure.in: Moved to ...
7279         * sysdeps/sparc/configure.ac: ... here.
7280         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
7281         * sysdeps/unix/sysv/linux/configure.ac: ... here.
7282         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
7283         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
7284         * sysdeps/x86_64/configure.in: Moved to ...
7285         * sysdeps/x86_64/configure.ac: ... here.
7286         * sysdeps/x86_64/preconfigure.in: Moved to ...
7287         * sysdeps/x86_64/preconfigure.ac: ... here.
7288         * aclocal.m4: Change reference to configure.in to configure.ac.
7289         * config.h.in: Likewise.
7290         * manual/install.texi: Likewise.
7291         * manual/maint.texi: Likewise.
7292         * Makefile: Likewise.
7293         * malloc/Makefile: Likewise.
7294         * nscd/Makefile: Likewise.
7295         * Makeconfig: Change reference to configure.in and
7296         preconfigure.in to configure.ac and preconfigure.ac
7297         respectively.
7298         * INSTALL: Regenerated.
7299         * configure: Likewise.
7300         * sysdeps/gnu/configure: Likewise.
7301         * sysdeps/i386/configure: Likewise.
7302         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
7303         * sysdeps/mach/configure: Likewise.
7304         * sysdeps/mach/hurd/configure: Likewise.
7305         * sysdeps/powerpc/configure: Likewise.
7306         * sysdeps/powerpc/powerpc32/configure: Likewise.
7307         * sysdeps/powerpc/powerpc64/configure: Likewise.
7308         * sysdeps/s390/s390-32/configure: Likewise.
7309         * sysdeps/s390/s390-64/configure: Likewise.
7310         * sysdeps/sh/configure: Likewise.
7311         * sysdeps/sparc/configure: Likewise.
7312         * sysdeps/unix/sysv/linux/configure: Likewise.
7313         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
7314         * sysdeps/x86_64/configure: Likewise.
7315         * sysdeps/x86_64/preconfigure: Likewise.
7317 2013-10-29  Andreas Schwab  <schwab@suse.de>
7319         * stdio-common/Makefile (tst-swscanf-ENV): Define.
7321 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
7323         * benchtests/pow-inputs: Add new inputs.
7325         * benchtests/exp-inputs: Add new inputs.
7327         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
7328         conditional check for return value.
7329         (__cos32): Likewise.
7331 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7333         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
7334         to provide a boost for large inputs with word alignment.
7335         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
7336         implementation based on optimized PPC64 strcpy.
7337         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
7338         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
7339         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
7340         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
7342 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7344         [BZ #2801]
7345         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
7347 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7349         [BZ #14876]
7350         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
7351         * time/tst-strptime.c (day_tests): Add testcase.
7353 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
7355         [BZ #14029]
7356         * manual/pattern.texi: Acknowledge that fnmatch can fail.
7358 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
7360         [BZ #16074]
7361         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
7362         MAP_FAILED on error.
7364 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7366         [BZ #16072]
7367         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
7368         heap for large requests.
7370 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
7372         [BZ #9954]
7373         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
7374         result if the result has no associated interface.
7375         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
7376         interface for all 127.X.Y.Z addresses.
7378 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
7380         * locale/iso-639.def: Add Ligurian (lij)
7382 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
7384         [BZ #15825]
7385         * sunrpc/rpc_main.c: Document rpcgen -5.
7387 2013-10-19  Michael Stahl  <mstahl@redhat.com>
7389         * elf/rtld.c (do_preload): Print the reason why preloading failed.
7391 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7393         [BZ #10278]
7394         * posix/glob.c: Match only directories when trailing slash is present.
7395         * posix/tst-gnuglob.c (my_opendir): Do not open files.
7396         (main): Add testcase.
7398 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
7400         [BZ #15670]
7401         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
7403 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
7405         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
7406         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
7407         AUTH_DES and cindex for FIPS 140-2.
7408         (DES Encryption): Add cindex FIPS 46-3.
7410         * locale/locarchive.h (struct locarhandle): Add fname.
7411         * locale/programs/localedef.c (main): Pass ARGV[remaining]
7412         if an optional argument was specified to --list-archive,
7413         otherwise NULL.
7414         * locale/programs/locarchive.c (show_archive_content): Take new
7415         argument fname and pass it via ah.fname to open_archive.
7416         * locale/programs/localedef.h: Update decl.
7417         (open_archive): If AH->fname is non-null, open that file
7418         rather than the default file name, and don't ignore ENOENT.
7419         (create_archive): Set AH.fname to NULL.
7420         (delete_locales_from_archive): Likewise.
7421         (add_locales_to_archive): Likewise.
7422         * locale/programs/locfile.c (write_all_categories): Likewise.
7424 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
7425             Aldy Hernandez  <aldyh@redhat.com>
7427         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
7428         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
7429         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
7430         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
7431         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
7432         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
7433         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
7434         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
7435         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
7436         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
7437         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
7438         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
7439         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
7440         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
7441         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
7442         Likewise.
7443         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
7444         Likewise.
7445         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
7446         Likewise.
7447         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
7448         Likewise.
7449         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
7450         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
7451         Likewise.
7452         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
7453         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
7454         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
7455         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
7456         Likewise.
7457         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
7458         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
7459         * sysdeps/powerpc/preconfigure: Likewise.
7460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
7461         Likewise.
7462         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
7463         Replace contents of file by #include of <fenv_libc.h>.
7464         * sysdeps/powerpc/soft-fp/sfp-machine.h
7465         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
7466         and <sys/prctl.h>.
7467         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
7468         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
7469         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
7470         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
7471         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
7472         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
7473         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
7474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
7475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
7476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
7477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
7478         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7480         Allow copysignl PLT reference to be missing.
7482 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
7483             Joseph Myers  <joseph@codesourcery.com
7485         [BZ #15948]
7486         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
7487         single character.
7488         (add_to_tablewc): Assert sequence of wide characters is nonempty.
7490 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
7492         * elf/tst-tls-dlinfo.c: Don't include tls.h.
7493         * elf/tst-tls1.c: Likewise.
7494         * elf/tst-tls10.h: Likewise.
7495         * elf/tst-tls14.c: Likewise.
7496         * elf/tst-tls2.c: Likewise.
7497         * elf/tst-tls3.c: Likewise.
7498         * elf/tst-tls4.c: Likewise.
7499         * elf/tst-tls5.c: Likewise.
7500         * elf/tst-tls6.c: Likewise.
7501         * elf/tst-tls7.c: Likewise.
7502         * elf/tst-tls8.c: Likewise.
7503         * elf/tst-tls9.c: Likewise.
7504         * elf/tst-tlsmod1.c: Likewise.
7505         * elf/tst-tlsmod13.c: Likewise.
7506         * elf/tst-tlsmod13a.c: Likewise.
7507         * elf/tst-tlsmod14a.c: Likewise.
7508         * elf/tst-tlsmod16a.c: Likewise.
7509         * elf/tst-tlsmod16b.c: Likewise.
7510         * elf/tst-tlsmod2.c: Likewise.
7511         * elf/tst-tlsmod3.c: Likewise.
7512         * elf/tst-tlsmod4.c: Likewise.
7513         * elf/tst-tlsmod5.c: Likewise.
7514         * elf/tst-tlsmod6.c: Likewise.
7516 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
7518         [BZ #12486]
7519         * malloc/malloc.c: remove checks for statistics.
7521 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7523         [BZ #15277]
7524         * inet/inet_net.c (inet_network): Detect additional invalid strings.
7525         * inet/tst-network.c: Add testcase.
7527 2013-10-17  Andreas Schwab  <schwab@suse.de>
7529         [BZ #15218]
7530         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
7531         to determine canonical name.
7533 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
7535         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
7536         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
7537         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7538         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7540         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7541         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7542         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7543         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
7544         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7545         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
7546         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7547         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7548         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7549         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7550         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7551         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7552         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7553         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7554         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7555         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7556         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7557         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7558         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
7559         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
7560         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
7561         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
7562         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
7563         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
7564         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
7565         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7566         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7567         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7568         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7569         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7570         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7571         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7572         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7573         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7574         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7575         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7576         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7577         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7578         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7579         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7580         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7581         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7582         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7583         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7584         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7585         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7586         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7587         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7588         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7589         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7590         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7591         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7592         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7594 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
7596         [BZ #16041]
7597         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
7598         make result into a quiet NaN.
7600 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
7602         * soft-fp/adddf3.c: Fix horizontal whitespace.
7603         * soft-fp/addsf3.c: Likewise.
7604         * soft-fp/addtf3.c: Likewise.
7605         * soft-fp/divdf3.c: Likewise.
7606         * soft-fp/divsf3.c: Likewise.
7607         * soft-fp/divtf3.c: Likewise.
7608         * soft-fp/double.h: Likewise.
7609         * soft-fp/eqdf2.c: Likewise.
7610         * soft-fp/eqsf2.c: Likewise.
7611         * soft-fp/eqtf2.c: Likewise.
7612         * soft-fp/extenddftf2.c: Likewise.
7613         * soft-fp/extended.h: Likewise.
7614         * soft-fp/extendsfdf2.c: Likewise.
7615         * soft-fp/extendsftf2.c: Likewise.
7616         * soft-fp/extendxftf2.c: Likewise.
7617         * soft-fp/fixdfdi.c: Likewise.
7618         * soft-fp/fixdfsi.c: Likewise.
7619         * soft-fp/fixdfti.c: Likewise.
7620         * soft-fp/fixsfdi.c: Likewise.
7621         * soft-fp/fixsfsi.c: Likewise.
7622         * soft-fp/fixsfti.c: Likewise.
7623         * soft-fp/fixtfdi.c: Likewise.
7624         * soft-fp/fixtfsi.c: Likewise.
7625         * soft-fp/fixtfti.c: Likewise.
7626         * soft-fp/fixunsdfdi.c: Likewise.
7627         * soft-fp/fixunsdfsi.c: Likewise.
7628         * soft-fp/fixunsdfti.c: Likewise.
7629         * soft-fp/fixunssfdi.c: Likewise.
7630         * soft-fp/fixunssfsi.c: Likewise.
7631         * soft-fp/fixunssfti.c: Likewise.
7632         * soft-fp/fixunstfdi.c: Likewise.
7633         * soft-fp/fixunstfsi.c: Likewise.
7634         * soft-fp/fixunstfti.c: Likewise.
7635         * soft-fp/floatdidf.c: Likewise.
7636         * soft-fp/floatdisf.c: Likewise.
7637         * soft-fp/floatditf.c: Likewise.
7638         * soft-fp/floatsidf.c: Likewise.
7639         * soft-fp/floatsisf.c: Likewise.
7640         * soft-fp/floatsitf.c: Likewise.
7641         * soft-fp/floattidf.c: Likewise.
7642         * soft-fp/floattisf.c: Likewise.
7643         * soft-fp/floattitf.c: Likewise.
7644         * soft-fp/floatundidf.c: Likewise.
7645         * soft-fp/floatundisf.c: Likewise.
7646         * soft-fp/floatunditf.c: Likewise.
7647         * soft-fp/floatunsidf.c: Likewise.
7648         * soft-fp/floatunsisf.c: Likewise.
7649         * soft-fp/floatunsitf.c: Likewise.
7650         * soft-fp/floatuntidf.c: Likewise.
7651         * soft-fp/floatuntisf.c: Likewise.
7652         * soft-fp/floatuntitf.c: Likewise.
7653         * soft-fp/fmadf4.c: Likewise.
7654         * soft-fp/fmasf4.c: Likewise.
7655         * soft-fp/fmatf4.c: Likewise.
7656         * soft-fp/gedf2.c: Likewise.
7657         * soft-fp/gesf2.c: Likewise.
7658         * soft-fp/getf2.c: Likewise.
7659         * soft-fp/ledf2.c: Likewise.
7660         * soft-fp/lesf2.c: Likewise.
7661         * soft-fp/letf2.c: Likewise.
7662         * soft-fp/muldf3.c: Likewise.
7663         * soft-fp/mulsf3.c: Likewise.
7664         * soft-fp/multf3.c: Likewise.
7665         * soft-fp/negdf2.c: Likewise.
7666         * soft-fp/negsf2.c: Likewise.
7667         * soft-fp/negtf2.c: Likewise.
7668         * soft-fp/op-1.h: Likewise.
7669         * soft-fp/op-2.h: Likewise.
7670         * soft-fp/op-4.h: Likewise.
7671         * soft-fp/op-8.h: Likewise.
7672         * soft-fp/op-common.h: Likewise.
7673         * soft-fp/quad.h: Likewise.
7674         * soft-fp/single.h: Likewise.
7675         * soft-fp/soft-fp.h: Likewise.
7676         * soft-fp/sqrtdf2.c: Likewise.
7677         * soft-fp/sqrtsf2.c: Likewise.
7678         * soft-fp/sqrttf2.c: Likewise.
7679         * soft-fp/subdf3.c: Likewise.
7680         * soft-fp/subsf3.c: Likewise.
7681         * soft-fp/subtf3.c: Likewise.
7682         * soft-fp/truncdfsf2.c: Likewise.
7683         * soft-fp/trunctfdf2.c: Likewise.
7684         * soft-fp/trunctfsf2.c: Likewise.
7685         * soft-fp/trunctfxf2.c: Likewise.
7686         * soft-fp/unorddf2.c: Likewise.
7687         * soft-fp/unordsf2.c: Likewise.
7688         * soft-fp/unordtf2.c: Likewise.
7690 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
7692         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
7693         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
7695 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
7697         * elf/dl-libc.c: Clear initfini list after freeing.
7699 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
7701         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
7702         * soft-fp/addsf3.c: Likewise.
7703         * soft-fp/addtf3.c: Likewise.
7704         * soft-fp/divdf3.c: Likewise.
7705         * soft-fp/divsf3.c: Likewise.
7706         * soft-fp/divtf3.c: Likewise.
7707         * soft-fp/double.h: Likewise.
7708         * soft-fp/eqdf2.c: Likewise.
7709         * soft-fp/eqsf2.c: Likewise.
7710         * soft-fp/eqtf2.c: Likewise.
7711         * soft-fp/extenddftf2.c: Likewise.
7712         * soft-fp/extended.h: Likewise.
7713         * soft-fp/extendsfdf2.c: Likewise.
7714         * soft-fp/extendsftf2.c: Likewise.
7715         * soft-fp/extendxftf2.c: Likewise.
7716         * soft-fp/fixdfdi.c: Likewise.
7717         * soft-fp/fixdfsi.c: Likewise.
7718         * soft-fp/fixdfti.c: Likewise.
7719         * soft-fp/fixsfdi.c: Likewise.
7720         * soft-fp/fixsfsi.c: Likewise.
7721         * soft-fp/fixsfti.c: Likewise.
7722         * soft-fp/fixtfdi.c: Likewise.
7723         * soft-fp/fixtfsi.c: Likewise.
7724         * soft-fp/fixtfti.c: Likewise.
7725         * soft-fp/fixunsdfdi.c: Likewise.
7726         * soft-fp/fixunsdfsi.c: Likewise.
7727         * soft-fp/fixunsdfti.c: Likewise.
7728         * soft-fp/fixunssfdi.c: Likewise.
7729         * soft-fp/fixunssfsi.c: Likewise.
7730         * soft-fp/fixunssfti.c: Likewise.
7731         * soft-fp/fixunstfdi.c: Likewise.
7732         * soft-fp/fixunstfsi.c: Likewise.
7733         * soft-fp/fixunstfti.c: Likewise.
7734         * soft-fp/floatdidf.c: Likewise.
7735         * soft-fp/floatdisf.c: Likewise.
7736         * soft-fp/floatditf.c: Likewise.
7737         * soft-fp/floatsidf.c: Likewise.
7738         * soft-fp/floatsisf.c: Likewise.
7739         * soft-fp/floatsitf.c: Likewise.
7740         * soft-fp/floattidf.c: Likewise.
7741         * soft-fp/floattisf.c: Likewise.
7742         * soft-fp/floattitf.c: Likewise.
7743         * soft-fp/floatundidf.c: Likewise.
7744         * soft-fp/floatundisf.c: Likewise.
7745         * soft-fp/floatunsidf.c: Likewise.
7746         * soft-fp/floatunsisf.c: Likewise.
7747         * soft-fp/floatuntidf.c: Likewise.
7748         * soft-fp/floatuntisf.c: Likewise.
7749         * soft-fp/floatuntitf.c: Likewise.
7750         * soft-fp/fmadf4.c: Likewise.
7751         * soft-fp/fmasf4.c: Likewise.
7752         * soft-fp/fmatf4.c: Likewise.
7753         * soft-fp/gedf2.c: Likewise.
7754         * soft-fp/gesf2.c: Likewise.
7755         * soft-fp/getf2.c: Likewise.
7756         * soft-fp/ledf2.c: Likewise.
7757         * soft-fp/lesf2.c: Likewise.
7758         * soft-fp/letf2.c: Likewise.
7759         * soft-fp/muldf3.c: Likewise.
7760         * soft-fp/mulsf3.c: Likewise.
7761         * soft-fp/multf3.c: Likewise.
7762         * soft-fp/negdf2.c: Likewise.
7763         * soft-fp/negsf2.c: Likewise.
7764         * soft-fp/negtf2.c: Likewise.
7765         * soft-fp/op-1.h: Likewise.
7766         * soft-fp/op-2.h: Likewise.
7767         * soft-fp/op-4.h: Likewise.
7768         * soft-fp/op-8.h: Likewise.
7769         * soft-fp/op-common.h: Likewise.
7770         * soft-fp/quad.h: Likewise.
7771         * soft-fp/single.h: Likewise.
7772         * soft-fp/soft-fp.h: Likewise.
7773         * soft-fp/sqrtdf2.c: Likewise.
7774         * soft-fp/sqrtsf2.c: Likewise.
7775         * soft-fp/sqrttf2.c: Likewise.
7776         * soft-fp/subdf3.c: Likewise.
7777         * soft-fp/subsf3.c: Likewise.
7778         * soft-fp/subtf3.c: Likewise.
7779         * soft-fp/truncdfsf2.c: Likewise.
7780         * soft-fp/trunctfdf2.c: Likewise.
7781         * soft-fp/trunctfsf2.c: Likewise.
7782         * soft-fp/trunctfxf2.c: Likewise.
7783         * soft-fp/unorddf2.c: Likewise.
7784         * soft-fp/unordsf2.c: Likewise.
7785         * soft-fp/unordtf2.c: Likewise.
7787 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
7789         [BZ #15672]
7790         * misc/error.c (error_tail): Fix possible buffer overflow.
7792 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
7794         [BZ #13028]
7795         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
7796         address.
7798 2013-10-14  P. J. McDermott  <pj@pehjota.net>
7800         [BZ #832]
7801         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
7802         testing pipefail option.
7804 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7806         * soft-fp/double.h: Indent preprocessor directives inside #if.
7807         * soft-fp/extended.h: Likewise.
7808         * soft-fp/op-2.h: Likewise.
7809         * soft-fp/op-4.h: Likewise.
7810         * soft-fp/op-common.h: Likewise.
7811         * soft-fp/quad.h: Likewise.
7812         * soft-fp/single.h: Likewise.
7813         * soft-fp/soft-fp.h: Likewise.
7815 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
7817         * iconv/iconv_prog.c: Fix typos.
7818         * stdio-common/psiginfo-data.h: Likewise.
7820 2013-10-12   Reuben Thomas <rrt@sc3d.org>
7822         [BZ #15764]
7823         * locale/setlocale.c: Fix typo.
7825 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
7827         [BZ #16036]
7828         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
7829         signaling NaN arguments.
7830         * soft-fp/unordsf2.c (__unordsf2): Likewise.
7831         * soft-fp/unordtf2.c (__unordtf2): Likewise.
7833         [BZ #14910]
7834         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
7835         unordered operands.
7836         * soft-fp/gesf2.c (__gesf2): Likewise.
7837         * soft-fp/getf2.c (__getf2): Likewise.
7838         * soft-fp/ledf2.c (__ledf2): Likewise.
7839         * soft-fp/lesf2.c (__lesf2): Likewise.
7840         * soft-fp/letf2.c (__letf2): Likewise.
7842         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
7843         * soft-fp/eqsf2.c (__eqsf2): Likewise.
7844         * soft-fp/eqtf2.c (__eqtf2): Likewise.
7845         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
7846         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
7847         * soft-fp/fixdfti.c (__fixdfti): Likewise.
7848         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
7849         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
7850         * soft-fp/fixsfti.c (__fixsfti): Likewise.
7851         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
7852         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
7853         * soft-fp/fixtfti.c (__fixtfti): Likewise.
7854         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
7855         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
7856         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
7857         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
7858         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
7859         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
7860         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
7861         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
7862         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
7863         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
7864         * soft-fp/floatdisf.c (__floatdisf): Likewise.
7865         * soft-fp/floatsisf.c (__floatsisf): Likewise.
7866         * soft-fp/floattidf.c (__floattidf): Likewise.
7867         * soft-fp/floattisf.c (__floattisf): Likewise.
7868         * soft-fp/floattitf.c (__floattitf): Likewise.
7869         * soft-fp/floatundidf.c (__floatundidf): Likewise.
7870         * soft-fp/floatundisf.c (__floatundisf): Likewise.
7871         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
7872         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
7873         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
7874         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
7875         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
7876         * soft-fp/gesf2.c (__gesf2): Likewise.
7877         * soft-fp/getf2.c (__getf2): Likewise.
7878         * soft-fp/ledf2.c (__ledf2): Likewise.
7879         * soft-fp/lesf2.c (__lesf2): Likewise.
7880         * soft-fp/letf2.c (__letf2): Likewise.
7882         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
7883         Undefine and redefine.
7884         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
7885         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
7886         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
7887         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
7888         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7889         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
7890         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7891         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
7892         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7893         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
7894         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7895         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
7896         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7897         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
7898         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
7900         [BZ #16032]
7901         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
7902         without decrementing exponent if mantissa >= that for the
7903         denominator, not >.
7904         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
7905         denominator, not >.  Decrement exponent in < case instead of
7906         incrementing in >= case.
7907         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
7908         without decrementing exponent if mantissa >= that for the
7909         denominator, not >.
7911         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
7912         computing saturated result for unsigned overflow.
7914 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7915             Jeff Law  <law@redhat.com>
7917         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
7918         (atan2Mp): Add systemtap probe marker.
7919         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
7920         (__ieee754_log): Add systemtap probe marker.
7921         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
7922         (atanMp): Add systemtap probe marker.
7923         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
7924         (tanMp): Add systemtap probe marker.
7925         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
7926         (__slowexp): Add systemtap probe marker.
7927         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
7928         (__slowpow): Add systemtap probe marker.
7929         * manual/probes.texi: Document probes.
7931 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
7933         [BZ #15362]
7934         * libio/fileops.c (_IO_new_file_write): Return count of bytes
7935         written.
7936         (_IO_new_file_xsputn): Don't return EOF if nothing has been
7937         written.
7938         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
7939         written to buffer but not flushed.
7940         * libio/iofwrite_u.c:  Likewise.
7941         * libio/iopadn.c:  Return bytes returned even if EOF was
7942         encountered.
7943         * libio/iowpadn.c:  Likewise.
7944         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
7945         if _IO_padn does not write the whole buffer.
7946         [!COMPILE_WPRINTF] (PAD): Likewise.
7948 2013-10-10  David S. Miller  <davem@davemloft.net>
7950         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
7951         directory block.
7953 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
7955         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
7956         instead of FSF address.
7957         * soft-fp/fixdfti.c: Likewise.
7958         * soft-fp/fixsfti.c: Likewise.
7959         * soft-fp/fixtfti.c: Likewise.
7960         * soft-fp/fixunsdfti.c: Likewise.
7961         * soft-fp/fixunssfti.c: Likewise.
7962         * soft-fp/fixunstfti.c: Likewise.
7963         * soft-fp/floattidf.c: Likewise.
7964         * soft-fp/floattisf.c: Likewise.
7965         * soft-fp/floattitf.c: Likewise.
7966         * soft-fp/floatuntidf.c: Likewise.
7967         * soft-fp/floatuntisf.c: Likewise.
7968         * soft-fp/floatuntitf.c: Likewise.
7969         * soft-fp/trunctfxf2.c: Likewise.
7971         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
7972         * soft-fp/fixdfti.c: Likewise.
7973         * soft-fp/fixsfti.c: Likewise.
7974         * soft-fp/fixtfti.c: Likewise.
7975         * soft-fp/fixunsdfti.c: Likewise.
7976         * soft-fp/fixunssfti.c: Likewise.
7977         * soft-fp/fixunstfti.c: Likewise.
7978         * soft-fp/floattidf.c: Likewise.
7979         * soft-fp/floattisf.c: Likewise.
7980         * soft-fp/floattitf.c: Likewise.
7981         * soft-fp/floatuntidf.c: Likewise.
7982         * soft-fp/floatuntisf.c: Likewise.
7983         * soft-fp/floatuntitf.c: Likewise.
7984         * soft-fp/trunctfxf2.c: Likewise.
7986 2013-10-10  David S. Miller  <davem@davemloft.net>
7988         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7990 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
7992         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
7993         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
7994         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
7995         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
7996         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
7997         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
7998         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
8000         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
8001         for NaNs before doing comparisons on argument.
8002         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
8003         Likewise.
8005 2013-10-10  Will Newton  <will.newton@linaro.org>
8007         * malloc/hooks.c (memalign_check): Ensure the value of bytes
8008         passed to _int_memalign does not overflow.
8010 2013-10-10  Torvald Riegel  <triegel@redhat.com>
8012         * scripts/bench.pl: Add include-sources directive.
8013         * benchtests/README: Update documentation.
8015 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
8017         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
8018         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
8019         instead of FP_INIT_ROUNDMODE.
8020         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
8021         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
8023         [BZ #16034]
8024         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
8025         copy class of input value.
8026         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
8027         not handle exceptions.
8028         * soft-fp/negsf2.c (__negsf2): Likewise.
8029         * soft-fp/negtf2.c (__negtf2): Likewise.
8030         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
8032 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
8034         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
8035         semicolon.  From Linux kernel.
8037 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
8039         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
8041 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
8043         [BZ #156]
8044         * manual/socket.texi: Added statement about buffer
8045         for gethostbyname2_r.
8047 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
8049         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
8050         Use .p2align directive instead, throughout.
8051         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8052         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8053         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
8054         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8055         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8056         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
8057         * sysdeps/x86_64/strchr.S: Likewise.
8058         * sysdeps/x86_64/strrchr.S: Likewise.
8060 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8062         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
8064         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
8066         * sysdeps/generic/math_private.h (__mpsin1): Remove
8067         declaration.
8068         (__mpcos1): Likewise.
8069         (__mpsin): New argument __range_reduce.
8070         (__mpcos): Likewise.
8071         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8072         (slow): Use __mpsin and __mpcos.
8073         (slow1): Likewise.
8074         (slow2): Likewise.
8075         (sloww): Likewise.
8076         (sloww1): Likewise.
8077         (sloww2): Likewise.
8078         (bsloww): Likewise.
8079         (bsloww1): Likewise.
8080         (bsloww2): Likewise.
8081         (cslow2): Likewise.
8082         (csloww): Likewise.
8083         (csloww1): Likewise.
8084         (csloww2): Likewise.
8085         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
8086         range_reduce.  Merge in __mpsin1.
8087         (__mpcos): Likewise.
8088         (__mpsin1): Remove.
8089         (__mpcos1): Likewise.
8091 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
8093         * locale/loadlocale.c (_nl_intern_locale_data): Use
8094         LOCFILE_ALIGNED_P.
8095         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
8096         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
8097         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
8098         obstack data is appropriately aligned.
8099         (obstack_int32_grow_fast): Likewise.
8100         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
8101         * locale/programs/locfile.c (add_locale_uint32): Likewise.
8102         (add_locale_uint32_array): Likewise.
8104 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
8106         * benchtests/Makefile: Remove ARGLIST and RET variables.
8107         ($(objpfx)bench-%.c): Pass only function name to the script.
8108         * benchtests/README: Update documentation.
8109         * benchtests/acos-inputs: Add new directives.
8110         * benchtests/acosh-inputs: Likewise.
8111         * benchtests/asin-inputs: Likewise.
8112         * benchtests/asinh-inputs: Likewise.
8113         * benchtests/atan-inputs: Likewise.
8114         * benchtests/atanh-inputs: Likewise.
8115         * benchtests/cos-inputs: Likewise.
8116         * benchtests/cosh-inputs: Likewise.
8117         * benchtests/exp-inputs: Likewise.
8118         * benchtests/log-inputs: Likewise.
8119         * benchtests/pow-inputs: Likewise.
8120         * benchtests/rint-inputs: Likewise.
8121         * benchtests/sin-inputs: Likewise.
8122         * benchtests/sinh-inputs: Likewise.
8123         * benchtests/tan-inputs: Likewise.
8124         * benchtests/tanh-inputs: Likewise.
8125         * scripts/bench.pl: Add support for new directives.
8127 2013-10-07  Alan Modra  <amodra@gmail.com>
8129         * README: Fix careless merge.
8131 2013-10-05  Alan Modra  <amodra@gmail.com>
8133         * NEWS: Mention powerpc64le support and bugs fixed.
8134         * README: Both big-endian and little-endian powerpc64 supported.
8136 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8138         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
8139         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
8140         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
8141         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
8143 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
8145         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
8146         match prototype.
8148 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
8150         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
8151         Move -mhard-float appending from
8152         ports/sysdeps/powerpc/powerpc32/Makefile.
8153         [$(with-fp) = yes] (ASFLAGS): Likewise.
8154         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
8155         * sysdeps/powerpc/nofpu: Move directory from
8156         ports/sysdeps/powerpc/nofpu.
8157         * sysdeps/powerpc/soft-fp: Move directory from
8158         ports/sysdeps/powerpc/soft-fp.
8159         * sysdeps/powerpc/powerpc32/405: Move directory from
8160         ports/sysdeps/powerpc/powerpc32/405.
8161         * sysdeps/powerpc/powerpc32/440: Move directory from
8162         ports/sysdeps/powerpc/powerpc32/440.
8163         * sysdeps/powerpc/powerpc32/464: Move directory from
8164         ports/sysdeps/powerpc/powerpc32/464.
8165         * sysdeps/powerpc/powerpc32/476: Move directory from
8166         ports/sysdeps/powerpc/powerpc32/476.
8167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
8168         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
8169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
8170         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
8171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
8172         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
8173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
8174         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
8175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
8176         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
8177         * README: Update for powerpc-*-linux-gnu software floating point
8178         support in libc.
8180         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
8181         case to powerpc/powerpc32*.
8182         * sysdeps/unix/sysv/linux/configure: Regenerated.
8184         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
8185         (_FPU_MASK_OM): Define as 0x04.
8186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
8187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
8188         0x00c10080.
8189         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
8190         0x0000003c.
8191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
8193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
8194         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8195         getcontext_e500.
8196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
8197         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
8198         setcontext_e500.
8199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
8200         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
8201         and setcontext_e500.
8203 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
8205         * locale/iso-3166.def: Update iso-1366.def and related occurrences
8207 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8209         * manual/threads.texi (Default Thread Attributes): Fix typo.
8211 2013-10-04  Will Newton  <will.newton@linaro.org>
8213         * malloc/Makefile: Add tst-memalign.
8214         * malloc/tst-memalign.c: New file.
8216         * malloc/tst-posix_memalign.c: Add comments.
8217         (do_test): Add comments and call free on all potentially
8218         allocated pointers. Add space after cast.
8220         * malloc/tst-pvalloc.c: Add comments.
8221         (do_test): Add comments and call free on all potentially
8222         allocated pointers. Remove duplicate check for NULL pointer.
8223         Add space after cast.
8225         * malloc/tst-valloc.c: Add comments.
8226         (do_test): Add comments and call free on all potentially
8227         allocated pointers. Remove duplicate check for NULL pointer.
8228         Add space after cast.
8230 2013-10-04  Alan Modra  <amodra@gmail.com>
8232         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8233         Use stdint types in rather than __attribute__((mode())).
8234         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8236 2013-10-04  Alan Modra  <amodra@gmail.com>
8238         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
8239         Correct handling of unaligned relocs for little-endian.
8240         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8242 2013-10-04  Alan Modra  <amodra@gmail.com>
8244         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
8245         * configure: Regenerate.
8246         * nptl/shlib-versions: Powerpc*le starts at 2.18.
8247         * shlib-versions: Likewise.
8249 2013-10-04  Alan Modra  <amodra@gmail.com>
8251         * string/tester.c (test_memrchr): Increment reported test cycle.
8253 2013-10-04  Alan Modra  <amodra@gmail.com>
8255         * string/test-memcpy.c (do_one_test): When reporting errors, print
8256         string address and don't overrun end of string.
8258 2013-10-04  Alan Modra  <amodra@gmail.com>
8260         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
8261         insrdi.  Make better use of reg selection to speed exit slightly.
8262         Schedule entry path a little better.  Remove useless "are we done"
8263         checks on entry to main loop.  Handle wrapping around zero address.
8264         Correct main loop count.  Handle single left-over word from main
8265         loop inline rather than by using loop_small.  Remove extra word
8266         case in loop_small caused by wrong loop count.  Add little-endian
8267         support.
8268         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8269         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
8270         cache hint.
8271         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8272         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
8273         support.  Avoid rlwimi.
8274         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
8276 2013-10-04  Alan Modra  <amodra@gmail.com>
8278         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
8279         insrdi.  Formatting.
8280         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
8281         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8282         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8283         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
8284         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
8285         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
8287 2013-10-04  Alan Modra  <amodra@gmail.com>
8289         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
8290         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8291         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8292         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
8293         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8294         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8295         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8296         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
8297         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
8298         use of regs.  Use power7 mtocrf.  Tidy function tails.
8300 2013-10-04  Alan Modra  <amodra@gmail.com>
8302         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
8303         Formatting.  Consistently use rXXX register defines or rN defines.
8304         Use early exit labels that avoid restoring unused non-volatile regs.
8305         Make cr field use more consistent with rWORDn compares.  Rename
8306         regs used as shift registers for unaligned loop, using rN defines
8307         for short lifetime/multiple use regs.
8308         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8309         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
8310         addi 1,1,64 to pop stack frame.  Simplify return value code.
8311         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8313 2013-10-04  Alan Modra  <amodra@gmail.com>
8315         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
8316         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
8317         rather than rlwimi.
8318         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
8319         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
8320         little-endian support.  Correct typos.
8321         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
8322         rather than rlwimi.
8323         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
8324         in loop and entry code to keep "and." results.
8325         (strchr): Add little-endian support.  Comment.  Move cntlzd
8326         earlier in tail.
8327         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
8329 2013-10-04  Alan Modra  <amodra@gmail.com>
8331         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
8332         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
8333         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
8334         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
8336 2013-10-04  Alan Modra  <amodra@gmail.com>
8338         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
8339         (rTMP): Define as r11.
8340         (strcmp): Add little-endian support.  Optimise tail.
8341         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
8342         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8343         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8344         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8345         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8347         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8349 2013-10-04  Alan Modra  <amodra@gmail.com>
8351         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
8352         little-endian support.  Remove unnecessary "are we done" tests.
8353         Handle "s" wrapping around zero and extremely large "size".
8354         Correct main loop count.  Handle single left-over word from main
8355         loop inline rather than by using small_loop.  Correct comments.
8356         Delete "zero" tail, use "end_max" instead.
8357         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
8359 2013-10-04  Alan Modra  <amodra@gmail.com>
8361         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
8362         support.  Don't branch over align.
8363         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
8364         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
8365         support.  Rearrange tmp reg use to suit.  Comment.
8366         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
8368 2013-10-04  Alan Modra  <amodra@gmail.com>
8370         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
8372 2013-10-04  Alan Modra  <amodra@gmail.com>
8374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
8375         conditional form of branch and link when obtaining pc.
8376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8378 2013-10-04  Alan Modra  <amodra@gmail.com>
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
8381         HIWORD/LOWORD.
8382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
8383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
8385 2013-10-04  Alan Modra  <amodra@gmail.com>
8387         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
8388         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
8389         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
8390         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
8391         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8392         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
8393         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
8394         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
8395         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
8396         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
8398 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8399             Alistair Popple <alistair@ozlabs.au.ibm.com>
8400             Alan Modra <amodra@gmail.com>
8402         [BZ #15723]
8403         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
8404         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
8405         _dl_hwcap access for little-endian.
8406         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
8407         destroy vmx regs when saving unaligned.
8408         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
8409         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
8410         destroy vmx regs when saving unaligned.
8412 2013-10-04  Alan Modra  <amodra@gmail.com>
8414         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
8415         Don't use a union to pack hi/low value.
8417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8419         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
8420         for little-endian.
8421         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
8422         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
8423         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8424         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
8425         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
8427 2013-10-04  Alan Modra  <amodra@gmail.com>
8429         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
8430         constants to usual value for .cst8 section, and remove redundant
8431         high address load.
8432         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
8433         constant for 0x1p52.  Load little-endian words of double from
8434         correct stack offsets.
8436 2013-10-04  Alan Modra  <amodra@gmail.com>
8438         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
8439         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
8440         words of double from correct stack offsets.
8441         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8442         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
8443         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
8444         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
8445         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
8446         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
8447         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
8448         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8449         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8450         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
8451         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
8452         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
8453         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8454         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8455         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8456         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
8457         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8459 2013-10-04  Alan Modra  <amodra@gmail.com>
8461         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
8462         64-bit int/double union.
8463         (_FPU_SETCW): Likewise.
8464         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
8465         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
8467 2013-10-04  Alan Modra  <amodra@gmail.com>
8469         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
8470         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
8472 2013-10-04  Alan Modra  <amodra@gmail.com>
8474         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
8475         use vector int constants.
8476         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
8478 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8480         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
8481         array with long long.
8482         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
8483         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
8484         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
8485         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
8486         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
8487         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
8488         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
8489         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
8490         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
8491         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
8492         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
8493         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
8494         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
8496 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
8498         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
8499         (__signbit): Likewise.  Correct for little-endian.
8500         (__signbitl): Call __signbit.
8501         (lrint): Correct for little-endian.
8502         (lrintf): Call lrint.
8504 2013-10-04  Alan Modra  <amodra@gmail.com>
8506         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
8507         union 32-bit int array member with 64-bit int array.
8508         (t515, tm256): Double rather than long double.
8509         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
8511 2013-10-04  Alan Modra  <amodra@gmail.com>
8513         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
8514         Delete.
8515         (IEEE854_LONG_DOUBLE_BIAS): Delete.
8516         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
8517         version of math_ldbl.h.
8519 2013-10-04  Alan Modra  <amodra@gmail.com>
8521         [BZ #15734], [BZ #15735]
8522         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
8523         all uses of ieee875 long double macros and unions.  Simplify test
8524         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
8525         ldbl_extract_mantissa value for ix,iy exponents.  Properly
8526         normalize after ldbl_extract_mantissa, and don't add hidden bit
8527         already handled.  Don't treat low word of ieee854 mantissa like
8528         low word of IBM long double and mask off bit when testing for
8529         zero.
8530         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
8531         all uses of ieee875 long double macros and unions.  Simplify tests
8532         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
8533         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
8534         two1022, instead use their values.  Recognise that tests for large
8535         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
8536         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
8537         Rewrite all uses of ieee875 long double macros and unions.  Simplify
8538         test for 0.0L and nan.  Correct negation.
8539         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
8540         ieee875 long double macros and unions.  Correct output for large
8541         magnitude x.  Correct absolute value calculation.
8542         (__erfcl): Likewise.
8543         * math/libm-test.inc: Add tests for errors discovered in IBM long
8544         double versions of fmodl, remainderl, erfl and erfcl.
8546 2013-10-04  Alan Modra  <amodra@gmail.com>
8548         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
8549         all uses of ieee854 long double macros and unions.  Simplify tests
8550         for long doubles that are fully specified by the high double.
8551         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8552         Likewise.
8553         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
8554         Remove dead code too.
8555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8556         (__ieee754_ynl): Likewise.
8557         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8558         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
8559         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
8560         Remove dead code too.
8561         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
8562         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
8563         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
8564         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
8565         Simplify.
8566         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
8567         Simplify.
8568         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
8569         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
8570         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
8571         Comment on variable precision.
8572         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
8573         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
8574         Likewise.
8575         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
8576         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8577         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8578         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
8579         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
8581 2013-10-04  Alan Modra  <amodra@gmail.com>
8583         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
8584         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
8585         all uses of ieee854 long double macros and unions.
8586         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
8587         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
8588         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
8589         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
8590         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8591         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8592         Likewise.
8593         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
8594         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
8595         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
8596         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
8597         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
8598         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
8599         Simplify sign and nan test too.
8600         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
8601         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
8602         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
8603         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
8604         Likewise.
8605         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8606         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
8607         Likewise.
8608         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8609         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
8610         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
8611         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
8612         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
8613         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
8615 2013-10-04  Alan Modra  <amodra@gmail.com>
8617         * stdio-common/printf_size.c (__printf_size): Don't use
8618         union ieee854_long_double in fpnum union.
8619         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
8620         signbit macro to retrieve sign from long double.
8621         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
8622         retrieve sign from long double.
8623         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
8624         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
8625         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
8626         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8627         * math/test-misc.c (main): Don't use union ieee854_long_double.
8629 2013-10-04  Alan Modra  <amodra@gmail.com>
8631         [BZ #15680]
8632         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
8633         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
8634         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
8635         calculation.  Remove unnecessary test for denormal exponent.
8636         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
8637         Correct handling of denormals.  Avoid undefined shift behaviour.
8638         Correct normalisation of low mantissa when low double is denormal.
8639         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8640         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
8641         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
8642         Correct normalisation of low mantissa.  Test for overflow of high
8643         mantissa and normalise.
8644         (ldbl_nearbyint): Use more readable constant for two52.
8645         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
8646         (__mpn_construct_long_double): Fix test for overflow of high
8647         mantissa and correct normalisation.  Avoid undefined shift.
8649 2013-10-04  Alan Modra  <amodra@gmail.com>
8651         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
8652         (union ibm_extended_long_double): Define as an array of ieee754_double.
8653         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
8654         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
8655         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
8656         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
8657         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8658         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
8659         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
8660         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8661         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
8662         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
8663         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
8665 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
8667         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
8668         page size instead of calling getpagesize.
8670         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
8671         (LOCFILE_ALIGN_MASK): Likewise.
8672         (LOCFILE_ALIGN_UP): Likewise.
8673         (LOCFILE_ALIGNED_P): Likewise.
8674         * locale/programs/ld-collate.c (collate_output): Use the new
8675         macros instead of __alignof__ (int32_t).
8676         * locale/weight.h (findidx): Likewise.
8678 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
8680         [BZ #431]
8681         * manual/string.texi: Fix strncat and wcsncat.
8683 2013-10-03  Brooks Moses  <bmoses@google.com>
8685         [BZ #15915]
8686         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
8687         * Makerules: ...here, and adjust associated comments.
8689 2013-10-02  Will Newton  <will.newton@linaro.org>
8691         * malloc/Makefile: Add tst-pvalloc.
8692         * malloc/tst-pvalloc.c: New file.
8694 2013-10-02  Will Newton  <will.newton@linaro.org>
8696         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
8697         improve test coverage.
8699 2013-10-02  Will Newton  <will.newton@linaro.org>
8701         * malloc/Makefile: Add tst-posix_memalign.
8702         * malloc/tst-posix_memalign.c: New file.
8704 2013-10-01  Eric Blake  <eblake@redhat.com>
8706         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
8707         Use __THROWNL rather than __THROW on static functions.
8709 2013-09-30  Petr Machata  <pmachata@redhat.com>
8711         * elf/elf.h (R_AARCH64_ABS16): New macro.
8712         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
8713         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
8714         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
8715         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
8716         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
8717         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
8718         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
8719         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
8720         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
8721         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
8722         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
8723         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
8724         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
8725         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
8726         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
8727         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
8728         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
8729         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
8730         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
8731         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
8732         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
8733         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
8734         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
8735         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
8736         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
8737         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
8738         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
8739         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
8740         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
8741         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
8742         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
8743         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
8744         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
8745         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
8746         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
8747         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
8748         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
8749         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
8750         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
8751         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
8752         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
8753         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
8754         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
8755         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
8756         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
8757         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
8758         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
8759         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
8760         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
8761         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
8762         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
8763         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
8764         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
8765         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
8766         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
8767         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
8768         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
8769         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
8770         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
8771         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
8772         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
8773         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
8774         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
8775         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
8776         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
8777         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
8778         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
8779         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
8780         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
8781         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
8782         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
8783         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
8784         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
8785         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
8786         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
8787         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
8788         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
8789         (R_AARCH64_TLSDESC_LDR): Likewise.
8790         (R_AARCH64_TLSDESC_ADD): Likewise.
8791         (R_AARCH64_TLSDESC_CALL): Likewise.
8793 2013-09-30  Andreas Schwab  <schwab@suse.de>
8795         [BZ #15048]
8796         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
8797         the nss database lookup.
8798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
8799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8801 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
8803         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
8805 2013-09-28  P. J. McDermott  <pj@pehjota.net>
8807         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
8808         ${Bash-specific parameter/pattern/string} parameter expansion.
8809         * sysdeps/unix/make-syscalls.sh: Likewise.
8811 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8813         * sysdeps/sh/stackguard-macros.h: New file.
8815 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
8817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
8818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
8819         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
8820         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
8821         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
8822         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
8824 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8826         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
8827         Fix thread ID register.
8829 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
8831         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
8832         [POSIX || UNIX98]: Require rather than permitting all symbols from
8833         <time.h>.
8834         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
8835         element of struct sched_param.
8836         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
8837         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
8838         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
8839         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
8840         constant.
8842 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
8844         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
8845         argument calculation.
8847 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8849         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
8850         Expect macro.
8851         [POSIX] (pthread_attr_t): Do not require type.
8852         [POSIX] (pthread_cond_t): Likewise.
8853         [POSIX] (pthread_condattr_t): Likewise.
8854         [POSIX] (pthread_key_t): Likewise.
8855         [POSIX] (pthread_mutex_t): Likewise.
8856         [POSIX] (pthread_mutexattr_t): Likewise.
8857         [POSIX] (pthread_once_t): Likewise.
8858         [POSIX] (pthread_t): Likewise.
8859         [POSIX-based standards] (pthread_atfork): Expect function.
8861 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
8862             Richard Sandiford  <richard@codesourcery.com>
8864         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
8865         (swap_endianness_p): New extern variable.
8866         (set_big_endian): New inline function.
8867         (maybe_swap_uint32): Likewise.
8868         (maybe_swap_uint32_array): Likewise.
8869         (maybe_swap_uint32_obstack): Likewise.
8870         * locale/programs/locfile.c: Include <stdbool.h>.
8871         (swap_endianness_p): New variable.
8872         (add_locale_uint32): Call maybe_swap_uint32.
8873         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
8874         (write_locale_data): Call maybe_swap_uint32_array.
8875         * locale/programs/ld-collate.c (obstack_int32_grow): Call
8876         maybe_swap_uint32.
8877         (obstack_int32_grow_fast): Likewise.
8878         (output_weightwc): Call maybe_swap_uint32_obstack.
8879         (collate_output): Likewise.
8880         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
8881         (OPT_LITTLE_ENDIAN): Likewise.
8882         (options): Add --little-endian and --big-endian options.
8883         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
8884         * locale/programs/locarchive.c: Include "locfile.h".
8885         (GET): New macro.
8886         (SET): Likewise.
8887         (INC): Likewise.
8888         (create_archive): Use the new macros to access fields of
8889         structures directly mapped from or written to locale archives.
8890         (oldlocrecentcmp): Likewise.
8891         (enlarge_archive): Likewise.
8892         (insert_name): Likewise.
8893         (add_alias): Likewise.
8894         (add_locale): Likewise.
8895         (delete_locales_from_archive): Likewise.
8896         (show_archive_content): Likewise.
8897         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
8898         locale data.
8900 2013-09-24  Roland McGrath  <roland@hack.frob.com>
8902         * manual/freemanuals.texi: Updated from (newly) canonical copy at
8903         http://www.gnu.org/doc/freemanuals.texi.
8904         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
8906 2013-09-24  Will Newton  <will.newton@linaro.org>
8908         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
8909         macro.
8911 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
8913         * locale/hashval.h (compute_hashval): Interpret bytes of key as
8914         unsigned char.
8916 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
8918         * manual/threads.texi (POSIX Threads): Fix a typo.
8920 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
8922         [BZ #14547]
8923         * string/tst-strcoll-overflow.c: New test case.
8924         * string/Makefile (xtests): Add tst-strcoll-overflow.
8925         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
8926         cache if string sizes may cause integer overflow.
8928         [BZ #14547]
8929         * string/strcoll_l.c (coll_seq): New members rule, idx,
8930         save_idx and back_us.
8931         (get_next_seq_nocache): New function.
8932         (do_compare_nocache): New function.
8933         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
8934         when malloc fails.
8936 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
8938         [BZ #15754]
8939         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
8940         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
8941         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
8943         [BZ #15754]
8944         * elf/Makefile (tests): Add tst-ptrguard1.
8945         (tests-static): Add tst-ptrguard1-static.
8946         (tst-ptrguard1-ARGS): Define.
8947         (tst-ptrguard1-static-ARGS): Define.
8948         * elf/tst-ptrguard1.c: New file.
8949         * elf/tst-ptrguard1-static.c: New file.
8950         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
8951         * sysdeps/i386/stackguard-macros.h: Likewise.
8952         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
8953         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
8954         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
8955         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
8956         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
8957         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
8959 2013-09-23  Hector Marco  <hecmargi@upv.es>
8960             Ismael Ripoll  <iripoll@disca.upv.es>
8961             Carlos O'Donell  <carlos@redhat.com>
8963         [BZ #15754]
8964         * sysdeps/generic/stackguard-macros.h: Define
8965         __pointer_chk_guard_local and POINTER_CHK_GUARD.
8966         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
8967         Define __pointer_chk_guard_local.
8968         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
8969         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
8971 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
8973         [BZ #15859]
8974         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
8976 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
8978         * include/string.h (__ffs): Declare as hidden.
8979         * string/ffs.c (__ffs): Define as hidden.
8980         * sysdeps/i386/ffs.c (__ffs): Likewise.
8981         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
8982         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
8983         * sysdeps/s390/ffs.c (__ffs): Likewise.
8984         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
8986 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
8988         * NEWS: Mention malloc probes.
8990         * malloc/arena.c (new_heap): New memory_heap_new probe.
8991         (grow_heap): New memory_heap_more probe.
8992         (shrink_heap): New memory_heap_less probe.
8993         (heap_trim): New memory_heap_free probe.
8994         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
8995         (systrim): New memory_sbrk_less probe.
8996         * manual/probes.texi: Document them.
8998         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
8999         * manual/probes.texi: Document it.
9001         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
9002         (__libc_realloc): Add memory_realloc_retry probe.
9003         (__libc_memalign): Add memory_memalign_retry probe.
9004         (__libc_valloc): Add memory_valloc_retry probe.
9005         (__libc_pvalloc): Add memory_pvalloc_retry probe.
9006         (__libc_calloc): Add memory_calloc_retry probe.
9007         * manual/probes.texi: Document them.
9009         * malloc/arena.c (get_free_list): Add probe
9010         memory_arena_reuse_free_list.
9011         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
9012         and memory_arena_reuse.
9013         (arena_get2) [!PER_THREAD]: Likewise.
9014         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
9015         memory_arena_reuse_realloc.
9016         * manual/probes.texi: Document them.
9018         * malloc/malloc.c (__libc_free): Add
9019         memory_mallopt_free_dyn_thresholds probe.
9020         (__libc_mallopt): Add multiple memory_mallopt probes.
9021         * manual/probes.texi: Document them.
9023         * malloc/malloc.c: Include stap-probe.h.
9024         (__libc_mallopt): Add memory_mallopt probe.
9025         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
9026         * manual/probes.texi: New.
9027         * manual/Makefile (chapters): Add probes.
9028         * manual/threads.texi: Set next node.
9030 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
9032         [BZ #15963, #13985]
9033         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
9034         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
9035         Add `Chinese' to `nan' entry name.
9037 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9039         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
9040         (POLYNOMIAL): Likewise.
9041         (TAYLOR_SINCOS): Likewise.
9042         (TAYLOR_SLOW): Likewise.
9043         (__sin): Use TAYLOR_SINCOS.
9044         (__cos): Likewise.
9045         (slow): Use TAYLOR_SLOW.
9046         (sloww): Likewise.
9047         (bsloww): Likewise.
9048         (csloww): Likewise.
9050 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9052         * stdlib/strtod_l.c: Fix buffer overrun.
9054 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9056         * benchtests/Makefile (bench): Add sincos.
9057         * benchtests/bench-sincos.c: New file.
9059         * math/libm-test.inc (cos_test_data): New test inputs.
9060         (sin_test_data): Likewise.
9062         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
9063         macro.
9064         (__sin): Use it.
9065         (__cos): Likewise.
9066         (slow1): Likewise.
9067         (slow2): Likewise.
9068         (sloww1): Likewise.
9069         (sloww2): Likewise.
9070         (bsloww1): Likewise.
9071         (bsloww2): Likewise.
9072         (cslow2): Likewise.
9073         (csloww1): Likewise.
9074         (csloww2): Likewise.
9076         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
9077         function.
9078         (__sin): Use it.
9079         (__cos): Likewise.
9081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
9082         gotos.
9083         (__cos): Likewise.
9085 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
9087         * config.h.in (HAVE_MIPS_NAN2008): New macro.
9088         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
9089         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
9090         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
9091         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
9092         * elf/cache.c (print_entry): Handle the new cache flags.
9094 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9095             Aldy Hernandez  <aldyh@redhat.com>
9097         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
9098         Change condition to [_SOFT_FLOAT].
9099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
9100         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
9101         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
9102         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
9103         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
9104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
9105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
9106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
9107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
9108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
9109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
9110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
9111         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
9112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
9113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
9114         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
9115         declaration.
9117 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
9119         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
9120         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9121         (__longjmp): Use LOAD_GP to load saved GPRs.
9122         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
9123         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
9124         (__sigsetjmp): Use SAVE_GP to save GPRs.
9126         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
9127         Do not append -msoft-float.
9128         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
9130 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
9132         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
9134 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
9136         [BZ #15966]
9137         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
9138         (_FPU_GETCW): Use initial "__" on variable and field names but not
9139         on macro parameter name.
9140         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
9141         parentheses around reference to macro parameter.
9143 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
9145         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
9146         prototype.
9147         (ctype_startup): Use uint32_t in cast and sizeof for
9148         ctype->charnames.
9150 2013-09-11  Jia Liu  <proljc@gmail.com>
9152         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
9153         __daddr_t_defined.
9154         [__FreeBSD__]: Likewise.
9156 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
9158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9159         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
9160         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
9161         (strchr): Remove __strchr_sse42 ifunc selection.
9162         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
9163         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
9165 2013-09-11  Will Newton  <will.newton@linaro.org>
9167         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
9168         parameter to RES. Remove hardcoded 1000 value.
9169         * benchtests/bench-skeleton.c (main): Pass RES parameter
9170         to TIMING_INIT and multiply result by 1000.
9172 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9176 2013-09-11  Andreas Schwab  <schwab@suse.de>
9178         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
9179         if not defined.
9180         (O_TMPFILE) [__USE_GNU]: Define.
9181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
9182         Define.
9184 2013-09-11  Will Newton  <will.newton@linaro.org>
9186         [BZ #15857]
9187         * malloc/malloc.c (__libc_memalign): Check the value of bytes
9188         does not overflow.
9190 2013-09-11  Will Newton  <will.newton@linaro.org>
9192         [BZ #15856]
9193         * malloc/malloc.c (__libc_valloc): Check the value of bytes
9194         does not overflow.
9196 2013-09-11  Will Newton  <will.newton@linaro.org>
9198         [BZ #15855]
9199         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
9200         does not overflow.
9202 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
9204         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
9205         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9207         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
9208         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
9210 2013-09-10  Allan McRae  <allan@archlinux.org>
9212         [BZ #15748]
9213         * manual/arith.texi (Parsing of Floats): Clarify
9214         cross-reference.
9216         [BZ #15849]
9217         * manual/install.texi (Running make install): Mention
9218         --enable-pt-chown.
9219         * INSTALL: Regenerated.
9221 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
9223         * csu/init-first.c (_init): Remove the !SHARED condition around
9224         FPU control word initialization.
9225         * elf/dl-support.c (_dl_fpu_control): New variable.
9226         (_dl_aux_init) <AT_FPUCW>: Initialize it.
9227         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
9228         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
9229         * math/test-fpucw-static.c: New file.
9230         * math/test-fpucw-ieee.c: New file.
9231         * math/test-fpucw-ieee-static.c: New file.
9232         * math/Makefile (tests): Add `test-fpucw-ieee' and
9233         `$(tests-static)'.
9234         (tests-static): New variable.
9235         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
9236         dependency to...
9237         [($(build-shared),yes)]
9238         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
9239         ... this.
9240         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
9241         New dependency.
9243 2013-09-09  Allan McRae  <allan@archlinux.org>
9245         [BZ #15939]
9246         * manual/string.texi (Collation Functions): Fix typo in
9247         strcoll example.
9248         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
9250         [BZ #15893]
9251         * stdlib/isomac.c (get_null_defines): Fix memory leak.
9253         [BZ #15892]
9254         * libio/memstream.c (open_memstream): Fix memory leak.
9255         * libio/wmemstream.c (open_wmemstream): Likewise.
9257         [BZ #15895]
9258         * nscd/netgroupcache.c: Fix nesting of ifdefs.
9260 2013-09-09  Will Newton  <will.newton@linaro.org>
9262         * malloc/Makefile: Add tst-realloc to tests.
9263         * malloc/tst-realloc.c: New file.
9265 2013-09-09  Allan McRae  <allan@archlinux.org>
9267         [BZ #15844]
9268         * COPYING: Update from GNU website to fix FSF address.
9269         * COPYING.LIB: Likewise.
9271 2013-09-06  David S. Miller  <davem@davemloft.net>
9273         * po/zh_TW.po: Update Chinese (traditional) translation from
9274         translation project.
9276 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
9277             Joseph Myers  <joseph@codesourcery.com>
9279         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
9280         "localeinfo.h".
9281         (obstack_chunk_alloc): New macro.
9282         (obstack_chunk_free): Likewise.
9283         (record_offset): New function.
9284         (init_locale_data): Likewise.
9285         (align_locale_data): Likewise.
9286         (add_locale_empty): Likewise.
9287         (add_locale_raw_data): Likewise.
9288         (add_locale_raw_obstack): Likewise.
9289         (add_locale_string): Likewise.
9290         (add_locale_wstring): Likewise.
9291         (add_locale_uint32): Likewise.
9292         (add_locale_uint32_array): Likewise.
9293         (add_locale_char): Likewise.
9294         (start_locale_structure): Likewise.
9295         (end_locale_structure): Likewise.
9296         (start_locale_prelude): Likewise.
9297         (end_locale_prelude): Likewise.
9298         (write_locale_data): Take locale_file structure rather than an
9299         iovec.
9300         * locale/programs/locfile.h: Include "obstack.h".
9301         (struct locale_file): Change to store locale file contents instead
9302         of header.
9303         (init_locale_data): New prototype.
9304         (align_locale_data): Likewise.
9305         (add_locale_empty): Likewise.
9306         (add_locale_raw_data): Likewise.
9307         (add_locale_raw_obstack): Likewise.
9308         (add_locale_string): Likewise.
9309         (add_locale_wstring): Likewise.
9310         (add_locale_uint32): Likewise.
9311         (add_locale_uint32_array): Likewise.
9312         (add_locale_char): Likewise.
9313         (start_locale_structure): Likewise.
9314         (end_locale_structure): Likewise.
9315         (start_locale_prelude): Likewise.
9316         (end_locale_prelude): Likewise.
9317         (write_locale_data): Update prototype.
9318         * locale/programs/3level.h (struct TABLE): Remove result field.
9319         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
9320         Use new locale_file interface.
9321         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
9322         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
9323         * locale/programs/ld-address.c (address_output): Use new
9324         locale_file interface.
9325         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
9326         NO_ADD_LOCALE.
9327         (collate_finish): Don't call collseq_table_finalize.
9328         (collate_output): Use new locale_file interface.
9329         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
9330         in file.
9331         (NO_FINALIZE): Change to NO_ADD_LOCALE.
9332         (TABLE): Move defines earlier in file.
9333         (ELEMENT): Likewise.
9334         (DEFAULT): Likewise.
9335         (wctrans_table_add): Move macro and inline function earlier in
9336         file.
9337         (struct wctype_table): Move type earlier in file.
9338         (add_locale_wctype_table): New static prototype.
9339         (struct locale_ctype_t): Use logical types instead of struct iovec
9340         pointers for members.
9341         (ctype_output): Use new locale_file interface.
9342         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
9343         new locale_file interface.
9344         (allocate_arrays): Update for use of new locale_file interface.
9345         * locale/programs/ld-identification.c (identification_output): Use
9346         new locale_file interface.
9347         * locale/programs/ld-measurement.c (measurement_output): Likewise.
9348         * locale/programs/ld-messages.c (messages_output): Likewise.
9349         * locale/programs/ld-monetary.c (monetary_output): Likewise.
9350         * locale/programs/ld-name.c (name_output): Likewise.
9351         * locale/programs/ld-numeric.c (numeric_output): Likewise.
9352         * locale/programs/ld-paper.c (paper_output): Likewise.
9353         * locale/programs/ld-telephone.c (telephone_output): Likewise.
9354         * locale/programs/ld-time.c (time_output): Likewise.
9356 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9358         * benchtests/Makefile: Add memrchr benchmark.
9359         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
9360         benchmark as memrchr.
9361         * benchtests/bench-memrchr-ifunc.c: New file.
9362         * benchtests/bench-memrchr.c: New file.
9364 2013-09-06   Will Newton  <will.newton@linaro.org>
9366         * benchtests/Makefile (string-bench): Add memcpy.
9368 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
9369             Cong Wang  <amwang@redhat.com>
9371         [BZ #15850]
9372         * sysdeps/unix/sysv/linux/bits/in.h
9373         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
9374         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
9375         before __USE_KERNEL_IPV6_DEFS uses.
9376         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
9377         IPPROTO_BEETPH.
9378         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
9379         sockaddr_in6, or ipv6_mreq.
9381 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9383         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
9384         memory access for final bytes in some large inputs.
9385         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
9387 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9389         * string/test-memrchr.c: New file.
9390         * string/test-memrchr-ifunc.c: New file.
9391         * string/Makefile: Add new memrchr testcase.
9393 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
9395         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
9396         fanotify_init returns EPERM.
9398 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9400         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
9401         errors.
9402         (top level): Treat second token from macro or constant entries for
9403         allowed headers as allowed.
9404         * include/complex.h: Condition internal declarations on
9405         [!_ISOMAC].
9406         * include/fenv.h: Condition include of <stdbool.h> and internal
9407         declarations on [!_ISOMAC].
9409 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
9411         [BZ #15923]
9412         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
9414 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
9416         * configure.in (--enable-versioning): Remove configure option.
9417         (libc_cv_asm_symver_directive): Remove configure test.
9418         (libc_cv_ld_version_script_option): Likewise.
9419         (VERSIONING): Remove variable and AC_SUBST.
9420         (DO_VERSIONING): Remove AC_DEFINE.
9421         * configure: Regenerated.
9422         * config.h.in (DO_VERSIONING): Remove macro.
9423         * Makerules [$(versioning) = yes]: Change conditionals to
9424         [$(build-shared) = yes].
9425         * config.make.in (versioning): Remove variable.
9426         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
9427         [$(build-shared) = yes].
9428         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
9429         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
9430         * elf/Makefile [$(versioning) = yes]: Change conditionals to
9431         [$(build-shared) = yes].
9432         * extra-lib.mk [$(versioning) = yes]: Likewise.
9433         * hurd/Makefile [$(versioning) = yes]: Likewise.
9434         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
9435         [SHARED].
9436         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
9437         [SHARED].
9438         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9439         [SHARED && !NO_HIDDEN].
9440         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
9441         [SHARED].
9442         [SHARED && DO_VERSIONING]: Likewise..
9443         * libio/Makefile [$(versioning) = yes]: Change conditionals to
9444         [$(build-shared) = yes].
9445         * manual/install.texi (--disable-versioning): Remove
9446         documentation.
9447         * INSTALL: Regenerated.
9448         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
9449         to [SHARED].
9450         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
9451         [$(build-shared) = yes].
9452         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
9453         * sysdeps/i386/i686/multiarch/strstr-c.c
9454         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
9455         [SHARED && !NO_HIDDEN].
9456         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
9457         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
9458         * sysdeps/powerpc/powerpc32/dl-machine.c
9459         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
9460         * sysdeps/powerpc/powerpc32/sysdep.h
9461         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
9462         to [SHARED && PIC && !NO_HIDDEN].
9463         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
9464         conditional to [SHARED].
9466 2013-09-04   Will Newton  <will.newton@linaro.org>
9468         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
9469         * benchtests/bench-string.h: Include bench-timing.h instead
9470         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
9471         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
9472         call to HP_TIMING_DIFF_INIT.
9473         * benchtests/bench-memccpy.c: Use bench-timing.h macros
9474         instead of hp-timing.h macros.
9475         * benchtests/bench-memchr.c: Likewise.
9476         * benchtests/bench-memcmp.c: Likewise.
9477         * benchtests/bench-memcpy.c: Likewise.
9478         * benchtests/bench-memmem.c: Likewise.
9479         * benchtests/bench-memmove.c: Likewise.
9480         * benchtests/bench-memset.c: Likewise.
9481         * benchtests/bench-rawmemchr.c: Likewise.
9482         * benchtests/bench-strcasecmp.c: Likewise.
9483         * benchtests/bench-strcasestr.c: Likewise.
9484         * benchtests/bench-strcat.c: Likewise.
9485         * benchtests/bench-strchr.c: Likewise.
9486         * benchtests/bench-strcmp.c: Likewise.
9487         * benchtests/bench-strcpy.c: Likewise.
9488         * benchtests/bench-strcpy_chk.c: Likewise.
9489         * benchtests/bench-strlen.c: Likewise.
9490         * benchtests/bench-strncasecmp.c: Likewise.
9491         * benchtests/bench-strncat.c: Likewise.
9492         * benchtests/bench-strncmp.c: Likewise.
9493         * benchtests/bench-strncpy.c: Likewise.
9494         * benchtests/bench-strnlen.c: Likewise.
9495         * benchtests/bench-strpbrk.c: Likewise.
9496         * benchtests/bench-strrchr.c: Likewise.
9497         * benchtests/bench-strspn.c: Likewise.
9498         * benchtests/bench-strstr.c: Likewise.
9500 2013-09-04  Will Newton  <will.newton@linaro.org>
9502         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
9504 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
9506         [BZ #15427]
9507         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
9508         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
9509         * math/libm-test.inc (lgamma_test_data): Add more tests.
9510         * sysdeps/i386/fpu/libm-test-ulps: Update.
9511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9513 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
9515         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
9516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9517         Add ifunc.
9518         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9519         Add strcmp-sse2-unaligned
9520         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
9522 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9524         * Versions.def (libc): Add GLIBC_2.19.
9526 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
9528         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
9529         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
9531 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
9533         [BZ #14155]
9534         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
9535         intermediate calculations in recurrence.
9536         (__ieee754_ynf): Likewise.
9537         * math/libm-test.inc (jn_test_data): Do not allow spurious
9538         underflow exception.  Add more tests.
9539         (yn_test_data): Add more tests.
9540         * sysdeps/i386/fpu/libm-test-ulps: Update.
9541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9543 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
9545         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
9547 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9549         * csu/init-first.c: Fix then/than typos.
9550         * locale/programs/ld-collate.c: Likewise.
9551         * locale/programs/linereader.h: Likewise.
9552         * manual/charset.texi: Likewise.
9553         * manual/filesys.texi: Likewise.
9554         * manual/stdio.texi: Likewise.
9555         * manual/string.texi: Likewise.
9556         * stdlib/fmtmsg.c: Likewise.
9557         * sysdeps/i386/stpncpy.S: Likewise.
9558         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9559         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9560         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9561         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9563 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
9565         * elf/dl-open.c: Fix typos.
9566         * iconvdata/gbbig5.c: Likewise.
9567         * iconvdata/iso-2022-jp.c: Likewise.
9568         * iconv/gconv_int.h: Likewise.
9569         * iconv/loop.c: Likewise.
9570         * nis/rpcsvc/nis.h: Likewise.
9571         * resolv/ns_name.c: Likewise.
9572         * stdio-common/vfscanf.c: Likewise.
9573         * streams/stropts.h: Likewise.
9574         * sunrpc/rpc_thread.c: Likewise.
9575         * sysdeps/i386/strpbrk.S: Likewise.
9576         * sysdeps/ieee754/k_standard.c: Likewise.
9577         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9578         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9579         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
9580         * sysdeps/mach/hurd/profil.c: Likewise.
9581         * sysdeps/s390/dl-procinfo.h: Likewise.
9582         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
9583         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9584         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
9585         * sysdeps/x86_64/dl-trampoline.S: Likewise.
9586         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
9588 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
9590         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
9591         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
9593 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
9595         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
9596         aix specific files.
9597         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
9598         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
9599         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
9600         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
9601         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
9602         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
9603         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
9604         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
9606 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9607             Roland McGrath  <roland@hack.frob.com>
9609         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
9610         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
9612 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9614         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
9615         __executable_start symbol instead of _start.
9617 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
9619         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
9620         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
9621         Move macros to...
9622         * sysdeps/gnu/ldsodefs.h: ... this new file.
9624         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
9625         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
9626         instead of ELFOSABI_LINUX.
9628         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
9629         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
9630         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
9631         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
9632         Likewise.
9633         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
9634         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
9635         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
9636         Likewise.
9637         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9638         (ibm_extended_long_double): Add ieee_nan member.
9639         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
9640         (do_test): New function.
9642         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
9643         TEST_TRUNC.
9644         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
9645         functions, renamed from truncdfsf_test, trunctfsf_test,
9646         trunctfdf_test.
9647         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
9648         functions.
9649         (do_test): Run all these.
9651 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
9653         * argp/argp-help.c: Fix typos.
9654         * argp/argp-parse.c: Likewise.
9655         * debug/backtracesyms.c: Likewise.
9656         * elf/elf.h: Likewise.
9657         * malloc/malloc.c: Likewise.
9658         * nis/nis_print.c: Likewise.
9659         * resolv/res_comp.c: Likewise.
9660         * stdlib/stdlib.h: Likewise.
9661         * sunrpc/clnt_tcp.c: Likewise.
9662         * sunrpc/clnt_udp.c: Likewise.
9663         * sunrpc/clnt_unix.c: Likewise.
9664         * sysdeps/unix/bsd/ptsname.c: Likewise.
9665         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9666         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
9667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
9668         Likewise.
9669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
9670         Likewise.
9671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9672         Likewise.
9673         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
9675 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9677         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
9678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9680 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
9682         [BZ #15897]
9683         * dlfcn/Makefile (tests): Add bug-dl-leaf.
9684         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
9685         ($(objpfx)bug-dl-leaf): New rule.
9686         ($(objpfx)bug-dl-leaf.so): Likewise.
9687         ($(objpfx)bug-dl-leaf.out): Likewise.
9688         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
9689         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
9690         * dlfcn/bug-dl-leaf.c: New test.
9691         * dlfcn/bug-dl-leaf-lib.c: Likewise.
9692         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
9693         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
9694         (dlclose): Likewise.
9695         (dlmopen): Likewise.
9697 2013-08-27  Roland McGrath  <roland@hack.frob.com>
9699         * include/netdb.h [!_ISOMAC]:
9700         Don't include <tls.h>.
9701         (h_errno, __libc_h_errno): Move declaration and macros out of
9702         [_LIBC_REENTRANT].
9704         * include/resolv.h [_RESOLV_H_]:
9705         Don't include <tls.h>.
9706         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
9707         * resolv/res_libc.c: Don't include <tls.h>.
9708         (_res): Use __attribute__ ((nocommon)) in place of
9709         __attribute__ ((section (".bss"))).
9711         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
9712         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
9714         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
9716         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
9717         only under [SIOCGIFCONF && SIOCGIFNETMASK].
9719         * resolv/res_mkquery.c: Include <sys/time.h>.
9721         * inet/ifreq.c: Moved to ...
9722         * sysdeps/unix/ifreq.c: ... here.
9723         * inet/ifreq.c: New file, true stub version.
9725         * socket/sa_len.c: New file.
9726         * socket/Makefile (aux): Add it.
9727         * sysdeps/unix/sysv/linux/Makefile
9728         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
9729         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
9730         and #include <socket/sa_len.c>.
9731         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
9732         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
9734         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
9735         * bits/socket.h: ... here.
9737         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
9738         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
9739         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
9741 2013-08-27  Andreas Schwab  <schwab@suse.de>
9743         [BZ #15736]
9744         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
9745         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
9746         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
9747         * string/test-strcasecmp.c (test_main): Run tests in several
9748         locales.
9749         * string/test-strncasecmp.c (test_main): Likewise.
9751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
9752         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
9753         to __strcasecmp_nonascii and __strncasecmp_nonascii.
9754         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
9755         (__strncasecmp_ssse3) [PIC]: Likewise.
9757 2013-08-26  Roland McGrath  <roland@hack.frob.com>
9759         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
9761         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
9762         instead of explicitly declaring xdecrypt.
9763         * nis/nss_nis/nis-publickey.c: Likewise.
9765 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9767         [BZ #15890]
9768         * nscd/aicache.c: Include res_hconf.h.
9769         (addhstaiX): Initialize res_hconf.
9771 2013-08-26  Andreas Schwab  <schwab@suse.de>
9773         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
9774         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
9776 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9778         * nscd/aicache.c (addhstaiX): Fix indentation.
9780 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
9782         * configure.ac: Quote $build_pt_chown test.
9783         * configure: Regenerated.
9785 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
9787         [BZ #15532]
9788         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
9789         * math/s_cexpf.c (__cexpf): Likewise.
9790         * math/s_cexpl.c (__cexpl): Likewise.
9791         * math/libm-test.inc (cexp_test_data): Correct expected return
9792         value for NaN + i0.  Add another test.
9794 2013-08-22  David S. Miller  <davem@davemloft.net>
9796         * po/ca.po: Update Catalan translation from translation project.
9797         * po/uk.po: Add Ukrainian translations from translation project.
9799 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
9801         [BZ #15797]
9802         * math/s_fdim.c (__fdim): Check for infinite arguments if result
9803         is infinite, not alongside NaN test.
9804         * math/s_fdimf.c (__fdimf): Likewise.
9805         * math/s_fdiml.c (__fdiml): Likewise.
9806         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
9807         errno is unchanged.
9809 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
9811         * argp/argp-help.c: Fix typos.
9812         * crypt/speeds.c: Likewise.
9813         * csu/check_fds.c: Likewise.
9814         * elf/dl-load.c: Likewise.
9815         * elf/dl-open.c: Likewise.
9816         * elf/reldep3.c: Likewise.
9817         * elf/reldep.c: Likewise.
9818         * elf/sprof.c: Likewise.
9819         * iconv/iconv_charmap.c: Likewise.
9820         * iconv/skeleton.c: Likewise.
9821         * iconv/strtab.c: Likewise.
9822         * io/lockf64.c: Likewise.
9823         * libio/libioP.h: Likewise.
9824         * resolv/gai_notify.c: Likewise.
9825         * resolv/ns_name.c: Likewise.
9826         * resolv/ns_samedomain.c: Likewise.
9827         * resolv/res_send.c: Likewise.
9828         * stdlib/random.c: Likewise.
9829         * sunrpc/rpc/xdr.h: Likewise.
9830         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
9831         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9832         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9833         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9834         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9835         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9836         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9837         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9838         * sysdeps/mach/hurd/check_fds.c: Likewise.
9839         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
9840         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9841         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9842         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
9843         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9844         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
9845         * sysdeps/pthread/aio_notify.c: Likewise.
9846         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
9847         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
9848         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
9849         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
9850         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9852 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
9854         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
9855         version if bit_Slow_SSE4_2 is set.
9856         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9857         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9859 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9861         [BZ #15867]
9862         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
9863         trampoline stack frame information.
9864         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
9865         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
9866         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
9867         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
9868         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
9869         * sysdeps/unix/sysv/linux/powerpc/init-first.c
9870         (_libc_vdso_platform_setup): Initialize the signal trampolines.
9871         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
9872         sa_flags value.
9873         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
9874         interrupting a syscall and set with option SA_SIGINFO.
9876 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9878         [BZ #15531]
9879         * math/s_cproj.c (__cproj): Only return an infinity if one part of
9880         argument is infinite.
9881         * math/s_cprojf.c (__cprojf): Likewise.
9882         * math/s_cprojl.c (__cprojl): Likewise.
9883         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
9884         * math/libm-test.inc (cproj_test_data): Add more tests.
9886         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
9888         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
9889         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
9890         size.  Use __ffs to determine corresponding shift.
9892 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
9893             Roland McGrath  <roland@hack.frob.com>
9895         * Makefile (INSTALL): Remove trailing blank lines from output of
9896         makeinfo.
9898 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9900         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
9901         Align 32 bit compat elf_greg to 8 bytes.
9903 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9905         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
9907 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9909         * string/strcoll_l.c (coll_seq): New structure.
9910         (get_next_seq_cached): New function.
9911         (get_next_seq): New function.
9912         (do_compare): New function.
9913         (STRCOLL): Use GNU style definition.  Simplify implementation
9914         by using get_next_seq, get_next_seq_cached and do_compare.
9916 2013-08-16  Florian Weimer  <fweimer@redhat.com>
9918         [BZ #14699]
9919         CVE-2013-4237
9920         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
9921         member.
9922         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
9923         member.
9924         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
9925         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
9926         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
9927         conditional.
9928         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
9929         GETDENTS_64BIT_ALIGNED.
9930         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
9931         * manual/filesys.texi (Reading/Closing Directory): Document
9932         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
9933         strongly.
9934         * manual/conf.texi (Limits for Files): Add portability note to
9935         NAME_MAX, PATH_MAX.
9936         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
9938 2013-08-13  Andreas Schwab  <schwab@suse.de>
9940         [BZ #15749]
9941         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
9942         of fabs.
9943         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
9944         LDBL_MAX_EXP >= 16384]: Add tests for it.
9946 2013-08-12  David S. Miller  <davem@davemloft.net>
9948         * version.h (RELEASE): Set to "development".
9949         (VERSION): Set to "2.18.90".
9950         * NEWS: Add 2.19 section.
9952 2013-08-03  David S. Miller  <davem@davemloft.net>
9954         * po/ko.po: Update Korean translation from translation project.
9956 2013-08-01  David S. Miller  <davem@davemloft.net>
9958         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
9959         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
9960         Bilka.
9962 2013-07-30  David S. Miller  <davem@davemloft.net>
9964         * po/fr.po: Update French translation from translation project.
9966 2013-07-28  David S. Miller  <davem@davemloft.net>
9968         * po/cs.po: Update Czech translation from translation project.
9970         * po/sv.po: Update Swedish translation from translation project.
9972 2013-07-27  David S. Miller  <davem@davemloft.net>
9974         * po/eo.po: Update Esperanto translation from translation project.
9976         * po/vi.po: Update Vietnamese translation from translation project.
9978         * po/de.po: Update German translation from translation project.
9980 2013-07-26  David S. Miller  <davem@davemloft.net>
9982         * po/bg.po: Update Bulgarian translation from translation project.
9984         * po/nl.po: Update Dutch translation from translation project.
9985         * po/pl.po: Update Polish translation from translation project.
9986         * po/ru.po: Update Russian translation from translation project.
9988 2013-07-24  David S. Miller  <davem@davemloft.net>
9990         * po/libc.pot: Update.
9992 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9994         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
9995         variable page size.
9996         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
9997         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
9998         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
10000 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10002         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
10004 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10005             Andreas Schwab  <schwab@suse.de>
10006             Roland McGrath  <roland@hack.frob.com>
10007             Joseph Myers  <joseph@codesourcery.com>
10008             Carlos O'Donell  <carlos@redhat.com>
10010         [BZ #15755]
10011         * config.h.in: Define HAVE_PT_CHOWN.
10012         * config.make.in (build-pt-chown): New variable.
10013         * configure.in (--enable-pt_chown): New configure option.
10014         * configure: Regenerate.
10015         * login/Makefile: Include Makeconfig.  Build pt_chown only if
10016         build-pt-chown is enabled.
10017         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
10018         pt_chown to fix pty ownership.
10019         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
10020         CLOSE_ALL_FDS.
10021         * manual/install.texi (Configuring and compiling): Mention
10022         --enable-pt_chown. Add @findex for grantpt.
10023         * INSTALL: Regenerate.
10025 2013-07-20  David S. Miller  <davem@davemloft.net>
10027         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
10028         difference between 32-bit and 64-bit.
10030 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
10032         [BZ #15711]
10033         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
10034         Avoid system header dependency with -ffreestanding.
10035         ($(objpfx)bits/syscall%d): Likewise.
10037 2013-07-13  David S. Miller  <davem@davemloft.net>
10039         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
10040         underflows from atanl/atan2l due to bug 15319.
10041         (casinh_test_data): Likewise.
10043 2013-07-07  David S. Miller  <davem@davemloft.net>
10045         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
10047 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
10049         * sysdeps/i386/fpu/libm-test-ulps: Update.
10050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10052 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10054         * configure.in (--enable-lock-elision): Fix message text.
10055         * INSTALL: Regenerate.
10056         * configure: Regenerate.
10058 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10062 2013-07-03  Andreas Jaeger  <aj@suse.de>
10064         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
10065         define.
10066         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
10067         (ptrace_peeksiginfo_args): Add.
10068         (__ptrace_peeksiginfo_flags): Add.
10069         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10070         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10071         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10073 2013-07-03  Allan McRae  <allan@archlinux.org>
10075         * sysdeps/i386/fpu/libm-test-ulps: Update.
10077 2013-07-02  David S. Miller  <davem@davemloft.net>
10079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10081 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
10083         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10085 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10087         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10090 2013-07-02  Andi Kleen <ak@linux.intel.com>
10092         * config.h.in (ENABLE_LOCK_ELISION): Add.
10093         * configure.in (--enable-lock-elision): Add option.
10094         * manual/install.texi: Document --enable lock elision.
10095         * configure: Regenerate
10096         * INSTALL: Regenerate.
10098 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
10100         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
10101         SSE4.2 strcasecmp for libc.a.
10102         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
10104 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
10106         [BZ #13304]
10107         * soft-fp/op-common.h (_FP_FMA): New macro.
10108         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
10109         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
10110         (_FP_MUL_MEAT_1_imm): ... here.
10111         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
10112         (_FP_MUL_MEAT_1_wide): ... here.
10113         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
10114         (_FP_MUL_MEAT_1_hard): ... here.
10115         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
10116         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
10117         (_FP_MUL_MEAT_2_wide): ... here.
10118         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
10119         (_FP_MUL_MEAT_2_wide_3mul): ... here.
10120         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
10121         (_FP_MUL_MEAT_2_gmp): ... here.
10122         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
10123         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
10124         (_FP_MUL_MEAT_4_wide): ... here.
10125         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
10126         (_FP_MUL_MEAT_4_gmp): ... here.
10127         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
10128         (_FP_WFRACBITS_DW_S): Likewise.
10129         (_FP_WFRACXBITS_DW_S): Likewise.
10130         (_FP_HIGHBIT_DW_S): Likewise.
10131         (FP_FMA_S): Likewise.
10132         (_FP_FRAC_HIGH_DW_S): Likewise.
10133         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
10134         (_FP_WFRACBITS_DW_D): Likewise.
10135         (_FP_WFRACXBITS_DW_D): Likewise.
10136         (_FP_HIGHBIT_DW_D): Likewise.
10137         (FP_FMA_D): Likewise.
10138         (_FP_FRAC_HIGH_DW_D): Likewise.
10139         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
10140         (_FP_WFRACBITS_DW_E): Likewise.
10141         (_FP_WFRACXBITS_DW_E): Likewise.
10142         (_FP_HIGHBIT_DW_E): Likewise.
10143         (FP_FMA_E): Likewise.
10144         (_FP_FRAC_HIGH_DW_E): Likewise.
10145         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
10146         (_FP_WFRACBITS_DW_Q): Likewise.
10147         (_FP_WFRACXBITS_DW_Q): Likewise.
10148         (_FP_HIGHBIT_DW_Q): Likewise.
10149         (FP_FMA_Q): Likewise.
10150         (_FP_FRAC_HIGH_DW_Q): Likewise.
10151         * soft-fp/fmasf4.c: New file.
10152         * soft-fp/fmadf4.c: Likewise.
10153         * soft-fp/fmatf4.c: Likewise.
10155 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10158         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
10159         Silvermont.
10160         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
10161         macro.
10162         (index_Slow_SSE4_2): Likewise.
10163         (index_Prefer_PMINUB_for_stringop): Likewise.
10164         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
10165         bit_Slow_SSE4_2 is set.
10166         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
10167         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10169 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10171         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
10172         rtld_global._dl_hwcap2.
10173         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
10174         POWER8.
10175         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
10176         POWER8 feature descriptions defined in _dl_hwcap2.
10177         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
10178         string handling for POWER8 feature bits.
10179         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
10180         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
10181         _dl_powerpc_cap_flags.
10182         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
10183         * sysdeps/powerpc/rtld-global-offsets.sym
10184         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
10185         _dl_hwcap2 in the rtld_global_ro structure.
10187 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10189         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
10190         hardware capabilities in support of AT_HWCAP2.
10191         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
10192         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
10193         GLRO(dl_hwcap2).
10194         (_dl_show_auxv): Add support for calling _dl_procinfo to display
10195         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
10196         explicitly the unknown a_type display mechanism is used.
10197         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
10198         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
10199         struct member.
10200         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
10201         to macro prototype for AT_HWCAP2 support.
10202         * sysdeps/i386/dl-procinfo.h: Likewise.
10203         * sysdeps/s390/dl-procinfo.h: Likewise.
10204         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
10205         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
10206         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
10207         return -1 for unknown a_type display fallback.
10208         * sysdeps/sparc/dl-procinfo.h: Likewise.
10209         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
10210         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
10212 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
10214         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
10215         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
10217 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
10219         [BZ #12492]
10220         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
10221         mprotect making __stack_prot writable.
10223 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
10224             Joseph Myers  <joseph@codesourcery.com>
10226         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
10227         as being properly aligned.
10229 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
10231         * dlfcn/modstatic5.c: New file.
10232         * dlfcn/tststatic5.c: New file.
10233         * dlfcn/Makefile (tests): Add tststatic5.
10234         (tests-static): Likewise.
10235         (modules-names): Add modstatic5.
10236         (tststatic5-ENV): New variable.
10237         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
10239         [BZ #15022]
10240         * elf/dl-support.c (_dl_main_map): New variable.
10241         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
10242         (_dl_nns, _dl_load_adds): Set to 1.
10243         (_dl_initial_searchlist): Refer to _dl_main_map.
10244         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
10245         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
10246         call to _dl_get_origin.
10247         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
10248         around call_map.
10249         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
10250         * dlfcn/modstatic3.c: New file.
10251         * dlfcn/tststatic3.c: New file.
10252         * dlfcn/tststatic4.c: New file.
10253         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
10254         (tests-static): Likewise.
10255         (modules-names): Add modstatic3.
10256         (tststatic3-ENV, tststatic4-ENV): New variables.
10257         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
10258         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
10260 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
10262         * configure.in (CC): Require GCC version 4.4 or later.
10263         * configure: Regenerated.
10264         * manual/install.texi (Tools for Compilation): Update GCC version
10265         requirement.
10266         * INSTALL: Regenerated.
10268 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10270         [BZ #15674]
10271         * string/test-memcmp.c (check2): New.
10272         (main): Call check2.
10274         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
10276 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
10278         [BZ #15022]
10279         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
10280         over to...
10281         (dl_open_worker) [!SHARED]: ... here.
10283 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10285         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
10287 2013-06-25  Richard Henderson  <rth@redhat.com>
10289         * locale/programs/locarchive.c: Include <libc-internal.h>
10291 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
10293         * manual/texinfo.tex: Update to version 2013-06-21.17, with
10294         trailing whitespace removed.
10296 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10298         [BZ #10283]
10299         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
10300         * locale/programs/locarchive.c: Include libc-mmap.h.
10301         (prepare_address_space): Take two new outputs (the mmap base and len).
10302         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
10303         values.
10304         (create_archive): Declare new mmap base and len values for
10305         prepare_address_space, and store the result in ah.
10306         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
10307         (enlarge_archive): If ah->mmap_base is not NULL, use that and
10308         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10309         Declare new mmap base and len values for
10310         prepare_address_space, and store the result in new_ah.
10311         (open_archive): Declare new mmap base and len values for
10312         prepare_address_space, and store the result in ah.
10313         (close_archive): If ah->mmap_base is not NULL, use that and
10314         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
10315         * sysdeps/generic/libc-mmap.h: New file.
10317 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
10319         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
10320         (ALIGN_UP): Likewise.
10321         (PTR_ALIGN_DOWN): Likewise.
10322         (PTR_ALIGN_UP): Likewise.
10324 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10326         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
10327         entry mapped to PPC_PLATFORM_POWER8.
10328         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
10329         POWER8.
10330         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
10331         (_dl_string_platform): Add case for exporting platform position for
10332         POWER8.
10333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
10334         search path to sysdeps/powerpc/powerpc32/power8 directory.
10335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
10336         search path to sysdeps/powerpc/powerpc64/power8 directory.
10337         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
10338         power7 directories.
10339         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
10340         power7 directories.
10342 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10344         * INSTALL: Regenerate.
10346         * nscd/connections.c (nscd_init): Fix comment.
10348 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
10350         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
10352         [BZ #15667]
10353         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
10354         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
10356 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10358         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
10359         DL_DST_REQ_STATIC.
10360         (DL_DST_REQ_STATIC): Remove macro.
10362 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
10364         [BZ #7006]
10365         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
10366         with a shift of 0 bits.
10368 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
10370         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
10371         $(tststatic-ENV).
10373 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10375         [BZ #15655]
10376         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
10378 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10380         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
10381         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
10382         accepts -fno-tree-loop-distribute-patterns.
10383         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
10384         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
10385         recursive call.
10386         * string/memset.c (memset): Likewise.
10387         * string/test-memmove.c (simple_memmove): Disable loop transformation
10388         to library calls.
10389         * string/test-memset.c (simple_memset): Likewise.
10390         * benchtests/bench-memmove.c (simple_memmove): Likewise.
10391         * benchtests/bench-memset.c (simple_memset): Likewise.
10392         * configure: Regenerated.
10394 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
10396         * math/test-misc.c (main): Ignore fesetround failure when failures
10397         of subsequent rounding tests would be ignored.
10399         [BZ #15654]
10400         * math/fedisblxcpt.c (fedisableexcept): Return 0.
10401         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
10402         * math/fegetenv.c (__fegetenv): Return 0.
10403         * math/fegetexcept.c (fegetexcept): Return 0.
10404         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
10405         FE_TONEAREST.
10406         * math/feholdexcpt.c (feholdexcept): Return 0.
10407         * math/fesetenv.c (__fesetenv): Return 0.
10408         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
10409         argument FE_TONEAREST.
10410         * math/feupdateenv.c (__feupdateenv): Return 0.
10411         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
10413 2013-06-18  Roland McGrath  <roland@hack.frob.com>
10415         * elf/rtld-Rules (rtld-compile-command.S): New variable.
10416         (rtld-compile-command.s, rtld-compile-command.c): New variables.
10417         ($(objpfx)rtld-%.os rules): Use them.
10419 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10421         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
10422         fields.
10424 2013-06-17  Roland McGrath  <roland@hack.frob.com>
10426         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
10427         length of target pattern, then descending length of dependency pattern.
10428         * configure.in (AWK): Require gawk 3.1.2 or newer.
10429         * manual/install.texi (Tools for Compilation): Say that we do.
10430         * configure: Regenerated.
10432         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
10433         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
10434         * scripts/sysd-rules.awk: ... this new script.
10435         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
10436         than a glob-style pattern.
10438 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
10440         * math/test-misc.c (main): Do not treat incorrectly rounded
10441         conversions as failure unless ROUNDING_TESTS passes.
10443 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
10445         [BZ #15631]
10446         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
10447         restore exception state around main square root computation, then
10448         check for inexactness explicitly.
10450         * math/libm-test.inc (fma_test_data): Add another test.
10452 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10454         * manual/threads.texi (Non-POSIX Extensions): New document
10455         node.  Document pthread_getattr_default_np and
10456         pthread_setattr_default_np.
10458         * Versions.def (libpthread): Add GLIBC_2.18.
10459         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
10460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10461         Likewise.
10462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10463         Likewise.
10464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10465         Likewise.
10466         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10467         Likewise.
10468         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
10469         Likewise.
10470         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
10471         Likewise.
10472         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
10473         Likewise.
10474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
10475         Likewise.
10476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
10477         Likewise.
10479 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
10481         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10482         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
10484 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10485             H.J. Lu  <hjl.tools@gmail.com>
10487         [BZ #15627]
10488         * sysdeps/x86_64/rtld-memset.c: Remove file.
10489         * sysdeps/x86_64/rtld-memset.S: New file.
10491 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
10493         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
10494         (test_in_one_mode): Take arguments for whether the rounding mode
10495         is supported for each floating-point type.
10496         (do_test): Pass new arguments to test_in_one_mode using
10497         ROUNDING_TESTS.
10499 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10501         * posix/tst-waitid.c (do_test): Distinguish different instances of
10502         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
10503         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
10504         before entering the kernel for waitpid.
10506 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10508         * NEWS: Fix note on clock function precision.  Text by Roland
10509         McGrath.
10511 2013-06-13  Roland McGrath  <roland@hack.frob.com>
10513         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
10514         it into place only when and if the sanity check passes.
10516 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
10518         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
10519         output for whether conversion result is exact.  Take argument
10520         indicating whether type is IBM long double.
10521         (round_for_all): Change need_exact field to ibm_ld.
10522         * stdlib/tst-strtod-round.c (struct exactness): New type.
10523         (struct test): Change bool ld_ok field to struct exactness exact.
10524         (TEST): Update all definitions for change to field.
10525         (tests): Regenerate array contents.
10526         (test_in_one_mode): Take pointer to new field instead of old ld_ok
10527         field value.  Check for IBM long double here.
10528         (do_test): Update calls to test_in_one_mode.
10530 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
10532         [BZ #12515]
10533         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
10534         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
10536 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10538         [BZ #15605]
10539         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
10540         generated by the compiler on loop optimizations.
10541         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
10542         general definitions.
10544 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
10546         * math/bug-nextafter.c: Include <math-tests.h>.
10547         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10548         the relevant type.
10549         * math/bug-nexttoward.c: Include <math-tests.h>.
10550         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10551         the relevant type.
10552         * math/test-misc.c: Include <math-tests.h>.
10553         (main): Only test for exceptions if EXCEPTION_TESTS is true for
10554         the relevant type.
10556 2013-06-12  Andreas Jaeger  <aj@suse.de>
10558         * po/ia.po: Update Interlingua translation from translation
10559         project.
10561 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10563         * include/fenv.h: Include stdbool.h.
10564         (struct rm_ctx): New structure.
10565         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
10566         Define macro.
10567         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
10568         (SET_RESTORE_ROUNDF): Likewise.
10569         (SET_RESTORE_ROUNDL): Likewise.
10570         (SET_RESTORE_ROUND_NOEX): Likewise.
10571         (SET_RESTORE_ROUND_NOEXF): Likewise.
10572         (SET_RESTORE_ROUND_NOEXL): Likewise.
10573         (SET_RESTORE_ROUND_53BIT): Likewise.
10574         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
10575         (libc_feresetround_noexf_ctx): Likewise.
10576         (libc_feresetround_noexl_ctx): Likewise.
10577         (libc_feholdsetround_53bit_ctx): Likewise.
10578         (libc_feresetround_53bit_ctx): Likewise.
10579         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
10580         (libc_feholdexcept_setround_sse_ctx): New function.
10581         (libc_fesetenv_sse_ctx): Likewise.
10582         (libc_feupdateenv_sse_ctx): Likewise.
10583         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
10584         (libc_feholdexcept_setround_387_ctx): Likewise.
10585         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
10586         (libc_feholdsetround_387_prec_ctx): Likewise.
10587         (libc_feholdsetround_387_ctx): Likewise.
10588         (libc_feholdsetround_387_53bit_ctx): Likewise.
10589         (libc_feholdsetround_sse_ctx): Likewise.
10590         (libc_feresetround_sse_ctx): Likewise.
10591         (libc_feresetround_387_ctx): Likewise.
10592         (libc_feupdateenv_387_ctx): Likewise.
10593         (libc_feholdexcept_setroundf_ctx): Define macro.
10594         (libc_fesetenvf_ctx): Likewise.
10595         (libc_feupdateenvf_ctx): Likewise.
10596         (libc_feholdsetroundf_ctx): Likewise.
10597         (libc_feresetroundf_ctx): Likewise.
10598         (libc_feholdexcept_setround_ctx): Likewise.
10599         (libc_fesetenv_ctx): Likewise.
10600         (libc_feupdateenv_ctx): Likewise.
10601         (libc_feholdsetround_ctx): Likewise.
10602         (libc_feresetround_ctx): Likewise.
10603         (libc_feholdexcept_setroundl_ctx): Likewise.
10604         (libc_feupdateenvl_ctx): Likewise.
10605         (libc_feholdsetroundl_ctx): Likewise.
10606         (libc_feresetroundl_ctx): Likewise.
10607         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
10608         (libc_feresetround_53bit_ctx): Likewise.
10610 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10612         * locale/iso-639.def: Convert to UTF-8.
10614 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
10616         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
10617         (EXCEPTION_TESTS_double): Likewise.
10618         (EXCEPTION_TESTS_long_double): Likewise.
10619         (EXCEPTION_TESTS): Likewise.
10620         * math/libm-test.inc (test_exceptions): Only test exceptions if
10621         EXCEPTION_TESTS (FLOAT).
10623 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10625         * benchtests/Makefile (string-bench): Add strcpy_chk and
10626         stpcpy_chk.
10627         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
10628         * benchtests/bench-stpcpy_chk.c: New file.
10629         * benchtests/bench-strcpy_chk-ifunc.c: New file.
10630         * benchtests/bench-strcpy_chk.c: New file.
10631         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
10632         code.
10633         (do_test): Likewise.
10635 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
10637         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
10638         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
10639         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
10640         with tabs where appropriate.
10641         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
10642         dl-procinfo.h.
10643         [PPC_PLATFORM_PPC440]: Likewise.
10644         [PPC_PLATFORM_PPC464]: Likewise.
10645         [PPC_PLATFORM_PPC476]: Likewise.
10646         (_dl_string_platform): Add support for detecting ppc405, ppc440,
10647         ppc464, and ppc476 platform strings merging from ports/
10648         dl-procinfo.h.
10650 2013-06-11  Andreas Schwab  <schwab@suse.de>
10652         [BZ #14991]
10653         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
10654         (from_ucs4_idx): Regenerate.
10655         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
10656         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
10657         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
10658         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
10659         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
10660         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
10661         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
10662         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
10663         from FROM_LOOP and TO_LOOP specific macros.
10664         (BODY): Handle combining characters.
10665         * iconvdata/BIG5HKSCS.irreversible: Update.
10666         * iconvdata/BIG5HKSCS.precomposed: New file.
10667         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
10668         characters.
10669         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
10671 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10673         * include/sys/time.h: Fix indentation and add copyright header.
10675         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
10676         (do_test): Likewise.
10677         * string/test-memchr.c (do_one_test): Likewise.
10678         (do_test): Likewise.
10679         * string/test-memcmp.c (do_one_test): Likewise.
10680         (do_test): Likewise.
10681         * string/test-memcpy.c (do_one_test): Likewise.
10682         (do_test): Likewise.
10683         * string/test-memmem.c (do_one_test): Likewise.
10684         (do_test): Likewise.
10685         (do_random_tests): Likewise.
10686         * string/test-memmove.c (do_one_test): Likewise.
10687         (do_test): Likewise.
10688         * string/test-memset.c (do_one_test): Likewise.
10689         (do_test): Likewise.
10690         * string/test-rawmemchr.c (do_one_test): Likewise.
10691         (do_test): Likewise.
10692         * string/test-strcasecmp.c (do_one_test): Likewise.
10693         (do_test): Likewise.
10694         * string/test-strcasestr.c (do_one_test): Likewise.
10695         (do_test): Likewise.
10696         * string/test-strcat.c (do_one_test): Likewise.
10697         (do_test): Likewise.
10698         * string/test-strchr.c (do_one_test): Likewise.
10699         (do_test): Likewise.
10700         * string/test-strcmp.c (do_one_test): Likewise.
10701         (do_test): Likewise.
10702         * string/test-strcpy.c (do_one_test): Likewise.
10703         (do_test): Likewise.
10704         * string/test-string.h: Likewise.
10705         (test_init): Likewise.
10706         * string/test-strlen.c (do_one_test): Likewise.
10707         (do_test): Likewise.
10708         * string/test-strncasecmp.c (do_one_test): Likewise.
10709         (do_test): Likewise.
10710         * string/test-strncat.c (do_one_test): Likewise.
10711         (do_test): Likewise.
10712         * string/test-strncmp.c (do_one_test): Likewise.
10713         (do_test_limit): Likewise.
10714         (do_test): Likewise.
10715         * string/test-strncpy.c (do_one_test): Likewise.
10716         (do_test): Likewise.
10717         * string/test-strnlen.c (do_one_test): Likewise.
10718         (do_test): Likewise.
10719         * string/test-strpbrk.c (do_one_test): Likewise.
10720         (do_test): Likewise.
10721         * string/test-strrchr.c (do_one_test): Likewise.
10722         (do_test): Likewise.
10723         * string/test-strspn.c (do_one_test): Likewise.
10724         (do_test): Likewise.
10725         * string/test-strstr.c (do_one_test): Likewise.
10726         (do_test): Likewise.
10728         * benchtests/Makefile (string-bench): Add string benchmarks.
10729         * benchtests/bench-bcopy-ifunc.c: New file.
10730         * benchtests/bench-bcopy.c: New file.
10731         * benchtests/bench-bzero-ifunc.c: New file.
10732         * benchtests/bench-bzero.c: New file.
10733         * benchtests/bench-memccpy-ifunc.c: New file.
10734         * benchtests/bench-memccpy.c: New file.
10735         * benchtests/bench-memchr-ifunc.c: New file.
10736         * benchtests/bench-memchr.c: New file.
10737         * benchtests/bench-memcmp-ifunc.c: New file.
10738         * benchtests/bench-memcmp.c: New file.
10739         * benchtests/bench-memmem-ifunc.c: New file.
10740         * benchtests/bench-memmem.c: New file.
10741         * benchtests/bench-memmove-ifunc.c: New file.
10742         * benchtests/bench-memmove.c: New file.
10743         * benchtests/bench-mempcpy-ifunc.c: New file.
10744         * benchtests/bench-mempcpy.c: New file.
10745         * benchtests/bench-memset-ifunc.c: New file.
10746         * benchtests/bench-memset.c: New file.
10747         * benchtests/bench-rawmemchr-ifunc.c: New file.
10748         * benchtests/bench-rawmemchr.c: New file.
10749         * benchtests/bench-stpcpy-ifunc.c: New file.
10750         * benchtests/bench-stpcpy.c: New file.
10751         * benchtests/bench-stpncpy-ifunc.c: New file.
10752         * benchtests/bench-stpncpy.c: New file.
10753         * benchtests/bench-strcasecmp-ifunc.c: New file.
10754         * benchtests/bench-strcasecmp.c: New file.
10755         * benchtests/bench-strcasestr-ifunc.c: New file.
10756         * benchtests/bench-strcasestr.c: New file.
10757         * benchtests/bench-strcat-ifunc.c: New file.
10758         * benchtests/bench-strcat.c: New file.
10759         * benchtests/bench-strchr-ifunc.c: New file.
10760         * benchtests/bench-strchr.c: New file.
10761         * benchtests/bench-strchrnul-ifunc.c: New file.
10762         * benchtests/bench-strchrnul.c: New file.
10763         * benchtests/bench-strcmp-ifunc.c: New file.
10764         * benchtests/bench-strcmp.c: New file.
10765         * benchtests/bench-strcpy-ifunc.c: New file.
10766         * benchtests/bench-strcpy.c: New file.
10767         * benchtests/bench-strcspn-ifunc.c: New file.
10768         * benchtests/bench-strcspn.c: New file.
10769         * benchtests/bench-strlen-ifunc.c: New file.
10770         * benchtests/bench-strlen.c: New file.
10771         * benchtests/bench-strncasecmp-ifunc.c: New file.
10772         * benchtests/bench-strncasecmp.c: New file.
10773         * benchtests/bench-strncat-ifunc.c: New file.
10774         * benchtests/bench-strncat.c: New file.
10775         * benchtests/bench-strncmp-ifunc.c: New file.
10776         * benchtests/bench-strncmp.c: New file.
10777         * benchtests/bench-strncpy-ifunc.c: New file.
10778         * benchtests/bench-strncpy.c: New file.
10779         * benchtests/bench-strnlen-ifunc.c: New file.
10780         * benchtests/bench-strnlen.c: New file.
10781         * benchtests/bench-strpbrk-ifunc.c: New file.
10782         * benchtests/bench-strpbrk.c: New file.
10783         * benchtests/bench-strrchr-ifunc.c: New file.
10784         * benchtests/bench-strrchr.c: New file.
10785         * benchtests/bench-strspn-ifunc.c: New file.
10786         * benchtests/bench-strspn.c: New file.
10787         * benchtests/bench-strstr-ifunc.c: New file.
10788         * benchtests/bench-strstr.c: New file.
10790         * benchtests/Makefile: Disable parallel execution of targets.
10791         (string-bench): Add memcpy.
10792         (benchset): New variable to store a list of benchmark sets.
10793         (bench-func): Renamed from bench.
10794         (bench-set): New target.
10795         (bench): Depend on bench-func and bench-set.
10796         * benchtests/README: Add section on benchmark sets.
10797         * benchtests/bench-memcpy-ifunc.c: New file.
10798         * benchtests/bench-memcpy.c: New file.
10799         * benchtests/bench-string.h: New file.
10801 2013-06-11  Andreas Schwab  <schwab@suse.de>
10803         [BZ #15577]
10804         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
10805         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
10806         values in the triple.
10807         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
10808         terminator in the group key.
10810 2013-06-11  Andreas Jaeger  <aj@suse.de>
10812         * po/zh_TW.po: Update Chinese (traditional) translation from
10813         translation project.
10815 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10817         * include/time.h (__clock_gettime): Add libc_hidden_proto.
10818         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
10819         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
10820         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
10821         (clock_getcpuclockid): Likewise.
10822         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
10823         Add weak_alias and libc_hidden_def.
10824         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
10825         * rt/clock_gettime.c (clock_gettime): Rename to
10826         __clock_gettime.  Add weak_alias and libc_hidden_def.
10827         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
10828         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
10829         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
10830         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
10831         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
10832         Likewise.
10833         * rt/clock_settime.c (clock_settime): Rename to
10834         __clock_settime.  Add weak_alias and libc_hidden_def.
10835         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
10837 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
10839         * mach/err_boot.sub: Remove trailing whitespace.
10840         * mach/err_ipc.sub: Likewise.
10841         * mach/err_mach.sub: Likewise.
10843         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
10844         (ROUNDING_TESTS_double): Likewise.
10845         (ROUNDING_TESTS_long_double): Likewise.
10846         (ROUNDING_TESTS): Likewise.
10847         * math/libm-test.inc: Include <math-tests.h>.
10848         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
10849         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10850         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10851         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10853 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10855         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
10856         of assigning.
10858 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
10860         * sysdeps/gnu/errlist.awk: Do not generate space at end of
10861         otherwise empty TRANS lines.
10862         * sysdeps/gnu/errlist.c: Regenerated.
10864         * catgets/gencat.c (error_print): Use (void) in function
10865         definition.
10866         * crypt/crypt_util.c (__init_des): Likewise.
10867         * crypt/speeds.c (Stop): Likewise.
10868         (main): Likewise.
10869         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
10870         * inet/ruserpass.c (token): Likewise.
10871         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
10872         * intl/localealias.c (extend_alias_table): Likewise.
10873         * intl/plural-exp.c (init_germanic_plural): Likewise.
10874         * libio/fcloseall.c (__fcloseall): Likewise.
10875         * libio/genops.c (_IO_flush_all): Likewise.
10876         (_IO_flush_all_linebuffered): Likewise.
10877         (_IO_cleanup): Likewise.
10878         (_IO_iter_begin): Likewise.
10879         (_IO_iter_end): Likewise.
10880         (_IO_list_lock): Likewise.
10881         (_IO_list_unlock): Likewise.
10882         (_IO_list_resetlock): Likewise.
10883         * libio/getchar.c (getchar): Likewise.
10884         * libio/getchar_u.c (getchar_unlocked): Likewise.
10885         * libio/getwchar.c (getwchar): Likewise.
10886         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
10887         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
10888         * login/getpt.c (__getpt): Likewise.
10889         * login/tst-utmp.c (main): Likewise.
10890         * malloc/hooks.c (__malloc_check_init): Likewise.
10891         * malloc/malloc.c (__malloc_stats): Likewise.
10892         * malloc/mtrace.c (tr_break): Likewise.
10893         (mtrace): Likewise.
10894         (muntrace): Likewise.
10895         * misc/fstab.c (endfsent): Likewise.
10896         * misc/getclktck.c (__getclktck): Likewise.
10897         * misc/getdtsz.c (__getdtablesize): Likewise.
10898         * misc/gethostid.c (gethostid): Likewise.
10899         * misc/getpagesize.c (__getpagesize): Likewise.
10900         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
10901         (__get_nprocs): Likewise.
10902         (__get_phys_pages): Likewise.
10903         (__get_avphys_pages): Likewise.
10904         * misc/getttyent.c (getttyent): Likewise.
10905         (setttyent): Likewise.
10906         (endttyent): Likewise.
10907         * misc/getusershell.c (getusershell): Likewise.
10908         (endusershell): Likewise.
10909         (setusershell): Likewise.
10910         (initshells): Likewise.
10911         * misc/hsearch.c (__hdestroy): Likewise.
10912         * misc/sync.c (sync): Likewise.
10913         * misc/syslog.c (closelog_internal): Likewise.
10914         (closelog): Likewise.
10915         * misc/ttyslot.c (ttyslot): Likewise.
10916         * misc/vhangup.c (vhangup): Likewise.
10917         * posix/fork.c (__fork): Likewise.
10918         * posix/getegid.c (__getegid): Likewise.
10919         * posix/geteuid.c (__geteuid): Likewise.
10920         * posix/getgid.c (__getgid): Likewise.
10921         * posix/getpid.c (__getpid): Likewise.
10922         * posix/getppid.c (__getppid): Likewise.
10923         * posix/getuid.c (__getuid): Likewise.
10924         * posix/pause.c (pause): Likewise.
10925         * posix/setpgrp.c (setpgrp): Likewise.
10926         * posix/setsid.c (__setsid): Likewise.
10927         * posix/test-vfork.c (noop): Likewise.
10928         * resolv/gethnamaddr.c (_endhtent): Likewise.
10929         (_gethtent): Likewise.
10930         (ht_endhostent): Likewise.
10931         (gethostent): Likewise.
10932         (dns_service): Likewise.
10933         * stdlib/drand48.c (drand48): Likewise.
10934         * stdlib/lrand48.c (lrand48): Likewise.
10935         * stdlib/mrand48.c (mrand48): Likewise.
10936         * stdlib/rand.c (rand): Likewise.
10937         * stdlib/random.c (__random): Likewise.
10938         * stdlib/setenv.c (clearenv): Likewise.
10939         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
10940         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
10941         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
10942         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
10943         (__get_nprocs): Likewise.
10944         (__get_phys_pages): Likewise.
10945         (__get_avphys_pages): Likewise.
10946         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
10947         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
10948         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
10949         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
10950         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
10951         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
10952         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
10953         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
10954         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
10955         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
10956         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
10957         * sysdeps/mach/hurd/sync.c (sync): Likewise.
10958         * sysdeps/posix/clock.c (clock): Likewise.
10959         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
10960         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
10961         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
10962         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
10963         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
10964         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
10965         (__get_nprocs_conf): Likewise.
10966         (__get_phys_pages): Likewise.
10967         (__get_avphys_pages): Likewise.
10968         * time/clock.c (clock): Likewise.
10969         * time/tzset.c (__tzname_max): Likewise.
10971 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
10973         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
10974         (__bswap_32): Do not use "register".
10975         * crypt/crypt.c (_ufc_doit_r): Likewise.
10976         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
10977         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
10978         * gmon/gmon.c (__monstartup): Likewise.
10979         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
10980         * hurd/hurdmalloc.c (more_memory): Likewise.
10981         (malloc): Likewise.
10982         (free): Likewise.
10983         (realloc): Likewise.
10984         (malloc_fork_prepare): Likewise.
10985         (malloc_fork_parent): Likewise.
10986         (malloc_fork_child): Likewise.
10987         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
10988         (_svcauth_des): Likewise.
10989         * inet/inet_lnaof.c (inet_lnaof): Likewise.
10990         * inet/inet_net.c (inet_network): Likewise.
10991         * inet/inet_netof.c (inet_netof): Likewise.
10992         * inet/rcmd.c (__validuser2_sa): Likewise.
10993         * io/fts.c (fts_open): Likewise.
10994         (fts_load): Likewise.
10995         (fts_close): Likewise.
10996         (fts_read): Likewise.
10997         (fts_children): Likewise.
10998         (fts_build): Likewise.
10999         (fts_stat): Likewise.
11000         (fts_sort): Likewise.
11001         (fts_alloc): Likewise.
11002         (fts_lfree): Likewise.
11003         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
11004         (_IO_file_xsgetn): Likewise.
11005         (_IO_file_xsgetn_mmap): Likewise.
11006         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11007         (_IO_cookie_write): Likewise.
11008         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
11009         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
11010         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
11011         * malloc/obstack.c (_obstack_begin): Likewise.
11012         (_obstack_begin_1): Likewise.
11013         (_obstack_newchunk): Likewise.
11014         (_obstack_allocated_p): Likewise.
11015         (obstack_free): Likewise.
11016         (_obstack_memory_used): Likewise.
11017         * misc/getttyent.c (getttynam): Likewise.
11018         (getttyent): Likewise.
11019         (skip): Likewise.
11020         (value): Likewise.
11021         * misc/getusershell.c (initshells): Likewise.
11022         * misc/syslog.c (__vsyslog_chk): Likewise.
11023         * misc/ttyslot.c (ttyslot): Likewise.
11024         * nis/nis_hash.c (__nis_hash): Likewise.
11025         * posix/fnmatch_loop.c (FCT): Likewise.
11026         * posix/getconf.c (print_all): Likewise.
11027         (main): Likewise.
11028         * posix/getopt.c (exchange): Likewise.
11029         * posix/glob.c (globfree): Likewise.
11030         (prefix_array): Likewise.
11031         (__glob_pattern_type): Likewise.
11032         * resolv/arpa/nameser.h (NS_GET16): Likewise.
11033         (NS_GET32): Likewise.
11034         (NS_PUT16): Likewise.
11035         (NS_PUT32): Likewise.
11036         * resolv/gethnamaddr.c (getanswer): Likewise.
11037         (gethostbyname2): Likewise.
11038         (gethostbyaddr): Likewise.
11039         (_gethtent): Likewise.
11040         (_gethtbyname2): Likewise.
11041         (_gethtbyaddr): Likewise.
11042         * resolv/ns_print.c (dst_s_get_int16): Likewise.
11043         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
11044         * resolv/res_init.c (__res_vinit): Likewise.
11045         (net_mask): Likewise.
11046         * resolv/res_mkquery.c (outchar): Likewise.
11047         (PRINT): Likewise.
11048         * stdio-common/printf_fp.c (outchar): Likewise.
11049         (PRINT): Likewise.
11050         * stdio-common/printf_fphex.c (outchar): Likewise.
11051         (PRINT): Likewise.
11052         * stdio-common/printf_size.c (outchar): Likewise.
11053         (PRINT): Likewise.
11054         * stdio-common/test_rdwr.c (main): Likewise.
11055         * stdio-common/tfformat.c (matches): Likewise.
11056         * stdio-common/vfprintf.c (outchar): Likewise.
11057         (printf_unknown): Likewise.
11058         (buffered_vfprintf): Likewise.
11059         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
11060         * stdio-common/xbug.c (AppendToBuffer): Likewise.
11061         (ReadFile): Likewise.
11062         * stdlib/qsort.c (SWAP): Likewise.
11063         (_quicksort): Likewise.
11064         * stdlib/setenv.c (__add_to_environ): Likewise.
11065         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
11066         * stdlib/strtol_l.c (__strtol_l): Likewise.
11067         * stdlib/tst-strtod.c (main): Likewise.
11068         * stdlib/tst-strtol.c (main): Likewise.
11069         * stdlib/tst-strtoll.c (main): Likewise.
11070         * string/bits/string2.h (__strcmp_cc): Likewise.
11071         (__strcmp_cg): Likewise.
11072         (__strcspn_c1): Likewise.
11073         (__strcspn_c2): Likewise.
11074         (__strcspn_c3): Likewise.
11075         (__strspn_c1): Likewise.
11076         (__strspn_c2): Likewise.
11077         (__strspn_c3): Likewise.
11078         (__strsep_1c): Likewise.
11079         (__strsep_2c): Likewise.
11080         (__strsep_3c): Likewise.
11081         * string/memccpy.c (__memccpy): Likewise.
11082         * string/stpcpy.c (__stpcpy): Likewise.
11083         * string/strcmp.c (strcmp): Likewise.
11084         * string/strrchr.c (strrchr): Likewise.
11085         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
11086         Likewise.
11087         * sysdeps/mach/hurd/getcwd.c
11088         (_hurd_canonicalize_directory_name_internal): Likewise.
11089         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
11090         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
11091         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
11092         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
11093         Likewise, in both definitions.
11094         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
11095         definitions.
11096         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
11097         64] (__bswap_64): Likewise.
11098         * time/test_time.c (main): Likewise.
11099         * time/tzfile.c (__tzfile_read): Likewise.
11100         (__tzfile_compute): Likewise.
11101         * time/tzset.c (__tzset_parse_tz): Likewise.
11102         (tzset_internal): Likewise.
11103         (compute_change): Likewise.
11104         * wcsmbs/wcscat.c (__wcscat): Likewise.
11105         * wcsmbs/wcschr.c (wcschr): Likewise.
11106         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
11107         * wcsmbs/wcscspn.c (wcscspn): Likewise.
11108         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
11109         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
11110         * wcsmbs/wcsspn.c (wcsspn): Likewise.
11111         * wcsmbs/wcsstr.c (wcsstr): Likewise.
11112         * wcsmbs/wmemchr.c (wmemchr): Likewise.
11113         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11114         * wcsmbs/wmemset.c (wmemset): Likewise.
11116 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
11118         * scripts/config.guess: Update to version 2013-05-16.
11119         * scripts/config.sub: Update to version 2013-04-24.
11120         * scripts/install-sh: Update to version 2011-11-20.07.
11121         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
11122         * scripts/move-if-change: Update to version 2012-01-06 07:23.
11124 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
11126         * debug/fgetws_u_chk.c: Fix leading whitespaces.
11127         * elf/sln.c: Likewise.
11128         * hurd/hurd/ioctl.h: Likewise.
11129         * hurd/hurdmalloc.c: Likewise.
11130         * hurd/xattr.c: Likewise.
11131         * include/shlib-compat.h: Likewise.
11132         * inet/ruserpass.c: Likewise.
11133         * libio/iofgets_u.c: Likewise.
11134         * libio/iofgetws_u.c: Likewise.
11135         * locale/programs/ld-identification.c: Likewise.
11136         * locale/programs/ld-time.c: Likewise.
11137         * mach/msg-destroy.c: Likewise.
11138         * nss/nss_files/files-netgrp.c: Likewise.
11139         * resolv/res_data.c: Likewise.
11140         * soft-fp/op-1.h: Likewise.
11141         * soft-fp/op-2.h: Likewise.
11142         * soft-fp/op-4.h: Likewise.
11143         * soft-fp/op-common.h: Likewise.
11144         * stdio-common/printf_fphex.c: Likewise.
11145         * stdlib/strtod_l.c: Likewise.
11146         * sunrpc/rpc/clnt.h: Likewise.
11147         * sysdeps/generic/framestate.c: Likewise.
11148         * sysdeps/i386/bsd-_setjmp.S: Likewise.
11149         * sysdeps/i386/bsd-setjmp.S: Likewise.
11150         * sysdeps/i386/__longjmp.S: Likewise.
11151         * sysdeps/i386/setjmp.S: Likewise.
11152         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
11153         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
11154         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11155         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11156         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11157         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
11158         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
11159         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
11160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
11161         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11162         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
11163         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
11164         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
11165         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
11166         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
11167         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
11168         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
11169         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
11170         * sysdeps/ieee754/support.c: Likewise.
11171         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11172         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
11173         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
11174         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
11175         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
11176         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
11177         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
11178         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
11179         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
11180         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
11181         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
11182         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
11183         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
11184         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
11185         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
11186         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
11187         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
11188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11190 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
11192         * posix/transbug.c: Remove executable mode.
11194 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
11196         * crypt/speeds.c: Remove trailing whitespace.
11197         * dlfcn/default.c: Likewise.
11198         * elf/ifuncdep2.c: Likewise.
11199         * elf/ifuncmain1.c: Likewise.
11200         * elf/ifuncmain1vis.c: Likewise.
11201         * elf/testobj.h: Likewise.
11202         * elf/tst-stackguard1.c: Likewise.
11203         * gmon/sys/gmon.h: Likewise.
11204         * hurd/hurdmsg.c: Likewise.
11205         * hurd/new-fd.c: Likewise.
11206         * hurd/ports-get.c: Likewise.
11207         * iconvdata/ibm1008_420.c: Likewise.
11208         * inet/tst-getni1.c: Likewise.
11209         * inet/tst-getni2.c: Likewise.
11210         * libio/ioungetc.c: Likewise.
11211         * libio/wfiledoalloc.c: Likewise.
11212         * manual/libm-err-tab.pl: Likewise.
11213         * math/w_dremf.c: Likewise.
11214         * misc/ftruncate.c: Likewise.
11215         * posix/bug-glob2.c: Likewise.
11216         * posix/tst-pcre.c: Likewise.
11217         * posix/wait4.c: Likewise.
11218         * resolv/README: Likewise.
11219         * resolv/res_debug.h: Likewise.
11220         * resolv/tst-inet_ntop.c: Likewise.
11221         * setjmp/bug269-setjmp.c: Likewise.
11222         * soft-fp/extended.h: Likewise.
11223         * soft-fp/op-1.h: Likewise.
11224         * soft-fp/op-2.h: Likewise.
11225         * soft-fp/op-4.h: Likewise.
11226         * soft-fp/op-8.h: Likewise.
11227         * soft-fp/testit.c: Likewise.
11228         * stdio-common/bug16.c: Likewise.
11229         * stdlib/random.c: Likewise.
11230         * sunrpc/rpcsvc/rquota.x: Likewise.
11231         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
11232         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
11233         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
11234         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
11235         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
11236         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
11237         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
11238         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
11239         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
11240         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
11241         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
11242         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
11243         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
11244         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
11245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
11246         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
11247         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
11248         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
11249         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
11250         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
11251         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
11252         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
11253         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
11254         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
11255         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
11256         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
11257         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11258         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
11259         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
11260         * sysdeps/ieee754/s_lib_version.c: Likewise.
11261         * sysdeps/mach/hurd/check_fds.c: Likewise.
11262         * sysdeps/mach/hurd/getsockname.c: Likewise.
11263         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
11264         * sysdeps/mach/hurd/recvfrom.c: Likewise.
11265         * sysdeps/powerpc/bits/link.h: Likewise.
11266         * sysdeps/powerpc/dl-procinfo.c: Likewise.
11267         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
11268         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
11269         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
11270         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11271         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
11272         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
11273         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11274         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
11275         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11276         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
11277         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11278         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
11279         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11280         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11281         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11282         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11283         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11284         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11285         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11286         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11287         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
11288         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11289         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11290         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
11291         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11292         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11295         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11296         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11297         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11298         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11299         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
11300         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
11301         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11302         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
11303         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11304         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
11305         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
11306         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
11307         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
11308         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
11309         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
11310         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11311         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
11312         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
11313         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11314         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
11315         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
11316         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
11317         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
11318         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11319         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11320         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
11321         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
11322         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
11323         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
11325         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
11326         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
11327         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
11328         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
11329         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11330         * sysdeps/powerpc/sysdep.h: Likewise.
11331         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11332         * sysdeps/s390/s390-64/sub_n.S: Likewise.
11333         * sysdeps/sh/dl-trampoline.S: Likewise.
11334         * sysdeps/sh/memset.S: Likewise.
11335         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
11336         * sysdeps/sh/strlen.S: Likewise.
11337         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
11338         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
11339         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
11340         * sysdeps/sparc/sparc32/rem.S: Likewise.
11341         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
11342         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
11343         * sysdeps/sparc/sparc32/strchr.S: Likewise.
11344         * sysdeps/sparc/sparc32/udiv.S: Likewise.
11345         * sysdeps/sparc/sparc32/urem.S: Likewise.
11346         * sysdeps/sparc/sparc64/add_n.S: Likewise.
11347         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
11348         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
11349         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
11350         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
11351         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
11352         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
11353         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
11354         * sysdeps/unix/bsd/times.c: Likewise.
11355         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
11356         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
11357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
11358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
11359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11360         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
11361         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11362         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11363         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
11364         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
11365         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
11366         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
11367         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
11368         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
11369         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
11370         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
11371         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
11372         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
11373         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
11374         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
11375         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11376         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
11377         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
11378         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
11379         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
11380         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11381         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
11382         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
11383         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
11384         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
11385         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
11386         * sysdeps/x86_64/strcspn.S: Likewise.
11388 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
11390         * locale/C-translit.h: Revert #include <stdint.h> because this is a
11391         generated file.  Regenerate properly from gen-translit.pl.
11392         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
11393         locale/C-translit.h.
11395 2013-06-05  Andreas Schwab  <schwab@suse.de>
11397         [BZ #15100]
11398         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
11399         week as 6 instead of -1.
11400         * time/tst-strptime.c (day_tests): Add test case.
11402 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11404         * sysdeps/generic/math_private.h
11405         (libc_feholdexcept_setround_53bit): Replace with
11406         libc_feholdsetround_53bit.
11407         (libc_feupdateenv_53bit): Replace with
11408         libc_feresetround_53bit.
11409         (SET_RESTORE_ROUND_53BIT): Adjust.
11411 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11413         * string/test-strchrnul.c: Add copyright header.
11415         * posix/tst-getaddrinfo4.c: Increase test timeout.
11417 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
11419         [BZ #15536]
11420         * math/libm-test.inc (MAX_EXP): Remove
11421         (MIN_EXP): Define.
11422         (ulp): Use MIN_EXP - MANT_DIG.
11423         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
11425 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
11427         * po/be.po: Revert last change.
11428         * po/zh_CN.po: Likewise.
11429         * po/header.pot: Likewise.
11431 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
11433         * Makefile ($(common-objpfx)linkobj/libc.so): Define
11434         link-libc-deps to empty as target-specific variable.
11435         * Makerules (link-libc-args): New variable.
11436         (libc-for-link): Likewise.
11437         (link-libc-deps): Likewise.
11438         (lib%.so): Depend on $(link-libc-deps).  Link with
11439         $(link-libc-args).
11440         (build-module): Link with $(link-libc-args).
11441         (build-module-asneeded): Likewise.
11442         (build-module-helper-objlist): Filter out $(link-libc-deps) from
11443         list of objects.
11444         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
11445         target-specific variable.
11446         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
11447         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
11448         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
11449         libc.
11450         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
11451         libc and ld.so.
11452         ($(objpfx)libpcprofile.so): Likewise.
11453         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
11454         libc_nonshared.a.
11455         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
11456         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
11457         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
11458         $(link-libc-deps).
11459         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
11460         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
11461         * login/Makefile ($(objpfx)libutil.so): Likewise.
11462         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
11463         * math/Makefile ($(objpfx)libm.so): Likewise.
11464         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
11465         $(objpfx)libnsl.so): Define libc-for-link as target-specific
11466         variable instead of depending directly on libc.
11467         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
11468         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
11469         $(link-libc-deps).
11470         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
11471         libc.
11472         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
11473         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
11474         ($(objpfx)libanl.so): Likewise.
11475         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
11476         ld.so.
11477         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
11478         $(link-libc-deps).
11479         * sysdeps/i386/fpu/Makefile: Remove file.
11480         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
11481         ($(objpfx)libm.so): Remove dependency on ld.so.
11483 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
11485         [BZ # 15553]
11486         * nis/yp_xdr.c (XDRMAXNAME): Define.
11487         (XDRMAXRECORD): Define.
11488         (xdr_domainname): Use XDRMAXNAME.
11489         (xdr_mapname): Likewise.
11490         (xdr_peername): Likewise.
11491         (xdr_keydat): Use XDRMAXRECORD.
11492         (xdr_valdat): Likewise.
11494 2013-05-30  Jeff Law  <law@redhat.com>
11496         [BZ #14256]
11497         * manual/errno.texi (ESTALE): Update to account for more than
11498         just NFS file systems.
11499         * sysdeps/gnu/errlist.c: Regenerated.
11501 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11503         [BZ #15465]
11504         * elf/Makefile (tests): Add tst-null-argv.
11505         (modules-names):  Add tst-null-argv-lib.
11506         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
11507         (tst-null-argv-ENV): Set environment for tst-null-argv.
11508         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
11509         (RTLD_PROGNAME): New macro.
11510         * elf/tst-null-argv.c: New test case.
11511         * elf/tst-null-argv-lib.c: Library for test case.
11512         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
11513         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
11514         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
11515         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
11516         * elf/dl-init.c (call_init): Likewise.
11517         (_dl_init): Likewise.
11518         * elf/dl-load.c (print_search_path): Likewise.
11519         (_dl_map_object): Likewise.
11520         * elf/dl-lookup.c (do_lookup_x): Likewise.
11521         (add_dependency): Likewise.
11522         (_dl_lookup_symbol_x): Likewise.
11523         (_dl_debug_bindings): Likewise.
11524         * elf/dl-open.c (_dl_show_scope): Likewise.
11525         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
11526         * elf/dl-version.c (match_symbol): Likewise.
11527         (_dl_check_map_versions): Likewise.
11528         * elf/rtld.c (dl_main): Likewise.
11529         (print_unresolved): Use RTLD_PROGNAME.
11530         (print_missing_version): Likewise.
11531         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
11532         (elf_machine_rela): Likewise.
11533         * sysdeps/powerpc/powerpc32/dl-machine.c
11534         (__process_machine_rela): Likewise.
11535         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
11536         Likewise.
11537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
11538         Likewise.
11539         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
11540         Likewise.
11541         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
11542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
11543         Likewise.
11544         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
11545         Likewise.
11546         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11548 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
11550         * po/be.po: Add descriptive title.
11551         * po/zh_CN.po: Likewise.
11552         * po/header.pot: Likewise.
11554 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
11556         * locale/programs/locarchive.c (create_archive): Inlucde fname in
11557         error message.
11558         (enlarge_archive): Likewise.
11560 2013-05-28  Ben North  <ben@redfrontdoor.org>
11562         * manual/arith.texi (frexp): It is the magnitude of the return
11563         value which lies in [0.5, 1), not the return value itself.
11565 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11567         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11569 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
11571         * stdio-common/bug26.c (main): Correct fscanf template.
11573         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
11574         declare _dl_skip_args.
11576         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
11577         Don't declare.
11579         * manual/platform.texi: Add missing @end deftypefun.
11581 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11583         [BZ #15529]
11584         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
11585         bit of mantissa of 2^16382.
11586         * math/libm-test.inc (hypot_test_data): Add more tests.
11588         * math/libm-test.inc: Add drem and pow10 to list of tested
11589         functions.
11590         (pow10_test): New function.
11591         (drem_test): Likewise.
11592         (drem_test_tonearest): Likewise.
11593         (drem_test_towardzero): Likewise.
11594         (drem_test_downward): Likewise.
11595         (drem_test_upward): Likewise.
11596         (main): Call the new functions.
11598         * math/libm-test.inc (finite_test_data): Remove.
11599         (finite_test): Run tests from isfinite_test_data.
11600         (gamma_test_data): Remove.
11601         (gamma_test): Run tests from lgamma_test_data.
11602         * sysdeps/i386/fpu/libm-test-ulps: Update.
11603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11605 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11607         * manual/platform.texi: Add PowerPC PPR function set documentation.
11608         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
11609         implementation.
11611 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
11613         * math/libm-test.inc (MAX_EXP): Define.
11614         (ULPDIFF): Define.
11615         (ulp): New function.
11616         (check_float_internal): Use ULPDIFF.
11617         (cpow_test): Disable failing test.
11618         (check_ulp): Test ulp() implemetnation.
11619         (main): Call check_ulp before starting tests.
11621 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
11623         * math/gen-libm-test.pl (generate_testfile): Do not handle
11624         START_DATA and END_DATA.
11625         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
11626         END_DATA.
11627         (acos_tonearest_test_data): Likewise.
11628         (acos_towardzero_test_data): Likewise.
11629         (acos_downward_test_data): Likewise.
11630         (acos_upward_test_data): Likewise.
11631         (acosh_test_data): Likewise.
11632         (asin_test_data): Likewise.
11633         (asin_tonearest_test_data): Likewise.
11634         (asin_towardzero_test_data): Likewise.
11635         (asin_downward_test_data): Likewise.
11636         (asin_upward_test_data): Likewise.
11637         (asinh_test_data): Likewise.
11638         (atan_test_data): Likewise.
11639         (atanh_test_data): Likewise.
11640         (atan2_test_data): Likewise.
11641         (cabs_test_data): Likewise.
11642         (cacos_test_data): Likewise.
11643         (cacosh_test_data): Likewise.
11644         (carg_test_data): Likewise.
11645         (casin_test_data): Likewise.
11646         (casinh_test_data): Likewise.
11647         (catan_test_data): Likewise.
11648         (catanh_test_data): Likewise.
11649         (cbrt_test_data): Likewise.
11650         (ccos_test_data): Likewise.
11651         (ccosh_test_data): Likewise.
11652         (ceil_test_data): Likewise.
11653         (cexp_test_data): Likewise.
11654         (cimag_test_data): Likewise.
11655         (clog_test_data): Likewise.
11656         (clog10_test_data): Likewise.
11657         (conj_test_data): Likewise.
11658         (copysign_test_data): Likewise.
11659         (cos_test_data): Likewise.
11660         (cos_tonearest_test_data): Likewise.
11661         (cos_towardzero_test_data): Likewise.
11662         (cos_downward_test_data): Likewise.
11663         (cos_upward_test_data): Likewise.
11664         (cosh_test_data): Likewise.
11665         (cosh_tonearest_test_data): Likewise.
11666         (cosh_towardzero_test_data): Likewise.
11667         (cosh_downward_test_data): Likewise.
11668         (cosh_upward_test_data): Likewise.
11669         (cpow_test_data): Likewise.
11670         (cproj_test_data): Likewise.
11671         (creal_test_data): Likewise.
11672         (csin_test_data): Likewise.
11673         (csinh_test_data): Likewise.
11674         (csqrt_test_data): Likewise.
11675         (ctan_test_data): Likewise.
11676         (ctan_tonearest_test_data): Likewise.
11677         (ctan_towardzero_test_data): Likewise.
11678         (ctan_downward_test_data): Likewise.
11679         (ctan_upward_test_data): Likewise.
11680         (ctanh_test_data): Likewise.
11681         (ctanh_tonearest_test_data): Likewise.
11682         (ctanh_towardzero_test_data): Likewise.
11683         (ctanh_downward_test_data): Likewise.
11684         (ctanh_upward_test_data): Likewise.
11685         (erf_test_data): Likewise.
11686         (erfc_test_data): Likewise.
11687         (exp_test_data): Likewise.
11688         (exp_tonearest_test_data): Likewise.
11689         (exp_towardzero_test_data): Likewise.
11690         (exp_downward_test_data): Likewise.
11691         (exp_upward_test_data): Likewise.
11692         (exp10_test_data): Likewise.
11693         (exp2_test_data): Likewise.
11694         (expm1_test_data): Likewise.
11695         (fabs_test_data): Likewise.
11696         (fdim_test_data): Likewise.
11697         (finite_test_data): Likewise.
11698         (floor_test_data): Likewise.
11699         (fma_test_data): Likewise.
11700         (fma_towardzero_test_data): Likewise.
11701         (fma_downward_test_data): Likewise.
11702         (fma_upward_test_data): Likewise.
11703         (fmax_test_data): Likewise.
11704         (fmin_test_data): Likewise.
11705         (fmod_test_data): Likewise.
11706         (fpclassify_test_data): Likewise.
11707         (frexp_test_data): Likewise.
11708         (gamma_test_data): Likewise.
11709         (hypot_test_data): Likewise.
11710         (ilogb_test_data): Likewise.
11711         (isfinite_test_data): Likewise.
11712         (isgreater_test_data): Likewise.
11713         (isgreaterequal_test_data): Likewise.
11714         (isinf_test_data): Likewise.
11715         (isless_test_data): Likewise.
11716         (islessequal_test_data): Likewise.
11717         (islessgreater_test_data): Likewise.
11718         (isnan_test_data): Likewise.
11719         (isnormal_test_data): Likewise.
11720         (issignaling_test_data): Likewise.
11721         (isunordered_test_data): Likewise.
11722         (j0_test_data): Likewise.
11723         (j1_test_data): Likewise.
11724         (jn_test_data): Likewise.
11725         (ldexp_test_data): Likewise.
11726         (lgamma_test_data): Likewise.
11727         (lrint_test_data): Likewise.
11728         (lrint_tonearest_test_data): Likewise.
11729         (lrint_towardzero_test_data): Likewise.
11730         (lrint_downward_test_data): Likewise.
11731         (lrint_upward_test_data): Likewise.
11732         (llrint_test_data): Likewise.
11733         (llrint_tonearest_test_data): Likewise.
11734         (llrint_towardzero_test_data): Likewise.
11735         (llrint_downward_test_data): Likewise.
11736         (llrint_upward_test_data): Likewise.
11737         (log_test_data): Likewise.
11738         (log10_test_data): Likewise.
11739         (log1p_test_data): Likewise.
11740         (log2_test_data): Likewise.
11741         (logb_test_data): Likewise.
11742         (logb_downward_test_data): Likewise.
11743         (lround_test_data): Likewise.
11744         (llround_test_data): Likewise.
11745         (modf_test_data): Likewise.
11746         (nearbyint_test_data): Likewise.
11747         (nextafter_test_data): Likewise.
11748         (nexttoward_test_data): Likewise.
11749         (pow_test_data): Likewise.
11750         (pow_tonearest_test_data): Likewise.
11751         (pow_towardzero_test_data): Likewise.
11752         (pow_downward_test_data): Likewise.
11753         (pow_upward_test_data): Likewise.
11754         (remainder_test_data): Likewise.
11755         (remainder_tonearest_test_data): Likewise.
11756         (remainder_towardzero_test_data): Likewise.
11757         (remainder_downward_test_data): Likewise.
11758         (remainder_upward_test_data): Likewise.
11759         (remquo_test_data): Likewise.
11760         (rint_test_data): Likewise.
11761         (rint_tonearest_test_data): Likewise.
11762         (rint_towardzero_test_data): Likewise.
11763         (rint_downward_test_data): Likewise.
11764         (rint_upward_test_data): Likewise.
11765         (round_test_data): Likewise.
11766         (scalb_test_data): Likewise.
11767         (scalbn_test_data): Likewise.
11768         (scalbln_test_data): Likewise.
11769         (signbit_test_data): Likewise.
11770         (sin_test_data): Likewise.
11771         (sin_tonearest_test_data): Likewise.
11772         (sin_towardzero_test_data): Likewise.
11773         (sin_downward_test_data): Likewise.
11774         (sin_upward_test_data): Likewise.
11775         (sincos_test_data): Likewise.
11776         (sinh_test_data): Likewise.
11777         (sinh_tonearest_test_data): Likewise.
11778         (sinh_towardzero_test_data): Likewise.
11779         (sinh_downward_test_data): Likewise.
11780         (sinh_upward_test_data): Likewise.
11781         (sqrt_test_data): Likewise.
11782         (tan_test_data): Likewise.
11783         (tan_tonearest_test_data): Likewise.
11784         (tan_towardzero_test_data): Likewise.
11785         (tan_downward_test_data): Likewise.
11786         (tan_upward_test_data): Likewise.
11787         (tanh_test_data): Likewise.
11788         (tgamma_test_data): Likewise.
11789         (trunc_test_data): Likewise.
11790         (y0_test_data): Likewise.
11791         (y1_test_data): Likewise.
11792         (yn_test_data): Likewise.
11793         (significand_test_data): Likewise.
11795         * math/gen-libm-test.pl (@functions): Remove variable.
11796         (generate_testfile): Don't handle START and END lines.
11797         * math/libm-test.inc (START): New macro.
11798         (END): Likewise.
11799         (END_COMPLEX): Likewise.
11800         (acos_test): Use END macro without arguments.
11801         (acos_test_tonearest): Likewise.
11802         (acos_test_towardzero): Likewise.
11803         (acos_test_downward): Likewise.
11804         (acos_test_upward): Likewise.
11805         (acosh_test): Likewise.
11806         (asin_test): Likewise.
11807         (asin_test_tonearest): Likewise.
11808         (asin_test_towardzero): Likewise.
11809         (asin_test_downward): Likewise.
11810         (asin_test_upward): Likewise.
11811         (asinh_test): Likewise.
11812         (atan_test): Likewise.
11813         (atanh_test): Likewise.
11814         (atan2_test): Likewise.
11815         (cabs_test): Likewise.
11816         (cacos_test): Use END_COMPLEX macro without arguments.
11817         (cacosh_test): Likewise.
11818         (carg_test): Use END macro without arguments.
11819         (casin_test): Use END_COMPLEX macro without arguments.
11820         (casinh_test): Likewise.
11821         (catan_test): Likewise.
11822         (catanh_test): Likewise.
11823         (cbrt_test): Use END macro without arguments.
11824         (ccos_test): Use END_COMPLEX macro without arguments.
11825         (ccosh_test): Likewise.
11826         (ceil_test): Use END macro without arguments.
11827         (cexp_test): Use END_COMPLEX macro without arguments.
11828         (cimag_test): Use END macro without arguments.
11829         (clog_test): Use END_COMPLEX macro without arguments.
11830         (clog10_test): Likewise.
11831         (conj_test): Likewise.
11832         (copysign_test): Use END macro without arguments.
11833         (cos_test): Likewise.
11834         (cos_test_tonearest): Likewise.
11835         (cos_test_towardzero): Likewise.
11836         (cos_test_downward): Likewise.
11837         (cos_test_upward): Likewise.
11838         (cosh_test): Likewise.
11839         (cosh_test_tonearest): Likewise.
11840         (cosh_test_towardzero): Likewise.
11841         (cosh_test_downward): Likewise.
11842         (cosh_test_upward): Likewise.
11843         (cpow_test): Use END_COMPLEX macro without arguments.
11844         (cproj_test): Likewise.
11845         (creal_test): Use END macro without arguments.
11846         (csin_test): Use END_COMPLEX macro without arguments.
11847         (csinh_test): Likewise.
11848         (csqrt_test): Likewise.
11849         (ctan_test): Likewise.
11850         (ctan_test_tonearest): Likewise.
11851         (ctan_test_towardzero): Likewise.
11852         (ctan_test_downward): Likewise.
11853         (ctan_test_upward): Likewise.
11854         (ctanh_test): Likewise.
11855         (ctanh_test_tonearest): Likewise.
11856         (ctanh_test_towardzero): Likewise.
11857         (ctanh_test_downward): Likewise.
11858         (ctanh_test_upward): Likewise.
11859         (erf_test): Use END macro without arguments.
11860         (erfc_test): Likewise.
11861         (exp_test): Likewise.
11862         (exp_test_tonearest): Likewise.
11863         (exp_test_towardzero): Likewise.
11864         (exp_test_downward): Likewise.
11865         (exp_test_upward): Likewise.
11866         (exp10_test): Likewise.
11867         (exp2_test): Likewise.
11868         (expm1_test): Likewise.
11869         (fabs_test): Likewise.
11870         (fdim_test): Likewise.
11871         (finite_test): Likewise.
11872         (floor_test): Likewise.
11873         (fma_test): Likewise.
11874         (fma_test_towardzero): Likewise.
11875         (fma_test_downward): Likewise.
11876         (fma_test_upward): Likewise.
11877         (fmax_test): Likewise.
11878         (fmin_test): Likewise.
11879         (fmod_test): Likewise.
11880         (fpclassify_test): Likewise.
11881         (frexp_test): Likewise.
11882         (gamma_test): Likewise.
11883         (hypot_test): Likewise.
11884         (ilogb_test): Likewise.
11885         (isfinite_test): Likewise.
11886         (isgreater_test): Likewise.
11887         (isgreaterequal_test): Likewise.
11888         (isinf_test): Likewise.
11889         (isless_test): Likewise.
11890         (islessequal_test): Likewise.
11891         (islessgreater_test): Likewise.
11892         (isnan_test): Likewise.
11893         (isnormal_test): Likewise.
11894         (issignaling_test): Likewise.
11895         (isunordered_test): Likewise.
11896         (j0_test): Likewise.
11897         (j1_test): Likewise.
11898         (jn_test): Likewise.
11899         (ldexp_test): Likewise.
11900         (lgamma_test): Likewise.
11901         (lrint_test): Likewise.
11902         (lrint_test_tonearest): Likewise.
11903         (lrint_test_towardzero): Likewise.
11904         (lrint_test_downward): Likewise.
11905         (lrint_test_upward): Likewise.
11906         (llrint_test): Likewise.
11907         (llrint_test_tonearest): Likewise.
11908         (llrint_test_towardzero): Likewise.
11909         (llrint_test_downward): Likewise.
11910         (llrint_test_upward): Likewise.
11911         (log_test): Likewise.
11912         (log10_test): Likewise.
11913         (log1p_test): Likewise.
11914         (log2_test): Likewise.
11915         (logb_test): Likewise.
11916         (logb_test_downward): Likewise.
11917         (lround_test): Likewise.
11918         (llround_test): Likewise.
11919         (modf_test): Likewise.
11920         (nearbyint_test): Likewise.
11921         (nextafter_test): Likewise.
11922         (nexttoward_test): Likewise.
11923         (pow_test): Likewise.
11924         (pow_test_tonearest): Likewise.
11925         (pow_test_towardzero): Likewise.
11926         (pow_test_downward): Likewise.
11927         (pow_test_upward): Likewise.
11928         (remainder_test): Likewise.
11929         (remainder_test_tonearest): Likewise.
11930         (remainder_test_towardzero): Likewise.
11931         (remainder_test_downward): Likewise.
11932         (remainder_test_upward): Likewise.
11933         (remquo_test): Likewise.
11934         (rint_test): Likewise.
11935         (rint_test_tonearest): Likewise.
11936         (rint_test_towardzero): Likewise.
11937         (rint_test_downward): Likewise.
11938         (rint_test_upward): Likewise.
11939         (round_test): Likewise.
11940         (scalb_test): Likewise.
11941         (scalbn_test): Likewise.
11942         (scalbln_test): Likewise.
11943         (signbit_test): Likewise.
11944         (sin_test): Likewise.
11945         (sin_test_tonearest): Likewise.
11946         (sin_test_towardzero): Likewise.
11947         (sin_test_downward): Likewise.
11948         (sin_test_upward): Likewise.
11949         (sincos_test): Likewise.
11950         (sinh_test): Likewise.
11951         (sinh_test_tonearest): Likewise.
11952         (sinh_test_towardzero): Likewise.
11953         (sinh_test_downward): Likewise.
11954         (sinh_test_upward): Likewise.
11955         (sqrt_test): Likewise.
11956         (tan_test): Likewise.
11957         (tan_test_tonearest): Likewise.
11958         (tan_test_towardzero): Likewise.
11959         (tan_test_downward): Likewise.
11960         (tan_test_upward): Likewise.
11961         (tanh_test): Likewise.
11962         (tgamma_test): Likewise.
11963         (trunc_test): Likewise.
11964         (y0_test): Likewise.
11965         (y1_test): Likewise.
11966         (yn_test): Likewise.
11967         (significand_test): Likewise.
11969 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
11971         [BZ #15381]
11972         * libio/genops.c (_IO_no_init): Initialize wide struct info.
11974 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
11976         [BZ #14894]
11977         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
11978         __ppc_mdoio and __ppc_mdoom.
11979         * manual/platform.texi: Document new functions __ppc_yield,
11980         __ppc_mdoio and __ppc_mdoom.
11982 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
11984         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
11985         (main): Mention "tls" pseudo-hwcap is legacy.
11986         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
11988 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
11990         * math/gen-libm-test.pl (parse_args): Output only string of
11991         arguments as text for test name, not full call or descriptions of
11992         tests for extra outputs.
11993         (generate_testfile): Do not pass function name to parse_args.
11994         Generate this_func variable from START.
11995         * math/libm-test.inc (struct test_f_f_data): Rename test_name
11996         field to arg_str.
11997         (struct test_ff_f_data): Likewise.
11998         (test_ff_f_data_nexttoward): Likewise.
11999         (struct test_fi_f_data): Likewise.
12000         (struct test_fl_f_data): Likewise.
12001         (struct test_if_f_data): Likewise.
12002         (struct test_fff_f_data): Likewise.
12003         (struct test_c_f_data): Likewise.
12004         (struct test_f_f1_data): Likewise.  Remove field extra_name.
12005         (struct test_fF_f1_data): Likewise.
12006         (struct test_ffI_f1_data): Likewise.
12007         (struct test_c_c_data): Rename test_name field to arg_str.
12008         (struct test_cc_c_data): Likewise.
12009         (struct test_f_i_data): Likewise.
12010         (struct test_ff_i_data): Likewise.
12011         (struct test_f_l_data): Likewise.
12012         (struct test_f_L_data): Likewise.
12013         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
12014         and extra2_name.
12015         (COMMON_TEST_SETUP): New macro.
12016         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
12017         (COMMON_TEST_CLEANUP): Likewise.
12018         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
12019         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
12020         macros.
12021         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
12022         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
12023         macros.
12024         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
12025         (RUN_TEST_fff_f): Take argument string.  Call new setup and
12026         cleanup macros.
12027         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
12028         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
12029         macros.
12030         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
12031         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
12032         macros.
12033         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12034         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
12035         cleanup macros.
12036         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12037         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
12038         cleanup macros.
12039         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12040         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
12041         cleanup macros.
12042         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12043         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
12044         macros.
12045         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
12046         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
12047         macros.
12048         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
12049         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
12050         macros.
12051         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
12052         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
12053         cleanup macros.
12054         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
12055         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
12056         cleanup macros.
12057         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
12058         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
12059         macros.
12060         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
12061         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
12062         cleanup macros.
12063         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
12064         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
12065         macros.
12066         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
12067         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
12068         macros.
12069         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
12070         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
12071         cleanup macros.
12072         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
12074 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12076         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
12077         to _sifields.sigfault.
12078         (si_addr_lsb): Define new macro.
12079         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12080         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
12081         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
12083 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
12085         [BZ #15441]
12086         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
12087         returns -1.
12088         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
12089         null return -1.
12090         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
12091         loading the domain.
12093 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
12095         * math/gen-libm-test.pl (parse_args): Do not include expected
12096         result in test name.
12097         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
12098         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12099         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12100         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12101         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12104 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12106         * benchtests/Makefile: Sort function entries.
12108         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
12109         tanh, asinh, acosh, atanh.
12110         * benchtests/acos-inputs: New file.
12111         * benchtests/acosh-inputs: New file.
12112         * benchtests/asin-inputs: New file.
12113         * benchtests/asinh-inputs: New file.
12114         * benchtests/atanh-inputs: New file.
12115         * benchtests/cosh-inputs: New file.
12116         * benchtests/log-inputs: New file.
12117         * benchtests/sinh-inputs: New file.
12118         * benchtests/tanh-inputs: New file.
12120 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
12122         [BZ #15339]
12123         * posix/tst-getaddrinfo4.c: New test.
12124         * posix/Makefile (tests): Add it.
12126 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12128         [BZ #15339]
12129         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
12130         when no services were used.
12131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
12132         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
12134 2013-05-21  Andreas Schwab  <schwab@suse.de>
12136         [BZ #15014]
12137         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
12138         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
12139         successful.
12140         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
12141         redundant variable declarations and reallocation of buffer when
12142         parsing as IPv6 address.  Always set NSS status when called from
12143         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
12144         buffer too small.  Correct computation of needed size.
12145         * nss/Makefile (tests): Add test-digits-dots.
12146         * nss/test-digits-dots.c: New test.
12148 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12150         * benchtests/Makefile: Remove instructions for adding
12151         benchmark tests.
12152         * benchtests/README: New file to explain how to execute and
12153         enhance the benchmark tests.
12155 2013-05-21  Andreas Schwab  <schwab@suse.de>
12157         [BZ #15493]
12158         * setjmp/Makefile (tests): Add tst-sigsetjmp.
12159         * setjmp/tst-sigsetjmp.c: New test.
12161 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12163         * sysdeps/x86_64/memset.S (memset): New implementation.
12164         (__bzero): Likewise.
12165         (__memset_tail): New function.
12167 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
12169         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
12170         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
12171         __memcpy_sse2_unaligned ifunc selection.
12172         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12173         Add memcpy-sse2-unaligned.S.
12174         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12175         Add: __memcpy_sse2_unaligned.
12177 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
12179         [BZ #15490]
12180         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12181         math_force_eval before restoring floating-point envrionment.
12182         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
12183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
12184         Likewise.
12185         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
12186         <math_private.h>.
12187         (__nearbyintl): Use math_force_eval before restoring
12188         floating-point environment.
12189         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
12191         * math/gen-libm-test.pl (special_functions): Remove.
12192         (parse_args): Don't handle TEST_extra.  Handle functions with no
12193         return value.
12194         * math/libm-test.inc (struct test_sincos_data): Replace with
12195         struct test_fFF_11_data.
12196         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
12197         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
12198         (sincos_test_data): Change element type to struct
12199         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
12200         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
12201         RUN_TEST_LOOP_sincos.
12202         * math/README.libm-test: Don't mention special handling of
12203         individual functions.
12204         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
12205         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12206         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12207         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
12208         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12211         * math/gen-libm-test.pl (get_variable): Remove function.
12212         (parse_args): Don't show pointer parameters to call in test
12213         names.  Use "extra output N" in test names for extra outputs
12214         rather than naming variables.
12216 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
12218         [BZ #15488]
12219         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
12220         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
12221         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
12222         double tests.
12223         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
12224         disable.
12225         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
12226         check_long_double.
12228         * math/gen-libm-test.pl (@tests): Remove variable.
12229         ($count): Likewise.
12230         (new_test): Remove function.
12231         (show_exceptions): New function.
12232         (special_functions): Use show_exceptions instead of new_test.
12233         (parse_args): Likewise.
12234         (generate_testfile): Pass only function name in generated call to
12235         print_max_error or print_complex_max_error.
12236         (get_ulps): Do not handle complex tests specially.
12237         (output_test): Rename to ...
12238         (get_all_ulps_for_test): ... this.  Return a string rather than
12239         printing to a file.  Require ulps to be present.
12240         (output_ulps): Generate arrays rather than #defines.
12241         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
12242         (struct ulp_data): New type.
12243         (BUILD_COMPLEX_ULP): Remove macro.
12244         (compare_ulp_data): New function.
12245         (find_ulps): Likewise.
12246         (find_test_ulps): Likewise.
12247         (find_function_ulps): Likewise.
12248         (find_complex_function_ulps): Likewise.
12249         (print_max_error): Determine allowed ulps using
12250         find_function_ulps.
12251         (print_complex_max_error): Determine allowed ulps using
12252         find_complex_function_ulps.
12253         (check_float_internal): Determine max ulps using find_test_ulps.
12254         (check_float): Do not take max_ulp parameter.  Update call to
12255         check_float_internal.
12256         (check_complex): Likewise.
12257         (check_int): Do not take max_ulp parameter.
12258         (check_long): Likewise.
12259         (check_bool): Likewise.
12260         (check_longlong): Likewise.
12261         (struct test_f_f_data): Remove max_ulp field.
12262         (struct test_ff_f_data): Likewise.
12263         (struct test_ff_f_data_nexttoward): Likewise.
12264         (struct test_fi_f_data): Likewise.
12265         (struct test_fl_f_data): Likewise.
12266         (struct test_if_f_data): Likewise.
12267         (struct test_fff_f_data): Likewise.
12268         (struct test_c_f_data): Likewise.
12269         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
12270         (struct test_fF_f1_data): Likewise.
12271         (struct test_ffI_f1_data): Likewise.
12272         (struct test_c_c_data): Remove max_ulp field.
12273         (struct test_cc_c_data): Likewise.
12274         (struct test_f_i_data): Likewise.
12275         (struct test_ff_i_data): Likewise.
12276         (struct test_f_l_data): Likewise.
12277         (struct test_f_L_data): Likewise.
12278         (struct test_sincos_data): Likewise.
12279         (RUN_TEST_f_f): Do not handle ulps.
12280         (RUN_TEST_LOOP_f_f): Likewise.
12281         (RUN_TEST_2_f): Likewise.
12282         (RUN_TEST_LOOP_2_f): Likewise.
12283         (RUN_TEST_fff_f): Likewise.
12284         (RUN_TEST_LOOP_fff_f): Likewise.
12285         (RUN_TEST_c_f): Likewise.
12286         (RUN_TEST_LOOP_c_f): Likewise.
12287         (RUN_TEST_f_f1): Likewise.
12288         (RUN_TEST_LOOP_f_f1): Likewise.
12289         (RUN_TEST_fF_f1): Likewise.
12290         (RUN_TEST_LOOP_fF_f1): Likewise.
12291         (RUN_TEST_fI_f1): Likewise.
12292         (RUN_TEST_LOOP_fI_f1): Likewise.
12293         (RUN_TEST_ffI_f1): Likewise.
12294         (RUN_TEST_LOOP_ffI_f1): Likewise.
12295         (RUN_TEST_c_c): Likewise.
12296         (RUN_TEST_LOOP_c_c): Likewise.
12297         (RUN_TEST_cc_c): Likewise.
12298         (RUN_TEST_LOOP_cc_c): Likewise.
12299         (RUN_TEST_f_i): Likewise.
12300         (RUN_TEST_LOOP_f_i): Likewise.
12301         (RUN_TEST_f_i_tg): Likewise.
12302         (RUN_TEST_LOOP_f_i_tg): Likewise.
12303         (RUN_TEST_ff_i_tg): Likewise.
12304         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12305         (RUN_TEST_f_b): Likewise.
12306         (RUN_TEST_LOOP_f_b): Likewise.
12307         (RUN_TEST_f_b_tg): Likewise.
12308         (RUN_TEST_LOOP_f_b_tg): Likewise.
12309         (RUN_TEST_f_l): Likewise.
12310         (RUN_TEST_LOOP_f_l): Likewise.
12311         (RUN_TEST_f_L): Likewise.
12312         (RUN_TEST_LOOP_f_L): Likewise.
12313         (RUN_TEST_sincos): Likewise.
12314         (RUN_TEST_LOOP_sincos): Likewise.
12316 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
12318         [BZ #15480]
12319         [BZ #15485]
12320         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
12321         main case of finite arguments, set rounding mode to FE_TONEAREST
12322         and discard exceptions.
12323         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
12324         exceptions.
12325         (remainder_tonearest_test_data): New variable.
12326         (remainder_test_tonearest): New function.
12327         (remainder_towardzero_test_data): New variable.
12328         (remainder_test_towardzero): New function.
12329         (remainder_downward_test_data): New variable.
12330         (remainder_test_downward): New function.
12331         (remainder_upward_test_data): New variable.
12332         (remainder_test_upward): New function.
12333         (main): Call the new test functions.
12335         * math/libm-test.inc (struct test_f_f1_data): Remove field
12336         extra_init.
12337         (struct test_fF_f1_data): Likewise.
12338         (struct test_ffI_f1_data): Likewise.
12339         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
12340         based on value of EXTRA_EXPECTED.
12341         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
12342         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
12343         EXTRA_VAR based on value of EXTRA_EXPECTED.
12344         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
12345         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
12346         EXTRA_VAR based on value of EXTRA_EXPECTED.
12347         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
12348         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
12349         EXTRA_VAR based on value of EXTRA_EXPECTED.
12350         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
12351         * math/gen-libm-test.pl (parse_args): Don't output initializers
12352         for extra output values.
12354         * math/libm-test.inc (check_int): Expect result to be exactly
12355         equal to expected value and do not handle ulps.
12356         (check_long): Likewise.
12357         (check_longlong): Likewise.
12359         * math/libm-test.inc (ceil_test_data): Test for "inexact"
12360         exceptions.
12361         (cimag_test_data): Likewise.
12362         (conj_test_data): Likewise.
12363         (copysign_test_data): Likewise.
12364         (cproj_test_data): Likewise.
12365         (creal_test_data): Likewise.
12366         (fabs_test_data): Likewise.
12367         (fdim_test_data): Likewise.
12368         (finite_test_data): Likewise.
12369         (floor_test_data): Likewise.
12370         (fmax_test_data): Likewise.
12371         (fmin_test_data): Likewise.
12372         (fmod_test_data): Likewise.
12373         (fpclassify_test_data): Likewise.
12374         (frexp_test_data): Likewise.
12375         (ilogb_test_data): Likewise.
12376         (isfinite_test_data): Likewise.
12377         (isgreater_test_data): Likewise.
12378         (isgreaterequal_test_data): Likewise.
12379         (isinf_test_data): Likewise.
12380         (isless_test_data): Likewise.
12381         (islessequal_test_data): Likewise.
12382         (islessgreater_test_data): Likewise.
12383         (isnan_test_data): Likewise.
12384         (isnormal_test_data): Likewise.
12385         (issignaling_test_data): Likewise.
12386         (isunordered_test_data): Likewise.
12387         (ldexp_test_data): Likewise.
12388         (lrint_test_data): Likewise.
12389         (lrint_test_data) [TEST_FLOAT]: Disable one test.
12390         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
12391         (lrint_tonearest_test_data): Test for "inexact" exceptions.
12392         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12393         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
12394         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12395         test input.
12396         (lrint_towardzero_test_data): Test for "inexact" exceptions.
12397         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12398         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
12399         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
12400         that test input.
12401         (lrint_downward_test_data): Test for "inexact" exceptions.
12402         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12403         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
12404         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
12405         test input.
12406         (lrint_upward_test_data): Test for "inexact" exceptions.
12407         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
12408         test input.
12409         (llrint_test_data): Test for "inexact" exceptions.
12410         (llrint_test_data) [TEST_FLOAT]: Disable one test.
12411         (llrint_tonearest_test_data): Test for "inexact" exceptions.
12412         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
12413         (llrint_towardzero_test_data): Test for "inexact" exceptions.
12414         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
12415         (llrint_downward_test_data): Test for "inexact" exceptions.
12416         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
12417         (llrint_upward_test_data): Test for "inexact" exceptions.
12418         (logb_test_data): Likewise.
12419         (logb_downward_test_data): Likewise.
12420         (nextafter_test_data): Likewise.
12421         (nexttoward_test_data): Likewise.
12422         (remainder_test_data): Likewise.
12423         (remquo_test_data): Likewise.
12424         (scalbn_test_data): Likewise.
12425         (scalbln_test_data): Likewise.
12426         (signbit_test_data): Likewise.
12427         (sqrt_test_data): Likewise.
12428         (significand_test_data): Likewise.
12430 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12432         [BZ #15424]
12433         * benchtests/bench-modf.c (struct args): Mark arg0 as
12434         volatile.
12435         * scripts/bench.pl: Mark members of struct args as volatile.
12437 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12439         [BZ # 15497]
12440         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
12441         negative infinity on POWER6 or lower.
12442         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
12444 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12446         [BZ #15442]
12447         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
12448         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
12449         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
12450         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
12451         (_FP_SETQNAN): New macro.
12452         (_FP_SETQNAN_SEMIRAW): Likewise.
12453         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
12454         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
12455         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
12456         (FP_EXTEND): Use _FP_FRAC_SNANP.
12457         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
12458         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
12459         into account.
12460         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12461         New macro.
12462         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
12463         Likewise.
12465 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12467         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
12468         with DIVIDE_BY_ZERO_EXCEPTION.
12469         (gamma_test_data): Likewise.
12470         (lgamma_test_data): Likewise.
12471         (log_test_data): Likewise.
12472         (log10_test_data): Likewise.
12473         (log2_test_data): Likewise.
12474         (tgamma_test_data): Likewise.
12476         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
12477         (acos_test_tonearest): Likewise.
12478         (acos_test_towardzero): Likewise.
12479         (acos_test_downward): Likewise.
12480         (acos_test_upward): Likewise.
12481         (acosh_test): Likewise.
12482         (asin_test): Likewise.
12483         (asin_test_tonearest): Likewise.
12484         (asin_test_towardzero): Likewise.
12485         (asin_test_downward): Likewise.
12486         (asin_test_upward): Likewise.
12487         (asinh_test): Likewise.
12488         (atan_test): Likewise.
12489         (atanh_test): Likewise.
12490         (atan2_test): Likewise.
12491         (cabs_test): Likewise.
12492         (cacos_test): Likewise.
12493         (cacosh_test): Likewise.
12494         (casin_test): Likewise.
12495         (casinh_test): Likewise.
12496         (catan_test): Likewise.
12497         (catanh_test): Likewise.
12498         (cbrt_test): Likewise.
12499         (ccos_test): Likewise.
12500         (ccosh_test): Likewise.
12501         (cexp_test): Likewise.
12502         (clog_test): Likewise.
12503         (clog10_test): Likewise.
12504         (cos_test): Likewise.
12505         (cos_test_tonearest): Likewise.
12506         (cos_test_towardzero): Likewise.
12507         (cos_test_downward): Likewise.
12508         (cos_test_upward): Likewise.
12509         (cosh_test): Likewise.
12510         (cosh_test_tonearest): Likewise.
12511         (cosh_test_towardzero): Likewise.
12512         (cosh_test_downward): Likewise.
12513         (cosh_test_upward): Likewise.
12514         (cpow_test): Likewise.
12515         (csin_test): Likewise.
12516         (csinh_test): Likewise.
12517         (csqrt_test): Likewise.
12518         (ctan_test): Likewise.
12519         (ctan_test_tonearest): Likewise.
12520         (ctan_test_towardzero): Likewise.
12521         (ctan_test_downward): Likewise.
12522         (ctan_test_upward): Likewise.
12523         (ctanh_test): Likewise.
12524         (ctanh_test_tonearest): Likewise.
12525         (ctanh_test_towardzero): Likewise.
12526         (ctanh_test_downward): Likewise.
12527         (ctanh_test_upward): Likewise.
12528         (erf_test): Likewise.
12529         (erfc_test): Likewise.
12530         (exp_test): Likewise.
12531         (exp_test_tonearest): Likewise.
12532         (exp_test_towardzero): Likewise.
12533         (exp_test_downward): Likewise.
12534         (exp_test_upward): Likewise.
12535         (exp10_test): Likewise.
12536         (exp2_test): Likewise.
12537         (expm1_test): Likewise.
12538         (fmod_test): Likewise.
12539         (gamma_test): Likewise.
12540         (hypot_test): Likewise.
12541         (j0_test): Likewise.
12542         (j1_test): Likewise.
12543         (jn_test): Likewise.
12544         (lgamma_test): Likewise.
12545         (log_test): Likewise.
12546         (log10_test): Likewise.
12547         (log1p_test): Likewise.
12548         (log2_test): Likewise.
12549         (logb_test_downward): Likewise.
12550         (pow_test): Likewise.
12551         (pow_test_tonearest): Likewise.
12552         (pow_test_towardzero): Likewise.
12553         (pow_test_downward): Likewise.
12554         (pow_test_upward): Likewise.
12555         (remainder_test): Likewise.
12556         (remquo_test): Likewise.
12557         (sin_test): Likewise.
12558         (sin_test_tonearest): Likewise.
12559         (sin_test_towardzero): Likewise.
12560         (sin_test_downward): Likewise.
12561         (sin_test_upward): Likewise.
12562         (sincos_test): Likewise.
12563         (sinh_test): Likewise.
12564         (sinh_test_tonearest): Likewise.
12565         (sinh_test_towardzero): Likewise.
12566         (sinh_test_downward): Likewise.
12567         (sinh_test_upward): Likewise.
12568         (sqrt_test): Likewise.
12569         (tan_test): Likewise.
12570         (tan_test_tonearest): Likewise.
12571         (tan_test_towardzero): Likewise.
12572         (tan_test_downward): Likewise.
12573         (tan_test_upward): Likewise.
12574         (tanh_test): Likewise.
12575         (tgamma_test): Likewise.
12576         (y0_test): Likewise.
12577         (y1_test): Likewise.
12578         (yn_test): Likewise.
12580         * math/gen-libm-test.pl (adjust_arg): Remove function.
12581         (special_function): Remove argument $in_func.  Only handle
12582         generating output for tables of tests, not inside functions.
12583         (parse_args): Likewise.
12584         (generate_testfile): Remove variable $in_func.  Update call to
12585         parse_args.
12586         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
12587         (MINUS_ZERO_INIT): Rename macro to minus_zero.
12588         (PLUS_INFTY_INIT): Rename macro to plus_infty.
12589         (MINUS_INFTY_INIT): Rename macro to minus_infty.
12590         (QNAN_VALUE_INIT): Rename macro to qnan_value.
12591         (MAX_VALUE_INIT): Rename macro to max_value.
12592         (MIN_VALUE_INIT): Rename macro to min_value.
12593         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
12594         (plus_zero): Remove variable.
12595         (minus_zero): Likewise.
12596         (plus_infty): Likewise.
12597         (minus_infty): Likewise.
12598         (qnan_value): Likewise.
12599         (max_value): Likewise.
12600         (min_value): Likewise.
12601         (min_subnorm_value): Likewise.
12603 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12605         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
12606         uint64_t or uint32_t usage.
12607         * crypt/sha256-block.c: Likewise.
12608         * crypt/sha256-crypt.c: Likewise.
12609         * crypt/sha256.c: Likewise.
12610         * crypt/sha512-block.c: Likewise.
12611         * crypt/sha512-crypt.c: Likewise.
12612         * crypt/sha512.c: Likewise.
12613         * debug/backtrace-tst.c: Likewise.
12614         * debug/pcprofiledump.c: Likewise.
12615         * elf/cache.c: Likewise.
12616         * elf/dl-cache.c: Likewise.
12617         * elf/dl-misc.c: Likewise.
12618         * elf/dl-profile.c: Likewise.
12619         * elf/dl-support.c: Likewise.
12620         * elf/ldconfig.c: Likewise.
12621         * elf/sprof.c: Likewise.
12622         * iconv/dummy-repertoire.c: Likewise.
12623         * iconv/iconv_charmap.c: Likewise.
12624         * iconv/skeleton.c: Likewise.
12625         * iconvdata/8bit-generic.c: Likewise.
12626         * iconvdata/cp737.h: Likewise.
12627         * iconvdata/cp775.h: Likewise.
12628         * iconvdata/ibm1008.h: Likewise.
12629         * iconvdata/ibm1025.h: Likewise.
12630         * iconvdata/ibm1046.h: Likewise.
12631         * iconvdata/ibm1097.h: Likewise.
12632         * iconvdata/ibm1112.h: Likewise.
12633         * iconvdata/ibm1122.h: Likewise.
12634         * iconvdata/ibm1123.h: Likewise.
12635         * iconvdata/ibm1124.h: Likewise.
12636         * iconvdata/ibm1129.h: Likewise.
12637         * iconvdata/ibm1130.h: Likewise.
12638         * iconvdata/ibm1132.h: Likewise.
12639         * iconvdata/ibm1133.h: Likewise.
12640         * iconvdata/ibm1137.h: Likewise.
12641         * iconvdata/ibm1140.h: Likewise.
12642         * iconvdata/ibm1141.h: Likewise.
12643         * iconvdata/ibm1142.h: Likewise.
12644         * iconvdata/ibm1143.h: Likewise.
12645         * iconvdata/ibm1144.h: Likewise.
12646         * iconvdata/ibm1145.h: Likewise.
12647         * iconvdata/ibm1146.h: Likewise.
12648         * iconvdata/ibm1147.h: Likewise.
12649         * iconvdata/ibm1148.h: Likewise.
12650         * iconvdata/ibm1149.h: Likewise.
12651         * iconvdata/ibm1153.h: Likewise.
12652         * iconvdata/ibm1154.h: Likewise.
12653         * iconvdata/ibm1155.h: Likewise.
12654         * iconvdata/ibm1156.h: Likewise.
12655         * iconvdata/ibm1157.h: Likewise.
12656         * iconvdata/ibm1158.h: Likewise.
12657         * iconvdata/ibm1160.h: Likewise.
12658         * iconvdata/ibm1161.h: Likewise.
12659         * iconvdata/ibm1162.h: Likewise.
12660         * iconvdata/ibm1163.h: Likewise.
12661         * iconvdata/ibm1164.h: Likewise.
12662         * iconvdata/ibm1166.h: Likewise.
12663         * iconvdata/ibm1167.h: Likewise.
12664         * iconvdata/ibm12712.h: Likewise.
12665         * iconvdata/ibm1390.h: Likewise.
12666         * iconvdata/ibm1399.h: Likewise.
12667         * iconvdata/ibm16804.h: Likewise.
12668         * iconvdata/ibm4517.h: Likewise.
12669         * iconvdata/ibm4899.h: Likewise.
12670         * iconvdata/ibm4909.h: Likewise.
12671         * iconvdata/ibm4971.h: Likewise.
12672         * iconvdata/ibm5347.h: Likewise.
12673         * iconvdata/ibm803.h: Likewise.
12674         * iconvdata/ibm856.h: Likewise.
12675         * iconvdata/ibm901.h: Likewise.
12676         * iconvdata/ibm902.h: Likewise.
12677         * iconvdata/ibm9030.h: Likewise.
12678         * iconvdata/ibm9066.h: Likewise.
12679         * iconvdata/ibm921.h: Likewise.
12680         * iconvdata/ibm922.h: Likewise.
12681         * iconvdata/ibm9448.h: Likewise.
12682         * iconvdata/isiri-3342.h: Likewise.
12683         * iconvdata/jis0201.h: Likewise.
12684         * include/link.h: Likewise.
12685         * include/netdb.h: Likewise.
12686         * inet/check_native.c: Likewise.
12687         * inet/check_pf.c: Likewise.
12688         * inet/getipv4sourcefilter.c: Likewise.
12689         * inet/getnameinfo.c: Likewise.
12690         * inet/getsourcefilter.c: Likewise.
12691         * inet/htonl.c: Likewise.
12692         * inet/setipv4sourcefilter.c: Likewise.
12693         * inet/setsourcefilter.c: Likewise.
12694         * inet/test-inet6_opt.c: Likewise.
12695         * inet/tst-network.c: Likewise.
12696         * locale/C-collate.c: Likewise.
12697         * locale/C-ctype.c: Likewise.
12698         * locale/C-time.c: Likewise.
12699         * locale/C-translit.h: Likewise.
12700         * locale/loadarchive.c: Likewise.
12701         * locale/programs/3level.h: Likewise.
12702         * locale/programs/charmap.c: Likewise.
12703         * locale/programs/charmap.h: Likewise.
12704         * locale/programs/ld-address.c: Likewise.
12705         * locale/programs/ld-collate.c: Likewise.
12706         * locale/programs/ld-ctype.c: Likewise.
12707         * locale/programs/ld-identification.c: Likewise.
12708         * locale/programs/ld-measurement.c: Likewise.
12709         * locale/programs/ld-messages.c: Likewise.
12710         * locale/programs/ld-monetary.c: Likewise.
12711         * locale/programs/ld-name.c: Likewise.
12712         * locale/programs/ld-numeric.c: Likewise.
12713         * locale/programs/ld-paper.c: Likewise.
12714         * locale/programs/ld-telephone.c: Likewise.
12715         * locale/programs/ld-time.c: Likewise.
12716         * locale/programs/linereader.c: Likewise.
12717         * locale/programs/locale.c: Likewise.
12718         * locale/programs/locarchive.c: Likewise.
12719         * locale/programs/locfile.h: Likewise.
12720         * locale/programs/repertoire.c: Likewise.
12721         * locale/programs/simple-hash.c: Likewise.
12722         * locale/programs/simple-hash.h: Likewise.
12723         * malloc/memusage.c: Likewise.
12724         * malloc/memusagestat.c: Likewise.
12725         * nis/nis_defaults.c: Likewise.
12726         * nis/nis_hash.c: Likewise.
12727         * nis/nis_print.c: Likewise.
12728         * nis/nis_xdr.c: Likewise.
12729         * nscd/connections.c: Likewise.
12730         * nscd/hstcache.c: Likewise.
12731         * nscd/nscd_gethst_r.c: Likewise.
12732         * nscd/nscd_getserv_r.c: Likewise.
12733         * nscd/nscd_helper.c: Likewise.
12734         * nscd/servicescache.c: Likewise.
12735         * nss/makedb.c: Likewise.
12736         * nss/nss_db/db-XXX.c: Likewise.
12737         * nss/nss_db/db-initgroups.c: Likewise.
12738         * nss/nss_db/db-netgrp.c: Likewise.
12739         * nss/nss_files/files-network.c: Likewise.
12740         * nss/nss_files/files-parse.c: Likewise.
12741         * posix/bug-regex5.c: Likewise.
12742         * posix/fnmatch_loop.c: Likewise.
12743         * posix/regcomp.c: Likewise.
12744         * posix/regexec.c: Likewise.
12745         * posix/tst-rfc3484-2.c: Likewise.
12746         * posix/tst-rfc3484-3.c: Likewise.
12747         * posix/tst-rfc3484.c: Likewise.
12748         * resolv/nss_dns/dns-canon.c: Likewise.
12749         * resolv/nss_dns/dns-network.c: Likewise.
12750         * resolv/res_init.c: Likewise.
12751         * resolv/res_mkquery.c: Likewise.
12752         * resolv/tst-aton.c: Likewise.
12753         * stdlib/cxa_atexit.c: Likewise.
12754         * stdlib/cxa_finalize.c: Likewise.
12755         * stdlib/gen-fpioconst.c: Likewise.
12756         * stdlib/strtol_l.c: Likewise.
12757         * string/tst-endian.c: Likewise.
12758         * sunrpc/auth_des.c: Likewise.
12759         * sunrpc/clnt_udp.c: Likewise.
12760         * sunrpc/rtime.c: Likewise.
12761         * sunrpc/svcauth_des.c: Likewise.
12762         * sunrpc/xdr.c: Likewise.
12763         * sunrpc/xdr_intXX_t.c: Likewise.
12764         * sunrpc/xdr_rec.c: Likewise.
12765         * sysdeps/generic/ldconfig.h: Likewise.
12766         * sysdeps/generic/ldsodefs.h: Likewise.
12767         * sysdeps/generic/memusage.h: Likewise.
12768         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
12769         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
12770         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
12771         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12772         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12773         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12774         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
12775         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
12776         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
12777         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12778         * sysdeps/posix/getaddrinfo.c: Likewise.
12779         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12780         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12781         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12782         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12783         * sysdeps/powerpc/test-gettimebase.c: Likewise.
12784         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
12785         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
12786         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
12787         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
12789         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
12790         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
12791         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
12792         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
12793         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
12794         * sysdeps/x86_64/dl-tls.h: Likewise.
12795         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
12796         * time/alt_digit.c: Likewise.
12797         * time/era.c: Likewise.
12798         * wcsmbs/tst-c16c32-1.c: Likewise.
12800 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12802         * math/libm-test.inc (struct test_sincos_data): New type.
12803         (RUN_TEST_LOOP_sincos): New macro.
12804         (sincos_test_data): New variable.
12805         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
12807 2013-05-16  Richard Henderson  <rth@redhat.com>
12809         * math/atest-exp2.c (LIMB64): New macro.
12810         (CONSTSZ): New macro.
12811         (mp_exp1, mp_exp_m1, mp_log2): New variables.
12812         (hexdig): Move ...
12813         (print_mpn_fp): ... to function scope.
12814         (read_mpn_hex): Remove.
12815         (get_log2): Remove.
12816         (exp2_mpn): Use mp_log2.
12817         (main): Use mp_exp1.
12819 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
12821         * math/libm-test.inc: Remove comment about not testing "inexact"
12822         exceptions.
12823         (INEXACT_EXCEPTION): New macro.
12824         (NO_INEXACT_EXCEPTION): Likewise.
12825         (INVALID_EXCEPTION_OK): Update value.
12826         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
12827         (OVERFLOW_EXCEPTION_OK): Likewise.
12828         (UNDERFLOW_EXCEPTION_OK): Likewise.
12829         (IGNORE_ZERO_INF_SIGN): Likewise.
12830         (ERRNO_UNCHANGED): Likewise.
12831         (ERRNO_EDOM): Likewise.
12832         (ERRNO_ERANGE): Likewise.
12833         (test_exceptions): Handle testing "inexact" exceptions.
12834         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
12835         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
12836         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
12837         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
12838         INEXACT_EXCEPTION.
12839         (rint_towardzero_test_data): Likewise.
12840         (rint_downward_test_data): Likewise.
12841         (rint_upward_test_data): Likewise.
12843         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
12844         with OVERFLOW_EXCEPTION.
12845         (exp10_test_data): Likewise.
12846         (exp2_test_data): Likewise.
12847         (expm1_test_data): Likewise.
12848         (lgamma_test_data): Likewise.
12849         (pow_test_data): Likewise.
12850         (tgamma_test_data): Likewise.
12851         (yn_test_data): Remove duplicate test of overflow.
12853         * math/libm-test.inc (struct test_cc_c_data): New type.
12854         (RUN_TEST_LOOP_cc_c): New macro.
12855         (cpow_test_data): New variable.
12856         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
12858         * math/libm-test.inc (struct test_f_L_data): New type.
12859         (RUN_TEST_LOOP_f_L): New macro.
12860         (llrint_test_data): New variable.
12861         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
12862         (llrint_tonearest_test_data): New variable.
12863         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
12864         (llrint_towardzero_test_data): New variable.
12865         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
12866         (llrint_downward_test_data): New variable.
12867         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
12868         (llrint_upward_test_data): New variable.
12869         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
12870         (llround_test_data): New variable.
12871         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
12873 2013-05-13  Peter Collingbourne  <pcc@google.com>
12875         * math/atest-exp2.c (get_log2): Remove const attribute.
12877 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12879         * math/libm-test.inc (struct test_f_l_data): New type.
12880         (RUN_TEST_LOOP_f_l): New macro.
12881         (lrint_test_data): New variable.
12882         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
12883         (lrint_tonearest_test_data): New variable.
12884         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
12885         (lrint_towardzero_test_data): New variable.
12886         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
12887         (lrint_downward_test_data): New variable.
12888         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
12889         (lrint_upward_test_data): New variable.
12890         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
12891         (lround_test_data): New variable.
12892         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
12894 2013-05-15  Peter Collingbourne  <pcc@google.com>
12896         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
12897         (EXTRACT_WORDS64) Use where appropriate.
12898         (INSERT_WORDS64) Likewise.
12900         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
12901         constraints with x constraints.
12902         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
12904         * malloc/obstack.c (_obstack_compat): Add initializer.
12906 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
12908         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
12909         si_trapno and add si_addr_lsb to _sifields.sigfault.
12910         (si_trapno): Remove macro.
12911         (si_addr_lsb): Define new macro.
12912         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
12914 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
12916         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
12917         instead of TEST_f_l.
12918         (llrint_test_tonearest): Likewise.
12919         (llrint_test_towardzero): Likewise.
12920         (llrint_test_downward): Likewise.
12921         (llrint_test_upward): Likewise.
12922         (llround_test): Likewise.
12924         * math/libm-test.inc (struct test_f_i_data): Add comment.
12925         (RUN_TEST_LOOP_f_b): New macro.
12926         (RUN_TEST_LOOP_f_b_tg): Likewise.
12927         (finite_test_data): New variable.
12928         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
12929         (isfinite_test_data): New variable.
12930         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12931         (isinf_test_data): New variable.
12932         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12933         (isnan_test_data): New variable.
12934         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12935         (isnormal_test_data): New variable.
12936         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12937         (issignaling_test_data): New variable.
12938         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12939         (signbit_test_data): New variable.
12940         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
12942         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
12943         with INVALID_EXCEPTION.
12944         (acosh_test_data): Likewise.
12945         (asin_test_data): Likewise.
12946         (atanh_test_data): Likewise.
12947         (fmod_test_data): Likewise.
12948         (log_test_data): Likewise.
12949         (log10_test_data): Likewise.
12950         (log2_test_data): Likewise.
12951         (pow_test_data): Likewise.
12952         (sqrt_test_data): Likewise.
12953         (y0_test_data): Likewise.
12954         (y1_test_data): Likewise.
12955         (yn_test_data): Likewise.
12957         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
12958         function contents.
12960         * math/libm-test.inc (struct test_ff_i_data): New type.
12961         (RUN_TEST_LOOP_ff_i_tg): New macro.
12962         (isgreater_test_data): New variable.
12963         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12964         (isgreaterequal_test_data): New variable.
12965         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12966         (isless_test_data): New variable.
12967         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12968         (islessequal_test_data): New variable.
12969         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12970         (islessgreater_test_data): New variable.
12971         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12972         (isunordered_test_data): New variable.
12973         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
12975 2013-05-14  David S. Miller  <davem@davemloft.net>
12977         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12979 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
12981         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
12983         * math/libm-test.inc (struct test_fF_f1_data): Change type of
12984         extra_test to int.
12985         (struct test_f_i_data): Change type of max_ulp to int.
12987         * math/libm-test.inc (test_ffI_f1_data): New type.
12988         (RUN_TEST_LOOP_ffI_f1): New macro.
12989         (remquo_test_data): New variable.
12990         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
12992         * setjmp/tst-setjmp-fp.c: New file.
12993         * setjmp/Makefile (tests): Add tst-setjmp-fp.
12994         (link-libm): New variable.
12995         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
12997         * math/libm-test.inc (struct test_f_i_data): New type.
12998         (RUN_TEST_LOOP_f_i): New macro.
12999         (RUN_TEST_LOOP_f_i_tg): Likewise.
13000         (fpclassify_test_data): New variable.
13001         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
13002         (ilogb_test_data): New variable.
13003         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
13005         * math/libm-test.inc (scalbln_test): Correct function name in END
13006         call.
13008         * math/libm-test.inc (struct test_f_f1_data): Add comment.
13009         (RUN_TEST_LOOP_fI_f1): New macro.
13010         (frexp_test_data): New variable.
13011         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
13013         * math/libm-test.inc (struct test_fF_f1_data): New type.
13014         (RUN_TEST_LOOP_fF_f1): New macro.
13015         (modf_test_data): New variable.
13016         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
13018         * math/libm-test.inc (struct test_f_f1_data): New type.
13019         (RUN_TEST_LOOP_f_f1): New macro.
13020         (gamma_test_data): New variable.
13021         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13022         (lgamma_test_data): New variable.
13023         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
13025 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
13027         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
13028         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
13029         (main): Comment "tls" pseudo-hwcap.
13031 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
13033         * math/libm-test.inc (struct test_fl_f_data): New type.
13034         (RUN_TEST_LOOP_fl_f): New variable.
13035         (scalbln_test_data): New variable.
13036         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
13038         * math/libm-test.inc (struct test_fi_f_data): New type.
13039         (RUN_TEST_LOOP_fi_f): New macro.
13040         (ldexp_test_data): New variable.
13041         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
13042         (scalbn_test_data): New variable.
13043         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
13045         * math/libm-test.inc (struct test_c_f_data): New type.
13046         (RUN_TEST_LOOP_c_f): New macro.
13047         (cabs_test_data): New variable.
13048         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
13049         (carg_test_data): New variable.
13050         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
13051         (cimag_test_data): New variable.
13052         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
13053         (creal_test_data): New variable.
13054         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
13056         * math/libm-test.inc (struct test_if_f_data): New type.
13057         (RUN_TEST_LOOP_if_f): New macro.
13058         (jn_test_data): New variable.
13059         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
13060         (yn_test_data): New variable.
13061         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
13063         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
13065 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13067         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
13068         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
13070 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13072         * benchtests/Makefile (CPPFLAGS-nonlib): Add
13073         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
13074         (bench-deps): Add bench-timing.h.
13075         * benchtests-bench-skeleton.c: Include bench-timing.h.
13076         (main): Use TIMING_* macros instead of clock_gettime.
13077         * benchtests/bench-timing.h: New file.
13079         [BZ #14582]
13080         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
13081         Renamed from _LIB_VERSION.
13082         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
13084 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
13086         * math/libm-test.inc (struct test_fff_f_data): New type.
13087         (RUN_TEST_LOOP_fff_f): New macro.
13088         (fma_test_data): New variable.
13089         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
13090         (fma_towardzero_test_data): New variable.
13091         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
13092         (fma_downward_test_data): New variable.
13093         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
13094         (fma_upward_test_data): New variable.
13095         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
13097         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
13098         (struct test_c_c_data): New type.
13099         (RUN_TEST_LOOP_c_c): New macro.
13100         (cacos_test_data): New variable.
13101         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
13102         (cacosh_test_data): New variable.
13103         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
13104         (casin_test_data): New variable.
13105         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
13106         (casinh_test_data): New variable.
13107         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
13108         (catan_test_data): New variable.
13109         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
13110         (catanh_test_data): New variable.
13111         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
13112         (ccos_test_data): New variable.
13113         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
13114         (ccosh_test_data): New variable.
13115         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
13116         (cexp_test_data): New variable.
13117         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
13118         (clog_test_data): New variable.
13119         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
13120         (clog10_test_data): New variable.
13121         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
13122         (conj_test_data): New variable.
13123         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
13124         (cproj_test_data): New variable.
13125         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
13126         (csin_test_data): New variable.
13127         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
13128         (csinh_test_data): New variable.
13129         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
13130         (csqrt_test_data): New variable.
13131         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
13132         (ctan_test_data): New variable.
13133         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
13134         (ctan_tonearest_test_data): New variable.
13135         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13136         (ctan_towardzero_test_data): New variable.
13137         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13138         (ctan_downward_test_data): New variable.
13139         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13140         (ctan_upward_test_data): New variable.
13141         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13142         (ctanh_test_data): New variable.
13143         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
13144         (ctanh_tonearest_test_data): New variable.
13145         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
13146         (ctanh_towardzero_test_data): New variable.
13147         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
13148         (ctanh_downward_test_data): New variable.
13149         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
13150         (ctanh_upward_test_data): New variable.
13151         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
13152         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
13153         of BUILD_COMPLEX.
13155         * math/libm-test.inc (struct test_ff_f_data): New type.
13156         (struct test_ff_f_data_nexttoward): Likewise.
13157         (RUN_TEST_LOOP_2_f): New macro.
13158         (RUN_TEST_LOOP_ff_f): Likewise.
13159         (atan2_test_data): New variable.
13160         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
13161         (copysign_test_data): New variable.
13162         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
13163         (fdim_test_data): New variable.
13164         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
13165         (fmax_test_data): New variable.
13166         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
13167         (fmin_test_data): New variable.
13168         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
13169         (fmod_test_data): New variable.
13170         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
13171         (hypot_test_data): New variable.
13172         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
13173         (nextafter_test_data): New variable.
13174         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
13175         (nexttoward_test_data): New variable.
13176         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
13177         (pow_test_data): New variable.
13178         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
13179         (pow_tonearest_test_data): New variable.
13180         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
13181         (pow_towardzero_test_data): New variable.
13182         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
13183         (pow_downward_test_data): New variable.
13184         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
13185         (pow_upward_test_data): New variable.
13186         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
13187         (remainder_test_data): New variable.
13188         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
13189         (scalb_test_data): New variable.
13190         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
13191         * sysdeps/i386/fpu/libm-test-ulps: Update.
13193 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
13195         * math/libm-test.inc (fma_test): Use max_value instead of local
13196         variable fltmax.
13197         (nextafter_test): Likewise.
13199         * math/libm-test.inc (acos_towardzero_test_data): New variable.
13200         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13201         (acos_downward_test_data): New variable.
13202         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13203         (acos_upward_test_data): New variable.
13204         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13205         (acosh_test_data): New variable.
13206         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
13207         (asin_test_data): New variable.
13208         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
13209         (asin_tonearest_test_data): New variable.
13210         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13211         (asin_towardzero_test_data): New variable.
13212         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13213         (asin_downward_test_data): New variable.
13214         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13215         (asin_upward_test_data): New variable.
13216         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13217         (asinh_test_data): New variable.
13218         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
13219         (atan_test_data): New variable.
13220         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
13221         (atanh_test_data): New variable.
13222         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
13223         (cbrt_test_data): New variable.
13224         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
13225         (ceil_test_data): New variable.
13226         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
13227         (cos_test_data): New variable.
13228         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
13229         (cos_tonearest_test_data): New variable.
13230         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13231         (cos_towardzero_test_data): New variable.
13232         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13233         (cos_downward_test_data): New variable.
13234         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13235         (cos_upward_test_data): New variable.
13236         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13237         (cosh_test_data): New variable.
13238         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
13239         (cosh_tonearest_test_data): New variable.
13240         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13241         (cosh_towardzero_test_data): New variable.
13242         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13243         (cosh_downward_test_data): New variable.
13244         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13245         (cosh_upward_test_data): New variable.
13246         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13247         (erf_test_data): New variable.
13248         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
13249         (erfc_test_data): New variable.
13250         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
13251         (exp_test_data): New variable.
13252         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
13253         (exp_tonearest_test_data): New variable.
13254         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13255         (exp_towardzero_test_data): New variable.
13256         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13257         (exp_downward_test_data): New variable.
13258         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13259         (exp_upward_test_data): New variable.
13260         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13261         (exp10_test_data): New variable.
13262         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
13263         (exp2_test_data): New variable.
13264         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
13265         (expm1_test_data): New variable.
13266         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
13267         (fabs_test_data): New variable.
13268         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
13269         (floor_test_data): New variable.
13270         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
13271         (j0_test_data): New variable.
13272         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
13273         (j1_test_data): New variable.
13274         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
13275         (log_test_data): New variable.
13276         (log_test): Run tests with RUN_TEST_LOOP_f_f.
13277         (log10_test_data): New variable.
13278         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
13279         (log1p_test_data): New variable.
13280         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
13281         (log2_test_data): New variable.
13282         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
13283         (logb_test_data): New variable.
13284         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
13285         (logb_downward_test_data): New variable.
13286         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13287         (nearbyint_test_data): New variable.
13288         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
13289         (rint_test_data): New variable.
13290         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
13291         (rint_tonearest_test_data): New variable.
13292         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13293         (rint_towardzero_test_data): New variable.
13294         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13295         (rint_downward_test_data): New variable.
13296         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13297         (rint_upward_test_data): New variable.
13298         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13299         (round_test_data): New variable.
13300         (round_test): Run tests with RUN_TEST_LOOP_f_f.
13301         (sin_test_data): New variable.
13302         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
13303         (sin_tonearest_test_data): New variable.
13304         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13305         (sin_towardzero_test_data): New variable.
13306         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13307         (sin_downward_test_data): New variable.
13308         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13309         (sin_upward_test_data): New variable.
13310         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13311         (sinh_test_data): New variable.
13312         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
13313         (sinh_tonearest_test_data): New variable.
13314         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13315         (sinh_towardzero_test_data): New variable.
13316         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13317         (sinh_downward_test_data): New variable.
13318         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13319         (sinh_upward_test_data): New variable.
13320         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13321         (sqrt_test_data): New variable.
13322         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
13323         (tan_test_data): New variable.
13324         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
13325         (tan_tonearest_test_data): New variable.
13326         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13327         (tan_towardzero_test_data): New variable.
13328         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
13329         (tan_downward_test_data): New variable.
13330         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
13331         (tan_upward_test_data): New variable.
13332         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
13333         (tanh_test_data): New variable.
13334         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
13335         (tgamma_test_data): New variable.
13336         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
13337         (trunc_test_data): New variable.
13338         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
13339         (y0_test_data): New variable.
13340         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
13341         (y1_test_data): New variable.
13342         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
13343         (significand_test_data): New variable.
13344         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
13346 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
13348         [BZ #12387]
13349         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
13351 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
13353         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
13355 2013-05-10  Andreas Jaeger  <aj@suse.de>
13357         [BZ #15448]
13358         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
13359         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
13361 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13363         * math/gen-libm-test.pl (adjust_arg): New function.
13364         (special_functions): Handle generating output in both functions
13365         and arrays.
13366         (parse_args): Likewise.
13367         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
13368         $in_func argument to parse_args.
13369         * math/libm-test.inc (struct test_f_f_data): New type.
13370         (IF_ROUND_INIT_): New macro.
13371         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
13372         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13373         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13374         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13375         (ROUND_RESTORE_): Likewise.
13376         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
13377         (ROUND_RESTORE_FE_TONEAREST): Likewise.
13378         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
13379         (ROUND_RESTORE_FE_UPWARD): Likewise.
13380         (RUN_TEST_LOOP_f_f): New macro.
13381         (acos_test_data): New variable.
13382         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
13383         (acos_tonearest_test_data): New variable.
13384         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
13386 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13388         * benchtests/bench-skeleton.c (startup): Fix coding style.
13390 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
13392         [BZ #6809]
13393         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
13394         negative infinity argument.
13395         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
13396         negative infinity argument.
13397         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
13398         negative infinity argument.
13399         * math/libm-test.inc (tgamma_test): Expect errno to be set for
13400         domain errors.
13402 2013-05-10  Florian Weimer  <fweimer@redhat.com>
13404         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
13405         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
13406         * iconv/iconv_prog.c (main): Likewise.
13407         * locale/programs/charmap-dir.c (charmap_readdir)
13408         (fopen_uncompressed): Likewise.
13409         * locale/programs/locfile.c (siblings_uncached)
13410         (write_locale_data): Use lstat64 instead of lstat.
13411         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
13412         stat.
13414 2013-05-10  Andreas Jaeger  <aj@suse.de>
13416         [BZ #15395]
13417         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
13418         localization.
13419         Include <locale.h>.
13421 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
13423         * elf/dl-close.c (_dl_close_worker): Add comments.
13425 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
13427         [BZ #15359]
13428         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
13429         high part of pi/2.
13430         (__ieee754_rem_pio2l): Update comments.
13432         [BZ #15429]
13433         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
13434         high part of pi/2.
13435         (__ieee754_rem_pio2l): Update comments.
13437         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
13438         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
13440         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
13441         M_PI_4l.
13443         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
13444         (M_PI_34_LOG10El): Likewise.
13445         (M_PI2_LOG10El): Likewise.
13446         (M_PI4_LOG10El): Likewise.
13447         (M_PI_LOG10El): Likewise.
13449 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13453 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
13455         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
13456         (MINUS_ZERO_INIT): Likewise.
13457         (PLUS_INFTY_INIT): Likewise.
13458         (MINUS_INFTY_INIT): Likewise.
13459         (QNAN_VALUE_INIT): Likewise.
13460         (MAX_VALUE_INIT): Likewise.
13461         (MIN_VALUE_INIT): Likewise.
13462         (MIN_SUBNORM_VALUE_INIT): Likewise.
13463         (plus_zero): Initialize with PLUS_ZERO_INIT.
13464         (minus_zero): Initialize with MINUS_ZERO_INIT.
13465         (plus_infty): Initialize with PLUS_INFTY_INIT.
13466         (minus_infty): Initialize with MINUS_INFTY_INIT.
13467         (qnan_value): Initialize with QNAN_VALUE_INIT.
13468         (max_value): Initialize with MAX_VALUE_INIT.
13469         (min_value): Initialize with MIN_VALUE_INIT.
13470         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
13472         * math/libm-test.inc (RUN_TEST_if_f): New macro.
13473         (jn_test): Use TEST_if_f instead of TEST_ff_f.
13474         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
13475         (yn_test): Use TEST_if_f instead of TEST_ff_f.
13477         * math/libm-test.inc (RUN_TEST_f_f): New macro.
13478         (RUN_TEST_2_f): Likewise.
13479         (RUN_TEST_ff_f): Likewise.
13480         (RUN_TEST_fi_f): Likewise.
13481         (RUN_TEST_fl_f): Likewise.
13482         (RUN_TEST_fff_f): Likewise.
13483         (RUN_TEST_c_f): Likewise.
13484         (RUN_TEST_f_f1): Likewise.
13485         (RUN_TEST_fF_f1): Likewise.
13486         (RUN_TEST_fI_f1): Likewise.
13487         (RUN_TEST_ffI_f1): Likewise.
13488         (RUN_TEST_c_c): Likewise.
13489         (RUN_TEST_cc_c): Likewise.
13490         (RUN_TEST_f_i): Likewise.
13491         (RUN_TEST_f_i_tg): Likewise.
13492         (RUN_TEST_ff_i_tg): Likewise.
13493         (RUN_TEST_f_b): Likewise.
13494         (RUN_TEST_f_b_tg): Likewise.
13495         (RUN_TEST_f_l): Likewise.
13496         (RUN_TEST_f_L): Likewise.
13497         (RUN_TEST_sincos): Likewise.
13498         * math/gen-libm-test.pl (new_test): Take new argument to indicate
13499         whether to show exceptions.  Do not include ");\n" in return
13500         value.
13501         (special_functions): Output call to RUN_TEST_sincos instead of
13502         check_float calls.  Update calls to new_test.
13503         (parse_args): Output call to single RUN_TEST_* macro instead of
13504         check_* calls and other assignments.  Update calls to new_test.
13506         [BZ #2546]
13507         [BZ #2560]
13508         [BZ #5159]
13509         [BZ #15426]
13510         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
13511         input to result for tgamma overflow.
13512         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
13513         (gamma_coeff): New variable.
13514         (NCOEFF): New macro.
13515         (gamma_positive): New function.
13516         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
13517         underflow here.  Use gamma_positive instead of exp (lgamma) for
13518         other arguments.
13519         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
13520         (gamma_coeff): New variable.
13521         (NCOEFF): New macro.
13522         (gammaf_positive): New function.
13523         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
13524         underflow here.  Use gamma_positive instead of exp (lgamma) for
13525         other arguments.
13526         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
13527         (gamma_coeff): New variable.
13528         (NCOEFF): New macro.
13529         (gammal_positive): New function.
13530         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
13531         underflow here.  Use gamma_positive instead of exp (lgamma) for
13532         other arguments.
13533         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
13534         (gamma_coeff): New variable.
13535         (NCOEFF): New macro.
13536         (gammal_positive): New function.
13537         (__ieee754_gammal_r): Handle positive infinity, overflow and
13538         underflow here.  Handle NaN the same as positive infinity.  Remove
13539         check x < 0xffffffff for negative integers.  Use gamma_positive
13540         instead of exp (lgamma) for other arguments.
13541         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
13542         (gamma_coeff): New variable.
13543         (NCOEFF): New macro.
13544         (gammal_positive): New function.
13545         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
13546         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
13547         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
13548         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
13549         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
13550         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
13551         * sysdeps/generic/math_private.h (__gamma_productf): New
13552         prototype.
13553         (__gamma_product): Likewise.
13554         (__gamma_productl): Likewise.
13555         * math/Makefile (libm-calls): Add gamma_product.
13556         * math/libm-test.inc (tgamma_test): Add more tests.
13557         * sysdeps/i386/fpu/libm-test-ulps: Update.
13558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13560 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
13562         * benchtests/bench-skeleton.c (main): Preheat CPU.
13564 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
13566         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
13568 2013-05-07  Roland McGrath  <roland@hack.frob.com>
13570         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
13571         and _dl_skip_args_internal.
13573 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
13575         * manual/message.texi (Message Translation): Talk about users.
13576         Message to key mapping impacts design.
13578 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13580         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
13582         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
13584         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
13585         * sysdeps/wordsize-64/glob64.c: ... here.
13587         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
13588         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
13589         New macros.
13591         * debug/getlogin_r_chk.c: Moved to ...
13592         * login/getlogin_r_chk.c: ... here.
13593         * debug/Makefile (routines): Move getlogin_r_chk to ...
13594         * login/Makefile (routines): ... here.
13595         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
13596         * login/Versions (libc: GLIBC_2.4): ... here.
13598         * io/poll.c (__poll): Renamed from poll.
13599         Add libc_hidden_def.
13600         (poll): Define as weak alias.
13602         * debug/ptsname_r_chk.c: Moved to ...
13603         * login/ptsname_r_chk.c: ... here.
13604         * debug/Makefile (routines): Move ptsname_r_chk to ...
13605         * login/Makefile (routines): ... here.
13606         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
13607         * login/Versions (libc: GLIBC_2.4): ... here.
13609         * posix/getlogin.c: Moved to ...
13610         * login/getlogin.c: ... here.
13611         * posix/getlogin_r.c: Moved to ...
13612         * login/getlogin_r.c: ... here.
13613         * posix/getlogin_r.c: Moved to ...
13614         * login/getlogin_r.c: ... here.
13615         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
13616         * login/Makefile (routines): ... here.
13617         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
13618         * login/Versions (libc: GLIBC_2.0): ... here.
13620         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
13621         (setrlimit): Define as weak alias.
13623         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
13624         Call __ names for open, ftruncate, and close.
13625         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
13626         (truncate): Define as weak alias.
13628 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
13630         * math/gen-libm-test.pl (parse_args): Initialize x before each
13631         test of frexp, modf and remquo.
13633         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
13634         test signgam value.
13636 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13638         [BZ #15418]
13639         [BZ #15419]
13640         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
13641         internal tests.
13642         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13644 2013-05-06  Roland McGrath  <roland@hack.frob.com>
13646         * elf/dl-writev.h: New file.
13647         * elf/dl-misc.c: Include it.
13648         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
13649         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
13651 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
13653         * math/libm-test.inc (noXFails): Remove variable.
13654         (noXPasses): Likewise.
13655         (BUILD_COMPLEX_INT): Remove macro.
13656         (print_screen): Remove xfail argument.
13657         (print_screen_max_error): Likewise.
13658         (update_stats): Likewise.
13659         (print_max_error): Likewise.  Update calls to other affected
13660         functions.
13661         (print_complex_max_error): Likewise.
13662         (test_single_exception): Update calls to print_screen.
13663         (test_single_errno): Likewise.
13664         (check_float_internal): Remove xfail argument.  Update calls to
13665         other affected functions.
13666         (check_float): Likewise.
13667         (check_complex): Likewise.
13668         (check_int): Likewise.
13669         (check_long): Likewise.
13670         (check_bool): Likewise.
13671         (check_longlong): Likewise.
13672         (main): Don't print noXFails and noXPasses.
13673         * math/gen-libm-test.pl (top level): Don't mention expected
13674         failure handling in comment.
13675         (new_test): Don't handle expected failures.
13676         (parse_args): Don't mention expected failure handling in comment.
13677         (generate_testfile): Don't handle expected failures.
13678         (parse_ulps): Likewise.
13679         (print_ulps_file): Likewise.
13680         (get_failure): Remove function.
13681         (output_test): Don't handle expected failures.
13682         * make/README.libm-test: Don't mention expected failure handling.
13684         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
13685         (minus_zero): Likewise.
13686         (plus_infty): Likewise.
13687         (minus_infty): Likewise.
13688         (qnan_value): Likewise.
13689         (max_value): Likewise.
13690         (min_value): Likewise.
13691         (min_subnorm_value): Likewise.
13692         (initialize): Do not initialize those variables dynamically.
13694 2013-05-03  Roland McGrath  <roland@hack.frob.com>
13696         * io/open.c (__open_2): Moved to ...
13697         * io/open_2.c: ... this new file.
13698         * io/open64.c (__open64_2): Moved to ...
13699         * io/open64_2.c: ... this new file.
13700         * io/openat.c (__openat_2): Moved to ...
13701         * io/openat_2.c: ... this new file.
13702         * io/openat64.c (__openat64_2): Moved to ...
13703         * io/openat64_2.c: ... this new file.
13704         * io/Makefile (routines): Add them.
13705         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
13706         * sysdeps/unix/sysv/linux/open_2.c: File removed.
13707         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
13708         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
13709         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
13710         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
13711         (__openat64): Add hidden_ver.
13712         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
13713         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
13715         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
13716         Separately conditionalize setting of GLRO(dl_sysinfo) so
13717         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
13718         as well, but the actual setting is only under [NEED_DL_SYSINFO].
13720 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13722         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
13723         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
13724         definition.
13725         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
13726         * sysdeps/unix/sysv/linux/powerpc/init-first.c
13727         (_libc_vdso_platform_setup): Add __vdso_time initialization.
13728         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
13729         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
13731 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
13733         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
13734         test signgam value.
13736         * math/libm-test.inc (hypot_test): Do not use
13737         IGNORE_ZERO_INF_SIGN.
13739 2013-05-03  Andreas Jaeger  <aj@suse.de>
13741         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
13742         Linux 3.9.
13743         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
13744         (PF_MAX): Adjust for VSOCK change.
13746 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13748         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13750 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
13752         [BZ #15264]
13753         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
13754         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
13755         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
13757 2013-05-02  David S. Miller  <davem@davemloft.net>
13759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13761 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
13763         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
13765 2013-05-01  Roland McGrath  <roland@hack.frob.com>
13767         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
13769 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
13771         [BZ #14952]
13772         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
13773         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13774         Use __attribute__ ((__gnu_inline__)).
13775         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
13776         Don't use __attribute__ ((__gnu_inline__)).
13778 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
13780         [BZ #15423]
13781         * math/s_catan.c (__catan): Handle small real or imaginary part of
13782         input specially to avoid spurious underflow.
13783         * math/s_catanf.c (__catanf): Likewise.
13784         * math/s_catanh.c (__catanh): Likewise.
13785         * math/s_catanhf.c (__catanhf): Likewise.
13786         * math/s_catanhl.c (__catanhl): Likewise.
13787         * math/s_catanl.c (__catanl): Likewise.
13788         * math/libm-test.inc (catan_test): Add more tests.
13789         (catanh_test): Likewise.
13790         * sysdeps/i386/fpu/libm-test-ulps: Update.
13791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13793 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13797 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
13799         [BZ #15416]
13800         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
13801         accurately for denominator in atan2.
13802         * math/s_catanf.c (__catanf): Likewise.
13803         * math/s_catanh.c (__catanh): Likewise.
13804         * math/s_catanhf.c (__catanhf): Likewise.
13805         * math/s_catanhl.c (__catanhl): Likewise.
13806         * math/s_catanl.c (__catanl): Likewise.
13807         * math/libm-test.inc (catan_test): Add more tests.
13808         (catanh_test): Likewise.
13809         * sysdeps/i386/fpu/libm-test-ulps: Update.
13810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13812 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13814         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
13816         * benchtests/Makefile (bench): Remove slow benchmarks.
13817         * benchtests/atan-inputs: Add slow benchmark inputs.
13818         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
13819         (BENCH_FUNC): Accept variant offset.
13820         (VARIANT): Define.
13821         * benchtests/bench-skeleton.c (main): Run benchmark for each
13822         variant.
13823         * benchtests/cos-inputs: Add slow benchmark inputs.
13824         * benchtests/exp-inputs: Likewise.
13825         * benchtests/pow-inputs: Likewise.
13826         * benchtests/sin-inputs: Likewise.
13827         * benchtests/slowatan-inputs: Remove.
13828         * benchtests/slowatan.c: Remove.
13829         * benchtests/slowcos-inputs: Remove.
13830         * benchtests/slowcos.c: Remove.
13831         * benchtests/slowexp-inputs: Remove.
13832         * benchtests/slowexp.c: Remove.
13833         * benchtests/slowpow-inputs: Remove.
13834         * benchtests/slowpow.c: Remove.
13835         * benchtests/slowsin-inputs: Remove.
13836         * benchtests/slowsin.c: Remove.
13837         * benchtests/slowtan-inputs: Remove.
13838         * benchtests/slowtan.c: Remove.
13839         * benchtests/tan-inputs: Add slow benchmark inputs.
13840         * scripts/bench.pl: Parse comments and directives.
13842         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
13843         in CPPFLAGS.
13844         ($(objpfx)bench-%.c): Remove *-ITER.
13845         * benchtests/bench-modf.c: Remove definition of ITER.
13846         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
13847         (main): Loop for DURATION seconds instead of fixed number of
13848         iterations.
13849         * scripts/bench.pl: Don't expect iterations in parameters.
13851 2013-04-29  Roland McGrath  <roland@hack.frob.com>
13853         * io/fchdir.c (__fchdir): Renamed from fchdir.
13854         (fchdir): Define as weak alias.
13856 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13858         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
13859         (ERRNO_EDOM): Likewise.
13860         (ERRNO_ERANGE): Likewise.
13861         (noErrnoTests): New variable.
13862         (init_max_error): Set errno to 0.
13863         (test_single_errno): New function.
13864         (test_errno): Likewise.
13865         (check_float_internal): Call test_errno.  Set errno to 0.
13866         (check_complex): Refer to errno tests in comment.
13867         (check_int): Call test_errno.  Set errno to 0.
13868         (check_long): Likewise.
13869         (check_bool): Likewise.
13870         (check_longlong): Likewise.
13871         (cos_test): Use ERRNO_* flags for errno tests instead of
13872         check_int.
13873         (expm1_test): Likewise.
13874         (fmod_test): Likewise.
13875         (ilogb_test): Likewise.
13876         (lgamma_test): Likewise.
13877         (pow_test): Likewise.
13878         (remainder_test): Likewise.
13879         (sin_test): Likewise.
13880         (tan_test): Likewise.
13881         (yn_test): Likewise.
13882         (initialize): Set errno to 0.
13883         (main): Print number of errno tests.
13884         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
13886 2013-04-29  Andreas Jaeger  <aj@suse.de>
13888         [BZ #15084]
13889         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
13890         and RES_USEVC.
13892         [BZ #15085]
13893         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
13894         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
13895         unimplemented.
13897         [BZ #15380]
13898         * stdlib/random.c (__initstate): Return NULL if
13899         __initstate fails.
13901         [BZ #15086]
13902         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
13903         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
13904         RES_SNGLKUPREOP.
13906 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13910 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
13912         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
13913         of individual tests.
13914         (casin_test): Likewise.
13915         (casinh_test): Likewise.
13917 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
13919         [BZ #15409]
13920         * math/s_catan.c (__catan): Handle arguments with large real or
13921         imaginary part separately without squaring.
13922         * math/s_catanf.c (__catanf): Likewise.
13923         * math/s_catanh.c (__catanh): Likewise.
13924         * math/s_catanhf.c (__catanhf): Likewise.
13925         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13926         and redefine.
13927         (__catanhl): Handle arguments with large real or imaginary part
13928         separately without squaring.
13929         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
13930         and redefine.
13931         (__catanl): Handle arguments with large real or imaginary part
13932         separately without squaring.
13933         * math/libm-test.inc (catan_test): Add more tests.
13934         (catanh_test): Likewise.
13935         * sysdeps/i386/fpu/libm-test-ulps: Update.
13936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13938 2013-04-27  Andreas Jaeger  <aj@suse.de>
13940         [BZ #15007]
13941         * stdlib/stdlib.h: Update guards for qecvt.
13942         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
13943         <stdlib.h>.
13945 2013-04-27  Allan McRae  <allan@archlinux.org>
13947         * sysdeps/i386/fpu/libm-test-ulps: Update.
13949 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
13951         [BZ #15406]
13952         * math/s_catan.c: Include <float.h>.
13953         (__catan): Ensure underflow exception occurs for underflowed
13954         result.
13955         * math/s_catanf.c: Include <float.h>.
13956         (__catanf): Ensure underflow exception occurs for underflowed
13957         result.
13958         * math/s_catanh.c: Include <float.h>.
13959         (__catanh): Ensure underflow exception occurs for underflowed
13960         result.
13961         * math/s_catanhf.c: Include <float.h>.
13962         (__catanhf): Ensure underflow exception occurs for underflowed
13963         result.
13964         * math/s_catanhl.c: Include <float.h>.
13965         (__catanhl): Ensure underflow exception occurs for underflowed
13966         result.
13967         * math/s_catanl.c: Include <float.h>.
13968         (__catanl): Ensure underflow exception occurs for underflowed
13969         result.
13970         * math/libm-test.inc (catan_test): Add more tests.
13971         (catanh_test): Likewise.
13973         [BZ #15405]
13974         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
13975         underflowed result.
13976         * math/s_ccoshf.c (__ccoshf): Likewise.
13977         * math/s_ccoshl.c (__ccoshl): Likewise.
13978         * math/s_csin.c (__csin): Likewise.
13979         * math/s_csinf.c (__csinf): Likewise.
13980         * math/s_csinh.c (__csinh): Likewise.
13981         * math/s_csinhf.c (__csinhf): Likewise.
13982         * math/s_csinhl.c (__csinhl): Likewise.
13983         * math/s_csinl.c (__csinl): Likewise.
13984         * math/libm-test.inc (ccos_test): Add more tests.
13985         (ccosh_test): Likewise.
13986         (csin_test): Likewise.
13987         (csinh_test): Likewise.
13989 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13991         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
13992         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
13993         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
13994         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
13995         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
13996         powerpc/power5+/fpu folders.
13997         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14000 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
14002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14004 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
14006         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
14007         additions to variable.
14008         [$(config-machine) = x86_64] (modules-names): Likewise.
14009         ($(objpfx)tst-audit3): Remove dependency.
14010         ($(objpfx)tst-audit3.out): Likewise.
14011         ($(objpfx)tst-audit4): Likewise.
14012         ($(objpfx)tst-audit4.out): Likewise.
14013         ($(objpfx)tst-audit5): Likewise.
14014         ($(objpfx)tst-audit5.out): Likewise.
14015         ($(objpfx)tst-audit6): Likewise.
14016         ($(objpfx)tst-audit6.out): Likewise.
14017         ($(objpfx)tst-audit7): Likewise.
14018         ($(objpfx)tst-audit7.out): Likewise.
14019         (tst-audit3-ENV): Remove variable.
14020         (tst-audit4-ENV): Likewise.
14021         (tst-audit5-ENV): Likewise.
14022         (tst-audit6-ENV): Likewise.
14023         (tst-audit7-ENV): Likewise.
14024         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
14025         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
14026         addition to variable.
14027         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
14028         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
14029         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
14030         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
14031         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
14032         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
14033         tst-audit3, tst-audit4 and tst-audit5.
14034         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
14035         tst-audit6 and tst-audit7.
14036         [$(subdir) = elf] (modules-names): Add audit modules for those
14037         tests.
14038         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
14039         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
14040         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
14041         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
14042         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
14043         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
14044         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
14045         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
14046         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
14047         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
14048         [$(subdir) = elf] (tst-audit3-ENV): New variable.
14049         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
14050         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
14051         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
14052         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
14053         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
14054         Likewise.
14055         [$(subdir) = elf && $(config-cflags-avx) = yes]
14056         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
14057         [$(subdir) = elf && $(config-cflags-avx) = yes]
14058         (CFLAGS-tst-auditmod4a.c): Likewise.
14059         [$(subdir) = elf && $(config-cflags-avx) = yes]
14060         (CFLAGS-tst-auditmod4b.c): Likewise.
14061         [$(subdir) = elf && $(config-cflags-avx) = yes]
14062         (CFLAGS-tst-auditmod6b.c): Likewise.
14063         [$(subdir) = elf && $(config-cflags-avx) = yes]
14064         (CFLAGS-tst-auditmod6c.c): Likewise.
14065         [$(subdir) = elf && $(config-cflags-avx) = yes]
14066         (CFLAGS-tst-auditmod7b.c): Likewise.
14067         * elf/tst-audit3.c: Move to ...
14068         * sysdeps/x86_64/tst-audit3.c: ... here.
14069         * elf/tst-audit4.c: Move to ...
14070         * sysdeps/x86_64/tst-audit4.c: ... here.
14071         * elf/tst-audit5.c: Move to ...
14072         * sysdeps/x86_64/tst-audit5.c: ... here.
14073         * elf/tst-audit6.c: Move to ...
14074         * sysdeps/x86_64/tst-audit6.c: ... here.
14075         * elf/tst-audit7.c: Move to ...
14076         * sysdeps/x86_64/tst-audit7.c: ... here.
14077         * elf/tst-auditmod3a.c: Move to ...
14078         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
14079         * elf/tst-auditmod3b.c: Move to ...
14080         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
14081         * elf/tst-auditmod4a.c: Move to ...
14082         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
14083         * elf/tst-auditmod4b.c: Move to ...
14084         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
14085         * elf/tst-auditmod5a.c: Move to ...
14086         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
14087         * elf/tst-auditmod5b.c: Move to ...
14088         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
14089         * elf/tst-auditmod6a.c: Move to ...
14090         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
14091         * elf/tst-auditmod6b.c: Move to ...
14092         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
14093         * elf/tst-auditmod6c.c: Move to ...
14094         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
14095         * elf/tst-auditmod7a.c: Move to ...
14096         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
14097         * elf/tst-auditmod7b.c: Move to ...
14098         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
14100 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
14102         [BZ #15366]
14103         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
14104         define unconditionally.
14105         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
14106         define unconditionally.
14107         (INT8_C, INT16_C, etc.): Likewise.
14109 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
14111         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
14112         __ehdr_start with hidden visibility.
14114         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
14116 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
14118         * math/libm-test.inc (cos_test): Use accurate hex constants.
14119         (sincost_test): Likewise.
14121 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
14123         * math/libm-test.inc (catan_test): Add more tests.
14124         (catanh_test): Likewise.
14126         * math/s_catanf.c (__catanf): Use suffixed floating-point
14127         constants.
14128         * math/s_catanhf.c (__catanhf): Likewise.
14129         * math/s_catanhl.c (__catanhl): Likewise.
14130         * math/s_catanl.c (__catanl): Likewise.
14132         [BZ #15394]
14133         * math/s_catan.c (__catan): Calculate imaginary part of result
14134         with log1p not log unless computing log of number close to 0.
14135         * math/s_catanf.c (__catanf): Likewise.
14136         * math/s_catanl.c (__catanl): Likewise.
14137         * math/s_catanh.c (__catanh): Calculate real part of result with
14138         log1p not log unless computing log of number close to 0.
14139         * math/s_catanhf.c (__catanhf): Likewise.
14140         * math/s_catanhl.c (__catanhl): Likewise.
14141         * math/libm-test.inc (catan_test): Add more tests.
14142         (catanh_test): Likewise.
14143         * sysdeps/i386/fpu/libm-test-ulps: Update.
14144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14146 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14148         * benchtests/Makefile: Mention files in which fast and slow
14149         paths of math functions are implemented.
14151 2013-04-23  Roland McGrath  <roland@hack.frob.com>
14153         * sysdeps/posix/timespec_get.c: New file.
14155 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14157         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
14158         POWER.
14159         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
14160         for POWER.
14161         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
14162         powerpc/power5/fpu folders.
14163         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
14164         * benchtests/Makefile: Add modf testcase.
14165         * benchtests/bench-modf.c: New file: Benchmark test for mo
14167 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14169         [BZ #14888]
14170         * time/Makefile (tests): Add tst-strptime-whitespace.
14171         * time/strptime_l.c (get_number): Use ISSPACE.
14172         (__strptime_internal): Likewise.
14173         * time/tst-strptime-whitespace.c: New test case.
14175 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
14177         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
14178         member.
14179         (_nss_files_init): Set it here.
14181 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
14183         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
14184         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
14185         unsigned.
14187 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
14189         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
14191 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
14194         size just once.
14196 2013-04-21  David S. Miller  <davem@davemloft.net>
14198         * po/ru.po: Update Russion translation from translation project.
14200 2013-04-17  Adam Conrad  <adconrad@0c3.net>
14202         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
14203         and setfsgid.
14205 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
14207         * configure.in: Remove i386 configure warning. Remove i386 case.
14208         * configure: Regenerate.
14209         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
14210         Add example to error message.
14211         * sysdeps/i386/configure: Regenerate.
14213 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14215         * benchtests/Makefile (bench): Add cos, tan, slowcos and
14216         slowtan.
14217         * benchtests/cos-inputs: New file.
14218         * benchtests/slowcos-inputs: New file.
14219         * benchtests/slowcos.c: New file.
14220         * benchtests/slowtan-inputs: New file.
14221         * benchtests/slowtan.c: New file.
14222         * benchtests/tan-inputs: New file.
14224 2013-04-16  Roland McGrath  <roland@hack.frob.com>
14226         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
14227         considered kosher.
14229 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14231         * benchtests/Makefile: Include cppflags-iterator.mk to add
14232         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
14234         * Makefile.in (bench-clean): New target.
14235         * benchtests/Makefile (bench-clean): Likewise.
14237 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
14239         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
14241 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
14243         * stdio-common/tstdiomisc.c: Fix coding-style violation.
14245 2013-04-15  Andreas Schwab  <schwab@suse.de>
14247         * nscd/grpcache.c (cache_addgr): Properly check for short write.
14248         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14249         * nscd/pwdcache.c (cache_addpw): Likewise.
14250         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
14251         more than recsize.
14253 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14255         * benchtests/Makefile (bench): Write all output to
14256         bench-out.tmp together.
14258 2013-04-15  Andreas Schwab  <schwab@suse.de>
14260         * nscd/nscd.c (main): Don't fork again after closing files.
14262 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14264         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
14266         * benchtests/Rules (bench-deps): Collect dependencies into a
14267         single variable.  Add Makefile to dependencies.
14268         ($(objpfx)bench-%.c): Depend on bench-deps.
14270 2013-04-12  Roland McGrath  <roland@hack.frob.com>
14271             Xavier Roche  <roche+kml2@exalead.com>
14273         [BZ #15361]
14274         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
14275         just that it's a file descriptor.
14276         * manual/llio.texi (Synchronizing AIO Operations): Update description
14277         for EBADF error from aio_fsync.
14279 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14281         * Rules (bench): Move target definition...
14282         * benchtests/Makefile: ... here.
14284 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
14286         * math/libm-test.inc (cos_test): Fix PI/2 test.
14287         (sincos_test): Likewise.
14288         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14289         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14291 2013-04-11  Andreas Schwab  <schwab@suse.de>
14293         [BZ #13988]
14294         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
14295         accept exponent character only when digits were seen.
14296         * stdio-common/Makefile (tests): Add bug26.
14297         * stdio-common/bug26.c: New file.
14299         [BZ #14293]
14300         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
14301         non-freeable.
14303 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
14305         * Makeconfig (rtld-prefix): Define built linker prefix.
14306         * Rules (run-bench): Use it.
14307         * math/Makefile (run-regen-ulps): Likewise.
14309         * Rules (bench): Remove eval.
14311 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14312             Roland McGrath  <roland@hack.frob.com>
14313             Ondrej Bilka  <neleai@seznam.cz>
14315         [BZ #15346]
14316         * time/getdate.c: Include ctype.h and alloca.h.
14317         (__getdate_r): Trim leading and trailing spaces of input.
14318         * time/tst-getdate.c (tests): Add tests with leading and
14319         trailing spaces.
14321 2013-04-08  Roland McGrath  <roland@hack.frob.com>
14323         [BZ #14280]
14324         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
14325         when computing value.
14327 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14329         * math/README.libm-test (How can I generate "libm-test-ulps"?):
14330         Use testrun.sh to run libm tests.
14332         [BZ #15309]
14333         * elf/dl-open.c (dl_open_worker): memset all of seen array.
14335 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
14337         [BZ #15264]
14338         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
14340 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14342         * Makefile.in (regen-ulps): New target.
14343         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
14344         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
14345         [ifneq (no,$(PERL)] (regen-ulps): New target.
14346         [ifeq (no,$(PERL)] (regen-ulps): New target.
14347         * math/libm-test.inc (ulps_file_name): Define.
14348         (output_dir): New variable.
14349         (options): Add "output-dir" option.
14350         (parse_opt): Handle 'o' case.
14351         (main): If output_dir is non-NULL use it as a prefix
14352         otherwise use "".
14353         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
14355 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14357         [BZ #10060, #10062]
14358         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
14359         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
14360         fail configure if __sync_val_compare_and_swap is not inlined.
14361         * sysdeps/i386/configure: Regenerate.
14362         * configure.in: Build for i686 when configured for i386.
14363         * configure: Regenerate.
14364         * README: Remove i386 reference.
14366 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
14368         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
14369         * sysdeps/s390/s390-64/sysdep.h: Likewise.
14371 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
14373         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
14374         (lmsnanval): New variables.
14375         (F): Add conversion tests.
14376         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
14377         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
14379         * stdio-common/tstdiomisc.c (F): Properly collect individual
14380         tests' results.
14382         [BZ #14686, #15336]
14383         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
14384         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
14385         Instead, use input NaN values or generate a qNaN by arithmetic
14386         operation.  Also fix bugs to comply with the standard.
14387         * math/libm-test.inc (remainder_test): Add more tests.
14389         [BZ #15335, #15342]
14390         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
14391         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
14392         input NaN values or generate a qNaN by arithmetic operation.
14394         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
14395         unreachable code.
14397         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
14398         definitions.
14400 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
14402         [BZ #14478]
14403         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
14404         underflowed result.
14405         * math/s_cexpf.c (__cexpf): Likewise.
14406         * math/s_cexpl.c (__cexpl): Likewise.
14407         * math/libm-test.inc (cexp_test): Add more tests.
14409 2013-04-03  Andreas Schwab  <schwab@suse.de>
14411         [BZ #15330]
14412         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
14413         order arrays from heap if bigger than alloca cutoff.
14415 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
14417         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
14418         (SNAN_TESTS_double): Refer to GCC PR56831.
14419         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
14420         GCC PR56828.
14422 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14424         * Rules (bench): Move bench.out after the run is complete.
14426         * Rules (bench): Echo currently running benchmark.
14428         * benchtests/Makefile (bench): Add atan and slowatan.
14429         * benchtests/atan-inputs: New file.
14430         * benchtests/slowatan-inputs: New file.
14431         * benchtests/slowatan.c: New file.
14433         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
14434         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
14435         its value.
14437         [BZ #15305]
14438         * sysdeps/unix/sysv/linux/kernel-features.h
14439         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
14440         __ASSUME_XFS_RESTRICTED_CHOWN.
14441         * sysdeps/unix/sysv/linux/pathconf.c
14442         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
14443         Save and restore errno.
14445 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
14447         [BZ #15327]
14448         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
14449         arguments using __kernel_casinh.
14450         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
14451         arguments using __kernel_casinhf.
14452         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
14453         arguments using __kernel_casinhl.
14454         * math/libm-test.inc (cacosh_test): Add more tests.
14455         * sysdeps/i386/fpu/libm-test-ulps: Update.
14456         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14458 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
14460         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
14461         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
14463         * bench/Makefile (bench): Add sin and slowsin.
14464         * benchtests/sin-inputs: New file.
14465         * benchtests/slowsin-inputs: New file.
14466         * benchtests/slowsin.c: New file.
14468         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
14469         (bench): Add slowexp and slowpow.
14470         (exp-ITER): Increase iterations.
14471         (pow-ITER): Likewise.
14472         * benchtests/exp-inputs: Change input.
14473         * benchtests/pow-inputs: Likewise.
14474         * benchtests/slowexp-inputs: New file.
14475         * benchtests/slowexp.c: New file.
14476         * benchtests/slowpow-inputs: New file.
14477         * benchtests/slowpow.c: New file.
14479 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14481         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
14482         instructions.
14483         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
14484         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
14485         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14486         * benchtests/Makefile: Add rint benchtest.
14487         * benchtests/rint-inputs: Input for rint benchtest.
14489 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
14491         * Versions.def (libm): Add GLIBC_2.18.
14492         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
14493         hidden libm prototypes.
14494         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
14495         * math/Makefile (libm-calls): Add s_issignaling.
14496         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
14497         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
14498         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
14499         declaration.
14500         * math/math.h [__USE_GNU] (issignaling): New macro.
14501         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
14502         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
14503         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
14504         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
14505         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14506         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
14507         * manual/arith.texi (issignaling): New section.
14508         * manual/libm-err-tab.pl (@all_functions): Update comment.
14509         * math/gen-libm-test.pl (parse_args): Apply special handling for
14510         issignaling.
14511         * math/libm-test.inc (print_float, issignaling_test): New
14512         functions.
14513         (check_float_internal): Add issignaling checks.
14514         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
14515         default definition.
14516         * sysdeps/powerpc/math-tests.h: New file.
14517         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
14518         tests.
14519         * math/test-snan.c (TEST_FUNC): Likewise.
14521 2013-03-30  David S. Miller  <davem@davemloft.net>
14523         * po/de.po: Update from translation team.
14525 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
14527         [BZ #10357]
14528         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14529         imaginary part less than 1.0 and real part less than 0.5
14530         specially.
14531         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14532         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14533         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
14534         (cacos_test): Add more tests.
14535         (casin_test): Likewise.
14536         (casinh_test): Likewise.
14537         * sysdeps/i386/fpu/libm-test-ulps: Update.
14538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14540 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14542         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
14543         ONE with its value.
14545         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
14546         (__pow_mp): Replace ONE and MONE with their values.
14547         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
14549         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14550         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
14551         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14552         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14554         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
14556         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
14557         (__pow_mp): Replace ZERO and MZERO with their values.
14558         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14559         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14560         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
14561         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14562         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14563         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
14564         (__sqr): Likewise.
14566         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
14568         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
14570 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14572         * include/stdlib.h [!SHARED] (__call_tls_dtors):
14573         Declare with __attribute__ ((weak)).
14574         * stdlib/exit.c (__libc_atexit) [!SHARED]:
14575         Call __call_tls_dtors only if it's not NULL.
14577 2013-03-28  Roland McGrath  <roland@hack.frob.com>
14579         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
14580         didn't do it already, then set _dl_phdr and _dl_phnum based on the
14581         magic __ehdr_start linker symbol if it's defined.
14582         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
14583         them up here if it was already done.
14585         * elf/dl-support.c (_dl_phdr): Make pointer to const.
14586         (_dl_aux_init): Use const in cast when setting it.
14587         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
14588         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
14589         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
14591         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
14592         Declare them here.
14593         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
14594         * csu/libc-tls.c: Nor here.
14595         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
14597         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
14598         (__libc_message): Never call vsyslog.
14600 2013-03-28  Alan Modra  <amodra@gmail.com>
14602         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
14603         Define as empty.
14604         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
14605         Likewise.
14607 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14609         [BZ #15214]
14610         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
14611         underflow.
14612         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14614 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14616         [BZ #15304]
14617         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14618         Don't add gid passed as argument.
14620         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
14622 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
14624         [BZ #15307]
14625         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14626         imaginary part between 1.0 and 1.5 and real part less than 0.5
14627         specially.
14628         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14629         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14630         * math/libm-test.inc (cacos_test): Add more tests.
14631         (casin_test): Likewise.
14632         (casinh_test): Likewise.
14633         * sysdeps/i386/fpu/libm-test-ulps: Update.
14634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14636 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14638         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
14639         constants.
14640         (norm): Likewise.
14641         (denorm): Likewise.
14642         (__dbl_mp): Likewise.
14643         (add_magnitudes): Likewise.
14644         (sub_magnitudes): Likewise.
14645         (__add): Likewise.
14646         (__sub): Likewise.
14647         (__mul): Likewise.
14648         (__sqr): Likewise.
14649         (__inv): Likewise.
14650         (__dvd): Likewise.
14652         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
14653         commented code.
14654         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
14655         (__dubcos): Likewise.
14656         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
14657         (__ieee754_acos): Likewise.
14658         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
14659         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
14660         (__exp1): Likewise.
14661         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14662         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
14663         (log1): Likewise.
14664         (my_log2): Likewise.
14665         (checkint): Likewise.
14666         * sysdeps/ieee754/dbl-64/e_remainder.c
14667         (__ieee754_remainder): Likewise.
14668         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
14669         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
14670         (bsloww): Likewise.
14671         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
14673         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
14674         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
14675         MANTISSA_STORE_T to store computations on mantissa.  Use
14676         macros for rounding and division.
14677         (denorm): Likewise.
14678         (__dbl_mp): Likewise.
14679         (add_magnitudes): Likewise.
14680         (sub_magnitudes): Likewise.
14681         (__mul): Likewise.
14682         (__sqr): Likewise.
14683         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
14684         powers of two in terms of TWOPOW macro.
14685         (mp_no): Make type of mantissa as MANTISSA_T.
14686         [!RADIXI]: Define RADIXI.
14687         [!TWO52]: Define TWO52.
14688         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
14690 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14692         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
14693         llroundl symbol when building for PPC32.
14695 2013-03-24  Mark H Weaver  <mhw@netris.org>
14697         * manual/arith.texi (Normalization Functions): Fix prototypes for
14698         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
14700 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14702         [BZ #13889]
14703         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
14704         high value to check if expl overflow.
14705         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
14706         to check for underflow and overflow.
14707         * math/libm-test.inc: Add exp test.
14709 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
14711         [BZ #11120]
14712         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
14713         with NOT_IN_libc.
14715 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14717         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
14718         symbol.
14720 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
14722         * math/gen-libm-test.pl (parse_args, special_functions): Properly
14723         wrap blocks consisting of several statements.
14725         * sysdeps/generic/math-tests.h: New file.
14726         * sysdeps/i386/fpu/math-tests.h: Likewise.
14727         * math/test-snan.c: Include it.
14728         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
14730 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14732         [BZ #15285]
14733         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
14734         (__ieee754_j0l): Do not improve calculations using cos of twice
14735         input for inputs above LDBL_MAX / 2.0L.
14736         (__ieee754_y0l): Likewise.
14737         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
14738         (__ieee754_j1l): Do not improve calculations using cos of twice
14739         input for inputs above LDBL_MAX / 2.0L.
14740         (__ieee754_y1l): Likewise.
14741         * math/libm-test.inc (j0_test): Add another test.
14742         (j1_test): Likewise.
14743         (y0_test): Likewise.
14744         (y1_test): Likewise.
14745         * sysdeps/i386/fpu/libm-test-ulps: Update.
14747 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14749         * Rules ($(objpfx)bench-%.c): Include code from a C source
14750         file.
14752 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
14754         [BZ #15287]
14755         * math/k_casinh.c (__kernel_casinh): Handle arguments with
14756         imaginary part 1.0 and real part less than 0.5 specially.
14757         * math/k_casinhf.c (__kernel_casinhf): Likewise.
14758         * math/k_casinhl.c (__kernel_casinhl): Likewise.
14759         * math/libm-test.inc (cacos_test): Add more tests.
14760         (casin_test): Likewise.
14761         (casinh_test): Likewise.
14762         * sysdeps/i386/fpu/libm-test-ulps: Update.
14763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14765 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14767         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
14768         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
14770 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
14772         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
14773         * config.make.in (config-cflags-sse4): Remove variable.
14774         (config-cflags-avx): Likewise.
14775         (config-cflags-sse2avx): Likewise.
14776         (config-cflags-novzeroupper): Likewise.
14777         (config-asflags-i686): Likewise.
14778         (have-mfma4): Likewise.
14779         (have-as-vis3): Likewise.
14780         (MIG): Likewise.
14781         * configure.in (MIG): Do not AC_SUBST.
14782         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
14783         (libc_cv_cc_sse4): Do not AC_SUBST.
14784         (libc_cv_cc_avx): Likewise.
14785         (libc_cv_cc_sse2avx): Likewise.
14786         (libc_cv_cc_novzeroupper): Likewise.
14787         (libc_cv_cc_fma4): Likewise.
14788         (libc_cv_as_i686): Likewise.
14789         (libc_cv_sparc_as_vis3): Likewise.
14790         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
14791         LIBC_CONFIG_VAR.
14792         (config-asflags-i686): Likewise.
14793         (config-cflags-avx): Likewise.
14794         (config-cflags-sse2avx): Likewise.
14795         (have-mfma4): Likewise.
14796         (config-cflags-novzeroupper): Likewise.
14797         * sysdeps/mach/configure.in (MIG): Likewise.
14798         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
14799         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
14800         LIBC_CONFIG_VAR.
14801         (config-cflags-avx): Likewise.
14802         (config-cflags-sse2avx): Likewise.
14803         (have-mfma4): Likewise.
14804         (config-cflags-novzeroupper): Likewise.
14805         * configure: Regenerated.
14806         * sysdeps/i386/configure: Likewise.
14807         * sysdeps/mach/configure: Likewise.
14808         * sysdeps/sparc/configure: Likewise.
14809         * sysdeps/x86_64/configure: Likewise.
14811 2013-03-20  Roland McGrath  <roland@hack.frob.com>
14813         [BZ #14812]
14814         * locale/programs/localedef.c (options): Put N_ translation marker
14815         on argument names, not just descriptions.
14817 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14819         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
14821 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
14823         [BZ #14176]
14824         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
14826 2013-03-19  Roland McGrath  <roland@hack.frob.com>
14828         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
14829         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
14830         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
14831         [!BEFORE_ABORT] (before_abort): New function.
14832         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
14833         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
14834         (writev_for_fatal): New function.
14835         (WRITEV_FOR_FATAL): New macro; call that.
14836         (backtrace_and_maps): New function.
14837         (BEFORE_ABORT): New macro; call that.
14838         (struct str_list): Type removed.
14839         (__libc_message, __libc_fatal): Functions removed.
14840         Include <sysdeps/posix/libc_fatal.c> instead.
14842 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
14844         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
14845         constants.
14846         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
14847         double constants.
14849 2013-03-19  Andreas Schwab  <schwab@suse.de>
14851         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
14852         * sysdeps/gnu/configure: Regenerate.
14854         * configure.in: Substitute libc_cv_rtlddir.
14855         * configure: Regenerate.
14856         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
14857         * Makeconfig (rtlddir, inst_rtlddir): New variables.
14858         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
14859         * elf/Makefile (install-others, CFLAGS-interp.c)
14860         (ldso_install, common-ldd-rewrite): Likewise.
14861         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
14862         $(inst_slibdir)/$(rtld-installed-name).
14863         * scripts/rellns-sh: Add -p option.
14864         * Makerules (make-shlib-link): Use rellns-sh to get relative name
14865         for source.
14867 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14869         * manual/nptl.texi: Renamed to ...
14870         * manual/threads.texi: ... this.
14871         * manual/Makefile (chapters): Update.
14873 2013-03-18  Roland McGrath  <roland@hack.frob.com>
14875         [BZ #14812]
14876         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
14877         on argument names, not just descriptions.
14878         * malloc/memusagestat.c (options): Likewise.
14879         * nss/getent.c (options): Likewise.
14881 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
14883         [BZ #14812]
14884         * iconv/iconv_prog.c (options): Put N_ translation marker
14885         on argument names, not just descriptions.
14886         * iconv/iconvconfig.c (options): Likewise.
14888 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
14890         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
14891         implementation which is faster on all x86_64 architectures.
14892         Tested on AMD, Intel Nehalem, SNB, IVB.
14893         * sysdeps/x86_64/strnlen.S: Likewise.
14895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14896         Remove all multiarch strlen and strnlen versions.
14897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
14898         Remove strlen and strnlen related parts.
14900         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
14901         Inline strlen part.
14902         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14904         * sysdeps/x86_64/multiarch/strlen.S: Remove.
14905         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
14906         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
14907         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
14908         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14909         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
14911 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
14913         * manual/memory.texi (Malloc Tunable Parameters):
14914         Sort parameters alphabetically. Add comments for missing entries.
14916 2013-03-17  David S. Miller  <davem@davemloft.net>
14918         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14920 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
14922         [BZ #15283]
14923         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
14924         for arguments at most half maximum finite value.
14925         * math/libm-test.inc (j0_test): Add more tests.
14926         (j1_test): Likewise.
14927         (y0_test): Likewise.
14928         (y1_test): Likewise.
14929         * sysdeps/i386/fpu/libm-test-ulps: Update.
14930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14932         [BZ #14155]
14933         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
14934         1 / x and functions P and Q for arguments above 0x1p256L.
14935         (__ieee754_y0l): Likewise.
14936         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
14937         (__ieee754_y1l): Likewise.
14938         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
14939         (j1_test): Likewise.
14940         (y0_test): Likewise.
14941         (y1_test): Likewise.
14943 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
14945         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
14946         variable.
14948 2013-03-15  Roland McGrath  <roland@hack.frob.com>
14950         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
14951         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
14952         zero since it's initialized to EXEC_PAGESIZE.
14954         * sysdeps/unix/sysv/linux/ldsodefs.h
14955         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
14956         * sysdeps/generic/ldsodefs.h: ... here.
14958 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
14960         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
14962         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
14963         math/test-snan.c.
14964         * math/test-snan.c: Renamed from
14965         sysdeps/powerpc/fpu/test-powerpc-snan.c.
14966         * math/Makefile (tests): Add test-snan.
14967         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
14968         test-powerpc-snan.
14970         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
14971         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
14972         functions.
14973         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
14974         __builtin_nan family of functions.
14975         * math/libm-test.inc (initialize): Initialize qnan_value with
14976         __builtin_nan family of functions.
14977         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
14978         Remove variables.
14979         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
14980         Remove functions.
14981         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
14982         storage class.  Initialize qNaN_var and sNaN_var with
14983         __builtin_nan and __builtin_nans families of functions,
14984         respectively.
14986         * math/libm-test.inc (acosh_test): Also test with qNaN input.
14987         (sqrt_test): Remove duplicate test with qNaN input.
14988         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
14989         (round_test, signbit_test, significand_test): Note missing +/-Inf
14990         as well as qNaN tests.
14992         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
14993         qNaN_var.  Fix a few strings, too.
14994         * math/libm-test.inc (nan_value): Rename to qnan_value.
14995         * math/gen-libm-test.pl (%beautify): Adjust to that.
14996         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
14997         * math/test-misc.c (main): Likewise.
14998         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
14999         to __qnan_bytes, and __qnan_union, respectively.
15000         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
15001         Likewise.
15002         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
15003         and lqnanval, respectively.
15004         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
15005         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
15006         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
15007         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
15009         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
15010         * math/test-misc.c (main) [__x86_64__]: Enable test for long
15011         doubles.
15013         * math/test-misc.c (main): Fix copy'n'pastos.
15014         * misc/tst-efgcvt.c (special): Likewise.
15016         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
15017         Remove declarations.
15019 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15021         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
15022         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
15023         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
15024         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
15026 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15028         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
15029         macro to return vdso values correctly in IFUNC implementations.
15030         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15031         Optimization by using IFUNC.
15033 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15034             Richard Henderson  <rth@redhat.com>
15035             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15037         * Makefile.in (bench): New target.
15038         * NEWS: Mention the benchmark framework.
15039         * Rules (bench): Likewise.
15040         (binaries-bench): Generate binaries for functions to
15041         benchmark.
15042         * benchtests/Makefile: New makefile for benchmark tests.
15043         * benchtests/bench-skeleton.c: New skeleton file for benchmark
15044         programs.
15045         * benchtests/exp-inputs: New input file for EXP function.
15046         * benchtests/pow-inputs: New input file for POW function.
15047         * scripts/bench.pl: New script to generate source files for
15048         benchmark programs.
15050 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15052         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15053         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
15054         computations on mantissa.  Use macros for rounding and
15055         division.
15056         (denorm): Likewise.
15057         (__dbl_mp): Likewise.
15058         (add_magnitudes): Likewise.
15059         (sub_magnitudes): Likewise.
15060         (__mul): Likewise.
15061         (__sqr): Likewise.
15062         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
15063         powers of two in terms of TWOPOW macro.
15064         (mp_no): Make type of mantissa as MANTISSA_T.
15065         [!RADIXI]: Define RADIXI.
15066         [!TWO52]: Define TWO52.
15067         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15069         * manual/nptl.texi (cindex): Modify threads to pthreads.
15071 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
15073         * sysdeps/x86_64/preconfigure: Regenerated.
15075 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
15077         [BZ #14155]
15078         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
15079         0x1p28 and above.
15080         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
15081         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
15082         0x1p28 and above.
15083         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
15084         * math/libm-test.inc (j0_test): Do not allow one spurious
15085         underflow exception.
15086         (y1_test): Likewise.
15088 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15090         * manual/Makefile (chapters): Add nptl.
15091         * manual/debug.texi (Debugging Support): Add link to Threads
15092         chapter.
15093         * manual/nptl.texi: New file.
15095         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
15097 2013-03-14  Petr Baudis  <pasky@ucw.cz>
15099         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
15100         for non-NULL pointer before the memory validity test. Pointed
15101         out by Holger Brunck <holger.brunck@keymile.com>.
15103 2013-03-13  Andreas Schwab  <schwab@suse.de>
15105         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
15106         instead of .os.
15108 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
15110         * timezone/zic.c: Update from tzcode 2013b.
15112 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
15114         * manual/install.texi (Configuring and compiling):
15115         Mention i686 and i586.
15116         * INSTALL: Regenerate.
15118 2013-03-12  Roland McGrath  <roland@hack.frob.com>
15120         * sysdeps/init_array/elf-init.c: New file.
15121         * csu/elf-init.c
15122         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
15123         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
15125         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
15126         __gmon_start__ as global, but as static with a .preinit_array pointer.
15127         * sysdeps/init_array/gmon-start.c: New file.  Use that.
15128         * sysdeps/init_array/crti.S: New file, empty except for comments.
15129         * sysdeps/init_array/crtn.S: Likewise.
15131 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
15133         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
15134         definining bcopy.
15135         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15136         Remove Prefer_SSE_for_memop.
15137         * sysdeps/x86_64/multiarch/init-arch.h: Remove
15138         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
15139         HAS_PREFER_SSE_FOR_MEMOP.
15140         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
15141         memset-x86-64.
15142         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15143         Remove bzero, memset ifunc support.
15144         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
15145         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
15146         * sysdeps/x86_64/multiarch/memset.S: Likewise.
15147         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15149 2013-03-11  Andreas Schwab  <schwab@suse.de>
15151         [BZ #15234]
15152         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
15153         by SHLIB_COMPAT.
15154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
15155         (GLIBC_2.16): Remove pthread_atfork.
15157 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
15159         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
15160         (ptestcases.h): Likewise.
15162 2013-03-08  Roland McGrath  <roland@hack.frob.com>
15164         * Makeconfig ($(common-objpfx)config.status): Depend on
15165         sysdeps/*/preconfigure{,.in} too.
15167 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
15169         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
15170         (__free_hook): Use void * instead of __malloc_ptr_t.
15171         (__malloc_hook): Likewise.
15172         (__realloc_hook): Likewise.
15173         (__memalign_hook): Likewise.
15174         (__after_morecore_hook): Likewise.
15175         * malloc/arena.c (save_malloc_hook): Likewise.
15176         (save_free_hook): Likewise.
15177         * malloc/hooks.c (malloc_hook_ini): Likewise.
15178         (realloc_hook_ini): Likewise.
15179         (memalign_hook_ini): Likewise.
15180         * malloc/malloc.c (malloc_hook_ini): Likewise.
15181         (realloc_hook_ini): Likewise.
15182         (memalign_hook_ini): Likewise.
15183         (__free_hook): Likewise.
15184         (__malloc_hook): Likewise.
15185         (__realloc_hook): Likewise.
15186         (__memalign_hook): Likewise.
15187         (__libc_malloc): Likewise.
15188         (__libc_free): Likewise.
15189         (__libc_realloc): Likewise.
15190         (__libc_memalign): Likewise.
15191         (__libc_valloc): Likewise.
15192         (__libc_pvalloc): Likewise.
15193         (__libc_calloc): Likewise.
15194         (__posix_memalign): Likewise.
15195         * malloc/morecore.c (__sbrk): Likewise.
15196         (__default_morecore): Likewise.
15198         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
15200         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
15201         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
15202         __malloc_ptrdiff_t.
15204         * malloc/malloc.h (__malloc_size_t): Remove macro.
15205         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
15206         __malloc_size_t.
15207         (old_memalign_hook): Likewise.
15208         (old_realloc_hook): Likewise.
15209         (struct hdr): Likewise.
15210         (flood): Likewise.
15211         (mallochook): Likewise.
15212         (memalignhook): Likewise.
15213         (reallochook): Likewise.
15214         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
15215         (tr_old_realloc_hook): Likewise.
15216         (tr_old_memalign_hook): Likewise.
15217         (tr_mallochook): Likewise.
15218         (tr_reallochook): Likewise.
15219         (tr_memalignhook): Likewise.
15221 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
15224         default_ldbl_pack and using as default implementation.
15225         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
15226         implementation.
15227         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
15228         redundant definition.
15229         (ldbl_insert_mantissa): Likewise.
15230         (ldbl_canonicalize): Likewise.
15231         (ldbl_nearbyint): Likewise.
15232         (ldbl_pack): Rename to ldbl_pack_ppc.
15233         (ldbl_unpack): Rename to ldbl_unpack_ppc.
15234         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
15235         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
15237 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
15239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
15240         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
15241         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
15242         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
15243         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
15244         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
15245         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
15246         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
15248 2013-03-07  Andreas Jaeger  <aj@suse.de>
15250         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15251         bits/mman-linux.h.
15253 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
15255         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
15256         Include mpa.h and declare __MPEXP.
15257         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
15258         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15259         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15260         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
15261         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15262         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
15263         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
15265         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
15266         (__slowpow): Use long double EXPL and LOGL functions to
15267         compute POW.
15268         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
15269         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15270         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
15271         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
15272         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
15273         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
15275         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
15276         intermediate variable to calculate exponent.
15277         (__sqr): Likewise.
15278         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
15279         Likewise.
15280         (__sqr): Likewise.
15282         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
15283         [!NO__SQR]: Define __sqr.
15284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
15285         and NO__SQR.  Remove all code except __mul and __sqr.  Include
15286         sysdeps/ieee754/dbl-64/mpa.c.
15287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
15289         [BZ #12723]
15290         * posix/Makefile (tests): Add tst-pathconf.
15291         * posix/tst-pathconf.c: New test case.
15292         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
15293         _PC_PIPE_BUF.
15294         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
15296 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
15298         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
15300 2013-03-06  Andreas Jaeger  <aj@suse.de>
15302         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
15303         definition via __MAP_ANONYMOUS.
15305         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
15306         it's not part of Linux headers.
15308         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
15309         (MAP_HUGE_MASK): Define.
15311         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15312         Define.
15313         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15314         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15315         Define.
15316         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15317         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
15318         Define.
15319         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15320         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
15321         Define.
15322         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
15324         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
15325         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
15326         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
15327         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
15328         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
15329         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
15331         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
15332         Handle f2fs.
15334         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15335         Handle f2fs and efivarfs.
15337         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
15338         f2fs.
15340         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
15341         (EFIVARFS_MAGIC): Add.
15342         (F2FS_LINK_MAX): Add.
15344 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
15346         * stdio-common/vfprintf.c: Replace __builtin_expect with
15347         __glibc_unlikely.
15349 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
15351         [BZ #13550]
15352         * sysdeps/generic/bp-sym.h: Remove file.
15353         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
15354         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
15355         <bp-sym.h> and <bp-asm.h>.
15356         (__longjmp): Don't use BP_SYM.
15357         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
15358         and <bp-asm.h>.
15359         (memcpy): Don't use BP_SYM.
15360         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
15361         <bp-sym.h> and <bp-asm.h>.
15362         (memcpy): Don't use BP_SYM.
15363         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
15364         <bp-asm.h>.
15365         (memcpy): Don't use BP_SYM.
15366         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
15367         <bp-asm.h>.
15368         (memset): Don't use BP_SYM.
15369         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15370         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15371         (__bzero): Don't use BP_SYM.
15372         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15373         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15374         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
15375         <bp-sym.h> and <bp-asm.h>.
15376         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15377         pointers.
15378         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
15379         <bp-sym.h> and <bp-asm.h>.
15380         (memcpy): Don't use BP_SYM.
15381         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
15382         <bp-sym.h> and <bp-asm.h>.
15383         (memset): Don't use BP_SYM.
15384         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15385         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15386         (__bzero): Don't use BP_SYM.
15387         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15388         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15389         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
15390         <bp-sym.h> and <bp-asm.h>.
15391         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15392         pointers.
15393         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
15394         <bp-sym.h> and <bp-asm.h>.
15395         (memcpy): Don't use BP_SYM.
15396         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
15397         <bp-sym.h> and <bp-asm.h>.
15398         (memset): Don't use BP_SYM.
15399         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15400         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15401         (__bzero): Don't use BP_SYM.
15402         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15403         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15404         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
15405         <bp-sym.h> and <bp-asm.h>.
15406         (__memchr): Don't use BP_SYM.
15407         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
15408         <bp-sym.h> and <bp-asm.h>.
15409         (memcmp): Don't use BP_SYM.  Remove comment about bounded
15410         pointers.
15411         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
15412         <bp-sym.h> and <bp-asm.h>.
15413         (memcpy): Don't use BP_SYM.
15414         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
15415         <bp-sym.h> and <bp-asm.h>.
15416         (__mempcpy): Don't use BP_SYM.
15417         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
15418         <bp-sym.h> and <bp-asm.h>.
15419         (__memrchr): Don't use BP_SYM.
15420         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
15421         <bp-sym.h> and <bp-asm.h>.
15422         (memset): Don't use BP_SYM.
15423         (__bzero): Likewise.
15424         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
15425         <bp-sym.h> and <bp-asm.h>.
15426         (__rawmemchr): Don't use BP_SYM.
15427         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
15428         <bp-sym.h> and <bp-asm.h>.
15429         (__STRCMP): Don't use BP_SYM.
15430         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
15431         <bp-sym.h> and <bp-asm.h>.
15432         (strchr): Don't use BP_SYM.
15433         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
15434         <bp-sym.h> and <bp-asm.h>.
15435         (__strchrnul): Don't use BP_SYM.
15436         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
15437         <bp-sym.h> and <bp-asm.h>.
15438         (strlen): Don't use BP_SYM.
15439         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
15440         <bp-sym.h> and <bp-asm.h>.
15441         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15442         pointers.
15443         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
15444         <bp-sym.h> and <bp-asm.h>.
15445         (__strnlen): Don't use BP_SYM.
15446         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
15447         <bp-sym.h> and <bp-asm.h>.
15448         (__GI__setjmp): Don't use BP_SYM.
15449         (_setjmp): Likewise.
15450         (__sigsetjmp): Likewise.
15451         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
15452         (L(start_addresses)): Don't use BP_SYM.
15453         (_start): Likewise.
15454         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
15455         <bp-asm.h>.
15456         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
15457         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
15458         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15459         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15460         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
15461         <bp-asm.h>.
15462         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
15463         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
15464         about bounded pointers.
15465         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15466         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15467         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
15468         <bp-asm.h>.
15469         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15470         about bounded pointers.  Remove GKM FIXME comments.
15471         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15472         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
15473         <bp-asm.h>.
15474         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
15475         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
15476         Remove GKM FIXME comments.
15477         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15478         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15479         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
15480         <bp-asm.h>.
15481         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
15482         about bounded pointers.  Remove GKM FIXME comment.
15483         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
15484         and <bp-asm.h>.
15485         (strncmp): Don't use BP_SYM.  Remove comment about bounded
15486         pointers.
15487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
15488         <bp-sym.h> and <bp-asm.h>.
15489         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
15491         <bp-sym.h> and <bp-asm.h>.
15492         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15493         comment.
15495 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15497         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
15498         call free(NULL).
15500 2013-03-05  David S. Miller  <davem@davemloft.net>
15502         * po/es.po: Update from translation team.
15504 2013-03-05  Andreas Jaeger  <aj@suse.de>
15506         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
15507         <bits/mman-linux.h>.
15508         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15509         is fine.
15510         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
15511         <bits/mman-linux.h> to end of file.
15512         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15513         is fine.
15514         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
15515         <bits/mman-linux.h> to end of file.
15516         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
15517         is fine.
15518         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
15519         <bits/mman-linux.h> to end of file.
15521         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
15522         (MCL_CURRENT, MCL_FUTURE): Define here.
15524 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15526         [BZ #15232]
15527         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
15528         attribute_hidden.
15529         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15531 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15533         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
15534         fourth parameter needed for rt_sigprocmask syscall.
15535         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
15536         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
15537         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
15538         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
15539         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
15540         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
15542 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
15544         [BZ #13550]
15545         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
15546         comment about bounded pointers.
15547         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
15548         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
15550 2013-03-04  Andreas Jaeger  <aj@suse.de>
15552         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
15553         common definitions.
15555         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
15556         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
15557         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
15558         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15559         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15560         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15562 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15564         [BZ #15055]
15565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
15566         __ieee754_sqrl instead of __sqrl.
15568 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
15570         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
15571         * sysdeps/powerpc/fpu_control.h: ... here.
15572         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
15573         * sysdeps/powerpc/bits/fenvinline.h: ... here.
15574         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
15575         * sysdeps/powerpc/bits/mathinline.h: ... here.
15577 2013-03-01  Roland McGrath  <roland@hack.frob.com>
15579         * elf/dl-hwcaps.c (_dl_important_hwcaps):
15580         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
15581         to just [NEED_DL_SYSINFO_DSO].
15582         * elf/dl-support.c: Likewise.
15583         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15584         * elf/rtld.c (dl_main): Likewise.
15585         * elf/setup-vdso.h (setup_vdso): Likewise.
15586         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
15587         * sysdeps/unix/sysv/linux/dl-sysdep.c
15588         (_dl_discover_osversion): Likewise.
15590 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
15592         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
15593         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15595 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
15597         * NEWS: Mention libm performance improvements and non-x86 PI
15598         futex support.
15600         * csu/libc-start.c (__pthread_initialize_minimal): Change
15601         function arguments.
15602         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
15604 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
15606         [BZ #13550]
15607         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
15608         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
15609         <bp-sym.h> and <bp-asm.h>.
15610         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15611         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
15612         and <bp-asm.h>.
15613         (memcpy): Don't use BP_SYM.
15614         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
15615         <bp-asm.h>.
15616         (__mpn_add_n): Don't use BP_SYM.
15617         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
15618         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
15619         and <bp-asm.h>.
15620         (__mpn_addmul_1): Don't use BP_SYM.
15621         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15622         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
15623         <bp-sym.h>.
15624         (_setjmp): Don't use BP_SYM.
15625         (__novmx_setjmp): Likewise.
15626         (__GI__setjmp): Likewise.
15627         (__vmx_setjmp): Likewise.
15628         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
15629         <bp-sym.h>.
15630         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
15631         (__bzero): Don't use BP_SYM.
15632         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
15633         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
15634         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
15635         <bp-sym.h> and <bp-asm.h>.
15636         (memcpy): Don't use BP_SYM.
15637         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
15638         <bp-sym.h> and <bp-asm.h>.
15639         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15640         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
15641         <bp-sym.h> and <bp-asm.h>.
15642         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
15643         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
15644         <bp-asm.h>.
15645         (__mpn_lshift): Don't use BP_SYM.
15646         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15647         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
15648         <bp-asm.h>.
15649         (memset): Don't use BP_SYM.
15650         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
15651         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
15652         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
15653         <bp-asm.h>.
15654         (__mpn_mul_1): Don't use BP_SYM.
15655         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15656         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
15657         <bp-sym.h> and <bp-asm.h>.
15658         (memcmp): Don't use BP_SYM.
15659         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
15660         <bp-sym.h> and <bp-asm.h>.
15661         (memcpy): Don't use BP_SYM.
15662         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
15663         <bp-sym.h> and <bp-asm.h>.
15664         (memset): Don't use BP_SYM.
15665         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
15666         <bp-sym.h> and <bp-asm.h>.
15667         (strncmp): Don't use BP_SYM.
15668         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
15669         <bp-sym.h> and <bp-asm.h>.
15670         (memcpy): Don't use BP_SYM.
15671         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
15672         <bp-sym.h> and <bp-asm.h>.
15673         (memset): Don't use BP_SYM.
15674         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
15675         <bp-sym.h> and <bp-asm.h>.
15676         (__memchr): Don't use BP_SYM.
15677         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
15678         <bp-sym.h> and <bp-asm.h>.
15679         (memcmp): Don't use BP_SYM.
15680         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
15681         <bp-sym.h> and <bp-asm.h>.
15682         (memcpy): Don't use BP_SYM.
15683         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
15684         <bp-sym.h> and <bp-asm.h>.
15685         (__mempcpy): Don't use BP_SYM.
15686         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
15687         <bp-sym.h> and <bp-asm.h>.
15688         (__memrchr): Don't use BP_SYM.
15689         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
15690         <bp-sym.h> and <bp-asm.h>.
15691         (memset): Don't use BP_SYM.
15692         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
15693         <bp-sym.h> and <bp-asm.h>.
15694         (__rawmemchr): Don't use BP_SYM.
15695         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
15696         <bp-sym.h> and <bp-asm.h>.
15697         (__STRCMP): Don't use BP_SYM.
15698         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
15699         <bp-sym.h> and <bp-asm.h>.
15700         (strchr): Don't use BP_SYM.
15701         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
15702         <bp-sym.h> and <bp-asm.h>.
15703         (__strchrnul): Don't use BP_SYM.
15704         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
15705         <bp-sym.h> and <bp-asm.h>.
15706         (strlen): Don't use BP_SYM.
15707         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
15708         <bp-sym.h> and <bp-asm.h>.
15709         (strncmp): Don't use BP_SYM.
15710         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
15711         <bp-sym.h> and <bp-asm.h>.
15712         (__strnlen): Don't use BP_SYM.
15713         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
15714         <bp-asm.h>.
15715         (__mpn_rshift): Don't use BP_SYM.
15716         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
15717         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
15718         <bp-sym.h> and <bp-asm.h>.
15719         (__sigsetjmp): Don't use BP_SYM.
15720         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
15721         (L(start_addresses)): Don't use BP_SYM.
15722         (_start): Likewise.
15723         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
15724         <bp-asm.h>.
15725         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
15726         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15727         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15728         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
15729         <bp-asm.h>.
15730         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
15731         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
15732         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
15733         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
15734         <bp-asm.h>.
15735         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15736         comments.
15737         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
15738         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
15739         <bp-asm.h>.
15740         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
15741         FIXME comments.
15742         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
15743         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
15744         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
15745         <bp-asm.h>.
15746         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
15747         comment.
15748         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
15749         and <bp-asm.h>.
15750         (strncmp): Don't use BP_SYM,
15751         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
15752         <bp-asm.h>.
15753         (__mpn_sub_n): Don't use BP_SYM.
15754         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
15755         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
15756         and <bp-asm.h>.
15757         (__mpn_submul_1): Don't use BP_SYM.
15758         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
15759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
15760         <bp-sym.h> and <bp-asm.h>.
15761         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
15762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
15763         <bp-sym.h> and <bp-asm.h>.
15764         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
15765         comment.
15767 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15769         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
15770         Use ZK to minimize writes to Z.
15771         (sub_magnitudes): Simplify code a bit.
15772         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
15773         Use ZK to minimize writes to Z.
15774         (sub_magnitudes): Simplify code a bit.
15776 2013-02-27  Roland McGrath  <roland@hack.frob.com>
15778         * csu/gmon-start.c: Add special exception to license text.
15780 2013-02-27  Richard Henderson  <rth@redhat.com>
15782         * scripts/config.guess: Update from config.git.
15783         * scripts/config.sub: Likewise.
15785 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15787         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
15789         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
15791         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
15793         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
15795         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
15797 2013-02-26  Roland McGrath  <roland@hack.frob.com>
15799         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
15800         [$(build-shared = yes].
15802 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15804         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
15805         (__mul): Reduce iterations for calculating mantissa.
15807         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
15808         MPTWO.
15809         (__mpranred): Likewise.
15811         [BZ #15160]
15812         * malloc/memusagestat.c (main): Draw graphs for heap and stack
15813         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
15815 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
15817         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
15818         Define __attribute__.
15820 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15822         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
15823         unused.
15824         * posix/regex_internal.h (__attribute): Remove.
15825         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
15826         (re_string_context_at): Likewise.
15827         (bitset_not): Use __attribute__ and mark function as possibly
15828         unused.
15829         (bitset_merge): Likewise.
15830         (bitset_mask): Likewise.
15831         (re_string_char_size_at): Likewise.
15832         (re_string_wchar_at): Likewise.
15833         (re_string_elem_size_at): Likewise.
15835 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
15837         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
15838         code.
15839         (cc32): Likewise.
15841         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
15842         (__acr): Likewise.
15843         (__cpy): Likewise.
15844         (norm): Likewise.
15845         (denorm): Likewise.
15846         (__dbl_mp): Likewise.
15847         (add_magnitudes): Likewise.
15848         (sub_magnitudes): Likewise.
15849         (__mul): Likewise.
15850         (__inv): Likewise.
15852         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
15853         style.
15855         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
15856         style.
15858         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
15859         code.
15861         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
15862         up changes with default code.
15863         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
15864         Likewise.
15866 2013-02-24  Allan McRae  <allan@archlinux.org>
15868         * manual/socket.texi (The Internet Namespace): Order menu items
15869         to match that in the file.
15871         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
15872         node listing of the info page menu.
15874 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
15876         [BZ #13550]
15877         * sysdeps/i386/bp-asm.h: Remove file.
15878         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
15879         (PARMS): Do not use macros from bp-asm.h.
15880         (S1): Likewise.
15881         (S2): Likewise.
15882         (SIZE): Likewise.
15883         (__mpn_add_n): Do not use BP_SYM
15884         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
15885         "bp-asm.h".
15886         (PARMS): Do not use macros from bp-asm.h.
15887         (S1): Likewise.
15888         (SIZE): Likewise.
15889         (__mpn_addmul_1): Do not use BP_SYM
15890         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
15891         "bp-asm.h".
15892         (PARMS): Do not use macros from bp-asm.h.
15893         (SIGMSK): Likewise.
15894         (_setjmp): Likewise.  Do not use BP_SYM.
15895         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
15896         "bp-asm.h".
15897         (PARMS): Do not use macros from bp-asm.h.
15898         (SIGMSK): Likewise.
15899         (setjmp): Likewise.  Do not use BP_SYM.
15900         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
15901         "bp-asm.h".
15902         (PARMS): Do not use macros from bp-asm.h.
15903         (__frexp): Do not use BP_SYM.
15904         (frexp): Likewise.
15905         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
15906         "bp-asm.h".
15907         (PARMS): Do not use macros from bp-asm.h.
15908         (__frexpf): Do not use BP_SYM.
15909         (frexpf): Likewise.
15910         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
15911         "bp-asm.h".
15912         (PARMS): Do not use macros from bp-asm.h.
15913         (__frexpl): Do not use BP_SYM.
15914         (frexpl): Likewise.
15915         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
15916         "bp-asm.h".
15917         (PARMS): Do not use macros from bp-asm.h.
15918         (__remquo): Do not use BP_SYM.
15919         (remquo): Likewise.
15920         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
15921         "bp-asm.h".
15922         (PARMS): Do not use macros from bp-asm.h.
15923         (__remquof): Do not use BP_SYM.
15924         (remquof): Likewise.
15925         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
15926         "bp-asm.h".
15927         (PARMS): Do not use macros from bp-asm.h.
15928         (__remquol): Do not use BP_SYM.
15929         (remquol): Likewise.
15930         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
15931         "bp-asm.h".
15932         (PARMS): Do not use macros from bp-asm.h.
15933         (DEST): Likewise.
15934         (SRC): Likewise.
15935         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
15936         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
15937         "bp-asm.h".
15938         (PARMS): Do not use macros from bp-asm.h.
15939         (strlen): Do not use BP_SYM.
15940         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
15941         "bp-asm.h".
15942         (PARMS): Do not use macros from bp-asm.h.
15943         (S1): Likewise.
15944         (S2): Likewise.
15945         (SIZE): Likewise.
15946         (__mpn_add_n): Do not use BP_SYM.
15947         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
15948         "bp-asm.h".
15949         (PARMS): Do not use macros from bp-asm.h.
15950         (S1): Likewise.
15951         (SIZE): Likewise.
15952         (__mpn_addmul_1): Do not use BP_SYM.
15953         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
15954         weak_alias.
15955         (bzero): Likewise.
15956         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
15957         "bp-asm.h".
15958         (PARMS): Do not use macros from bp-asm.h.
15959         (S): Likewise.
15960         (SIZE): Likewise.
15961         (__mpn_lshift): Do not use BP_SYM.
15962         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
15963         "bp-asm.h".
15964         (PARMS): Do not use macros from bp-asm.h.
15965         (DEST): Likewise.
15966         (SRC): Likewise.
15967         (LEN): Likewise.
15968         (memcpy): Likewise.  Do not use BP_SYM.
15969         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
15970         libc_hidden_def and weak_alias.
15971         (mempcpy): Do not use BP_SYM in weak_alias.
15972         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
15973         "bp-asm.h".
15974         (PARMS): Do not use macros from bp-asm.h.
15975         (DEST): Likewise.
15976         (LEN): Likewise.
15977         [!BZERO_P] (CHR): Likewise.
15978         (memset): Likewise.  Do not use BP_SYM.
15979         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
15980         "bp-asm.h".
15981         (PARMS): Do not use macros from bp-asm.h.
15982         (S1): Likewise.
15983         (SIZE): Likewise.
15984         (__mpn_mul_1): Do not use BP_SYM.
15985         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
15986         "bp-asm.h".
15987         (PARMS): Do not use macros from bp-asm.h.
15988         (S): Likewise.
15989         (SIZE): Likewise.
15990         (__mpn_rshift): Do not use BP_SYM.
15991         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
15992         "bp-asm.h".
15993         (PARMS): Do not use macros from bp-asm.h.
15994         (STR): Likewise.
15995         (CHR): Likewise.
15996         (strchr): Likewise.  Do not use BP_SYM.
15997         (index): Do not use BP_SYM in weak_alias.
15998         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
15999         "bp-asm.h".
16000         (PARMS): Do not use macros from bp-asm.h.
16001         (DEST): Likewise.
16002         (SRC): Likewise.
16003         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
16004         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
16005         "bp-asm.h".
16006         (PARMS): Do not use macros from bp-asm.h.
16007         (strlen): Do not use BP_SYM.
16008         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
16009         "bp-asm.h".
16010         (PARMS): Do not use macros from bp-asm.h.
16011         (S1): Likewise.
16012         (S2): Likewise.
16013         (SIZE): Likewise.
16014         (__mpn_sub_n): Do not use BP_SYM.
16015         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
16016         "bp-asm.h".
16017         (PARMS): Do not use macros from bp-asm.h.
16018         (S1): Likewise.
16019         (SIZE): Likewise.
16020         (__mpn_submul_1): Do not use BP_SYM.
16021         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
16022         "bp-asm.h".
16023         (PARMS): Do not use macros from bp-asm.h.
16024         (S1): Likewise.
16025         (S2): Likewise.
16026         (SIZE): Likewise.
16027         (__mpn_add_n): Do not use BP_SYM.
16028         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
16029         weak_alias.
16030         (bzero): Likewise.
16031         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
16032         "bp-asm.h".
16033         (PARMS): Do not use macros from bp-asm.h.
16034         (BLK2): Likewise.
16035         (LEN): Likewise.
16036         (memcmp): Do not use BP_SYM.
16037         (bcmp): Do not use BP_SYM in weak_alias.
16038         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
16039         "bp-asm.h".
16040         (PARMS): Do not use macros from bp-asm.h.
16041         (DEST): Likewise.
16042         (SRC): Likewise.
16043         (LEN): Likewise.
16044         (memcpy): Likewise.  Do not use BP_SYM.
16045         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
16046         "bp-asm.h".
16047         (PARMS): Do not use macros from bp-asm.h.
16048         (DEST): Likewise.
16049         (SRC): Likewise.
16050         (LEN): Likewise.
16051         (memmove): Likewise.  Do not use BP_SYM.
16052         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
16053         "bp-asm.h".
16054         (PARMS): Do not use macros from bp-asm.h.
16055         (DEST): Likewise.
16056         (SRC): Likewise.
16057         (LEN): Likewise.
16058         (__mempcpy): Likewise.  Do not use BP_SYM.
16059         (mempcpy): Do not use BP_SYM in weak_alias.
16060         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
16061         "bp-asm.h".
16062         (PARMS): Do not use macros from bp-asm.h.
16063         (DEST): Likewise.
16064         (LEN): Likewise.
16065         [!BZERO_P] (CHR): Likewise.
16066         (memset): Likewise.  Do not use BP_SYM.
16067         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
16068         "bp-asm.h".
16069         (PARMS): Do not use macros from bp-asm.h.
16070         (STR2): Likewise.
16071         (strcmp): Do not use BP_SYM.
16072         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
16073         "bp-asm.h".
16074         (PARMS): Do not use macros from bp-asm.h.
16075         (STR): Likewise.
16076         (DELIM): Likewise.
16077         [USE_AS_STRTOK_R] (SAVE): Likewise.
16078         (FUNCTION): Likewise.  Do not use BP_SYM.
16079         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
16080         aliases.
16081         (strtok_r): Likewise.
16082         (__GI___strtok_r): Likewise.
16083         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16084         (PARMS): Do not use macros from bp-asm.h.
16085         (S): Likewise.
16086         (SIZE): Likewise.
16087         (__mpn_lshift): Do not use BP_SYM.
16088         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16089         (PARMS): Do not use macros from bp-asm.h.
16090         (STR): Likewise.
16091         (CHR): Likewise.
16092         (__memchr): Do not use BP_SYM.
16093         (memchr): Do not use BP_SYM in weak_alias.
16094         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16095         (PARMS): Do not use macros from bp-asm.h.
16096         (BLK2): Likewise.
16097         (LEN): Likewise.
16098         (memcmp): Do not use BP_SYM.
16099         (bcmp): Do not use BP_SYM in weak_alias.
16100         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
16101         (PARMS): Do not use macros from bp-asm.h.
16102         (S1): Likewise.
16103         (SIZE): Likewise.
16104         (__mpn_mul_1): Do not use BP_SYM.
16105         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
16106         "bp-asm.h".
16107         (PARMS): Do not use macros from bp-asm.h.
16108         (STR): Likewise.
16109         (CHR): Likewise.
16110         (__rawmemchr): Do not use BP_SYM.
16111         (rawmemchr): Do not use BP_SYM in weak_alias.
16112         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
16113         (PARMS): Do not use macros from bp-asm.h.
16114         (S): Likewise.
16115         (SIZE): Likewise.
16116         (__mpn_rshift): Do not use BP_SYM.
16117         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
16118         (PARMS): Do not use macros from bp-asm.h.
16119         (SIGMSK): Likewise.
16120         (__sigsetjmp): Likewise.  Do not use BP_SYM.
16121         * sysdeps/i386/start.S: Do not include "bp-sym.h".
16122         (_start): Do not use BP_SYM.
16123         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
16124         (PARMS): Do not use macros from bp-asm.h.
16125         (DEST): Likewise.
16126         (SRC): Likewise.
16127         (__stpcpy): Likewise.  Do not use BP_SYM.
16128         (stpcpy): Do not use BP_SYM in weak_alias.
16129         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
16130         "bp-asm.h".
16131         (PARMS): Do not use macros from bp-asm.h.
16132         (DEST): Likewise.
16133         (SRC): Likewise.
16134         (LEN): Likewise.
16135         (__stpncpy): Likewise.  Do not use BP_SYM.
16136         (stpncpy): Do not use BP_SYM in weak_alias.
16137         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
16138         (PARMS): Do not use macros from bp-asm.h.
16139         (STR): Likewise.
16140         (CHR): Likewise.
16141         (strchr): Likewise.  Do not use BP_SYM.
16142         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
16143         "bp-asm.h".
16144         (PARMS): Do not use macros from bp-asm.h.
16145         (STR): Likewise.
16146         (CHR): Likewise.
16147         (__strchrnul): Likewise.  Do not use BP_SYM.
16148         (strchrnul): Do not use BP_SYM in weak_alias.
16149         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
16150         "bp-asm.h".
16151         (PARMS): Do not use macros from bp-asm.h.
16152         (STOP): Likewise.
16153         (strcspn): Do not use BP_SYM.
16154         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
16155         "bp-asm.h".
16156         (PARMS): Do not use macros from bp-asm.h.
16157         (STR): Likewise.
16158         (STOP): Likewise.
16159         (strpbrk): Likewise.  Do not use BP_SYM.
16160         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
16161         "bp-asm.h".
16162         (PARMS): Do not use macros from bp-asm.h.
16163         (STR): Likewise.
16164         (CHR): Likewise.
16165         (strrchr): Likewise.  Do not use BP_SYM.
16166         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
16167         (PARMS): Do not use macros from bp-asm.h.
16168         (SKIP): Likewise.
16169         (strspn): Do not use BP_SYM.
16170         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
16171         (PARMS): Do not use macros from bp-asm.h.
16172         (STR): Likewise.
16173         (DELIM): Likewise.
16174         (SAVE): Likewise.
16175         (FUNCTION): Likewise.  Do not use BP_SYM.
16176         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
16177         aliases.
16178         (strtok_r): Likewise.
16179         (__GI___strtok_r): Likewise.
16180         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16181         (PARMS): Do not use macros from bp-asm.h.
16182         (S1): Likewise.
16183         (S2): Likewise.
16184         (SIZE): Likewise.
16185         (__mpn_sub_n): Do not use BP_SYM.
16186         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
16187         "bp-asm.h".
16188         (PARMS): Do not use macros from bp-asm.h.
16189         (S1): Likewise.
16190         (SIZE): Likewise.
16191         (__mpn_submul_1): Do not use BP_SYM.
16192         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
16193         <bp-sym.h>.
16194         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
16195         and <bp-asm.h>.
16196         (PARMS): Do not use macros from bp-asm.h.
16197         (FLAGS): Likewise.
16198         (PTID): Likewise.
16199         (TLS): Likewise.
16200         (CTID): Likewise.
16201         (__clone): Do not use BP_SYM.
16202         (clone): Do not use BP_SYM in weak_alias.
16203         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
16204         and <bp-asm.h>.
16205         (PARMS): Do not use macros from bp-asm.h.
16206         (LEN): Likewise.
16207         (__mmap64): Do not use BP_SYM.
16208         (mmap64): Do not use BP_SYM in weak_alias.
16209         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16210         <bp-sym.h> and <bp-asm.h>.
16211         (PARMS): Do not use macros from bp-asm.h.
16212         (__posix_fadvise64_l64): Do not use BP_SYM.
16213         * sysdeps/unix/sysv/linux/i386/semtimedop.S
16214         (PARMS): Do not use macros from bp-asm.h.
16215         (NSOPS): Likewise.
16216         (semtimedop): Do not use BP_SYM.
16217         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
16218         and <bp-asm.h>.
16220 2013-02-21  Allan McRae  <allan@archlinux.org>
16222         * manual/message.texi (Charset conversion in gettext):
16223         Move @end statement to beginning of line.
16225 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
16228         static.
16229         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
16230         Likewise.
16232         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
16233         (denorm): Likewise.
16234         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
16235         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
16237 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16239         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
16240         tail-call to the resolved function if pltexit isn't needed.
16242 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
16245         or Y being zero as being unlikely.
16246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16247         Likewise.
16249 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
16251         * manual/nss.texi (System Databases and Name Service Switch):
16252         Remove frobnicate @pxref.
16254 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16256         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16257         __attribute__ ((unused)) to __attribute__ ((__unused__)).
16259 2013-02-20  Petr Machata  <pmachata@redhat.com>
16261         * elf/elf.h (R_ARM_TARGET1): New macro.
16262         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
16263         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
16264         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
16265         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
16266         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
16267         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
16268         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
16269         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
16270         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
16271         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
16272         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
16273         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
16274         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
16275         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
16276         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
16277         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
16278         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
16279         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
16280         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
16281         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
16282         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
16283         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
16284         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
16285         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
16286         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
16287         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
16288         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
16289         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
16290         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
16291         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
16292         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
16293         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
16294         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
16295         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
16296         (R_ARM_THM_GOT_BREL12): Likewise.
16297         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
16298         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
16299         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
16300         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
16301         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
16302         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
16303         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
16304         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
16305         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
16307 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
16309         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
16310         __attribute_used__ to __attribute__ ((unused)).
16312 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16314         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
16315         powerpc mpa.c.
16316         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
16317         comment formatting.
16318         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
16320 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
16322         [BZ #13550]
16323         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
16324         Remove macro.
16325         (ENTER): Remove both macro definitions.
16326         (LEAVE): Likewise.
16327         (CHECK_BOUNDS_LOW): Likewise.
16328         (CHECK_BOUNDS_HIGH): Likewise.
16329         (CHECK_BOUNDS_BOTH): Likewise.
16330         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
16331         (RETURN_BOUNDED_POINTER): Likewise.
16332         (RETURN_NULL_BOUNDED_POINTER): Likewise.
16333         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
16334         (POP_ERRNO_LOCATION_RETURN): Likewise.
16335         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
16336         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16337         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
16338         macros.
16339         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16340         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
16341         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
16342         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
16343         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
16344         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
16345         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
16346         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
16347         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
16348         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
16349         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
16350         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
16351         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16352         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
16353         removed macros.
16354         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16355         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
16356         macros.
16357         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16358         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
16359         * sysdeps/i386/i586/memset.S (memset): Likewise.
16360         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
16361         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16362         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
16363         macros.
16364         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16365         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
16366         Change uses of L(2) to L(out).
16367         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
16368         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
16369         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
16370         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16371         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
16372         removed macros.
16373         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16374         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
16375         macros.
16376         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16377         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
16378         (RETURN): Do not use macro LEAVE.
16379         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
16380         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
16381         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
16382         * sysdeps/i386/i686/memset.S (memset): Likewise.
16383         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
16384         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
16385         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16386         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
16387         Likewise.
16388         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16389         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
16390         L(1_2) and L(1_3) into L(1).
16391         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16392         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
16393         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16394         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
16395         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16396         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
16397         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
16398         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16399         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
16400         macros.
16401         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
16402         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16403         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
16404         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
16405         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
16406         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16407         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
16408         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
16409         * sysdeps/i386/strcspn.S (strcspn): Likewise.
16410         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
16411         * sysdeps/i386/strrchr.S (strrchr): Likewise.
16412         * sysdeps/i386/strspn.S (strspn): Likewise.
16413         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
16414         conditional code.
16415         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16416         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
16417         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
16418         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
16419         L(1_3) into L(1_1).
16420         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
16421         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16422         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
16423         macros.
16424         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16426 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
16428         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
16429         macro.
16431 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
16433         * math/atest-exp.c (exp_mpn): Remove ROUND.
16434         * math/atest-exp2.c (exp_mpn): Likewise.
16435         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
16437         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
16438         * stdlib/tst-tls-atexit-lib.c: Likewise.
16439         * stdlib/tst-tls-atexit.c: Likewise.
16441 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16443         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
16444         and __attribute_alloc_size__.
16446 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16448         * include/programs/xmalloc.h: Change __attribute_alloc_size to
16449         __attribute_alloc_size__.
16450         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
16451         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
16453 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
16455         * include/programs/xmalloc.h: New file.
16456         * catgets/gencat.c: Include it.
16457         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
16458         * elf/pldd.c: Likewise.
16459         * iconv/iconv_charmap.c: Likewise.
16460         * iconv/iconvconfig.c: Likewise.
16461         * iconv/strtab.c: Likewise.
16462         * locale/programs/locale.c: Likewise.
16463         * locale/programs/localedef.h: Likewise.
16464         * locale/programs/simple-hash.c: Likewise.
16465         * nscd/nscd.h: Likewise.
16466         * nss/makedb.c: Likewise.
16467         * sysdeps/generic/ldconfig.h: Likewise.
16469 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16471         * Versions.def: Add GLIBC_2.18.
16472         * include/link.h (struct link_map): New member l_tls_dtor_count.
16473         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
16474         (__call_tls_dtors): Likewise.
16475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
16476         __cxa_thread_atexit_impl.
16477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16478         Likewise.
16479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16480         Likewise.
16481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16482         Likewise.
16483         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16484         Likewise.
16485         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
16487         Likewise.
16488         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
16489         Likewise.
16490         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16492         Likewise.
16493         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
16494         (tests): Add test case tst-tls-atexit.
16495         (modules-names): Add shared library for tst-tls-atexit.
16496         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
16497         (GLIBC_PRIVATE): Add __call_tls_dtors.
16498         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
16499         for libstdc++.
16500         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
16501         * stdlib/tst-tls-atexit.c: New test case.
16502         * stdlib/tst-tls-atexit-lib.c: New test case.
16504         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
16506         * elf/Versions (ld): Add _dl_find_dso_for_object.
16507         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
16508         * elf/dl-open.c (_dl_find_dso_for_object): New function.
16509         (dl_open_worker): Use _dl_find_dso_for_object.
16510         * elf/dl-sym.c (do_sym): Likewise.
16511         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
16513 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16515         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
16516         Syntactic changes only.
16517         (_dl_runtime_profile): Do a tail-call to the resolved function.
16519 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
16521         [BZ #13550]
16522         * sysdeps/x86_64/bp-asm.h: Remove file.
16523         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
16524         <bp-sym.h> and <bp-asm.h>.
16525         (__clone): Do not use BP_SYM.
16526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
16527         <bp-sym.h> and <bp-asm.h>.
16528         * sysdeps/unix/x86_64/sysdep.S: Likewise.
16529         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
16530         "bp-asm.h".
16531         (_setjmp): Do not use BP_SYM.
16532         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
16533         "bp-asm.h".
16534         (setjmp): Do not use BP_SYM.
16535         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
16536         libc_hidden_def.
16537         (mempcpy): Do not use BP_SYM in weak_alias.
16538         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
16539         "bp-asm.h".
16540         (strchr): Do not use BP_SYM.
16541         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
16542         "bp-asm.h".
16543         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
16544         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
16545         (_start): Do not use BP_SYM.
16546         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
16547         "bp-asm.h".
16548         (strcat): Do not use BP_SYM.
16549         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
16550         "bp-asm.h".
16551         (STRCMP): Do not use BP_SYM.
16552         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
16553         "bp-asm.h".
16554         (STRCPY): Do not use BP_SYM.
16555         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
16556         "bp-asm.h".
16557         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
16558         "bp-asm.h".
16559         (FUNCTION): Do not use BP_SYM.
16560         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
16561         weak_alias.
16562         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
16564 2013-02-17  Andreas Jaeger  <aj@suse.de>
16566         * time/Versions: Sort entries.
16567         * string/Versions: Likewise.
16568         * resolv/Versions: Likewise.
16569         * posix/Versions: Likewise.
16570         * iconv/Versions: Likewise.
16571         * elf/Versions: Likewise.
16572         * wcsmbs/Versions: Likewise.
16574 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16576         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
16577         loop termination condition.
16579         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
16580         variable to calculate EZ.
16581         (__sqr): Likewise.
16583         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
16584         the lower precision input.
16586 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
16588         [BZ #13550]
16589         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
16590         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
16591         (run-via-rtld-prefix): Do not handle %-bp tests.
16592         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
16593         (all-object-suffixes): Remove .ob.
16594         (bppfx): Remove variable.
16595         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
16596         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
16597         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
16598         [$(build-bounded) = yes] (libtype.ob): Likewise.
16599         * Makerules (elide-routines.ob): Remove variable.
16600         (do-tests-clean): Do not handle *-bp.out.
16601         (common-mostlyclean): Do not handle *-bp and *-bp.out.
16602         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
16603         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
16604         (tests): Do not include $(tests-bp.out).
16605         (xtests): Do not include $(xtests-bp.out).
16606         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
16607         [$(build-bounded) = yes] ($(addprefix
16608         $(objpfx),$(binaries-bounded))): Remove rule.
16609         ($(objpfx)%-bp.out): Remove rule.
16610         * config.make.in (build-bounded): Remove variable.
16611         * crypt/Makefile [$(build-bounded) = yes]
16612         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
16613         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
16614         append to variable.
16615         [$(build-bounded) = yes] (install-lib): Likewise.
16616         [$(build-bounded) = yes] (generated): Likewise.
16617         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
16618         Remove rule.
16619         * intl/Makefile [$(build-bounded) = yes]
16620         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
16621         * math/Makefile [$(build-bounded) = yes]
16622         ($(tests:%=$(objpfx)%-bp): Likewise.
16623         * misc/Makefile [$(build-bounded) = yes]
16624         ($(objpfx)tst-tsearch-bp): Likewise.
16625         * nptl/Makeconfig (bounded-thread-library): Remove variable.
16626         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
16627         Remove dependency.
16628         * string/Makefile (o-objects.ob): Remove variable.
16629         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
16630         (CFLAGS-.ob): Remove variable.
16631         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
16632         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
16633         both definitions of variable.
16634         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
16635         (ASFLAGS-.ob): Remove variable.
16637 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
16639         [BZ #13550]
16640         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
16641         Remove __BOUNDED_POINTERS__ from condition.
16642         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
16643         * string/bits/string2.h [!__NO_STRING_INLINES &&
16644         !__BOUNDED_POINTERS__]: Likewise.
16645         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
16646         Likewise.
16647         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
16648         Remove conditional code.
16649         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
16650         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
16651         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
16652         condition.
16654         [BZ #13550]
16655         * csu/libc-start.c: Do not include <bp-sym.h>.
16656         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
16657         * elf/dl-open.c: Do not include <bp-sym.h>.
16658         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
16659         * math/fegetenv.c: Do not include <bp-sym.h>.
16660         (fegetenv): Do not use BP_SYM in versioned symbols.
16661         * nptl/sysdeps/pthread/bits/libc-lockP.h
16662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
16663         <bp-sym.h>.
16664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16665         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
16666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16667         (__pthread_mutex_destroy): Likewise.
16668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16669         (__pthread_mutex_lock): Likewise.
16670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16671         (__pthread_mutex_trylock): Likewise.
16672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16673         (__pthread_mutex_unlock): Likewise.
16674         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16675         (__pthread_mutexattr_init): Likewise.
16676         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16677         (__pthread_mutexattr_destroy): Likewise.
16678         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16679         (__pthread_mutexattr_settype): Likewise.
16680         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16681         (__pthread_rwlock_init): Likewise.
16682         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16683         (__pthread_rwlock_destroy): Likewise.
16684         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16685         (__pthread_rwlock_rdlock): Likewise.
16686         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16687         (__pthread_rwlock_tryrdlock): Likewise.
16688         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16689         (__pthread_rwlock_wrlock): Likewise.
16690         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16691         (__pthread_rwlock_trywrlock): Likewise.
16692         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16693         (__pthread_rwlock_unlock): Likewise.
16694         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16695         (__pthread_key_create): Likewise.
16696         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16697         (__pthread_setspecific): Likewise.
16698         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16699         (__pthread_getspecific): Likewise.
16700         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
16701         Likewise.
16702         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16703         (_pthread_cleanup_push_defer): Likewise.
16704         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16705         (_pthread_cleanup_pop_restore): Likewise.
16706         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
16707         (pthread_setcancelstate): Likewise.
16708         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
16709         <bp-sym.h>.
16710         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
16711         (memchr): Do not use BP_SYM in weak_alias.
16712         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
16713         (fegetenv): Do not use BP_SYM in versioned symbols.
16714         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
16715         (fesetenv): Do not use BP_SYM in versioned symbols.
16716         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16717         (feupdateenv): Do not use BP_SYM in versioned symbols.
16718         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16719         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16720         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
16721         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
16722         (open64): Do not use BP_SYM in weak_alias.
16723         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
16724         (fegetenv): Do not use BP_SYM in versioned symbols.
16725         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
16726         (fesetenv): Do not use BP_SYM in versioned symbols.
16727         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
16728         (feupdateenv): Do not use BP_SYM in versioned symbols.
16729         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
16730         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
16731         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
16732         (feraiseexcept): Do not use BP_SYM in versioned symbols.
16733         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
16734         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
16735         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
16736         <bp-sym.h>.
16737         (__libc_start_main): Do not use BP_SYM.
16739 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16741         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
16742         redundant return line.
16743         (norm): Likewise.
16744         (denorm): Likewise.
16745         (dbl_mp): Likewise.
16746         (sub_magnitudes): Likewise.
16747         (__add): Likewise.
16748         (__sub): Likewise.
16749         (__mul): Likewise.
16750         (__inv): Likewise.
16751         (__dvd): Likewise.
16752         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
16753         (norm): Likewise.
16754         (denorm): Likewise.
16755         (dbl_mp): Likewise.
16756         (sub_magnitudes): Likewise.
16757         (__add): Likewise.
16758         (__sub): Likewise.
16759         (__mul): Likewise.
16760         (__inv): Likewise.
16761         (__dvd): Likewise.
16763         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
16764         instead of __mul.
16765         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
16766         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
16767         (cc32): Likewise.
16769         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
16770         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
16771         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
16772         of __mul for squares.
16773         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
16774         function
16775         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
16776         Likewise.
16777         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
16778         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
16780 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
16782         [BZ #13550]
16783         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
16784         code.
16785         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
16786         prototype or function definition.  Rename ubp_* variables and
16787         parameters.  Remove argv definitions conditional on
16788         [__BOUNDED_POINTERS__].
16789         * debug/backtrace.c (__backtrace): Do not use __unbounded.
16790         * elf/dl-runtime.c (_dl_fixup): Likewise.
16791         * include/set-hooks.h (RUN_HOOK): Likewise.
16792         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
16793         definition.
16794         * string/strcpy.c (strcpy): Do not use __unbounded.
16795         * sysdeps/generic/frame.h (struct layout): Likewise.
16796         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
16797         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
16798         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
16799         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
16800         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
16801         (__backtrace): Likewise.
16802         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
16803         use __ptrvalue.
16804         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16805         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16806         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
16807         Likewise.
16808         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
16809         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
16810         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16811         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16812         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
16813         Do not use __unbounded.
16814         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
16815         Rename __unboundedrlimits parameter to rlimits in prototype.
16816         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
16817         Do not use __unbounded.
16818         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
16819         not use __ptrvalue.
16820         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16821         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
16822         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16823         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
16824         __ptrvalue or __unbounded.
16825         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
16826         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
16827         use __unbounded.
16828         (__new_msgctl): Do not use __ptrvalue.
16829         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
16830         __unbounded.
16831         (__libc_msgrcv): Do not use __ptrvalue.
16832         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
16833         startup_info): Do not use __unbounded.
16834         (__libc_start_main): Likewise.  Rename ubp_* variables and
16835         parameters.  Remove argv definitions conditional on
16836         [__BOUNDED_POINTERS__].
16837         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
16838         __ptrvalue.
16839         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
16840         use __unbounded.
16841         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
16842         or __ptrvalue.
16843         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
16844         use __unbounded.
16845         (__new_shmctl): Do not use __ptrvalue.
16846         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
16847         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
16848         Likewise.
16849         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
16850         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
16851         (__libc_sigaction): Likewise.
16852         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
16853         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
16854         Likewise.
16855         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16857 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
16859         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
16861         * string/mempcpy.c: Implement by calling memcpy.
16863 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16865         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
16867         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
16868         evaluation.
16870         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
16871         values in the mantissa.
16873         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
16874         minimize writes to Z.
16875         (sub_magnitudes): Simplify code a bit.
16877 2013-02-12  Roland McGrath  <roland@hack.frob.com>
16879         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
16880         from the message.  The linker prefixes all warnings with that already.
16882 2013-02-12  Andreas Schwab  <schwab@suse.de>
16884         [BZ #15078]
16885         * posix/regexec.c (extend_buffers): Add parameter min_len.
16886         (check_matching): Pass minimum needed length.
16887         (clean_state_log_if_needed): Likewise.
16888         (get_subexp): Likewise.
16889         * posix/Makefile (tests): Add bug-regex34.
16890         (bug-regex34-ENV): Define.
16891         * posix/bug-regex34.c: New file.
16893         [BZ #11561]
16894         * posix/regcomp.c (parse_bracket_exp): When looking up collating
16895         elements compare against the byte sequence of it, not its name.
16896         * posix/Makefile (tests): Add bug-regex35.
16897         (bug-regex35-ENV): Define.
16898         * posix/bug-regex35.c: New file.
16900 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16902         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
16903         comment.
16904         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
16905         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
16906         (CHECK_EOL): Add undef.
16908 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
16910         * bits/stdlib-bsearch.h: New file.
16911         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
16912         * stdlib/stdlib.h: Likewise.
16914 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16916         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
16917         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
16918         declaration.
16919         * manual/search.texi (Array Search Function): Add missing const in
16920         lfind prototype.
16921         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
16922         declaration to use rlim_t.
16923         (Basic Scheduling Functions): Remove erroneous const from
16924         sched_getparam prototype.  Remove erroneous * from
16925         sched_get_priority_max and sched_get_priority_min prototypes.
16926         (Resource Usage): Fix summary @comment on vtimes to refer to
16927         sys/vtimes.h rather than vtimes.h.
16928         Add missing *s in vtimes prototype.
16929         (Limits on Resources): Fix ulimit prototype to return long int.
16930         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
16931         prototypes to use long int rather than double.
16932         (BSD Random): Fix initstate and setstate to use char *, not void *.
16933         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
16934         prototype to make second argument 'struct aiocb64 *const[]'.
16935         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
16936         (Status of AIO Operations): Remove erroneous const in aio_return and
16937         aio_return64 prototypes.
16938         (Synchronizing I/O): Fix sync prototype to return void.
16939         * manual/startup.texi (Suboptions): Remove an erroneous const in
16940         getsubopt prototype.
16941         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
16942         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
16943         use size_t rather than int.
16944         (Scanning All Users): Likewise for getpwent_r.
16945         (Setting Groups): Add missing const to setgroups prototype.
16946         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
16947         * manual/socket.texi (Host Names): Fix gethostbyaddr and
16948         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
16949         'const void *' rather than 'const char *'.
16950         (Host Address Functions): Likewise for inet_ntop.
16951         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
16952         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
16953         ssize_t for return value.
16954         (Sending Data): Likewise for send, sendto, sendmsg.
16955         (Socket Option Functions): Add a missing const in setsockopt prototype.
16956         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
16957         use wchar_t for the argument.
16958         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
16959         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
16960         take no arguments.
16961         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
16962         double/float/long double for second argument.
16963         Fix return types of significand, significandf, significandl.
16964         * manual/filesys.texi (Setting Permissions): Use mode_t for second
16965         argument in fchmod prototype.
16966         (File Owner): Use uid_t and gid_t in fchown prototype.
16967         (File Times): Add const to utimes, futimes, and lutimes prototypes.
16968         (Making Special Files): Use mode_t and dev_t in mknod prototype.
16969         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
16970         use 'const struct dirent **' as argument types to CMP function pointer
16971         argument.
16972         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
16973         (File Times): Fix summary magic @comment for struct utimbuf and utime
16974         to refer to utime.h, not time.h.
16975         * manual/string.texi (Argz Functions): Add missing const in
16976         argz_extract and argz_next prototypes.
16977         (Finding Tokens in a String): Likewise for basename.
16978         (String/Array Comparison): Fix typo in wcscasecmp prototype.
16979         (Copying and Concatenation): Fix typo in wmemmove prototype.
16980         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
16981         (Signal Stack): Remove erroneous const in sigstack prototype.
16982         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
16983         prototype.
16984         (Simple Calendar Time): Likewise for stime.
16985         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
16986         prototype.
16987         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
16988         say sys/sysctl.h instead.
16989         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
16990         and vsyslog prototypes.
16992 2013-02-11  Tom de Vries  <tom@codesourcery.com>
16994         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
16995         Remove.
16997 2013-02-11  Roland McGrath  <roland@hack.frob.com>
16999         * misc/sys/mman.h: Fix typo in mremap comment.
17001 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17003         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
17004         the '\0' terminator.
17006 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17008         [BZ #13550]
17009         * debug/segfault.c: Don't include <bp-checks.h>.
17010         * sysdeps/generic/bp-checks.h: Remove file.
17011         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
17012         (__GETDENTS): Don't use CHECK_N.
17013         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
17014         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
17015         (__getgroups): Don't use CHECK_N.
17016         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
17017         (setgroups): Don't use CHECK_N.
17018         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
17019         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
17020         (__libc_msgrcv): Don't use CHECK_N.
17021         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
17022         (__libc_msgsnd): Don't use CHECK_N.
17023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
17024         <bp-checks.h>.
17025         (__libc_pread): Don't use CHECK_N.
17026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
17027         include <bp-checks.h>.
17028         (__libc_pread64): Don't use CHECK_N.
17029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
17030         include <bp-checks.h>.
17031         (__libc_pwrite): Don't use CHECK_N.
17032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
17033         include <bp-checks.h>.
17034         (__libc_pwrite64): Don't use CHECK_N.
17035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
17036         <bp-checks.h>.
17037         (__libc_pread): Don't use CHECK_N.
17038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
17039         include <bp-checks.h>.
17040         (__libc_pread64): Don't use CHECK_N.
17041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
17042         include <bp-checks.h>.
17043         (__libc_pwrite): Don't use CHECK_N.
17044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
17045         include <bp-checks.h>.
17046         (__libc_pwrite64): Don't use CHECK_N.
17047         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
17048         (do_pread): Don't use CHECK_N.
17049         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
17050         (do_pread64): Don't use CHECK_N.
17051         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
17052         (do_pwrite): Don't use CHECK_N.
17053         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
17054         (do_pwrite64): Don't use CHECK_N.
17055         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
17056         (__libc_readv): Don't use CHECK_N.
17057         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
17058         (semop): Don't use CHECK_N.
17059         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
17060         <bp-checks.h>.
17061         (semtimedop): Don't use CHECK_N.
17062         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
17063         (__libc_pread): Don't use CHECK_N.
17064         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
17065         <bp-checks.h>.
17066         (__libc_pread64): Don't use CHECK_N.
17067         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
17068         <bp-checks.h>.
17069         (__libc_pwrite): Don't use CHECK_N.
17070         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
17071         <bp-checks.h>.
17072         (__libc_pwrite64): Don't use CHECK_N.
17073         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
17074         <bp-checks.h>.
17075         (__libc_msgrcv): Don't use CHECK_N.
17076         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
17077         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
17078         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
17079         (__libc_writev): Don't use CHECK_N.
17081 2013-02-08  Roland McGrath  <roland@hack.frob.com>
17083         * string/strcpy.c: Removed unused variable.
17085         * Makeconfig (+sysdep-includes): Define with := rather than =.
17086         Use an existing include/ subdir of each sysdeps dir before it.
17088 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17090         * nscd/connection.c (register_traced_file): Comment function.
17091         [HAVE_INOTIFY] (union __inev): Define.
17092         [HAVE_INOTIFY] (inotify_check_files): New function.
17093         [HAVE_INOTIFY] (clear_db_cache): Likewise.
17094         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
17095         clear_db_cache.
17096         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
17098 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17100         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
17101         loaded if not already and that a failure is permanent.
17103 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
17105         [BZ #15006]
17106         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
17107         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
17109 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
17111         [BZ #13550]
17112         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
17113         (CHECK_1_NULL_OK): Likewise.
17114         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
17115         (__fxstat): Do not use CHECK_1.
17116         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
17117         <bp-checks.h>.
17118         (___fxstat64): Do not use CHECK_1.
17119         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
17120         <bp-checks.h>.
17121         (__fxstatat): Do not use CHECK_1.
17122         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
17123         <bp-checks.h>.
17124         (__fxstatat64): Do not use CHECK_1.
17125         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
17126         <bp-checks.h>.
17127         (__fxstat): Do not use CHECK_1.
17128         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
17129         <bp-checks.h>.
17130         (__fxstatat): Do not use CHECK_1.
17131         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
17132         <bp-checks.h>.
17133         (__getresgid): Do not use CHECK_1.
17134         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
17135         <bp-checks.h>.
17136         (__getresuid): Do not use CHECK_1.
17137         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
17138         <bp-checks.h>.
17139         (__lxstat): Do not use CHECK_1.
17140         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
17141         <bp-checks.h>.
17142         (__old_msgctl): Do not use CHECK_1.
17143         (__new_msgctl): Likewise.
17144         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
17145         <bp-checks.h>.
17146         (__new_setrlimit): Do not use CHECK_1.
17147         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
17148         <bp-checks.h>.
17149         (__old_shmctl): Do not use CHECK_1.
17150         (__new_shmctl): Likewise.
17151         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
17152         <bp-checks.h>.
17153         (__xstat): Do not use CHECK_1.
17154         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
17155         (__lxstat): Do not use CHECK_1.
17156         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
17157         <bp-checks.h>.
17158         (___lxstat64): Do not use CHECK_1.
17159         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
17160         (__old_msgctl): Do not use CHECK_1.
17161         (__new_msgctl): Likewise.
17162         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
17163         <bp-checks.h>.
17164         (__gettimeofday): Do not use CHECK_1.
17165         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
17166         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
17167         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
17168         <bp-checks.h>.
17169         (__gettimeofday): Do not use CHECK_1.
17170         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
17171         (__old_shmctl): Do not use CHECK_1_NULL_OK.
17172         (__new_shmctl): Do not use CHECK_1.
17173         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
17174         <bp-checks.h>.
17175         (do_sigtimedwait): Do not use CHECK_1.
17176         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
17177         <bp-checks.h>.
17178         (do_sigwaitinfo): Do not use CHECK_1.
17179         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
17180         <bp-checks.h>.
17181         (msgctl): Do not use CHECK_1.
17182         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
17183         <bp-checks.h>.
17184         (shmctl): Do not use CHECK_1.
17185         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
17186         (ustat): Do not use CHECK_1.
17187         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
17188         <bp-checks.h>.
17189         (__fxstat): Do not use CHECK_1.
17190         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
17191         <bp-checks.h>.
17192         (__fxstatat): Do not use CHECK_1.
17193         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
17194         <bp-checks.h>.
17195         (__lxstat): Do not use CHECK_1.
17196         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
17197         <bp-checks.h>.
17198         (__xstat): Do not use CHECK_1.
17199         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
17200         (__xstat): Do not use CHECK_1.
17201         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
17202         (___xstat64): Do not use CHECK_1.
17204         [BZ #13550]
17205         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
17206         definitions.
17207         (CHECK_BOUNDS_HIGH): Likewise.
17208         * string/strcpy.c: Do not include <bp-checks.h>.
17209         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
17211 2013-02-07  Roland McGrath  <roland@hack.frob.com>
17213         * nscd/nscd-client.h (__nscd_drop_map_ref):
17214         Add __attribute__ ((unused)).
17215         * nis/nss-nisplus.h (niserr2nss): Likewise.
17217         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
17218         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
17220         * csu/libc-tls.c (init_static_tls, init_slotinfo):
17221         Remove inline keyword.
17222         * include/rounding-mode.h (round_away): Likewise.
17223         * libio/wfileops.c (adjust_wide_data): Likewise.
17224         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
17225         (__m128i_strloadu_tolower): Likewise.
17226         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
17227         (__m128i_strloadu_tolower): Likewise.
17228         * time/mktime.c (ydhms_diff): Likewise.
17229         * locale/elem-hash.h (elem_hash): Likewise.
17230         * locale/setlocale.c (setdata): Likewise.
17231         * posix/regex_internal.h (re_string_char_size_at): Likewise.
17232         (re_string_wchar_at): Likewise.
17233         (bitset_not, bitset_merge, bitset_mask): Likewise.
17234         [!(__GNUC__ > 3)] (inline): Remove macro.
17235         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
17236         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
17237         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
17238         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
17239         * string/memcmp.c (memcmp_bytes): Likewise.
17240         * locale/programs/locarchive.c (compute_hashval): Likewise.
17241         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
17242         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
17243         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
17244         * nss/getent.c (print_rpc, print_protocols): Likewise.
17245         (print_passwd, print_group, print_aliases): Likewise.
17246         * nis/nss-nisplus.h (niserr2nss): Likewise.
17247         * nscd/connections.c (restart_p): Likewise.
17248         Change return type to bool.
17250 2013-02-05  Roland McGrath  <roland@hack.frob.com>
17252         * Makeconfig (all-Depend-files): Add existing
17253         $(sorted-subdirs:=/Depend) files.
17254         (all-subdirs): Remove nss.
17255         * sysdeps/unix/inet/Subdirs: Add it here instead.
17256         * hesiod/Depend: New file.
17258         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
17259         instead of calling alloca.
17261         * io/lseek.c (__lseek): Rename to __libc_lseek.
17262         Define __lseek as an alias.
17264         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
17266 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
17268         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
17269         else clause and remove check for non-standard endianness.
17271 2013-02-04  David S. Miller  <davem@davemloft.net>
17273         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17275 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
17277         [BZ #13550]
17278         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
17279         (__ubp_memchr): Remove prototype.
17280         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
17281         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17282         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
17283         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
17284         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
17285         Remove alias.
17286         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
17287         (__ubp_memchr): Likewise.
17288         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
17289         (__ubp_memchr): Likewise.
17290         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
17291         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
17292         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
17293         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
17294         CHECK_STRING.
17295         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17296         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
17297         (__getcwd): Do not use CHECK_STRING.
17298         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
17299         <bp-checks.h>.
17300         (__real_chown): Do not use CHECK_STRING.
17301         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
17302         <bp-checks.h>.
17303         (fchownat): Do not use CHECK_STRING.
17304         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
17305         CHECK_STRING.
17306         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
17307         <bp-checks.h>.
17308         (__lchown): Do not use CHECK_STRING.
17309         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17310         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17311         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17312         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
17313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
17314         include <bp-checks.h>.
17315         (truncate64): Do not use CHECK_STRING.
17316         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
17317         <bp-checks.h>.
17318         (__real_chown): Do not use CHECK_STRING.
17319         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
17320         <bp-checks.h>.
17321         (__lchown): Do not use CHECK_STRING.
17322         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
17323         <bp-checks.h>.
17324         (__chown): Do not use CHECK_STRING.
17325         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
17326         <bp-checks.h>.
17327         (truncate64): Do not use CHECK_STRING.
17328         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
17329         Likewise.
17330         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
17331         (__xmknod): Do not use CHECK_STRING.
17332         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
17333         <bp-checks.h>.
17334         (__xmknodat): Do not use CHECK_STRING.
17335         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17336         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
17338 2013-02-04  Andreas Schwab  <schwab@suse.de>
17340         [BZ #14142]
17341         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
17342         * include/netdb.h: Likewise for h_errno.
17343         * elf/tst-stackguard1.c: Include <tls.h>.
17345 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
17347         * elf/link.h (struct link_map): Extend the l_addr comment.
17348         * include/link.h (struct link_map): Likewise.
17350 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
17352         [BZ #13550]
17353         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
17354         (BOUNDED_1): Remove macro.
17355         * debug/backtrace.c: Don't include <bp-checks.h>.
17356         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
17357         (__backtrace): Likewise.
17358         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
17359         <bp-checks.h>.
17360         (__backtrace): Don't use BOUNDED_1.
17361         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
17362         <bp-checks.h>.
17363         (__backtrace): Don't use BOUNDED_1.
17364         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
17365         (__backtrace): Don't use BOUNDED_1.
17366         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
17367         (shmat): Don't use BOUNDED_N.
17369 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
17371         [BZ #13550]
17372         * sysdeps/generic/bp-start.h: Remove file.
17373         * csu/libc-start.c: Don't include <bp-start.h>.
17374         (LIBC_START_MAIN): Set up __environ directly instead of using
17375         INIT_ARGV_and_ENVIRON.
17376         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
17377         <bp-start.h>.
17379         [BZ #13550]
17380         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
17381         definitions.
17382         (CHECK_FCNTL): Likewise.
17383         (CHECK_N_PAGES): Likewise.
17385         [BZ #13550]
17386         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
17387         definitions.
17388         (CHECK_SIGSET_NULL_OK): Likewise.
17389         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
17390         <bp-checks.h>.
17391         (sigpending): Don't use CHECK_SIGSET.
17392         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
17393         <bp-checks.h>.
17394         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17395         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
17396         <bp-checks.h>.
17397         (do_sigsuspend): Don't use CHECK_SIGSET.
17398         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
17399         use CHECK_SIGSET.
17400         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
17401         (do_sigwait): Don't use CHECK_SIGSET.
17402         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
17403         use CHECK_SIGSET.
17404         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
17405         include <bp-checks.h>.
17406         (sigpending): Don't use CHECK_SIGSET.
17407         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
17408         include <bp-checks.h>.
17409         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17410         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
17411         <bp-checks.h>.
17412         (sigpending): Don't use CHECK_SIGSET.
17413         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
17414         <bp-checks.h>.
17415         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
17417         [BZ #13550]
17418         * sysdeps/generic/bp-semctl.h: Remove file.
17419         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
17420         <bp-checks.h> and <bp-semctl.h>.
17421         (__old_semctl): Don't use CHECK_SEMCTL.
17422         (__new_semctl): Likewise.
17423         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
17424         and <bp-semctl.h>.
17425         (__old_semctl): Don't use CHECK_SEMCTL.
17426         (__new_semctl): Likewise.
17427         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
17428         <bp-checks.h> and <bp-semctl.h>.
17429         (__old_semctl): Don't use CHECK_SEMCTL.
17430         (__new_semctl): Likewise.
17431         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
17432         <bp-checks.h> and <bp-semctl.h>.
17433         (semctl): Don't use CHECK_SEMCTL.
17435         [BZ #13550]
17436         * Makerules (elide-bp-thunks): Remove variable.
17437         (elide-routines.oS): Don't use $(elide-bp-thunks).
17438         (elide-routines.os): Likewise.
17439         (elide-routines.o): Likewise.
17440         (elide-routines.op): Likewise.
17441         (elide-routines.og): Likewise.
17442         (objects): Don't use $(bp-thunks).
17443         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
17444         include.
17445         (common-generated): Do not add s-proto-bp.d.
17446         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
17447         (int): Likewise.
17448         (typ): Likewise.
17449         Do not generate makefile rules for bounded-pointer thunks.
17450         * sysdeps/generic/bp-thunks.h: Remove file.
17451         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
17452         * sysdeps/unix/s-proto-bp.S: Likewise.
17454         [BZ #15062]
17455         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
17456         parts of result separately when argument is not close to line from
17457         -i to i and one part of argument is small.
17458         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17459         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17460         * math/libm-test.inc (cacos_test): Add more tests.
17461         (casin_test): Likewise.
17462         (casinh_test): Likewise.
17463         * sysdeps/i386/fpu/libm-test-ulps: Update.
17464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17466 2013-01-31  David S. Miller  <davem@davemloft.net>
17468         * po/de.po: Update from translation team.
17470 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
17472         * time/tzfile.c: Include stdint.h for SIZE_MAX.
17474 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
17476         * configure.in (_AC_PROG_CC_C89): New definition.
17477         * configure: Regenerate.
17479         * configure.in (AC_PROG_CPP): New definition.
17480         * configure: Regenerate.
17482 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17484         * debug/tst-backtrace.h: New file.
17485         * debug/tst-backtrace2.c: Include tst-backtrace.h.
17486         (ret): Remove variable.
17487         (x): Likewise.
17488         (FAIL): Remove macro.
17489         (NO_INLINE): Likewise.
17490         (fn1): Use match function instead of strstr.
17491         * debug/tst-backtrace3.c: Include tst-backtrace.h.
17492         (ret): Remove variable.
17493         (x): Likewise.
17494         (FAIL): Remove macro.
17495         (NO_INLINE): Likewise.
17496         (fn): Use match function instead of strstr.
17497         * debug/tst-backtrace4.c: Include tst-backtrace.h.
17498         (ret): Remove variable.
17499         (x): Likewise.
17500         (FAIL): Remove macro.
17501         (NO_INLINE): Likewise.
17502         (handle_signal): Use match function instead of strstr.
17503         * debug/tst-backtrace5.c: Include tst-backtrace.h.
17504         (ret): Remove variable.
17505         (x): Likewise.
17506         (FAIL): Remove macro.
17507         (NO_INLINE): Likewise.
17508         (handle_signal): Use match function instead of strstr.
17510 2013-01-23  Roland McGrath  <roland@hack.frob.com>
17512         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
17514 2013-01-23  David S. Miller  <davem@davemloft.net>
17516         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
17517         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
17518         argument of CAS if possible.
17519         * sysdeps/sparc/sparc64/bits/atomic.h
17520         (__arch_compare_and_exchange_val_32_acq): Likewise.
17521         (__arch_compare_and_exchange_val_64_acq): Likewise.
17523 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
17525         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
17526         * sysdeps/posix/ulimit.c: ... this.
17527         Include <limits.h>.
17528         * sysdeps/unix/bsd/ulimit.c: Remove file.
17530 2013-01-23  Adam Conrad  <adconrad@0c3.net>
17532         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
17533         (LDFLAGS-tst-array5): Likewise.
17535 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
17537         [BZ #15036]
17538         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
17539         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
17540         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
17541         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
17543 2013-01-21  David S. Miller  <davem@davemloft.net>
17545         * sysdeps/sparc/backtrace.c: New file.
17546         * sysdeps/sparc/sparc32/backtrace.h: New file.
17547         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
17548         * sysdeps/sparc/sparc64/backtrace.h: New file.
17549         * sysdeps/sparc/sparc64/backtrace.c: Delete.
17550         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
17551         -funwind-tables.
17553 2013-01-21  Andreas Schwab  <schwab@suse.de>
17555         [BZ #15020]
17556         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
17557         closed its stdout.
17559 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
17561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
17562         "mpa2.h".
17563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17565 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
17566             Mark Mitchell  <mark@codesourcery.com>
17567             Tom de Vries  <tom@codesourcery.com>
17568             Paul Pluzhnikov  <ppluzhnikov@google.com>
17570         * debug/tst-backtrace2.c: New file.
17571         * debug/tst-backtrace3.c: Likewise.
17572         * debug/tst-backtrace4.c: Likewise.
17573         * debug/tst-backtrace5.c: Likewise.
17574         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
17575         (CFLAGS-tst-backtrace3.c): Likewise.
17576         (CFLAGS-tst-backtrace4.c): Likewise.
17577         (CFLAGS-tst-backtrace5.c): Likewise.
17578         (LDFLAGS-tst-backtrace2): Likewise.
17579         (LDFLAGS-tst-backtrace3): Likewise.
17580         (LDFLAGS-tst-backtrace4): Likewise.
17581         (LDFLAGS-tst-backtrace5): Likewise.
17582         (tests): Add new tests tst-backtrace2, tst-backtrace3,
17583         tst-backtrace4 and tst-backtrace5.
17585 2013-01-18  Anton Blanchard  <anton@samba.org>
17586             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17588         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
17589         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
17590         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
17591         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
17592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
17593         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
17594         "+r" and remove output regs list as redundant.  Add explicit inline
17595         asm to specify register of return val to work around compiler codegen
17596         bug.  Remove (int) cast on return value.  Add return type parameter to
17597         use in macro so that this macro does not truncate return value for
17598         64-bit values.
17599         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
17600         pass to INTERNAL_VSYSCALL_NCS.
17601         (INLINE_VSYSCALL): Add 'long int' as return type to
17602         INTERNAL_VSYSCALL_NCS macro invocation.
17603         (INTERNAL_VSYSCALL): Add 'long int' as return type to
17604         INTERNAL_VSYSCALL_NCS macro invocation.
17605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17607 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
17609         [BZ #14496]
17610         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
17611         Fix application of SIMD FP exception mask.
17613         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
17614         mp_no from a power of two.
17615         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
17616         __mpexp_twomm1.  Use __pow_mp.
17618         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
17619         multiplication.
17621 2013-01-17  David S. Miller  <davem@davemloft.net>
17623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17625 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17627         [BZ #15023]
17628         * include/complex.h: Condition contents on [!_COMPLEX_H].
17629         (__kernel_casinhf): New prototype.
17630         (__kernel_casinh): Likewise.
17631         (__kernel_casinhl): Likewise.
17632         * math/Makefile (libm_calls): Add k_casinh.
17633         * math/k_casinh.c: New file.
17634         * math/k_casinhf.c: Likewise.
17635         * math/k_casinhl.c: Likewise.
17636         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
17637         finite nonzero arguments.
17638         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
17639         finite nonzero arguments.
17640         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
17641         finite nonzero arguments.
17642         * math/s_casinh.c: Do not include <float.h>.
17643         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
17644         * math/s_casinhf.c: Do not include <float.h>.
17645         (__casinhf): Move code for finite nonzero arguments to
17646         k_casinhf.c.
17647         * math/s_casinhl.c: Do not include <float.h>.
17648         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
17649         redefine.
17650         (__casinhl): Move code for finite nonzero arguments to
17651         k_casinhl.c.
17652         * math/libm-test.inc (cacos_test): Add more tests.
17653         * sysdeps/i386/fpu/libm-test-ulps: Update.
17654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17656 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
17658         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
17659         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
17660         [!HAVE_MREMAP]: Remove [defined linux] case.
17661         * malloc/arena.c: Do not include <malloc-sysdep.h>.
17663 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17665         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
17667 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
17669         * elf/elf.h (R_386_SIZE32): New relocation.
17670         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
17671         R_386_SIZE32.
17672         (elf_machine_rela): Likewise.
17673         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
17674         R_X86_64_SIZE64 and R_X86_64_SIZE32.
17676 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
17678         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
17679         (FP_FAST_FMA): Do not define.
17680         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
17681         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
17682         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
17683         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
17684         !_SOFT_FLOAT]: Likewise.
17685         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
17686         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
17687         value.
17688         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
17689         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
17690         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
17691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
17692         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
17693         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
17694         file.
17696 2013-01-16  Andreas Schwab  <schwab@suse.de>
17698         [BZ #14327]
17699         * include/stdlib.h (__mktemp): Add declaration.
17700         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
17701         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
17703 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17705         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
17706         definitions.
17707         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
17708         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
17709         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
17710         definitions here.
17711         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
17712         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
17713         definitions.
17714         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
17715         and ONE.
17716         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
17717         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
17718         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
17719         definitions.
17720         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
17721         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
17722         definitions.
17723         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
17725         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
17727 2013-01-15  David S. Miller  <davem@davemloft.net>
17729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17730         trunc{,f} to libm-sysdep_routes.
17731         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
17733         file.
17734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
17735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
17736         file.
17737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
17738         file.
17739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
17740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
17741         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
17742         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
17743         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
17744         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
17745         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
17746         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
17748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17749         nearbyint{,f} to libm-sysdep_routes.
17750         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
17752         New file.
17753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
17754         file.
17755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
17756         New file.
17757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
17758         file.
17759         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
17760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
17761         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
17762         file.
17763         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
17764         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
17765         file.
17766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
17767         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
17768         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
17770         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
17771         libc_feholdexcept and libc_fesetenv.
17773 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
17775         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
17777 2013-01-14  David S. Miller  <davem@davemloft.net>
17779         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
17780         (SPARC_ASM_VIS2_IFUNC): Likewise.
17781         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
17782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
17783         use of 'siam' instruction.
17784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
17785         Likewise.
17786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
17787         Likewise.
17788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
17789         Likewise.
17790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
17791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
17792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
17793         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
17794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
17795         file.
17796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
17797         file.
17798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
17799         file.
17800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
17801         file.
17802         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
17803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
17804         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
17805         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
17806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
17807         new VIS2 routines.
17808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
17809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
17810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
17811         Likewise.
17812         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
17813         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
17814         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
17815         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
17816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
17817         routines to libm-sysdep_routines.
17818         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
17820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
17821         fdim/fdimf to libm-sysdep_routines.
17822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
17823         file.
17824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
17825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
17826         file.
17827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
17828         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
17829         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
17830         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
17831         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
17832         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
17833         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
17835 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17837         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
17838         to optimize copies.
17840         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
17841         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
17842         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17844         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
17845         local variable MPTWO.
17846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17847         Likewise.
17849 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17851         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
17852         GLOB_NOESCAPE.
17854 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17856         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
17858 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
17860         * manual/pattern.texi (glob_t): Document gl_flags.
17861         (glob64_t): Likewise.
17863 2013-01-11  David S. Miller  <davem@davemloft.net>
17865         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
17866         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
17867         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
17868         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
17869         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
17870         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
17871         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
17872         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
17873         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
17874         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
17875         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
17876         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
17877         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
17879         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
17880         sparc V9 rather than using V8 code.
17881         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
17882         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
17884         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
17885         Move to...
17886         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
17887         Here.
17889 2013-01-11  Roland McGrath  <roland@hack.frob.com>
17891         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
17892         not in the main loop.
17893         * configure: Regenerated.
17895 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
17897         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
17898         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
17899         to just #else.
17900         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
17901         [!__GLIBC_HAVE_LONG_LONG] case.
17902         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
17903         condition to just #else.
17904         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
17905         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
17906         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
17907         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
17908         unconditional.
17909         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
17910         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17911         #elif condition to just #else.
17912         * sysdeps/unix/sysv/linux/sys/sysmacros.h
17913         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
17914         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
17915         #elif condition to just #else.
17917 2013-01-11  Steve Ellcey  <sellcey@mips.com>
17919         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
17920         (EF_MIPS_ARCH_64): Fix value.
17921         (EF_MIPS_ARCH_32R2): New.
17922         (EF_MIPS_ARCH_64R2): New.
17924 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
17926         * Makeconfig (+link-pie-before-libc): New.
17927         (+link-pie-after-libc): Likewise.
17928         (+link-pie-tests): Likewise.
17929         (+link-pie): Rewritten.
17930         (link-before-libc): Remove $(config-LDFLAGS).
17931         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
17932         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
17933         (config-LDFLAGS): Renamed to ...
17934         (rtld-LDFLAGS): This.
17935         (rtld-tests-LDFLAGS): New macro.
17936         (link-libc-rpath-link): Likewise.
17937         (link-libc-tests-rpath-link): Likewise.
17938         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
17939         (link-libc): Prepand $(link-libc-rpath-link).
17940         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
17941         (test-program-prefix): New macro.
17942         (test-via-rtld-prefix): Likewise.
17943         (test-program-cmd): Likewise.
17944         (host-test-program-cmd): Likewise.
17945         * Makefile ($(common-objpfx)testrun.sh): Replace
17946         $(run-program-prefix) with $(test-program-prefix).
17947         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
17948         $(rtld-LDFLAGS).
17949         ($(common-objpfx)shlib.lds): Likewise.
17950         (build-module-helper): Likewise.
17951         ($(common-objpfx)format.lds): Likewise.
17952         * Rules (binaries-pie-tests): New.
17953         (binaries-pie-notests): Likewise.
17954         (binaries-pie): Rewritten.
17955         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
17956         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
17957         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
17958         (make-test-out): Replace $(host-built-program-cmd) with
17959         $(host-test-program-cmd).
17960         * config.make.in (build-hardcoded-path-in-tests): New variable.
17961         * configure.in (--enable-hardcoded-path-in-tests): New configure
17962         option.
17963         (hardcoded_path_in_tests): New AC_SUBST.
17964         * configure: Regenerated.
17965         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
17966         $(built-program-cmd) with $(test-program-cmd).
17967         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
17968         (test_program_cmd): This.
17969         * elf/Makefile ($(objpfx)order.out): Run test with
17970         $(test-program-prefix).
17971         ($(objpfx)order2.out): Likewise.
17972         ($(objpfx)tst-initorder.out): Likewise.
17973         ($(objpfx)tst-initorder2.out): Likewise.
17974         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
17975         $(test-program-cmd).
17976         ($(objpfx)tst-array1-static.out): Likewise.
17977         ($(objpfx)tst-array2.out): Likewise.
17978         ($(objpfx)tst-array3.out): Likewise.
17979         ($(objpfx)tst-array4.out): Likewise.
17980         ($(objpfx)tst-array5.out): Likewise.
17981         ($(objpfx)tst-array5-static.out): Likewise.
17982         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
17983         $(test-program-cmd).
17984         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
17985         $(run-program-prefix) with $(test-program-prefix).
17986         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
17987         (test_program_prefix): This.
17988         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
17989         $(run-program-prefix) with $(test-program-prefix).
17990         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
17991         (test_program_prefix): This.
17992         * iconvdata/tst-tables.sh: Likewise.
17993         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
17994         $(run-program-prefix) with $(test-program-prefix).
17995         ($(objpfx)tst-translit.out): Likewise.
17996         ($(objpfx)tst-gettext2.out): Likewise.
17997         ($(objpfx)tst-gettext4.out): Likewise.
17998         ($(objpfx)tst-gettext6.out): Likewise.
17999         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
18000         (test_program_prefix): This.
18001         * intl/tst-gettext2.sh: Likewise.
18002         * intl/tst-gettext4.sh  Likewise.
18003         * intl/tst-gettext6.sh: Likewise.
18004         * intl/tst-translit.sh: Likewise.
18005         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
18006         with $(test-program-cmd).
18007         * libio/Makefile ($(objpfx)test-freopen.out): Replace
18008         $(run-program-prefix) with $(test-program-prefix).
18009         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
18010         (test_program_prefix): This.
18011         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
18012         $(run-program-prefix) with $(test-program-prefix).
18013         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
18014         (test_program_prefix): This.
18015         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
18016         * posix/Makefile ($(objpfx)globtest.out): Replace
18017         $(run-via-rtld-prefix) and $(test-wrapper) with
18018         $(test-program-prefix) and $(test-via-rtld-prefix).
18019         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
18020         $(test-program-prefix).
18021         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
18022         $(host-test-program-cmd).
18023         (tst-spawn-ARGS): Likewise.
18024         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
18025         $(test-program-prefix).
18026         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
18027         (test_via_rtld_prefix): This.
18028         (test_wrapper): Renamed to ...
18029         (test_program_prefix): This.
18030         (run_program_prefix): Replaced by test_program_prefix.
18031         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
18032         (test_program_prefix): This.
18033         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
18034         with $(host-test-program-cmd).
18035         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
18036         $(run-program-prefix) with $(test-program-prefix).
18037         ($(objpfx)tst-printf.out): Likewise.
18038         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
18039         $(test-program-cmd).
18040         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
18041         (test_program_prefix): This.
18042         * stdio-common/tst-unbputc.sh: Likewise.
18043         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
18044         $(run-program-prefix) with $(test-program-prefix).
18045         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
18046         (test_program_prefix): This.
18047         * string/Makefile ($(objpfx)tst-svc.out):  Replace
18048         $(built-program-cmd) with $(test-program-cmd).
18050 2013-01-11  Andreas Jaeger  <aj@suse.de>
18052         [BZ #15003]
18053         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
18054         value. Sync with Linux 3.7.
18056 2013-01-10  David S. Miller  <davem@davemloft.net>
18058         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
18059         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18060         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18062 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18064         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
18065         never set.
18066         * configure: Regenerated.
18068 2013-01-10  David S. Miller  <davem@davemloft.net>
18070         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18071         sparc V9 rather than using V8 code.
18072         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18073         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18075 2013-01-10  Roland McGrath  <roland@hack.frob.com>
18077         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
18078         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
18079         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
18080         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
18081         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
18082         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
18083         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
18084         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
18085         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
18086         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
18087         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
18088         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
18089         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
18090         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
18091         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
18092         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
18093         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
18094         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
18095         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
18096         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
18097         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
18098         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
18099         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
18100         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
18101         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
18102         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
18103         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
18105 2013-01-10  David S. Miller  <davem@davemloft.net>
18107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18109 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18111         * posix/Makefile (tests-static): New variable.
18112         (tests): Add $(tests-static).
18113         (tst-exec-static-ARGS): New variable.
18114         (tst-spawn-static-ARGS): Likewise.
18115         * posix/tst-exec-static.c: New file.
18116         * posix/tst-spawn-static.c: Likewise.
18117         * posix/tst-exec.c: Support run directly.
18118         * posix/tst-spawn.c: Likewise.
18120 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
18122         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
18123         long.
18124         * math/bits/mathcalls.h (llrint): Likewise.
18125         (llround): Likewise.
18126         * stdlib/stdlib.h (struct drand48_data): Likewise.
18127         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
18128         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
18129         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
18130         Likewise.
18131         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
18132         Likewise.
18133         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
18134         (elf_greg_t): Likewise.
18135         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
18136         (__jmp_buf): Likewise.
18137         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
18138         definitions.
18139         (llrint): Likewise, for all definitions.
18140         (llrintl): Likewise.
18142         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
18143         Remove [__GNUC__] condition.
18144         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
18145         condition to just [__USE_ISOC99].
18146         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
18148 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
18150         [BZ #14200]
18151         * sysdeps/unix/sysv/linux/x86/bits/environments.h
18152         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
18153         defined.
18154         (_POSIX_V6_ILP32_OFF32): Likewise.
18155         (_XBS5_ILP32_OFF32): Likewise.
18156         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
18157         (__ILP32_OFFBIG_LDFLAGS): Likewise.
18159 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18161         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
18163         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
18164         doubles __mpexp_twomm1.  Adjust usage.
18165         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
18166         Remove.
18168 2013-01-10  Andreas Schwab  <schwab@suse.de>
18170         [BZ #14964]
18171         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
18172         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
18174 2013-01-09  David S. Miller  <davem@davemloft.net>
18176         [BZ #15003]
18177         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
18178         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
18179         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
18180         TCP_FASTOPEN): Define.
18181         (tcp_repair_opt): New structure.
18182         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
18183         enum values.
18184         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
18185         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
18186         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
18187         (tcp_cookie_transactions): New structure.
18189 2013-01-09  Anton Blanchard  <anton@samba.org>
18191         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
18192         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
18193         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
18194         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
18196 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
18198         * include/features.h (__USE_ANSI): Remove.
18200 2013-01-09  Roland McGrath  <roland@hack.frob.com>
18202         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
18204         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
18206 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
18208         * sysdeps/s390/fpu/libm-test-ulps: Update.
18210         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18212         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
18213         (__acr): Likewise.
18214         (__cpy): Likewise.
18215         (norm): Likewise.
18216         (denorm): Likewise.
18217         (__mp_dbl): Likewise.
18218         (__dbl_mp): Likewise.
18219         (add_magnitudes): Likewise.
18220         (sub_magnitudes): Likewise.
18221         (__add): Likewise.
18222         (__sub): Likewise.
18223         (__mul): Likewise.
18224         (__inv): Likewise.
18225         (__dvd): Likewise.
18226         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
18227         (__acr): Likewise.
18228         (__cpy): Likewise.
18229         (norm): Likewise.
18230         (denorm): Likewise.
18231         (__mp_dbl): Likewise.
18232         (__dbl_mp): Likewise.
18233         (add_magnitudes): Likewise.
18234         (sub_magnitudes): Likewise.
18235         (__add): Likewise.
18236         (__sub): Likewise.
18237         (__mul): Likewise.
18238         (__inv): Likewise.
18239         (__dvd): Likewise.
18240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
18241         (__acr): Likewise.
18242         (__cpy): Likewise.
18243         (norm): Likewise.
18244         (denorm): Likewise.
18245         (__mp_dbl): Likewise.
18246         (__dbl_mp): Likewise.
18247         (add_magnitudes): Likewise.
18248         (sub_magnitudes): Likewise.
18249         (__add): Likewise.
18250         (__sub): Likewise.
18251         (__mul): Likewise.
18252         (__inv): Likewise.
18253         (__dvd): Likewise.
18255 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
18257         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
18258         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
18259         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
18260         2 && __USE_EXTERN_INLINES]: Likewise.
18262 2013-01-08  Andreas Jaeger  <aj@suse.de>
18264         [BZ# 14985]
18265         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
18266         Remove.
18267         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18268         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
18270 2013-01-07  Anton Blanchard  <anton@samba.org>
18272         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
18273         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
18274         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
18275         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
18276         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
18277         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
18278         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
18279         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18281         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18282         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
18283         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
18284         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18285         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
18286         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
18287         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
18288         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
18289         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
18290         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
18291         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
18292         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
18293         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
18294         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
18295         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
18296         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
18297         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
18298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
18299         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
18300         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
18301         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18302         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
18303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18304         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18305         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
18306         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
18307         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
18308         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
18309         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18310         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
18311         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18312         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
18313         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
18314         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
18316 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
18318         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
18319         (__MALLOC_PMT): Likewise.
18320         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
18321         [__GNUC__], only on [_LIBC].
18322         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18323         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
18324         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
18325         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
18326         forward declaration.
18327         (realloc_hook_ini): Likewise.
18328         (memalign_hook_ini): Likewise.
18329         (__libc_memalign): Do not use __MALLOC_PMT in variable
18330         declaration.
18331         (__libc_valloc): Likewise.
18332         (__libc_pvalloc): Likewise.
18333         (__libc_calloc): Likewise.
18334         (__posix_memalign): Likewise.
18336         [BZ #14996]
18337         * math/s_casinh.c: Include <float.h>.
18338         (__casinh): Do not do computation with squaring and square root
18339         for large arguments.
18340         * math/s_casinhf.c: Include <float.h>.
18341         (__casinhf): Do not do computation with squaring and square root
18342         for large arguments.
18343         * math/s_casinhl.c: Include <float.h>.
18344         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
18345         (__casinhl): Do not do computation with squaring and square root
18346         for large arguments.
18347         * math/libm-test.inc (casin_test): Add more tests.
18348         (casinh_test): Likewise.
18349         * sysdeps/i386/fpu/libm-test-ulps: Update.
18350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18352 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
18354         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
18355         (__x86_64_raw_data_cache_size): Likewise.
18356         (__x86_64_data_cache_size_half): Likewise.
18357         (__x86_64_raw_data_cache_size_half): Likewise.
18358         (__x86_64_shared_cache_size): Likewise.
18359         (__x86_64_raw_shared_cache_size): Likewise.
18360         (__x86_64_shared_cache_size_half): Likewise.
18361         (__x86_64_raw_shared_cache_size_half): Likewise.
18362         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
18363         to ...
18364         (__x86_data_cache_size): This.
18365         (__x86_64_raw_data_cache_size): Renamed to ...
18366         (__x86_raw_data_cache_size): This.
18367         (__x86_64_data_cache_size_half): Renamed to ...
18368         (__x86_data_cache_size_half): This.
18369         (__x86_64_raw_data_cache_size_half): Renamed to ...
18370         (__x86_raw_data_cache_size_half): This.
18371         (__x86_64_shared_cache_size): Renamed to ...
18372         (__x86_shared_cache_size): This.
18373         (__x86_64_raw_shared_cache_size): Renamed to ...
18374         (__x86_raw_shared_cache_size): This.
18375         (__x86_64_shared_cache_size_half): Renamed to ...
18376         (__x86_shared_cache_size_half): This.
18377         (__x86_64_raw_shared_cache_size_half): Renamed to ...
18378         (__x86_raw_shared_cache_size_half): This.
18379         * sysdeps/x86_64/memcpy.S: Updated.
18380         * sysdeps/x86_64/memset.S: Likewise.
18381         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
18382         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
18383         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
18385 2013-01-04  David S. Miller  <davem@davemloft.net>
18387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18389 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
18391         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
18392         1 to avoid redefinition warning.
18393         (__USE_GNU): Don't define.
18394         (init_signaling_nan): Protoize.
18396         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18398 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18400         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
18401         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
18402         (__cpymn): Likewise.
18403         (norm): Remove commented code.
18404         (denorm): Likewise.
18405         (__mp_dbl): Likewise.
18406         (__inv): Likewise.
18407         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
18408         (__cpymn): Likewise.
18409         (norm): Remove commented code.
18410         (denorm): Likewise.
18411         (__mp_dbl): Likewise.
18412         (__inv): Likewise.
18414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
18415         mp_no value for 1.0 and 2.0.
18416         (norm): Use RADIXI instead of radixi.d.
18417         (denorm): Likewise.
18418         (__mul): Use 0.0 instead of zero.d.
18419         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
18420         mp_no value for 1.0 and 2.0.
18421         (norm): Use RADIXI instead of radixi.d.
18422         (denorm): Likewise.
18423         (__mul): Use 0.0 instead of zero.d.
18425 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
18427         [BZ #14994]
18428         * math/s_casinh.c (__casinh): Reduce finite argument to first
18429         quadrant then set signs of results at the end.
18430         * math/s_casinhf.c (__casinhf): Likewise.
18431         * math/s_casinhl.c (__casinhl): Likewise.
18432         * math/libm-test.inc (casin_test): Add more tests.
18433         (casinh_test): Likewise.
18434         * sysdeps/i386/fpu/libm-test-ulps: Update.
18435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18437 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18439         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
18441         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
18443         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
18444         declarations.
18445         (denorm): Likewise.
18446         (__mp_dbl): Likewise.
18447         (__inv): Likewise.
18449         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
18450         and adjust the header comment.
18452         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
18453         variable name from declaration.
18455 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
18457         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
18458         Initialize COMMON_CPUID_INDEX_7 element.
18459         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
18460         (CPUID_RTM): Likewise.
18461         (HAS_RTM): Likewise.
18462         (COMMON_CPUID_INDEX_7): New enum.
18464 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
18466         [BZ #14981]
18467         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
18468         size is zero, record memory as freed.
18470 2013-01-03  Andreas Jaeger  <aj@suse.de>
18472         * po/ia.po: Add new Interlingua translation.
18474 2012-01-03  Allan McRae  <allan@archlinux.org>
18476         * locale/programs/localedef.c: Fix description of '--posix' flag.
18478 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
18480         * NEWS: Update dates in second copyright notice.
18481         * README: Update copyright dates in example.
18482         * manual/libc.texinfo: Update copyright dates.
18483         * scripts/test-installation.pl: Update copyright date in --version
18484         output.
18486         * hurd/ctty-input.c: Fix copyright notice formatting.
18487         * hurd/ctty-output.c: Likewise.
18488         * hurd/dtable.c: Likewise.
18489         * hurd/hurd-raise.c: Likewise.
18490         * hurd/hurdprio.c: Likewise.
18491         * hurd/msgportdemux.c: Likewise.
18492         * misc/sys/file.h: Likewise.
18493         * misc/sys/ioctl.h: Likewise.
18494         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
18495         * sysdeps/mach/hurd/chdir.c: Likewise.
18496         * sysdeps/mach/hurd/fchdir.c: Likewise.
18497         * sysdeps/mach/hurd/rename.c: Likewise.
18498         * sysdeps/mach/hurd/rmdir.c: Likewise.
18499         * sysdeps/mach/hurd/seekdir.c: Likewise.
18500         * sysdeps/mach/hurd/setsid.c: Likewise.
18501         * sysdeps/posix/wait3.c: Likewise.
18503         * All files with FSF copyright notices: Update copyright dates
18504         using scripts/update-copyrights.
18505         * intl/plural.c: Regenerated.
18506         * locale/programs/charmap-kw.h: Likewise.
18507         * locale/programs/locfile-kw.h: Likewise.
18509 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18511         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
18512         four values.
18514         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
18515         calculation loop and add branch prediction.
18517         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
18518         check access beyond bounds of m1np.
18520         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18521         MPTWO.
18522         (__inv): Remove local variable MPTWO to use the global
18523         constant.
18524         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
18525         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18526         variable MPTWO.
18527         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
18528         MP3HALFS static const.
18530 2013-01-01  David S. Miller  <davem@davemloft.net>
18532         * po/ca.po: Update from translation team.
18534 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
18536         * scripts/update-copyrights: New file.
18537         * Makeconfig: Reformat copyright notice.
18538         * ctype/ctype.h: Likewise.
18539         * debug/swprintf_chk.c: Likewise.
18540         * elf/dl-cache.c: Likewise.
18541         * elf/dl-debug.c: Likewise.
18542         * elf/dl-object.c: Likewise.
18543         * grp/initgroups.c: Likewise.
18544         * hurd/Makefile: Likewise.
18545         * hurd/hurd/signal.h: Likewise.
18546         * hurd/hurdfault.c: Likewise.
18547         * hurd/hurdioctl.c: Likewise.
18548         * hurd/hurdlookup.c: Likewise.
18549         * hurd/intr-msg.c: Likewise.
18550         * iconv/gconv_open.c: Likewise.
18551         * libio/swprintf.c: Likewise.
18552         * locale/lc-ctype.c: Likewise.
18553         * locale/nl_langinfo.c: Likewise.
18554         * mach/Machrules: Likewise.
18555         * mach/Makefile: Likewise.
18556         * malloc/obstack.h: Likewise.
18557         * manual/Makefile: Likewise.
18558         * manual/tsort.awk: Likewise.
18559         * misc/bits/stab.def: Likewise.
18560         * nis/nis_print_group_entry.c: Likewise.
18561         * nis/nis_table.c: Likewise.
18562         * nis/nss_compat/compat-pwd.c: Likewise.
18563         * nis/nss_compat/compat-spwd.c: Likewise.
18564         * po/Makefile: Likewise.
18565         * posix/fnmatch.c: Likewise.
18566         * posix/regex.h: Likewise.
18567         * resolv/Makefile: Likewise.
18568         * resolv/nss_dns/dns-network.c: Likewise.
18569         * resolv/res_hconf.c: Likewise.
18570         * scripts/gen-sorted.awk: Likewise.
18571         * soft-fp/soft-fp.h: Likewise.
18572         * stdio-common/printf.h: Likewise.
18573         * stdlib/monetary.h: Likewise.
18574         * stdlib/random.c: Likewise.
18575         * stdlib/random_r.c: Likewise.
18576         * sysdeps/generic/Makefile: Likewise.
18577         * sysdeps/gnu/Makefile: Likewise.
18578         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
18579         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18580         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
18581         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18582         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
18583         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18584         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
18585         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18586         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18587         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18588         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18589         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18590         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
18591         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
18592         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18593         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
18594         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18595         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18596         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18597         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18598         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
18599         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
18600         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18601         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
18602         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
18603         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
18604         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
18605         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
18606         * sysdeps/mach/hurd/errnos.awk: Likewise.
18607         * sysdeps/mach/hurd/fork.c: Likewise.
18608         * sysdeps/mach/hurd/getcwd.c: Likewise.
18609         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
18610         * sysdeps/mach/hurd/mmap.c: Likewise.
18611         * sysdeps/mach/hurd/utimes.c: Likewise.
18612         * sysdeps/mach/hurd/xmknod.c: Likewise.
18613         * sysdeps/posix/profil.c: Likewise.
18614         * sysdeps/posix/readdir_r.c: Likewise.
18615         * sysdeps/powerpc/bits/mathdef.h: Likewise.
18616         * sysdeps/powerpc/bits/setjmp.h: Likewise.
18617         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
18618         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
18619         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18620         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
18621         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
18622         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18623         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18624         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
18625         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
18626         * sysdeps/pthread/lio_listio.c: Likewise.
18627         * sysdeps/sparc/dl-procinfo.h: Likewise.
18628         * sysdeps/unix/i386/sysdep.S: Likewise.
18629         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
18630         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
18631         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
18632         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
18633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18634         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
18635         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
18636         * sysdeps/unix/sysv/linux/speed.c: Likewise.
18637         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
18638         * sysdeps/wordsize-32/divdi3.c: Likewise.
18639         * time/sys/time.h: Likewise.
18640         * wcsmbs/Makefile: Likewise.
18642 2013-01-01  David S. Miller  <davem@davemloft.net>
18644         * po/fr.po: Update from translation team.
18646         * catgets/gencat.c: Update copyright year.
18647         * csu/version.c: Likewise.
18648         * debug/catchsegv.sh: Likewise.
18649         * debug/pcprofiledump.c: Likewise.
18650         * debug/xtrace.sh: Likewise.
18651         * elf/ldconfig.c: Likewise.
18652         * elf/ldd.bash.in: Likewise.
18653         * elf/pldd.c: Likewise.
18654         * elf/sotruss.ksh: Likewise.
18655         * elf/sprof.c: Likewise.
18656         * iconv/iconv_prog.c: Likewise.
18657         * iconv/iconvconfig.c: Likewise.
18658         * locale/programs/locale.c: Likewise.
18659         * locale/programs/localedef.c: Likewise.
18660         * login/programs/pt_chown.c: Likewise.
18661         * malloc/memusage.sh: Likewise.
18662         * malloc/memusagestat.c: Likewise.
18663         * malloc/mtrace.pl: Likewise.
18664         * nscd/nscd.c: Likewise.
18665         * nss/getent.c: Likewise.
18666         * nss/makedb.c: Likewise.
18667         * posix/getconf.c: Likewise.
18669 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18671         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
18672         numbers.
18674 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
18676         * math/bits/mathcalls.h (modf): Use __nonnull.
18678 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18680         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
18681         (split): Use macro CN instead of the bare value.
18682         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
18683         could be used.
18684         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
18685         instead of the bare value.
18686         (power1): Likewise.
18688 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18690         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
18691         __ATAN_TWOM.
18692         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18694         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
18695         their values.
18696         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18697         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
18698         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
18699         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
18701 2012-12-28  Andreas Jaeger  <aj@suse.de>
18703         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
18704         values are from Linux 3.7.
18706         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
18707         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
18709 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18711         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
18712         TRUE case.
18714         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
18715         (norm): Likewise.
18716         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
18717         variables with preprocessor constants.
18718         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
18719         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
18720         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
18722 2012-12-27  Bruno Haible  <bruno@clisp.org>
18724         [BZ #14317]
18725         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
18726         only if needed.
18728 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18730         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
18731         and use variable directly.
18732         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
18734         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
18735         MPONE.
18736         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
18737         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
18738         variable MPONE.
18739         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
18740         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
18741         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
18742         include directive.  Remove local variable MPONE.
18743         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
18744         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
18745         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
18747 2012-12-25  David S. Miller  <davem@davemloft.net>
18749         * version.h (RELEASE): Set to "development".
18750         (VERSION): Set to "2.17.90".
18751         * NEWS: Add 2.18 section.
18753 2012-12-21  David S. Miller  <davem@davemloft.net>
18755         * po/hr.po: Update from translation team.
18757 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18759         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
18761 2012-12-19  Steve Ellcey  <sellcey@mips.com>
18763         * NEWS:  Mention new memcpy for MIPS.
18765 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18767         * manual/contrib.texi (Contributors): Spelling correction.
18769 2012-12-15  David S. Miller  <davem@davemloft.net>
18771         * po/ru.po: Update from translation team.
18773 2012-12-13  David S. Miller  <davem@davemloft.net>
18775         * NEWS: Mention IFUNC testsuite enhancements.
18777         * po/pl.po: Update from translation team.
18778         * po/bg.po: Likewise.
18780         * manual/contrib.texi (Contributors): Update entries for Hongjiu
18781         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
18783 2012-12-11  David S. Miller  <davem@davemloft.net>
18785         * po/sv.po: Update from translation team.
18787         * po/vi.po: Update from translation team.
18789         * po/cs.po: Update from translation team.
18791         * po/de.po: Update from translation team.
18792         * po/eo.po: Likewise.
18793         * po/nl.po: Likewise.
18795 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
18797         [BZ #14246]
18798         * manual/argp.texi (Argp Helper Functions): Move node to follow
18799         Argp Parsing State.
18801         [BZ #14872]
18802         * manual/conf.texi (Limits on File System Capacity): Mention if
18803         terminating null is included in the max size.
18805 2012-12-10  Andreas Jaeger  <aj@suse.de>
18807         * po/cs.po: Update from translation team.
18809 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18811         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
18812         void pointer and cast to uintptr_t.
18813         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
18814         path.
18815         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18816         * sysdeps/s390/s390-64/memset.S: Likewise.
18818 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
18820         [BZ #14833]
18821         * menual/message.texi (Message Translation): Fix typos.
18822         (Helper programs for gettext): Likewise.
18824 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
18826         [BZ #14898]
18827         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
18828         Change to -1.
18830 2012-12-07  David S. Miller  <davem@davemloft.net>
18832         * po/libc.pot: Update.
18834 2012-12-07  Richard Henderson  <rth@redhat.com>
18836         [BZ #10114]
18837         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
18838         normal/normal case to before the switch.
18839         (_FP_DIV): Likewise.
18841 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
18842             Mike Frysinger  <vapier@gentoo.org>
18844         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
18845         check for __NR_fadvise64_64.
18847 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
18849         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
18850         0, not just to plain "0" as a statement.
18851         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
18852         with cw.
18854 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
18856         * NEWS: Use sourceware.org in Bugzilla URL.
18858 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
18861         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
18863         * stdio-common/tst-put-error.c (do_test): Add newline to the
18864         padded test to ensure flush.
18866 2012-12-05  Jeff Law  <law@redhat.com>
18868         * sunrpc/etc.rpc (fedfs_admin): Add entry.
18870 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
18872         * README: Don't refer to ports add-on as distributed separately.
18873         Mention AArch64 in list of systems supported in the ports add-on.
18875         * LICENSES: Add more non-FSF copyright and license notices.
18877         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
18878         ((unused)).
18880         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
18882         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
18883         10000 as width of padded output.
18885 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18887         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
18889         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
18890         variable LX with __attribute__ ((unused)).
18891         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
18892         Likewise.
18893         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
18894         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18895         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
18896         with __attribute__ ((unused)).
18898 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
18900         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
18902 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
18904         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
18905         (CFLAGS-nldbl-acos.c): New variable.
18906         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
18907         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
18908         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
18909         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
18910         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
18911         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
18912         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
18913         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
18914         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
18915         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
18916         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
18917         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
18918         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
18919         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
18920         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
18921         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
18922         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
18923         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
18924         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
18925         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
18926         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
18927         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
18928         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
18929         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
18930         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
18931         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
18932         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
18933         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
18934         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
18935         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
18936         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
18937         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
18938         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
18939         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
18940         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
18941         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
18942         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
18943         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
18944         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
18945         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
18946         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
18947         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
18948         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
18949         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
18950         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
18951         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
18952         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
18953         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
18954         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
18955         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
18956         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
18957         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
18958         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
18959         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
18960         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
18961         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
18962         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
18963         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
18964         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
18965         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
18966         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
18967         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
18968         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
18969         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
18970         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
18971         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
18972         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
18973         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
18974         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
18975         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
18976         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
18977         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
18978         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
18979         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
18980         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
18981         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
18982         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
18983         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
18984         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
18985         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
18986         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
18987         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
18988         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
18989         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
18990         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
18991         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
18992         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
18993         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
18994         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
18995         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
18996         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
18997         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
18998         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
18999         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
19000         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
19001         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
19002         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
19004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19005         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19007         [BZ #14914]
19008         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
19009         whole low double instead of just low 47 bits when splitting values
19010         into two parts.
19012 2012-12-03  Allan McRae  <allan@archlinux.org>
19014         * manual/stdio.texi (Predefined Printf Handlers): Remove
19015         @hsep and @vsep usage.
19017 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
19019         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
19020         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
19022 2012-12-03  Jeff Law  <law@redhat.com>
19024         * time/sys/time.h (settimeofday): Do not mark TV argument
19025         as __nonnull.
19027 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
19029         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
19030         when currently writing and seek to current position when not.
19031         * libio/Makefile (tests): Remove bug-fclose1.
19032         * libio/bug-fclose1.c: Delete.
19034 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
19036         * manual/arith.texi (feenableexcept): Fix typo.
19037         (fedisableexcept): Likewise.
19039 2012-11-30  Roland McGrath  <roland@hack.frob.com>
19041         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
19042         second, differently-typed declaration, rather than a cast.
19044 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19046         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
19047         * include/rpc/svc.h: ... here.
19049 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
19051         [BZ #13013]
19052         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
19053         depending n and resplen2 to catch cases where answer
19054         equals answerp2.
19056 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
19058         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
19059         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
19061 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
19063         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
19065 2012-11-29  Roland McGrath  <roland@hack.frob.com>
19067         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
19069 2012-11-28  Jeff Law  <law@redhat.com>
19071         [BZ #13761]
19072         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
19073         dataset_temporary.  Track alloca usage into alloca_used.
19074         If dataset is large allocate and release it via malloc/free.
19076 2012-06-04  Florian Weimer  <fweimer@redhat.com>
19078         [BZ #14197]
19079         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
19081 2012-11-28  David S. Miller  <davem@davemloft.net>
19083         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19085 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19087         [BZ #14803]
19088         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
19089         of pi/2 rounded to nearest to 64 bits.
19090         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
19091         nearest to 64 bits.
19092         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
19093         bits.
19095 2012-11-28  Jeff Law <law@redhat.com>
19096             Martin Osvald <mosvald@redhat.com>
19098         [BZ #14889]
19099         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
19100         * sunrpc/svc.c: Include time.h.
19101         (__svc_accept_failed): New function.
19102         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
19103         any reason other than EINTR, call __svc_accept_failed.
19104         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
19105         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
19107 2012-11-28  Andreas Schwab  <schwab@suse.de>
19109         * scripts/abilist.awk: Also handle indirect functions in .opd
19110         section.
19112 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
19114         [BZ #13881]
19115         * sysdeps/x86/fpu/powl_helper.c: New file.
19116         * sysdeps/x86/fpu/Makefile: Likewise.
19117         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
19118         (p3): New object.
19119         (__ieee754_powl): Use __powl_helper for finite arguments except
19120         integer exponents below 8.
19121         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
19122         (p3): New object.
19123         (__ieee754_powl): Use __powl_helper for finite arguments except
19124         integer exponents below 8.
19125         * math/libm-test.inc (pow_test): Add more tests and enable some
19126         previously disabled tests.
19127         * sysdeps/i386/fpu/libm-test-ulps: Update.
19128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19130 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131             Carlos O'Donell  <carlos_odonell@mentor.com>
19133         * nss/makedb.c (is_prime): Assert that input is odd and greater
19134         than 4.  Note that fact in a comment too.
19135         (next_prime): Add 4 to input.
19137 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
19139         [BZ #11741]
19140         * libio/Makefile (tests): Add test case tst-fwrite-error.
19141         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
19142         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
19143         * libio/tst-fwrite-error.c: New test case.
19145 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
19147         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
19148         before casting to void *.
19149         * include/libc-internal.h (__pointer_type): New macro.
19150         (__integer_if_pointer_type_sub): Likewise.
19151         (__integer_if_pointer_type): Likewise.
19152         (cast_to_integer): Likewise.
19153         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
19154         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
19155         before casting to atomic64_t.
19156         (atomic_exchange_acq): Likewise.
19157         (__arch_exchange_and_add_body): Likewise.
19158         (__arch_add_body): Likewise.
19159         (atomic_add_negative): Likewise.
19160         (atomic_add_zero): Likewise.
19162 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
19164         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
19165         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
19166         (add_fdes): Likewise.
19167         (linear_search_fdes): Likewise.
19168         (binary_search_unencoded_fdes): Likewise.
19170 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
19172         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
19174 2012-11-24  Adam Conrad  <adconrad@0c3.net>
19176         * configure.in: Autodetect C++ header directories.
19177         * configure: Regenerated.
19179 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
19181         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
19183 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
19185         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19187 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
19189         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
19190         LDBL_MANT_DIG == 106]: Disable some tests.
19191         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19192         Likewise.
19193         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
19194         Likewise.
19196         [BZ #14871]
19197         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
19198         input for small inputs.  Return +/- pi/2 for large inputs.
19199         * math/libm-test.inc (atan_test): Add more tests.
19201         * sysdeps/generic/unwind-dw2-fde-glibc.c
19202         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
19203         __attribute__ ((unused)).
19205         [BZ #14645]
19206         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
19207         x * y if x and y are nonzero and z is zero.
19209         [BZ #14811]
19210         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
19211         nonzero exponents with absolute value below 0x1p-117 to +/-
19212         0x1p-117.
19214         [BZ #14869]
19215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
19216         up arguments below 2**-450, not just those below 2**-500.
19217         * math/libm-test.inc (hypot_test): Add another test.
19219         [BZ #14868]
19220         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
19221         Return a+b for ratio over 2**120, not 2**60.
19222         * math/libm-test.inc (hypot_test): Add another test.
19224         * math/libm-test.inc (clog_test): Use
19225         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
19226         (clog10_test): Likewise.
19228         [BZ #6778]
19229         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
19231 2012-11-22  Andreas Schwab  <schwab@suse.de>
19233         * sysdeps/i386/fpu/libm-test-ulps: Update.
19235 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
19237         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
19238         printf output with newline.
19240 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
19242         [BZ #14865]
19243         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
19244         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
19245         -z nodlopen, -z initfirst and -z execstack support.
19246         * configure: Regenerated.
19248         * elf/elf.h (DF_1_NODIRECT): New macro.
19249         (DF_1_IGNMULDEF): Likewise.
19250         (DF_1_NOKSYMS): Likewise.
19251         (DF_1_NOHDR): Likewise.
19252         (DF_1_EDITED): Likewise.
19253         (DF_1_NORELOC): Likewise.
19254         (DF_1_SYMINTPOSE): Likewise.
19255         (DF_1_GLOBAUDIT): Likewise.
19256         (DF_1_SINGLETON): Likewise.
19257         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
19258         DT_1_SUPPORTED_MASK bits.
19259         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
19261 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
19263         * sysdeps/unix/make-syscalls.sh: Document prefixes.
19265 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
19267         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
19268         macro.
19270         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
19271         (sendmmsg): Move declarations...
19272         * socket/sys/socket.h: ... here.
19273         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
19274         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
19275         include it from...
19276         * socket/recvmmsg.c: ... this new file.
19277         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
19278         (sendmmsg): Rename to __sendmmsg, create weak alias and make
19279         definition of __sendmmsg hidden.
19280         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19281         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
19282         Move ENOSYS stub into and include it from...
19283         * socket/sendmmsg.c: ... this new file.
19284         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
19285         (sysdep_routines): Move recvmmsg and sendmmsg...
19286         * socket/Makefile (routines): ... here.
19287         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
19288         (GLIBC_PRIVATE): Add __sendmmsg.
19289         * include/sys/socket.h (__sendmmsg): Add declarations.
19290         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
19291         sendmmsg.
19293 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
19295         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
19296         variable I1 with __attribute__ ((unused)).
19297         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
19299 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19301         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
19302         DUMMY variables with __attribute__ ((unused)).
19304         * bits/byteswap.h: Include <bits/types.h>.
19305         (__bswap_64): Use __uint64_t instead of unsigned long long int.
19307 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19309         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
19310         string_t.  Do not manually set errno.
19311         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
19312         length with __strnlen.  Make sure to both set errno and return it on
19313         failure.
19315 2012-11-19  David S. Miller  <davem@davemloft.net>
19317         With help from Joseph Myers.
19318         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
19319         very large arguments properly.
19320         * math/libm-test.inc (atan_test): New tests.
19321         (atan2_test): New tests.
19322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19323         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19325 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
19327         [BZ #14856]
19328         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
19329         Define to 3.
19331         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
19332         [POSIX] (EADDRNOTAVAIL): Likewise.
19333         [POSIX] (EAFNOSUPPORT): Likewise.
19334         [POSIX] (EALREADY): Likewise.
19335         [POSIX] (ECONNABORTED): Likewise.
19336         [POSIX] (ECONNREFUSED): Likewise.
19337         [POSIX] (ECONNRESET): Likewise.
19338         [POSIX] (EDESTADDRREQ): Likewise.
19339         [POSIX] (EDQUOT): Likewise.
19340         [POSIX] (EHOSTUNREACH): Likewise.
19341         [POSIX] (EIDRM): Likewise.
19342         [POSIX] (EISCONN): Likewise.
19343         [POSIX] (ELOOP): Likewise.
19344         [POSIX] (EMULTIHOP): Likewise.
19345         [POSIX] (ENETDOWN): Likewise.
19346         [POSIX] (ENETUNREACH): Likewise.
19347         [POSIX] (ENOBUFS): Likewise.
19348         [POSIX] (ENODATA): Likewise.
19349         [POSIX] (ENOLINK): Likewise.
19350         [POSIX] (ENOMSG): Likewise.
19351         [POSIX] (ENOPROTOOPT): Likewise.
19352         [POSIX] (ENOSR): Likewise.
19353         [POSIX] (ENOSTR): Likewise.
19354         [POSIX] (ENOTCONN): Likewise.
19355         [POSIX] (ENOTSOCK): Likewise.
19356         [POSIX] (EOPNOTSUPP): Likewise.
19357         [POSIX] (EOVERFLOW): Likewise.
19358         [POSIX] (EPROTO): Likewise.
19359         [POSIX] (EPROTONOSUPPORT): Likewise.
19360         [POSIX] (EPROTOTYPE): Likewise.
19361         [POSIX] (ESTALE): Likewise.
19362         [POSIX] (ETIME): Likewise.
19363         [POSIX] (ETXTBSY): Likewise.
19364         [POSIX] (EWOULDBLOCK): Likewise.
19365         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
19366         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
19367         [POSIX] (SEEK_CUR): Likewise.
19368         [POSIX] (SEEK_END): Likewise.
19369         [POSIX || UNIX98] (mode_t): Do not require.
19370         [POSIX] (off_t): Likewise.
19371         [POSIX] (pid_t): Likewise.
19372         [POSIX] (sys/stat.h): Do not allow header.
19373         [POSIX] (unistd.h): Likewise.
19374         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
19375         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
19376         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
19377         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
19378         require.
19379         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
19380         sigevent): Specify elements.
19381         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
19382         entry.
19383         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
19384         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
19386         * conform/data/cpio.h-data [POSIX]: Disable whole file.
19387         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
19388         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
19389         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
19390         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
19391         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
19392         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
19393         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
19394         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
19395         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
19396         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
19397         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
19398         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
19399         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
19400         Likewise.
19401         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
19402         Likewise.
19403         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
19404         Likewise.
19405         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
19406         Likewise.
19407         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
19408         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
19409         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
19410         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
19411         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
19412         Specify lower bound on value.
19413         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
19414         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
19415         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
19416         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
19417         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
19418         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
19419         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
19420         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
19421         value.
19422         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
19423         as optional.
19424         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
19425         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
19426         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
19427         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
19428         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
19429         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
19430         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
19431         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
19432         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
19433         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
19434         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
19435         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
19436         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
19437         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
19438         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
19439         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
19440         entry.
19441         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
19442         optional.
19443         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
19444         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
19445         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
19446         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
19447         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
19448         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
19449         Likewise.
19450         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
19451         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
19452         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
19453         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
19454         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
19455         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
19456         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
19457         as optional.
19458         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
19459         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
19460         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
19461         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
19462         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
19463         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
19464         specify as optional.
19465         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
19466         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
19467         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
19468         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
19469         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
19470         [XPG3] (NL_LANGMAX): Likewise.
19471         [POSIX || XPG3] (NL_MSGMAX): Likewise.
19472         [POSIX || XPG3] (NL_NMAX): Likewise.
19473         [POSIX || XPG3] (NL_SETMAX): Likewise.
19474         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
19475         [XPG3] (NZERO): Likewise.
19476         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
19477         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
19478         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
19479         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
19480         (REG_ERANGE): Expect.
19481         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
19482         optional-constant.
19483         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
19484         Use (void) in prototype.
19485         [POSIX] (*_t): Allow.
19486         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
19487         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
19488         (WRDE_BADVAL): Expect.
19490         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
19491         expect.
19492         [XPG3 || XPG4] (O_RSYNC): Likewise.
19493         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
19494         Likewise.
19495         [XPG3 || XPG4] (pthread_sigmask): Likewise.
19496         [XPG3 || XPG4] (sigqueue): Likewise.
19497         [XPG3 || XPG4] (sigtimedwait): Likewise.
19498         [XPG3 || XPG4] (sigwaitinfo): Likewise.
19499         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
19500         [XPG3 || XPG4] (vsnprintf): Likewise.
19501         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
19502         Likewise.
19503         [XPG3 || XPG4] (blksize_t): Likewise.
19504         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
19505         Likewise.
19506         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
19507         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
19508         [XPG3 || XPG4] (struct itimerspec): Likewise.
19509         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
19510         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
19511         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
19512         [XPG3 || XPG4] (clockid_t): Likewise.
19513         [XPG3 || XPG4] (timer_t): Likewise.
19514         [XPG3 || XPG4] (clock_getres): Likewise.
19515         [XPG3 || XPG4] (clock_gettime): Likewise.
19516         [XPG3 || XPG4] (clock_settime): Likewise.
19517         [XPG3 || XPG4] (nanosleep): Likewise.
19518         [XPG3 || XPG4] (timer_create): Likewise.
19519         [XPG3 || XPG4] (timer_delete): Likewise.
19520         [XPG3 || XPG4] (timer_gettime): Likewise.
19521         [XPG3 || XPG4] (timer_getoverrun): Likewise.
19522         [XPG3 || XPG4] (timer_settime): Likewise.
19523         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
19524         [XPG3 || XPG4] (getlogin_r): Likewise.
19525         [XPG3 || XPG4] (pread): Likewise.
19526         [XPG3 || XPG4] (pthread_atfork): Likewise.
19527         [XPG3 || XPG4] (pwrite): Likewise.
19529         [BZ #14835]
19530         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
19531         <bits/siginfo.h>.
19533 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
19535         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
19536         finalizing MALLSTREAM.
19538         * sysdeps/mach/hurd/syncfs.c: New file.
19540 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19542         [BZ #14719]
19543         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
19544         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
19545         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
19546         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
19547         (_nss_dns_gethostbyname4_r): Likewise.
19548         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
19549         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
19551 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
19553         [BZ #13763]
19554         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
19556 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
19558         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
19559         * elf/cache.c (print_entry): Print ",AArch64" for
19560         FLAG_AARCH64_LIB64
19562         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
19563         * elf/cache.c (print_entry): Print ",hard-float" for
19564         FLAG_ARM_LIBHF.
19566 2012-11-18  David S. Miller  <davem@davemloft.net>
19568         With help from Joseph Myers.
19569         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
19570         cutoff to 2**-13.
19571         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
19572         cutoff to 2**-25.
19573         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
19574         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
19575         small.
19576         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
19577         * math/libm-test.inc (y0_test): New tests.
19578         (y1_test): New tests.
19579         * sysdeps/i386/fpu/libm-test-ulps: Update.
19580         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19581         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19583 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
19585         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
19586         64-bit targets.
19587         * configure: Regenerated.
19589 2012-11-17  David S. Miller  <davem@davemloft.net>
19591         [BZ #14811]
19592         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
19593         nonzero exponents with absolute value below 0x1p-128 to +/-
19594         0x1p-128.
19596 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
19598         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
19600         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
19602         * posix/getconf-speclist.c: New file.
19603         * posix/posix-envs.def: Likewise.
19604         * posix/confstr.c (START_ENV_GROUP): New macro.
19605         (END_ENV_GROUP): Likewise.
19606         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19607         (KNOWN_PRESENT_ENV_STRING): Likewise.
19608         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19609         (UNKNOWN_ENVIRONMENT): Likewise.
19610         (confstr): Include posix-envs.def instead of handling
19611         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
19612         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
19613         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
19614         (END_ENV_GROUP): Likewise.
19615         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
19616         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
19617         (UNKNOWN_ENVIRONMENT): Likewise.
19618         (__sysconf): Include posix-envs.def instead of handling associated
19619         cases directly here.
19620         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
19621         preprocessing getconf-speclist.c rather than running getconf or
19622         generating empty file.
19624 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
19626         * scripts/check-local-headers.sh: Ignore 'mach' headers.
19628 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
19630         [BZ #14672]
19631         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
19633 2012-11-16  David S. Miller  <davem@davemloft.net>
19635         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
19636         smaller than LDBL_EPSILON/2.0L, just return xm1.
19638 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
19640         * elf/tst-array1.c (init): Set constructor priority to 1000.
19641         (fini): Set destructor priority to 1000.
19642         * elf/tst-array2dep.c: Likewise.
19644 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19646         [BZ #11741]
19647         * libio/fileops.c (_IO_new_file_write): Correctly return error.
19648         (_IO_new_file_xsputn): Also return EOF if none of the input
19649         data was written when overflow failed.
19650         * libio/iopadn.c (_IO_padn): Likewise.
19651         * libio/iowpadn.c (_IO_wpadn): Likewise.
19652         * stdio-common/tst-put-error.c: Add copyright notice.
19653         (do_test): Add case for printing padded string.
19654         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
19655         _IO_padn returned error.
19656         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
19657         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
19658         return EOF.
19660 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19662         * libio/libioP.h: Add comment note that the references to C++
19663         bits are now obsolete.
19665 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19667         * math/libm-test.inc (check_complex): Use asprintf.
19669 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
19671         * debug/pcprofiledump.c (print_version): Update copyright year.
19672         * malloc/memusagestat.c (print_version): Likewise.
19674 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
19676         [BZ #14831]
19677         * elf/Makefile (tests): Add tst-audit8.
19678         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
19679         ($(objpfx)tst-audit8.out): New target.
19680         (tst-audit8-ENV): New variable.
19681         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
19682         audit if l_reloc_result is NULL.
19683         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
19684         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
19685         * elf/tst-audit8.c: New file.
19687 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19689         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
19690         * misc/Makefile (CFLAGS-select.c): Define.
19691         * posix/Makefile (CFLAGS-pause.c): Define.
19693 2012-11-13  David S. Miller  <davem@davemloft.net>
19695         * crypt/Makefile: Move test targets after toplevel Rules
19696         inclusion.  Grab any necessary sysdep routines when linking.
19697         * crypt/md5.c (md5_process_block): Remove define, we will always
19698         name it __md5_process_block.
19699         (md5_finish_ctx): Update md5_process_block call.
19700         (md5_stream): Likewise.
19701         (md5_process_bytes): Likewise.
19702         (md5_process_block): Rename to __md5_process_block and move to ...
19703         * crypt/md5-block.c: ... here.
19704         * crypt/sha256.c (sha256_process_block): Move to ...
19705         * crypt/sha256-block.c: ... here.
19706         * crypt/sha512.c (sha512_process_block): Move to ...
19707         * crypt/sha512-block.c: ... here.
19708         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
19709         path.
19710         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
19711         * sysdeps/sparc/sparc64/multiarch/Makefile
19712         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
19713         crypt subdir.
19714         (localedef-aux): Add md5 crypto assembler when in locale subdir.
19715         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
19716         multiarch changes.
19717         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
19718         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
19719         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
19720         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
19721         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
19722         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
19723         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
19724         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
19725         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
19726         file.
19727         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
19728         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
19729         file.
19730         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
19732 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
19734         * timezone/tzselect.ksh: Update from tzcode git revision
19735         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
19736         * timezone/zdump.c: Likewise.
19737         * timezone/zic.c: Likewise.
19738         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
19739         in TZVERSION setting, not $(PKGVERSION).
19740         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
19741         REPORT_BUGS_TO settings.
19743         [BZ #14838]
19744         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
19745         macro.
19747 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19749         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
19750         detection to immediately after _FP_ROUND().
19751         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
19752         bits are 0.
19754 2012-11-11  David S. Miller  <davem@davemloft.net>
19756         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
19757         inttypes.h
19758         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
19759         __close rather than their public counterparts.
19761 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
19763         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
19764         file.
19765         [UNIX98] (sem_timedwait): Do not expect.
19766         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
19767         [XPG4 || UNIX98] (sockatmark): Do not expect.
19768         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
19769         (clock_getcpuclockid): Do not expect.
19770         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
19771         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
19772         Do not expect.
19773         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
19774         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
19775         [UNIX98] (vwscanf): Likewise.
19776         [UNIX98] (vswscanf): Likewise.
19778 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
19780         * timezone/version.h: Remove file.
19781         * timezone/README: Do not refer to version.h.
19782         * timezone/Makefile ($(objpfx)zic.o): New dependency on
19783         $(objpfx)version.h.
19784         ($(objpfx)zdump.o): Likewise.
19785         ($(objpfx)version.h): New target.
19787         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
19788         2012i.
19789         * timezone/README: Don't mention modification to tzselect.ksh.
19790         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
19791         work on unmodified tzselect.ksh.  Substitute version numbers in
19792         tzselect.ksh.
19794         * Makefile (format-me): Remove.
19795         (INSTALL): Adjust indentation.  Use commands directly instead of
19796         using $(format-me).
19798         * aclocal.m4 (ACX_PKGVERSION): New macro.
19799         (ACX_BUGURL): Likewise.
19800         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
19801         (PKGVERSION): New AC_DEFINE_UNQUOTED.
19802         (REPORT_BUGS_TO): Likewise.
19803         * configure: Regenerated.
19804         * config.h.in (PKGVERSION): New macro.
19805         (REPORT_BUGS_TO): Likewise.
19806         * config.make.in (PKGVERSION): New variable.
19807         (PKGVERSION_TEXI): Likewise.
19808         (REPORT_BUGS_TO): Likewise.
19809         (REPORT_BUGS_TEXI): Likewise.
19810         * Makefile (format-me): Use -I$(common-objpfx)manual.
19811         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
19812         ($(common-objpfx)manual/%): New target.
19813         (manual/%): Remove target.
19814         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
19815         (print_version): Use PKGVERSION.
19816         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
19817         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
19818         and REPORT_BUGS_TO.
19819         ($(objpfx)xtrace): Likewise.
19820         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
19821         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
19822         (print_version): Use PKGVERSION.
19823         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
19824         (do_version): Use PKGVERSION.
19825         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
19826         REPORT_BUGS_TO.
19827         (common-ldd-rewrite): Likewise.
19828         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
19829         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
19830         (print_version): Use PKGVERSION.
19831         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
19832         * elf/pldd.c (argp_program_bug_address): Remove variable.
19833         (more_help): New function.
19834         (argp): Use more_help.
19835         (print_version): Use PKGVERSION.
19836         * elf/sln.c (main): Use PKGVERSION.
19837         (usage): Use REPORT_BUGS_TO.
19838         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
19839         (top level): Use PKGVERSION.
19840         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
19841         (print_version): Use PKGVERSION.
19842         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
19843         (print_version): Use PKGVERSION.
19844         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
19845         (print_version): Use PKGVERSION.
19846         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
19847         (print_version): Use PKGVERSION.
19848         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
19849         (print_version): Use PKGVERSION.
19850         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
19851         (print_version): Use PKGVERSION.
19852         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
19853         and BUGURL.
19854         ($(objpfx)memusage): Likewise.
19855         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
19856         (do_version): Use PKGVERSION.
19857         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
19858         (print_version): Use PKGVERSION.
19859         * malloc/mtrace.pl ($PACKAGE): Remove variable.
19860         ($PKGVERSION): New variable.
19861         ($REPORT_BUGS_TO): Likewise.
19862         (usage): Use $REPORT_BUGS_TO.
19863         (top level): Use $PKGVERSION.
19864         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
19865         ($(objpfx)pkgvers.texi): New rule.
19866         ($(objpfx)stamp-pkgvers): Likewise.
19867         * manual/install.texi: Include pkgvers.texi.
19868         (--with-pkgversion): Document new configure option.
19869         (--with-bugurl): Likewise.
19870         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
19871         than necessarily for this particular distribution.  Use
19872         REPORT_BUGS_TO for where to report bugs.
19873         * INSTALL: Regenerated.
19874         * manual/libc.texinfo: Include pkgvers.texi.
19875         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
19876         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
19877         (print_version): Use PKGVERSION.
19878         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
19879         (print_version): Use PKGVERSION.
19880         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
19881         (print_version): Use PKGVERSION.
19882         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
19883         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
19884         macro.
19885         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
19886         (print_version): Use PKGVERSION.
19887         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
19888         (print_version): Use PKGVERSION.
19889         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
19890         and PKGVERSION.
19892         * timezone/checktab.awk: Update from tzcode 2012i.
19893         * timezone/ialloc.c: Likewise.
19894         * timezone/private.h: Likewise.
19895         * timezone/scheck.c: Likewise.
19896         * timezone/tzfile.h: Likewise.
19897         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
19898         (TZVERSION): Hardcode tzcode version number.
19899         * timezone/zdump.c: Update from tzcode 2012i.
19900         * timezone/zic.c: Likewise.
19901         * timezone/version.h: New file.
19902         * timezone/README: Describe version.h.  Update upstream location.
19904         [BZ #14824]
19905         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
19906         (mktemp): Enable declaration.
19907         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
19908         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
19909         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
19910         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
19911         Likewise.
19912         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
19913         Likewise.
19914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
19915         Likewise.
19916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
19917         Likewise.
19918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
19919         Likewise.
19920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
19921         Likewise.
19923         [BZ #14821]
19924         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
19925         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
19926         for copies of such integer values.
19927         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
19928         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
19930 2012-11-09  Andreas Jaeger  <aj@suse.de>
19932         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
19933         definitions and declarations that are provided by
19934         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
19936 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19938         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
19939         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
19940         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
19941         definition.
19943 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19945         * elf/elf.h: Update comment before AArch64 relocations.
19947 2012-11-07  David S. Miller  <davem@davemloft.net>
19949         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
19950         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
19951         (__start_context): Declare.
19952         (__makecontext_ret): Delete.
19953         (__makecontext): Hook up __start_context instead of
19954         __makecontext_ret.
19955         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
19956         (sysdep_routines): Add __start_context when in stdlib.
19958 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19960         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
19961         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
19962         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
19963         hardcoded "nm".
19964         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
19965         (READELF): New variable.  Use it instead of hardcoded "readelf".
19967 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
19969         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
19970         * sysdeps/x86/Makefile: Here.
19971         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
19972         * sysdeps/x86/tst-xmmymm.sh: This.
19974 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
19976         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
19977         expectations.
19978         [UNIX98] (pthread_barrier_t): Do not expect.
19979         [UNIX98] (pthread_barrierattr_t): Likewise.
19980         [UNIX98] (pthread_spinlock_t): Likewise.
19981         [UNIX98] (pthread_barrier_destroy): Likewise.
19982         [UNIX98] (pthread_barrier_init): Likewise.
19983         [UNIX98] (pthread_barrier_wait): Likewise.
19984         [UNIX98] (pthread_barrierattr_destroy): Likewise.
19985         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
19986         [UNIX98] (pthread_barrierattr_init): Likewise.
19987         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
19988         [UNIX98] (pthread_getcpuclockid): Likewise.
19989         [UNIX98] (pthread_mutex_timedlock): Likewise.
19990         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
19991         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
19992         [UNIX98] (pthread_sigmask): Likewise.
19993         [UNIX98] (pthread_spin_destroy): Likewise.
19994         [UNIX98] (pthread_spin_init): Likewise.
19995         [UNIX98] (pthread_spin_lock): Likewise.
19996         [UNIX98] (pthread_spin_trylock): Likewise.
19997         [UNIX98] (pthread_spin_unlock): Likewise.
19998         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
19999         Do not expect.
20000         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
20001         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
20002         [XPG3 || XPG4] (pthread_cond_t): Likewise.
20003         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
20004         [XPG3 || XPG4] (pthread_key_t): Likewise.
20005         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
20006         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
20007         [XPG3 || XPG4] (pthread_once_t): Likewise.
20008         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
20009         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
20010         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
20011         [XPG3 || XPG4] (pthread_t): Likewise.
20013         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
20014         not expect.
20015         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
20017         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
20018         Change function return type to int.
20020         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
20021         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
20022         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
20023         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
20024         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
20025         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
20026         [!POSIX] (posix_madvise): Likewise.
20027         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
20028         && !UNIX98].
20029         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
20030         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
20031         (mode_t): Likewise.
20032         (posix_mem_offset): Likewise.
20033         (posix_typed_mem_get_info): Likewise.
20034         (posix_typed_mem_open): Likewise.
20036         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
20037         Change condition to [XOPEN2K8].
20039         * conform/conformtest.pl: Preprocess allow-header data with -x c
20040         instead of from stdin.
20041         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
20042         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
20043         [C99-based standards] (cerfc): Likewise.
20044         [C99-based standards] (cexp2): Likewise.
20045         [C99-based standards] (cexpm1): Likewise.
20046         [C99-based standards] (clog10): Likewise.
20047         [C99-based standards] (clog1p): Likewise.
20048         [C99-based standards] (clog2): Likewise.
20049         [C99-based standards] (clgamma): Likewise.
20050         [C99-based standards] (ctgamma): Likewise.
20051         [C99-based standards] (cerff): Likewise.
20052         [C99-based standards] (cerfcf): Likewise.
20053         [C99-based standards] (cexp2f): Likewise.
20054         [C99-based standards] (cexpm1f): Likewise.
20055         [C99-based standards] (clog10f): Likewise.
20056         [C99-based standards] (clog1pf): Likewise.
20057         [C99-based standards] (clog2f): Likewise.
20058         [C99-based standards] (clgammaf): Likewise.
20059         [C99-based standards] (ctgammaf): Likewise.
20060         [C99-based standards] (cerfl): Likewise.
20061         [C99-based standards] (cerfcl): Likewise.
20062         [C99-based standards] (cexp2l): Likewise.
20063         [C99-based standards] (cexpm1l): Likewise.
20064         [C99-based standards] (clog10l): Likewise.
20065         [C99-based standards] (clog1pl): Likewise.
20066         [C99-based standards] (clog2l): Likewise.
20067         [C99-based standards] (clgammal): Likewise.
20068         [C99-based standards] (ctgammal): Likewise.
20069         * conform/data/inttypes.h-data [C99-based standards]: Include
20070         stdint.h-data.  Remove all expectations for stdint.h contents.
20071         [C99-based standards] (PRI*): Do not allow.
20072         [C99-based standards] (SCN*): Likewise.
20073         [C99-based standards] (*_t): Likewise.
20074         [C99-based-standards] (PRId8): Expect macro.
20075         [C99-based-standards] (PRIi8): Likewise.
20076         [C99-based-standards] (PRIo8): Likewise.
20077         [C99-based-standards] (PRIu8): Likewise.
20078         [C99-based-standards] (PRIx8): Likewise.
20079         [C99-based-standards] (PRIX8): Likewise.
20080         [C99-based-standards] (SCNd8): Likewise.
20081         [C99-based-standards] (SCNi8): Likewise.
20082         [C99-based-standards] (SCNo8): Likewise.
20083         [C99-based-standards] (SCNu8): Likewise.
20084         [C99-based-standards] (SCNx8): Likewise.
20085         [C99-based-standards] (PRIdLEAST8): Likewise.
20086         [C99-based-standards] (PRIiLEAST8): Likewise.
20087         [C99-based-standards] (PRIoLEAST8): Likewise.
20088         [C99-based-standards] (PRIuLEAST8): Likewise.
20089         [C99-based-standards] (PRIxLEAST8): Likewise.
20090         [C99-based-standards] (PRIXLEAST8): Likewise.
20091         [C99-based-standards] (SCNdLEAST8): Likewise.
20092         [C99-based-standards] (SCNiLEAST8): Likewise.
20093         [C99-based-standards] (SCNoLEAST8): Likewise.
20094         [C99-based-standards] (SCNuLEAST8): Likewise.
20095         [C99-based-standards] (SCNxLEAST8): Likewise.
20096         [C99-based-standards] (PRIdFAST8): Likewise.
20097         [C99-based-standards] (PRIiFAST8): Likewise.
20098         [C99-based-standards] (PRIoFAST8): Likewise.
20099         [C99-based-standards] (PRIuFAST8): Likewise.
20100         [C99-based-standards] (PRIxFAST8): Likewise.
20101         [C99-based-standards] (PRIXFAST8): Likewise.
20102         [C99-based-standards] (SCNdFAST8): Likewise.
20103         [C99-based-standards] (SCNiFAST8): Likewise.
20104         [C99-based-standards] (SCNoFAST8): Likewise.
20105         [C99-based-standards] (SCNuFAST8): Likewise.
20106         [C99-based-standards] (SCNxFAST8): Likewise.
20107         [C99-based-standards] (PRId16): Likewise.
20108         [C99-based-standards] (PRIi16): Likewise.
20109         [C99-based-standards] (PRIo16): Likewise.
20110         [C99-based-standards] (PRIu16): Likewise.
20111         [C99-based-standards] (PRIx16): Likewise.
20112         [C99-based-standards] (PRIX16): Likewise.
20113         [C99-based-standards] (SCNd16): Likewise.
20114         [C99-based-standards] (SCNi16): Likewise.
20115         [C99-based-standards] (SCNo16): Likewise.
20116         [C99-based-standards] (SCNu16): Likewise.
20117         [C99-based-standards] (SCNx16): Likewise.
20118         [C99-based-standards] (PRIdLEAST16): Likewise.
20119         [C99-based-standards] (PRIiLEAST16): Likewise.
20120         [C99-based-standards] (PRIoLEAST16): Likewise.
20121         [C99-based-standards] (PRIuLEAST16): Likewise.
20122         [C99-based-standards] (PRIxLEAST16): Likewise.
20123         [C99-based-standards] (PRIXLEAST16): Likewise.
20124         [C99-based-standards] (SCNdLEAST16): Likewise.
20125         [C99-based-standards] (SCNiLEAST16): Likewise.
20126         [C99-based-standards] (SCNoLEAST16): Likewise.
20127         [C99-based-standards] (SCNuLEAST16): Likewise.
20128         [C99-based-standards] (SCNxLEAST16): Likewise.
20129         [C99-based-standards] (PRIdFAST16): Likewise.
20130         [C99-based-standards] (PRIiFAST16): Likewise.
20131         [C99-based-standards] (PRIoFAST16): Likewise.
20132         [C99-based-standards] (PRIuFAST16): Likewise.
20133         [C99-based-standards] (PRIxFAST16): Likewise.
20134         [C99-based-standards] (PRIXFAST16): Likewise.
20135         [C99-based-standards] (SCNdFAST16): Likewise.
20136         [C99-based-standards] (SCNiFAST16): Likewise.
20137         [C99-based-standards] (SCNoFAST16): Likewise.
20138         [C99-based-standards] (SCNuFAST16): Likewise.
20139         [C99-based-standards] (SCNxFAST16): Likewise.
20140         [C99-based-standards] (PRId32): Likewise.
20141         [C99-based-standards] (PRIi32): Likewise.
20142         [C99-based-standards] (PRIo32): Likewise.
20143         [C99-based-standards] (PRIu32): Likewise.
20144         [C99-based-standards] (PRIx32): Likewise.
20145         [C99-based-standards] (PRIX32): Likewise.
20146         [C99-based-standards] (SCNd32): Likewise.
20147         [C99-based-standards] (SCNi32): Likewise.
20148         [C99-based-standards] (SCNo32): Likewise.
20149         [C99-based-standards] (SCNu32): Likewise.
20150         [C99-based-standards] (SCNx32): Likewise.
20151         [C99-based-standards] (PRIdLEAST32): Likewise.
20152         [C99-based-standards] (PRIiLEAST32): Likewise.
20153         [C99-based-standards] (PRIoLEAST32): Likewise.
20154         [C99-based-standards] (PRIuLEAST32): Likewise.
20155         [C99-based-standards] (PRIxLEAST32): Likewise.
20156         [C99-based-standards] (PRIXLEAST32): Likewise.
20157         [C99-based-standards] (SCNdLEAST32): Likewise.
20158         [C99-based-standards] (SCNiLEAST32): Likewise.
20159         [C99-based-standards] (SCNoLEAST32): Likewise.
20160         [C99-based-standards] (SCNuLEAST32): Likewise.
20161         [C99-based-standards] (SCNxLEAST32): Likewise.
20162         [C99-based-standards] (PRIdFAST32): Likewise.
20163         [C99-based-standards] (PRIiFAST32): Likewise.
20164         [C99-based-standards] (PRIoFAST32): Likewise.
20165         [C99-based-standards] (PRIuFAST32): Likewise.
20166         [C99-based-standards] (PRIxFAST32): Likewise.
20167         [C99-based-standards] (PRIXFAST32): Likewise.
20168         [C99-based-standards] (SCNdFAST32): Likewise.
20169         [C99-based-standards] (SCNiFAST32): Likewise.
20170         [C99-based-standards] (SCNoFAST32): Likewise.
20171         [C99-based-standards] (SCNuFAST32): Likewise.
20172         [C99-based-standards] (SCNxFAST32): Likewise.
20173         [C99-based-standards] (PRId64): Likewise.
20174         [C99-based-standards] (PRIi64): Likewise.
20175         [C99-based-standards] (PRIo64): Likewise.
20176         [C99-based-standards] (PRIu64): Likewise.
20177         [C99-based-standards] (PRIx64): Likewise.
20178         [C99-based-standards] (PRIX64): Likewise.
20179         [C99-based-standards] (SCNd64): Likewise.
20180         [C99-based-standards] (SCNi64): Likewise.
20181         [C99-based-standards] (SCNo64): Likewise.
20182         [C99-based-standards] (SCNu64): Likewise.
20183         [C99-based-standards] (SCNx64): Likewise.
20184         [C99-based-standards] (PRIdLEAST64): Likewise.
20185         [C99-based-standards] (PRIiLEAST64): Likewise.
20186         [C99-based-standards] (PRIoLEAST64): Likewise.
20187         [C99-based-standards] (PRIuLEAST64): Likewise.
20188         [C99-based-standards] (PRIxLEAST64): Likewise.
20189         [C99-based-standards] (PRIXLEAST64): Likewise.
20190         [C99-based-standards] (SCNdLEAST64): Likewise.
20191         [C99-based-standards] (SCNiLEAST64): Likewise.
20192         [C99-based-standards] (SCNoLEAST64): Likewise.
20193         [C99-based-standards] (SCNuLEAST64): Likewise.
20194         [C99-based-standards] (SCNxLEAST64): Likewise.
20195         [C99-based-standards] (PRIdFAST64): Likewise.
20196         [C99-based-standards] (PRIiFAST64): Likewise.
20197         [C99-based-standards] (PRIoFAST64): Likewise.
20198         [C99-based-standards] (PRIuFAST64): Likewise.
20199         [C99-based-standards] (PRIxFAST64): Likewise.
20200         [C99-based-standards] (PRIXFAST64): Likewise.
20201         [C99-based-standards] (SCNdFAST64): Likewise.
20202         [C99-based-standards] (SCNiFAST64): Likewise.
20203         [C99-based-standards] (SCNoFAST64): Likewise.
20204         [C99-based-standards] (SCNuFAST64): Likewise.
20205         [C99-based-standards] (SCNxFAST64): Likewise.
20206         [C99-based-standards] (PRIdMAX): Likewise.
20207         [C99-based-standards] (PRIiMAX): Likewise.
20208         [C99-based-standards] (PRIoMAX): Likewise.
20209         [C99-based-standards] (PRIuMAX): Likewise.
20210         [C99-based-standards] (PRIxMAX): Likewise.
20211         [C99-based-standards] (PRIXMAX): Likewise.
20212         [C99-based-standards] (SCNdMAX): Likewise.
20213         [C99-based-standards] (SCNiMAX): Likewise.
20214         [C99-based-standards] (SCNoMAX): Likewise.
20215         [C99-based-standards] (SCNuMAX): Likewise.
20216         [C99-based-standards] (SCNxMAX): Likewise.
20217         [C99-based-standards] (PRIdPTR): Likewise.
20218         [C99-based-standards] (PRIiPTR): Likewise.
20219         [C99-based-standards] (PRIoPTR): Likewise.
20220         [C99-based-standards] (PRIuPTR): Likewise.
20221         [C99-based-standards] (PRIxPTR): Likewise.
20222         [C99-based-standards] (PRIXPTR): Likewise.
20223         [C99-based-standards] (SCNdPTR): Likewise.
20224         [C99-based-standards] (SCNiPTR): Likewise.
20225         [C99-based-standards] (SCNoPTR): Likewise.
20226         [C99-based-standards] (SCNuPTR): Likewise.
20227         [C99-based-standards] (SCNxPTR): Likewise.
20228         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
20229         allow.
20230         * conform/data/stdint.h-data: Update comments to clarify
20231         requirements.
20232         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
20233         type.
20234         [C99-based standards] (INT8_MAX): Likewise.
20235         [C99-based standards] (INT16_MIN): Likewise.
20236         [C99-based standards] (INT16_MAX): Likewise.
20237         [C99-based standards] (INT32_MIN): Likewise.
20238         [C99-based standards] (INT32_MAX): Likewise.
20239         [C99-based standards] (INT64_MIN): Likewise.
20240         [C99-based standards] (INT64_MAX): Likewise.
20241         [C99-based standards] (UINT8_MAX): Likewise.
20242         [C99-based standards] (UINT16_MAX): Likewise.
20243         [C99-based standards] (UINT32_MAX): Likewise.
20244         [C99-based standards] (UINT64_MAX): Likewise.
20245         [C99-based standards] (INT_LEAST8_MIN): Likewise.
20246         [C99-based standards] (INT_LEAST8_MAX): Likewise.
20247         [C99-based standards] (INT_LEAST16_MIN): Likewise.
20248         [C99-based standards] (INT_LEAST16_MAX): Likewise.
20249         [C99-based standards] (INT_LEAST32_MIN): Likewise.
20250         [C99-based standards] (INT_LEAST32_MAX): Likewise.
20251         [C99-based standards] (INT_LEAST64_MIN): Likewise.
20252         [C99-based standards] (INT_LEAST64_MAX): Likewise.
20253         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
20254         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
20255         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
20256         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
20257         [C99-based standards] (INT_FAST8_MIN): Likewise.
20258         [C99-based standards] (INT_FAST8_MAX): Likewise.
20259         [C99-based standards] (INT_FAST16_MIN): Likewise.
20260         [C99-based standards] (INT_FAST16_MAX): Likewise.
20261         [C99-based standards] (INT_FAST32_MIN): Likewise.
20262         [C99-based standards] (INT_FAST32_MAX): Likewise.
20263         [C99-based standards] (INT_FAST64_MIN): Likewise.
20264         [C99-based standards] (INT_FAST64_MAX): Likewise.
20265         [C99-based standards] (UINT_FAST8_MAX): Likewise.
20266         [C99-based standards] (UINT_FAST16_MAX): Likewise.
20267         [C99-based standards] (UINT_FAST32_MAX): Likewise.
20268         [C99-based standards] (UINT_FAST64_MAX): Likewise.
20269         [C99-based standards] (INTPTR_MIN): Likewise.
20270         [C99-based standards] (INTPTR_MAX): Likewise.
20271         [C99-based standards] (UINTPTR_MAX): Likewise.
20272         [C99-based standards] (INTMAX_MIN): Likewise.
20273         [C99-based standards] (INTMAX_MAX): Likewise.
20274         [C99-based standards] (UINTMAX_MAX): Likewise.
20275         [C99-based standards] (PTRDIFF_MIN): Likewise.
20276         [C99-based standards] (PTRDIFF_MAX): Likewise.
20277         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
20278         [C99-based standards] (SIZE_MAX): Likewise.
20279         [C99-based standards] (WCHAR_MAX): Likewise.
20280         [C99-based standards] (WINT_MAX): Likewise.
20281         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
20282         constraint on value.
20283         [C99-based standards] (WCHAR_MIN): Likewise.
20284         [C99-based standards] (WINT_MIN): Likewise.
20285         [C99-based standards] (*_t): Allow.
20286         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
20287         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
20288         Include math.h-data and complex.h-data.  Remove all expectations
20289         of math.h and complex.h contents.
20290         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
20291         at end of line.
20292         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
20293         (struct tm): Expect tag.
20294         [C99-based-standards] (wcstof): Expect function.
20295         [C99-based-standards] (wcstold): Likewise.
20296         [C99-based-standards] (wcstoll): Likewise.
20297         [C99-based-standards] (wcstoull): Likewise.
20298         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
20299         macro-int-constant.  Specify type.
20300         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
20301         constraint on value.
20302         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20303         Specify type.
20304         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
20305         Specify value.
20306         [ISO C standards]: Do not allow headers.
20307         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
20308         wcs[abcdefghijklmnopqrstuvwxyz]*.
20309         [ISO C standards] (*_t): Do not allow.
20310         * conform/data/wctype.h-data [C99-based standards] (iswblank):
20311         Expect function.
20312         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
20313         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
20314         Specify type.
20315         [ISO C standards]: Do not allow headers.
20316         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
20317         is[abcdefghijklmnopqrstuvwxyz]*.
20318         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
20319         to[abcdefghijklmnopqrstuvwxyz]*.
20320         [ISO C standards] (*_t): Do not allow.
20321         * conform/data/stdalign.h-data: New file.
20322         * conform/data/stdbool.h-data: Likewise.
20323         * conform/data/stdnoreturn.h-data: Likewise.
20325 2012-11-07  Roland McGrath  <roland@hack.frob.com>
20327         [BZ #14815]
20328         * manual/filesys.texi (Directory Entries): Typo fix.
20329         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
20331 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20333         * elf/elf.h (EM_AARCH64): New macro.
20334         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
20335         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
20336         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
20337         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
20338         (R_AARCH64_TLSDESC): Likewise.
20339         (NT_ARM_TLS): Likewise.
20340         (NT_ARM_HW_BREAK): Likewise.
20341         (NT_ARM_HW_WATCH): Likewise.
20343 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20345         [BZ #14811]
20346         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
20347         (__ieee754_powl): Saturate nonzero exponents with absolute value
20348         below 0x1p-79 to +/- 0x1p-79.
20349         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
20350         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
20351         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
20352         nonzero exponents with absolute value below 0x1p-32 to +/-
20353         0x1p-32.
20354         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
20355         (__ieee754_powl): Saturate nonzero exponents with absolute value
20356         below 0x1p-79 to +/- 0x1p-79.
20357         * math/libm-test.inc (pow_test): Add more tests.
20359 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20361         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
20362         _dl_s390_cap_flags with kernel. Increase string length.
20363         (_dl_s390_platforms): Add z196 and zEC12.
20365 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
20367         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
20368         Change XOPEN21K to XOPEN2K.
20370 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
20372         * string/memmove.c: Use memcpy when possible.
20374 2012-11-06  Andreas Jaeger  <aj@suse.de>
20376         * po/eo.po: Update from translation team.
20378 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
20380         [BZ #14793]
20381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
20382         exponent and small x and y exponents, scale x or y up.  Increase
20383         by 2 the exponent used in scaling up.
20384         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20385         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20386         * math/libm-test.inc (fma_test): Add more tests.
20387         (fma_test_towardzero): Likewise.
20388         (fma_test_downward): Likewise.
20389         (fma_test_upward): Likewise.
20391 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
20393         [BZ #14805]
20394         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
20395         fenv_t *.
20397         [BZ #14801]
20398         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
20399         namespace for names of struct fields.
20400         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
20401         fenv_t fields.
20402         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
20403         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
20405 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20407         [BZ #3665]
20408         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
20410 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20412         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
20413         PTR_DEMANGLE.
20415         [BZ #5246]
20416         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
20417         PTR_DEMANGLE.
20419 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
20421         [BZ #14797]
20422         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
20423         definitely overflow as x * y not x * y + z.
20424         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20425         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20426         * math/libm-test.inc (fma_test): Add more tests.
20427         (fma_test_towardzero): Likewise.
20428         (fma_test_downward): Likewise.
20429         (fma_test_upward): Likewise.
20431 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
20433         [BZ #157]
20435         * include/stub-tag.h: Remove file.
20436         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
20437         '#include' of it.
20438         * manual/maint.texi (Porting): Don't reference it.
20439         * Makerules ($(objpfx)stubs): Likewise.
20440         * dirent/closedir.c: Don't include <stub-tag.h>.
20441         * dirent/dirfd.c: Likewise.
20442         * dirent/fdopendir.c: Likewise.
20443         * dirent/getdents.c: Likewise.
20444         * dirent/getdents64.c: Likewise.
20445         * dirent/opendir.c: Likewise.
20446         * dirent/readdir.c: Likewise.
20447         * dirent/readdir64.c: Likewise.
20448         * dirent/readdir64_r.c: Likewise.
20449         * dirent/readdir_r.c: Likewise.
20450         * dirent/rewinddir.c: Likewise.
20451         * dirent/seekdir.c: Likewise.
20452         * dirent/telldir.c: Likewise.
20453         * gmon/profil.c: Likewise.
20454         * grp/setgroups.c: Likewise.
20455         * inet/if_index.c: Likewise.
20456         * io/access.c: Likewise.
20457         * io/chdir.c: Likewise.
20458         * io/chmod.c: Likewise.
20459         * io/chown.c: Likewise.
20460         * io/close.c: Likewise.
20461         * io/dup.c: Likewise.
20462         * io/dup2.c: Likewise.
20463         * io/dup3.c: Likewise.
20464         * io/euidaccess.c: Likewise.
20465         * io/faccessat.c: Likewise.
20466         * io/fchdir.c: Likewise.
20467         * io/fchmod.c: Likewise.
20468         * io/fchmodat.c: Likewise.
20469         * io/fchown.c: Likewise.
20470         * io/fchownat.c: Likewise.
20471         * io/fcntl.c: Likewise.
20472         * io/flock.c: Likewise.
20473         * io/fstatfs.c: Likewise.
20474         * io/fstatfs64.c: Likewise.
20475         * io/fstatvfs.c: Likewise.
20476         * io/fstatvfs64.c: Likewise.
20477         * io/futimens.c: Likewise.
20478         * io/fxstat.c: Likewise.
20479         * io/fxstat64.c: Likewise.
20480         * io/fxstatat.c: Likewise.
20481         * io/fxstatat64.c: Likewise.
20482         * io/getcwd.c: Likewise.
20483         * io/isatty.c: Likewise.
20484         * io/lchmod.c: Likewise.
20485         * io/lchown.c: Likewise.
20486         * io/link.c: Likewise.
20487         * io/linkat.c: Likewise.
20488         * io/lseek.c: Likewise.
20489         * io/lseek64.c: Likewise.
20490         * io/lxstat64.c: Likewise.
20491         * io/mkdir.c: Likewise.
20492         * io/mkdirat.c: Likewise.
20493         * io/mkfifo.c: Likewise.
20494         * io/mkfifoat.c: Likewise.
20495         * io/open.c: Likewise.
20496         * io/open64.c: Likewise.
20497         * io/openat.c: Likewise.
20498         * io/openat64.c: Likewise.
20499         * io/pipe.c: Likewise.
20500         * io/pipe2.c: Likewise.
20501         * io/poll.c: Likewise.
20502         * io/posix_fadvise.c: Likewise.
20503         * io/posix_fadvise64.c: Likewise.
20504         * io/posix_fallocate.c: Likewise.
20505         * io/posix_fallocate64.c: Likewise.
20506         * io/read.c: Likewise.
20507         * io/readlink.c: Likewise.
20508         * io/readlinkat.c: Likewise.
20509         * io/rmdir.c: Likewise.
20510         * io/sendfile.c: Likewise.
20511         * io/sendfile64.c: Likewise.
20512         * io/statfs.c: Likewise.
20513         * io/statfs64.c: Likewise.
20514         * io/statvfs.c: Likewise.
20515         * io/statvfs64.c: Likewise.
20516         * io/symlink.c: Likewise.
20517         * io/symlinkat.c: Likewise.
20518         * io/ttyname.c: Likewise.
20519         * io/ttyname_r.c: Likewise.
20520         * io/umask.c: Likewise.
20521         * io/unlink.c: Likewise.
20522         * io/unlinkat.c: Likewise.
20523         * io/utime.c: Likewise.
20524         * io/utimensat.c: Likewise.
20525         * io/write.c: Likewise.
20526         * io/xmknod.c: Likewise.
20527         * io/xmknodat.c: Likewise.
20528         * io/xstat.c: Likewise.
20529         * io/xstat64.c: Likewise.
20530         * login/getpt.c: Likewise.
20531         * login/grantpt.c: Likewise.
20532         * login/unlockpt.c: Likewise.
20533         * math/e_acoshl.c: Likewise.
20534         * math/e_acosl.c: Likewise.
20535         * math/e_asinl.c: Likewise.
20536         * math/e_atan2l.c: Likewise.
20537         * math/e_atanhl.c: Likewise.
20538         * math/e_coshl.c: Likewise.
20539         * math/e_expl.c: Likewise.
20540         * math/e_fmodl.c: Likewise.
20541         * math/e_gammal_r.c: Likewise.
20542         * math/e_hypotl.c: Likewise.
20543         * math/e_j0l.c: Likewise.
20544         * math/e_j1l.c: Likewise.
20545         * math/e_jnl.c: Likewise.
20546         * math/e_lgammal_r.c: Likewise.
20547         * math/e_log10l.c: Likewise.
20548         * math/e_log2l.c: Likewise.
20549         * math/e_logl.c: Likewise.
20550         * math/e_powl.c: Likewise.
20551         * math/e_rem_pio2l.c: Likewise.
20552         * math/e_sinhl.c: Likewise.
20553         * math/e_sqrtl.c: Likewise.
20554         * math/fclrexcpt.c: Likewise.
20555         * math/fedisblxcpt.c: Likewise.
20556         * math/feenablxcpt.c: Likewise.
20557         * math/fegetenv.c: Likewise.
20558         * math/fegetexcept.c: Likewise.
20559         * math/fegetround.c: Likewise.
20560         * math/feholdexcpt.c: Likewise.
20561         * math/fesetenv.c: Likewise.
20562         * math/fesetround.c: Likewise.
20563         * math/feupdateenv.c: Likewise.
20564         * math/fgetexcptflg.c: Likewise.
20565         * math/fraiseexcpt.c: Likewise.
20566         * math/fsetexcptflg.c: Likewise.
20567         * math/ftestexcept.c: Likewise.
20568         * math/k_cosl.c: Likewise.
20569         * math/k_rem_pio2l.c: Likewise.
20570         * math/k_sinl.c: Likewise.
20571         * math/k_tanl.c: Likewise.
20572         * math/s_asinhl.c: Likewise.
20573         * math/s_atanl.c: Likewise.
20574         * math/s_cbrtl.c: Likewise.
20575         * math/s_erfl.c: Likewise.
20576         * math/s_expm1l.c: Likewise.
20577         * math/s_log1pl.c: Likewise.
20578         * math/s_tanhl.c: Likewise.
20579         * misc/acct.c: Likewise.
20580         * misc/brk.c: Likewise.
20581         * misc/chflags.c: Likewise.
20582         * misc/chroot.c: Likewise.
20583         * misc/fchflags.c: Likewise.
20584         * misc/fgetxattr.c: Likewise.
20585         * misc/flistxattr.c: Likewise.
20586         * misc/fremovexattr.c: Likewise.
20587         * misc/fsetxattr.c: Likewise.
20588         * misc/fsync.c: Likewise.
20589         * misc/ftruncate.c: Likewise.
20590         * misc/futimes.c: Likewise.
20591         * misc/futimesat.c: Likewise.
20592         * misc/getdomain.c: Likewise.
20593         * misc/getdtsz.c: Likewise.
20594         * misc/gethostid.c: Likewise.
20595         * misc/gethostname.c: Likewise.
20596         * misc/getloadavg.c: Likewise.
20597         * misc/getpagesize.c: Likewise.
20598         * misc/getsysstats.c: Likewise.
20599         * misc/getxattr.c: Likewise.
20600         * misc/gtty.c: Likewise.
20601         * misc/ioctl.c: Likewise.
20602         * misc/lgetxattr.c: Likewise.
20603         * misc/listxattr.c: Likewise.
20604         * misc/llistxattr.c: Likewise.
20605         * misc/lremovexattr.c: Likewise.
20606         * misc/lsetxattr.c: Likewise.
20607         * misc/lutimes.c: Likewise.
20608         * misc/madvise.c: Likewise.
20609         * misc/mincore.c: Likewise.
20610         * misc/mlock.c: Likewise.
20611         * misc/mlockall.c: Likewise.
20612         * misc/mmap.c: Likewise.
20613         * misc/mprotect.c: Likewise.
20614         * misc/msync.c: Likewise.
20615         * misc/munlock.c: Likewise.
20616         * misc/munlockall.c: Likewise.
20617         * misc/munmap.c: Likewise.
20618         * misc/preadv.c: Likewise.
20619         * misc/preadv64.c: Likewise.
20620         * misc/ptrace.c: Likewise.
20621         * misc/pwritev.c: Likewise.
20622         * misc/pwritev64.c: Likewise.
20623         * misc/readv.c: Likewise.
20624         * misc/reboot.c: Likewise.
20625         * misc/remap_file_pages.c: Likewise.
20626         * misc/removexattr.c: Likewise.
20627         * misc/revoke.c: Likewise.
20628         * misc/select.c: Likewise.
20629         * misc/setdomain.c: Likewise.
20630         * misc/setegid.c: Likewise.
20631         * misc/seteuid.c: Likewise.
20632         * misc/sethostid.c: Likewise.
20633         * misc/sethostname.c: Likewise.
20634         * misc/setregid.c: Likewise.
20635         * misc/setreuid.c: Likewise.
20636         * misc/setxattr.c: Likewise.
20637         * misc/sstk.c: Likewise.
20638         * misc/stty.c: Likewise.
20639         * misc/swapoff.c: Likewise.
20640         * misc/swapon.c: Likewise.
20641         * misc/sync.c: Likewise.
20642         * misc/syncfs.c: Likewise.
20643         * misc/syscall.c: Likewise.
20644         * misc/truncate.c: Likewise.
20645         * misc/ualarm.c: Likewise.
20646         * misc/usleep.c: Likewise.
20647         * misc/ustat.c: Likewise.
20648         * misc/utimes.c: Likewise.
20649         * misc/vhangup.c: Likewise.
20650         * misc/writev.c: Likewise.
20651         * posix/_exit.c: Likewise.
20652         * posix/alarm.c: Likewise.
20653         * posix/execve.c: Likewise.
20654         * posix/fexecve.c: Likewise.
20655         * posix/fork.c: Likewise.
20656         * posix/fpathconf.c: Likewise.
20657         * posix/getaddrinfo.c: Likewise.
20658         * posix/getegid.c: Likewise.
20659         * posix/geteuid.c: Likewise.
20660         * posix/getgid.c: Likewise.
20661         * posix/getgroups.c: Likewise.
20662         * posix/getlogin.c: Likewise.
20663         * posix/getlogin_r.c: Likewise.
20664         * posix/getpgid.c: Likewise.
20665         * posix/getpid.c: Likewise.
20666         * posix/getppid.c: Likewise.
20667         * posix/getresgid.c: Likewise.
20668         * posix/getresuid.c: Likewise.
20669         * posix/getsid.c: Likewise.
20670         * posix/getuid.c: Likewise.
20671         * posix/glob64.c: Likewise.
20672         * posix/nanosleep.c: Likewise.
20673         * posix/pathconf.c: Likewise.
20674         * posix/pause.c: Likewise.
20675         * posix/posix_madvise.c: Likewise.
20676         * posix/pread.c: Likewise.
20677         * posix/pread64.c: Likewise.
20678         * posix/pwrite.c: Likewise.
20679         * posix/pwrite64.c: Likewise.
20680         * posix/sched_getaffinity.c: Likewise.
20681         * posix/sched_getp.c: Likewise.
20682         * posix/sched_gets.c: Likewise.
20683         * posix/sched_primax.c: Likewise.
20684         * posix/sched_primin.c: Likewise.
20685         * posix/sched_rr_gi.c: Likewise.
20686         * posix/sched_setaffinity.c: Likewise.
20687         * posix/sched_setp.c: Likewise.
20688         * posix/sched_sets.c: Likewise.
20689         * posix/sched_yield.c: Likewise.
20690         * posix/setgid.c: Likewise.
20691         * posix/setlogin.c: Likewise.
20692         * posix/setpgid.c: Likewise.
20693         * posix/setresgid.c: Likewise.
20694         * posix/setresuid.c: Likewise.
20695         * posix/setsid.c: Likewise.
20696         * posix/setuid.c: Likewise.
20697         * posix/sleep.c: Likewise.
20698         * posix/spawni.c: Likewise.
20699         * posix/sysconf.c: Likewise.
20700         * posix/times.c: Likewise.
20701         * posix/wait.c: Likewise.
20702         * posix/wait3.c: Likewise.
20703         * posix/wait4.c: Likewise.
20704         * posix/waitpid.c: Likewise.
20705         * resolv/gai_sigqueue.c: Likewise.
20706         * resource/getpriority.c: Likewise.
20707         * resource/getrlimit.c: Likewise.
20708         * resource/getrusage.c: Likewise.
20709         * resource/nice.c: Likewise.
20710         * resource/setpriority.c: Likewise.
20711         * resource/setrlimit.c: Likewise.
20712         * resource/ulimit.c: Likewise.
20713         * rt/aio_cancel.c: Likewise.
20714         * rt/aio_fsync.c: Likewise.
20715         * rt/aio_read.c: Likewise.
20716         * rt/aio_sigqueue.c: Likewise.
20717         * rt/aio_suspend.c: Likewise.
20718         * rt/aio_write.c: Likewise.
20719         * rt/clock_getres.c: Likewise.
20720         * rt/clock_gettime.c: Likewise.
20721         * rt/clock_nanosleep.c: Likewise.
20722         * rt/clock_settime.c: Likewise.
20723         * rt/lio_listio.c: Likewise.
20724         * rt/mq_close.c: Likewise.
20725         * rt/mq_getattr.c: Likewise.
20726         * rt/mq_notify.c: Likewise.
20727         * rt/mq_open.c: Likewise.
20728         * rt/mq_receive.c: Likewise.
20729         * rt/mq_send.c: Likewise.
20730         * rt/mq_setattr.c: Likewise.
20731         * rt/mq_timedreceive.c: Likewise.
20732         * rt/mq_timedsend.c: Likewise.
20733         * rt/mq_unlink.c: Likewise.
20734         * rt/shm_open.c: Likewise.
20735         * rt/shm_unlink.c: Likewise.
20736         * rt/timer_create.c: Likewise.
20737         * rt/timer_delete.c: Likewise.
20738         * rt/timer_getoverr.c: Likewise.
20739         * rt/timer_gettime.c: Likewise.
20740         * rt/timer_settime.c: Likewise.
20741         * setjmp/__longjmp.c: Likewise.
20742         * setjmp/setjmp.c: Likewise.
20743         * signal/kill.c: Likewise.
20744         * signal/killpg.c: Likewise.
20745         * signal/raise.c: Likewise.
20746         * signal/sigaction.c: Likewise.
20747         * signal/sigaltstack.c: Likewise.
20748         * signal/sigblock.c: Likewise.
20749         * signal/sigignore.c: Likewise.
20750         * signal/sigintr.c: Likewise.
20751         * signal/signal.c: Likewise.
20752         * signal/sigpause.c: Likewise.
20753         * signal/sigpending.c: Likewise.
20754         * signal/sigqueue.c: Likewise.
20755         * signal/sigreturn.c: Likewise.
20756         * signal/sigset.c: Likewise.
20757         * signal/sigsetmask.c: Likewise.
20758         * signal/sigstack.c: Likewise.
20759         * signal/sigsuspend.c: Likewise.
20760         * signal/sigtimedwait.c: Likewise.
20761         * signal/sigvec.c: Likewise.
20762         * signal/sigwait.c: Likewise.
20763         * signal/sigwaitinfo.c: Likewise.
20764         * signal/sysv_signal.c: Likewise.
20765         * socket/accept.c: Likewise.
20766         * socket/accept4.c: Likewise.
20767         * socket/bind.c: Likewise.
20768         * socket/connect.c: Likewise.
20769         * socket/getpeername.c: Likewise.
20770         * socket/getsockname.c: Likewise.
20771         * socket/getsockopt.c: Likewise.
20772         * socket/isfdtype.c: Likewise.
20773         * socket/listen.c: Likewise.
20774         * socket/recv.c: Likewise.
20775         * socket/recvfrom.c: Likewise.
20776         * socket/recvmsg.c: Likewise.
20777         * socket/send.c: Likewise.
20778         * socket/sendmsg.c: Likewise.
20779         * socket/sendto.c: Likewise.
20780         * socket/setsockopt.c: Likewise.
20781         * socket/shutdown.c: Likewise.
20782         * socket/sockatmark.c: Likewise.
20783         * socket/socket.c: Likewise.
20784         * socket/socketpair.c: Likewise.
20785         * stdio-common/ctermid.c: Likewise.
20786         * stdio-common/cuserid.c: Likewise.
20787         * stdio-common/remove.c: Likewise.
20788         * stdio-common/rename.c: Likewise.
20789         * stdio-common/renameat.c: Likewise.
20790         * stdio-common/tempname.c: Likewise.
20791         * stdlib/getcontext.c: Likewise.
20792         * stdlib/makecontext.c: Likewise.
20793         * stdlib/setcontext.c: Likewise.
20794         * stdlib/swapcontext.c: Likewise.
20795         * stdlib/system.c: Likewise.
20796         * streams/fattach.c: Likewise.
20797         * streams/fdetach.c: Likewise.
20798         * streams/getmsg.c: Likewise.
20799         * streams/getpmsg.c: Likewise.
20800         * streams/putmsg.c: Likewise.
20801         * streams/putpmsg.c: Likewise.
20802         * sysdeps/unix/bsd/getpt.c: Likewise.
20803         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
20804         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
20805         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
20806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
20807         Likewise.
20808         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
20809         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
20810         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
20811         * sysvipc/msgctl.c: Likewise.
20812         * sysvipc/msgget.c: Likewise.
20813         * sysvipc/msgrcv.c: Likewise.
20814         * sysvipc/msgsnd.c: Likewise.
20815         * sysvipc/semctl.c: Likewise.
20816         * sysvipc/semget.c: Likewise.
20817         * sysvipc/semop.c: Likewise.
20818         * sysvipc/semtimedop.c: Likewise.
20819         * sysvipc/shmat.c: Likewise.
20820         * sysvipc/shmctl.c: Likewise.
20821         * sysvipc/shmdt.c: Likewise.
20822         * sysvipc/shmget.c: Likewise.
20823         * termios/tcdrain.c: Likewise.
20824         * termios/tcflow.c: Likewise.
20825         * termios/tcflush.c: Likewise.
20826         * termios/tcgetattr.c: Likewise.
20827         * termios/tcgetpgrp.c: Likewise.
20828         * termios/tcsendbrk.c: Likewise.
20829         * termios/tcsetattr.c: Likewise.
20830         * termios/tcsetpgrp.c: Likewise.
20831         * time/adjtime.c: Likewise.
20832         * time/clock.c: Likewise.
20833         * time/getitimer.c: Likewise.
20834         * time/gettimeofday.c: Likewise.
20835         * time/setitimer.c: Likewise.
20836         * time/settimeofday.c: Likewise.
20837         * time/stime.c: Likewise.
20838         * time/time.c: Likewise.
20840 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
20842         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
20843         /usr/old/bin.
20845         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
20846         instead of spaces.
20847         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
20849 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
20851         [BZ #14796]
20852         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
20853         FE_TONEAREST before applying Dekker multiplication and Knuth
20854         addition.  Clear inexact exceptions and check for exact zero
20855         results afterwards.
20856         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
20857         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
20858         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
20859         * math/libm-test.inc (fma_test): Add more tests.
20860         (fma_test_towardzero): Likewise.
20861         (fma_test_downward): Likewise.
20862         (fma_test_upward): Likewise.
20863         * sysdeps/generic/math_private.h (default_libc_fesetround): New
20864         function.
20865         (libc_fesetround): New macro.
20866         (libc_fesetroundf): Likewise.
20867         (libc_fesetroundl): Likewise.
20868         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
20869         function.
20870         (libc_fesetround_387): Likewise.
20871         (libc_fesetroundf): New macro.
20872         (libc_fesetround): Likewise.
20873         (libc_fesetroundl): Likewise.
20874         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
20875         function.
20876         (libc_fesetroundf): New macro.
20877         (libc_fesetround): Likewise.
20878         (libc_fesetroundl): Likewise.
20879         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
20880         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
20881         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
20882         libm_hidden_ver.
20883         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
20884         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
20885         libm_hidden_def.
20886         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
20887         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
20888         libm_hidden_ver.
20889         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
20890         libm_hidden_def.
20892         [BZ #3439]
20893         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
20894         integer constant usable in #if and use that to give value to enum
20895         constant.
20896         (FE_DIVBYZERO): Likewise.
20897         (FE_UNDERFLOW): Likewise.
20898         (FE_OVERFLOW): Likewise.
20899         (FE_INVALID): Likewise.
20900         (FE_INVALID_SNAN): Likewise.
20901         (FE_INVALID_ISI): Likewise.
20902         (FE_INVALID_IDI): Likewise.
20903         (FE_INVALID_ZDZ): Likewise.
20904         (FE_INVALID_IMZ): Likewise.
20905         (FE_INVALID_COMPARE): Likewise.
20906         (FE_INVALID_SOFTWARE): Likewise.
20907         (FE_INVALID_SQRT): Likewise.
20908         (FE_INVALID_INTEGER_CONVERSION): Likewise.
20909         (FE_TONEAREST): Likewise.
20910         (FE_TOWARDZERO): Likewise.
20911         (FE_UPWARD): Likewise.
20912         (FE_DOWNWARD): Likewise.
20913         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
20914         (FE_DIVBYZERO): Likewise.
20915         (FE_OVERFLOW): Likewise.
20916         (FE_UNDERFLOW): Likewise.
20917         (FE_INEXACT): Likewise.
20918         (FE_TONEAREST): Likewise.
20919         (FE_DOWNWARD): Likewise.
20920         (FE_UPWARD): Likewise.
20921         (FE_TOWARDZERO): Likewise.
20922         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
20923         (FE_UNDERFLOW): Likewise.
20924         (FE_OVERFLOW): Likewise.
20925         (FE_DIVBYZERO): Likewise.
20926         (FE_INVALID): Likewise.
20927         (FE_TONEAREST): Likewise.
20928         (FE_TOWARDZERO): Likewise.
20929         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
20930         (FE_OVERFLOW): Likewise.
20931         (FE_UNDERFLOW): Likewise.
20932         (FE_DIVBYZERO): Likewise.
20933         (FE_INEXACT): Likewise.
20934         (FE_TONEAREST): Likewise.
20935         (FE_TOWARDZERO): Likewise.
20936         (FE_UPWARD): Likewise.
20937         (FE_DOWNWARD): Likewise.
20938         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
20939         (FE_DIVBYZERO): Likewise.
20940         (FE_OVERFLOW): Likewise.
20941         (FE_UNDERFLOW): Likewise.
20942         (FE_INEXACT): Likewise.
20943         (FE_TONEAREST): Likewise.
20944         (FE_DOWNWARD): Likewise.
20945         (FE_UPWARD): Likewise.
20946         (FE_TOWARDZERO): Likewise.
20948 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
20950         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
20952 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
20954         * scripts/cross-test-ssh.sh (command): Use newlines to separate
20955         commands.  Quote $PWD.
20956         (blacklist_exports): Don't use remove_newlines.  Replace "declare
20957         -x" by "export".
20958         (remove_newlines): Remove.
20960 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
20962         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
20963         * stdlib/stdlib.h (atof): Moved to ...
20964         * include/bits/stdlib-float.h: Here.  New file.
20965         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
20966         * stdlib/bits/stdlib-float.h: New file.
20967         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
20968         -mno-sse -mno-mmx.
20969         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
20970         <xmmintrin.h>.
20972 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
20974         * conform/conformtest.pl (@headers): Add fenv.h.
20975         * conform/data/fenv.h-data: New file.
20976         * include/fenv.h [_ISOMAC]: Disable all contents of file except
20977         include of <math/fenv.h>.
20979         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
20980         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
20981         && !UNIX98].  Enables tests for XOPEN2K8.
20982         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
20983         POSIX2008]: Likewise.
20985         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
20986         (struct rusage): Do not expect type or its members.
20988         [BZ #3439]
20989         * math/math.h (FP_NAN): Define macro to integer constant usable in
20990         #if and use that to give value to enum constant.
20991         (FP_INFINITE): Likewise.
20992         (FP_ZERO): Likewise.
20993         (FP_SUBNORMAL): Likewise.
20994         (FP_NORMAL): Likewise.
20996 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
20998         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
20999         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
21000         arguments.
21002 2012-11-02  Roland McGrath  <roland@hack.frob.com>
21004         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
21005         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
21006         autoconf-time if not.
21007         * configure.in: Remove AC_PREREQ.
21009 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21011         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
21012         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
21013         of the internal implementation.
21015 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
21017         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
21018         except include of <misc/sys/syslog.h>.
21020 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
21023         function returns with a NULL context exit with zero.
21025 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21027         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
21029 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
21031         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
21032         (run_program_cmd): This.
21033         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
21034         (tst_langinfo): New variable.  Use it.
21036 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
21038         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
21039         floating point opcodes.
21041 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21043         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
21044         variable.
21046         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
21048         * sysdeps/mach/hurd/powerpc: Remove directory.
21049         * sysdeps/mach/powerpc: Likewise.
21051 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
21053         * scripts/check-local-headers.sh: Ignore c++ headers.
21055 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21057         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
21058         __libc_cleanup_region_start argument.
21060 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
21062         [BZ #14784]
21063         [BZ #14785]
21064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
21065         x * y using scaling, not as x * y + z.
21066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21068         * math/libm-test.inc (fma_test): Add more tests.
21069         (fma_test_towardzero): Likewise.
21070         (fma_test_downward): Likewise.
21071         (fma_test_upward): Likewise.
21073 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
21075         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
21077 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21079         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
21080         New variable.
21082 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
21084         * rt/tst-shm.c (worker): Correct checking for mmap failure.
21086 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21089         Fix sort order.
21090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21091         Likewise.
21093 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21096         Fix the order of the list for glibc 2.17.
21097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21098         Likewise.
21100 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
21102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21104 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
21106         [BZ #14610]
21107         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
21108         for low part of x being zero before using __atanl (y).
21109         * math/libm-test.inc (atan2_test): Add another test.
21111         * manual/install.texi (Configuring and compiling): Document
21112         general use of test-wrapper and test-wrapper-env.
21113         * INSTALL: Regenerated.
21115         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
21116         (__fma): Do not extract and scale down low bits on after-rounding
21117         systems when result rounded to normal precision would have normal
21118         exponent.
21119         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
21120         (__fmal): Do not extract and scale down low bits on after-rounding
21121         systems when result rounded to normal precision would have normal
21122         exponent.
21123         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
21124         (__fmal): Do not extract and scale down low bits on after-rounding
21125         systems when result rounded to normal precision would have normal
21126         exponent.
21127         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
21128         macro.
21129         (fma_test): Add more tests.
21130         (fma_test_towardzero): Likewise.
21131         (fma_test_downward): Likewise.
21132         (fma_test_upward): Likewise.
21134 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
21136         * sysdeps/i386/tininess.h: Renamed to ...
21137         * sysdeps/x86/tininess.h: This.
21138         * sysdeps/x86_64/tininess.h: Removed.
21140 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21142         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
21143         input.  Use $(build-program-cmd).
21144         ($(objpfx)tst-array1-static.out): Likewise.
21145         ($(objpfx)tst-array2.out): Likewise.
21146         ($(objpfx)tst-array3.out): Likewise.
21147         ($(objpfx)tst-array4.out): Likewise.
21148         ($(objpfx)tst-array5.out): Likewise.
21149         ($(objpfx)tst-array5-static.out): Likewise.
21151 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
21153         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
21154         if defined.
21156         * nss/nsswitch.h (nss_interface_function): Provide new
21157         macro for use with NSS functions.
21158         * grp/initgroups.c: Use new macro.
21159         * nss/getXXbyYY.c: Likewise.
21160         * nss/getXXbyYY_r.c: Likewise.
21161         * nss/getXXent.c: Likewise.
21162         * nss/getXXent_r.c: Likewise.
21163         * sysdeps/posix/getaddrinfo.c: Likewise.
21165 2012-10-30  Andreas Jaeger  <aj@suse.de>
21167         * po/ru.po: Update Russion translation from translation project.
21169 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
21171         [BZ #14152]
21172         [BZ #14783]
21173         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
21174         result and shift together with sticky bit instead of replicating
21175         round-to-nearest rounding.
21176         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21177         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21178         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
21179         missing underflow exceptions.
21180         (fma_test_towardzero): Add more tests.
21181         (fma_test_downward): Likewise.
21182         (fma_test_upward): Likewise.
21184         [BZ #14047]
21185         * sysdeps/generic/tininess.h: New file.
21186         * sysdeps/i386/tininess.h: Likewise.
21187         * sysdeps/sh/tininess.h: Likewise.
21188         * sysdeps/x86_64/tininess.h: Likewise.
21189         * stdlib/tst-strtod-underflow.c: Likewise.
21190         * stdlib/tst-tininess.c: Likewise.
21191         * stdlib/strtod_l.c: Include <tininess.h>.
21192         (round_and_return): Do not set errno for exact underflow cases.
21193         Force an underflow exception when setting errno for underflow.
21194         Determine underflow based on rounding to normal precision if
21195         TININESS_AFTER_ROUNDING.
21196         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
21197         ERANGE for exact underflow cases.
21198         * stdlib/Makefile (tests): Add tst-tininess and
21199         tst-strtod-underflow.
21200         ($(objpfx)tst-tininess): Use $(link-libm).
21201         ($(objpfx)tst-strtod-underflow): Likewise.
21203 2012-10-30  Andreas Jaeger  <aj@suse.de>
21205         [BZ#14767]
21206         * elf/Makefile (tests): Remove conditional for have-initfini-array
21207         since this is now always required and the variable does not exist
21208         anymore.
21209         (tests-static): Likewise.
21210         (modules-names): Likewise.
21212         * po/eo.po: Add Esperanto translation from translation project.
21214         * elf/tst-array1.c (fini_array): Make writeable so that it can be
21215         merged with constructor/destructor.
21216         (init_array): Likewise.
21217         * elf/tst-array2dep.c (fini_array): Likewise.
21218         (init_array): Likewise.
21220 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
21222         * manual/message.texi: Delete @cartouche tags.
21224 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
21226         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
21227         EOPNOTSUPP.
21228         * sysdeps/mach/hurd/fsync.c: Likewise.
21230         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
21231         [_POSIX_REALTIME_SIGNALS]: Change condition to
21232         [_POSIX_REALTIME_SIGNALS > 0].
21234 2012-10-27  Andreas Jaeger  <aj@suse.de>
21236         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
21237         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
21238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
21239         [__WORDSIZE != 64]: Likewise.
21241 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
21243         *  iconvdata/tst-table.sh: Remove ${SHELL}.
21244         *  iconvdata/tst-tables.sh: Likewise.
21246 2012-10-25  David S. Miller  <davem@davemloft.net>
21248         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21249         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
21250         of strtoull.
21252         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
21253         ifunc-impl-list.c
21254         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
21255         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
21256         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
21257         file.
21259 2012-10-25  Roland McGrath  <roland@hack.frob.com>
21261         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21262         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
21263         __getdirentries.
21265 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21266             Jim Blandy  <jimb@codesourcery.com>
21268         * scripts/cross-test-ssh.sh: New file.
21269         * manual/install.texi (Configuring and compiling): Document use of
21270         cross-test-ssh.sh.
21271         * INSTALL: Regenerated.
21273 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
21275         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
21276         EOPNOTSUPP.
21278 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
21280         * Makeconfig (run-program-prefix): Fix comment.
21282 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21283             Jim Blandy  <jimb@codesourcery.com>
21285         * Makeconfig (test-wrapper): New variable,
21286         (test-wrapper-env): Likewise.
21287         [$(cross-compiling) = yes && $(test-wrapper) != ""]
21288         (run-built-tests): Define to yes.
21289         (run-program-prefix): Use $(test-wrapper).
21290         (built-program-cmd): Likewise.
21291         * Rules (make-test-out): Use $(test-wrapper-env) and
21292         $(host-built-program-cmd).
21293         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
21294         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
21295         tst-pathopt.sh.
21296         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
21297         $(test-wrapper-env) to tst-rtld-load-self.sh.
21298         ($(objpfx)order2.out): Use $(test-wrapper).
21299         ($(objpfx)tst-initorder.out): Likewise.
21300         ($(objpfx)tst-initorder2.out): Likewise.
21301         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
21302         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
21303         (test_wrapper_env): New variable.  Use it to run ld.so.
21304         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
21305         Use it to run ld.so.
21306         (test_wrapper_env): Likewise.
21307         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
21308         $(test-wrapper) to run-iconv-test.sh.
21309         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
21310         (ICONV): Use $test_wrapper.
21311         * posix/Makefile ($(objpfx)globtest.out): Pass
21312         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
21313         globtest.sh, not $(run-program-prefix).
21314         * posix/globtest.sh (run_via_rtld_prefix): New variable.
21315         (test_wrapper): Likewise.
21316         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
21317         set together with run_via_rtld_prefix.
21318         (run_program_prefix): Define in terms of test_wrapper and
21319         run_via_rtld_prefix.
21321 2012-10-24  Roland McGrath  <roland@hack.frob.com>
21323         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
21324         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
21325         Targets removed.
21327         [BZ #14743]
21328         * include/time.h: Remove librt_hidden_proto (clock_gettime).
21329         Declare __clock_getres, __clock_gettime, __clock_settime,
21330         __clock_nanosleep, and __clock_getcpuclockid.
21331         * rt/clock_gettime.c: Define __clock_gettime as an alias.
21332         Remove librt_hidden_def (clock_gettime).
21333         * sysdeps/unix/clock_gettime.c: Likewise.
21334         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
21335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
21336         * rt/clock_getres.c: Define __clock_getres as an alias.
21337         * sysdeps/posix/clock_getres.c: Likewise.
21338         * rt/clock_settime.c: Define __clock_settime as an alias.
21339         * sysdeps/unix/clock_settime.c: Likewise.
21340         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
21341         * sysdeps/unix/clock_nanosleep.c: Likewise.
21342         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
21343         * rt/clock-compat.c: New file.
21344         * rt/Makefile (librt-routines): Add clock-compat and move
21345         $(clock-routines) to ...
21346         (routines): ... here, new variable.
21347         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
21348         Don't add get_clockfreq here.
21349         * rt/Versions (libc: GLIBC_2.17): New version set.
21350         Add clock_* symbols here.
21351         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
21352         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
21353         (GLIBC_2.17): Add clock_* symbols.
21354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
21355         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
21356         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21358         Likewise.
21359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21360         Likewise.
21361         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
21363         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
21364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
21365         * NEWS: Mention the move.
21367         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
21368         Use __open, __read, __close rather than their public counterparts.
21369         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
21370         (__get_clockfreq_via_cpuinfo): Likewise.
21371         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
21372         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
21374         * config.h.in (HAVE_IFUNC): New #undef.
21375         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
21376         was successful.
21377         * configure: Regenerated.
21379 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21381         * configure.in: Move READELF check to start of file.
21382         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
21383         libc_cv_asm_gnu_indirect_function in the process.
21384         * configure: Regenerated.
21386 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
21388         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
21389         send the output to /dev/null.
21390         (libc_cv_cc_with_libunwind): Likewise.
21391         (libc_cv_as_noexecstack): Likewise.
21392         * configure: Regenerate.
21394 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
21396         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
21398         * posix/globtest.sh (TMPDIR): Do not set.
21399         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
21400         (testout): Likewise.
21402 2012-10-24  Andreas Jaeger  <aj@suse.de>
21404         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
21405         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
21406         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
21407         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
21408         posix_fadvise64, posix_fallocate64.
21410         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
21411         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
21412         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
21413         Likewise.
21414         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
21415         Likewise.
21416         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
21418         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
21419         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
21420         <bits/fcntl-linux.h>.
21421         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
21423         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
21424         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
21425         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
21426         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
21427         [__WORDSIZE != 64]: Likewise.
21429 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21431         * Makeconfig (run-built-tests): New variable.
21432         * Rules [$(cross-compiling) = yes]: Change condition to
21433         [$(run-built-tests) = no].
21434         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
21435         to [$(run-built-tests) = yes].
21436         * elf/Makefile [$(cross-compiling) = no]: Likewise
21437         * grp/Makefile [$(cross-compiling) = no]: Likewise.
21438         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
21439         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
21440         * intl/Makefile [$(cross-compiling) = no]: Likewise.
21441         * io/Makefile [$(cross-compiling) = no]: Likewise.
21442         * libio/Makefile [$(cross-compiling) = no]: Likewise.
21443         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
21444         * misc/Makefile [$(cross-compiling) = no]: Likewise.
21445         * posix/Makefile [$(cross-compiling) = no]: Likewise.
21446         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
21447         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
21448         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
21449         * string/Makefile [$(cross-compiling) = no]: Likewise.
21451         * posix/Makefile ($(objpfx)globtest.out): Pass
21452         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
21453         $(rtld-installed-name).
21454         * posix/globtest.sh (elf_objpfx): Remove variable.
21455         (rtld_installed_name): Likewise.
21456         (library_path): Likewise.
21457         (run_program_prefix): New variable.  Use for running globtest
21458         binary.
21460 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
21461             Joseph Myers  <joseph@codesourcery.com>
21463         * Makeconfig (host-built-program-cmd): New variable.
21464         * elf/Makefile (tst-stackguard1-ARGS): Use
21465         $(host-built-program-cmd).
21466         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
21467         (tst-spawn-ARGS): Likewise.
21468         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
21470 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
21471             Jim Blandy  <jimb@codesourcery.com>
21473         * Makeconfig (run-via-rtld-prefix): New variable.
21474         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
21475         (built-program-cmd): Likewise.
21477 2012-10-22  Andreas Jaeger  <aj@suse.de>
21479         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
21480         __O_RSYNC if it exists, otherwise to O_SYNC.
21482 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
21483             Joseph Myers  <joseph@codesourcery.com>
21485         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
21486         /dev/null.
21487         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
21488         from /dev/null
21489         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
21490         /dev/null.
21492 2012-10-22  Andreas Jaeger  <aj@suse.de>
21494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
21495         Define always.
21496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
21498         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21499         bits/fcntl-linux.h.
21501         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
21502         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
21504         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
21505         to __O_LARGEFILE.
21506         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
21507         to __O_LARGEFILE.
21509 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
21510             Joseph Myers  <joseph@codesourcery.com>
21512         * config.make.in (NM): New variable.
21514 2012-10-21  Andreas Jaeger  <aj@suse.de>
21516         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
21517         definitions and declarations that are provided by
21518         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21520 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21522         [BZ #14683]
21523         * elf/Makefile (tests-static): Add tst-leaks1-static.
21524         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
21525         ($(objpfx)tst-leaks1-static): New rule.
21526         ($(objpfx)tst-leaks1-static-mem): Likewise.
21527         (tst-leaks1-static-ENV): New macro.
21528         * elf/dl-open.c (dl_open_worker): Check the main application
21529         only if SHARED is defined.
21530         * elf/tst-leaks1-static.c: New file.
21532 2012-10-20  Andreas Jaeger  <aj@suse.de>
21534         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
21535         generic values for Linux.
21536         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
21537         and declarations that are provided by <bits/fcntl-linux.h> and
21538         include <bits/fcntl-linux.h>.
21539         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21540         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
21542 2012-10-20  Roland McGrath  <roland@hack.frob.com>
21544         * io/fcntl.h: Move include of <bits/types.h> to the top and
21545         include it unconditionally.
21547 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
21549         * wcsmbs/Makefile (tests-ifunc): New variable.
21550         (tests): Add $(tests-ifunc).
21551         * wcsmbs/test-wcschr-ifunc.c: New file.
21552         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
21553         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
21554         * wcsmbs/test-wcslen-ifunc.c: Likewise.
21555         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
21556         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
21558         * string/Makefile (tests-ifunc): New variable.
21559         (tests): Add $(tests-ifunc).
21560         * string/test-memccpy.c (TEST_NAME): New macro.
21561         * string/test-memchr.c (TEST_NAME): Likewise.
21562         * string/test-memcmp.c (TEST_NAME): Likewise.
21563         * string/test-memcpy.c (TEST_NAME): Likewise.
21564         * string/test-memmem.c (TEST_NAME): Likewise.
21565         * string/test-memmove.c (TEST_NAME): Likewise.
21566         * string/test-memset.c (TEST_NAME): Likewise.
21567         * string/test-rawmemchr.c (TEST_NAME): Likewise.
21568         * string/test-stpcpy.c (TEST_NAME): Likewise.
21569         * string/test-stpncpy.c (TEST_NAME): Likewise.
21570         * string/test-strcasecmp.c (TEST_NAME): Likewise.
21571         * string/test-strcasestr.c (TEST_NAME): Likewise.
21572         * string/test-strcat.c (TEST_NAME): Likewise.
21573         * string/test-strchr.c (TEST_NAME): Likewise.
21574         * string/test-strcmp.c(TEST_NAME): Likewise.
21575         * string/test-strcpy.c (TEST_NAME): Likewise.
21576         * string/test-strcspn.c (TEST_NAME): Likewise.
21577         * string/test-strlen.c (TEST_NAME): Likewise.
21578         * string/test-strncasecmp.c (TEST_NAME): Likewise.
21579         * string/test-strncmp.c (TEST_NAME): Likewise.
21580         * string/test-strncpy.c (TEST_NAME): Likewise.
21581         * string/test-strnlen.c (TEST_NAME): Likewise.
21582         * string/test-strpbrk.c (TEST_NAME): Likewise.
21583         * string/test-strrchr.c (TEST_NAME): Likewise.
21584         * string/test-strspn.c (TEST_NAME): Likewise.
21585         * string/test-strstr.c (TEST_NAME): Likewise.
21586         * string/test-bcopy-ifunc.c: New file.
21587         * string/test-bzero-ifunc.c: Likewise.
21588         * string/test-memccpy-ifunc.c: Likewise.
21589         * string/test-memchr-ifunc.c: Likewise.
21590         * string/test-memcmp-ifunc.c: Likewise.
21591         * string/test-memcpy-ifunc.c: Likewise.
21592         * string/test-memmem-ifunc.c: Likewise.
21593         * string/test-memmove-ifunc.c: Likewise.
21594         * string/test-mempcpy-ifunc.c: Likewise.
21595         * string/test-memset-ifunc.c: Likewise.
21596         * string/test-rawmemchr-ifunc.c: Likewise.
21597         * string/test-stpcpy-ifunc.c: Likewise.
21598         * string/test-stpncpy-ifunc.c: Likewise.
21599         * string/test-strcasecmp-ifunc.c: Likewise.
21600         * string/test-strcasestr-ifunc.c: Likewise.
21601         * string/test-strcat-ifunc.c: Likewise.
21602         * string/test-strchr-ifunc.c: Likewise.
21603         * string/test-strchrnul-ifunc.c: Likewise.
21604         * string/test-strcmp-ifunc.c: Likewise.
21605         * string/test-strcpy-ifunc.c: Likewise.
21606         * string/test-strcspn-ifunc.c: Likewise.
21607         * string/test-strlen-ifunc.c: Likewise.
21608         * string/test-strncasecmp-ifunc.c: Likewise.
21609         * string/test-strncat-ifunc.c: Likewise.
21610         * string/test-strncmp-ifunc.c: Likewise.
21611         * string/test-strncpy-ifunc.c: Likewise.
21612         * string/test-strnlen-ifunc.c: Likewise.
21613         * string/test-strpbrk-ifunc.c: Likewise.
21614         * string/test-strrchr-ifunc.c: Likewise.
21615         * string/test-strspn-ifunc.c: Likewise.
21616         * string/test-strstr-ifunc.c: Likewise.
21618         * debug/Makefile (tests-ifunc): New variable.
21619         (tests): Add $(tests-ifunc).
21620         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
21621         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
21622         * debug/test-stpcpy_chk-ifunc.c: New file.
21623         * debug/test-strcpy_chk-ifunc.c: Likewise.
21625 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21627         [BZ #13601]
21628         * elf/dl-load.c (open_verify): Retry read if the entire ELF
21629         header is not read in.
21631 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
21633         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
21634         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
21635         directly.  Pass built executable to script as
21636         $(built-program-cmd).
21637         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
21638         $testprogram without using LD_LIBRARY_PATH and $ldso.
21640         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
21641         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
21642         $(rtld-installed-name).
21643         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
21644         (rtld_installed_name): Likewise.
21645         (library_path): Likewise.
21646         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
21647         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
21648         $(run-program-prefix) to tst-tables.sh.
21649         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
21650         it to run tst-table-from and tst-table-to.
21651         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
21652         Pass it to tst-table.sh.
21653         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
21654         $(run-program-prefix) to tst-gettext.sh.
21655         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
21656         tst-translit.sh.
21657         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
21658         tst-gettext2.sh.
21659         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
21660         to run tst-gettext.
21661         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
21662         to run tst-gettext2.
21663         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
21664         to run tst-translit.
21665         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
21666         $(run-program-prefix) to tst-mtrace.sh.
21667         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
21668         to run tst-mtrace.
21669         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
21670         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
21671         $(rtld-installed-name).
21672         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
21673         (rtld_installed_name): Likewise.
21674         (run_program_prefix): New variable.  Use it to run wordexp-test.
21676         * Makeconfig (ARCH): Remove all definitions.
21677         (machine): Likewise.
21678         [ARCH]: Remove conditional code.
21679         [!objdir]: Give error.
21680         [!objdir] (objpfx): Remove.
21681         [!objdir] (common-objpfx): Likewise.
21682         [!objdir] (common-objdir): Likewise.
21683         * configure.in (config_makefile): Remove.  Hardcode Makefile in
21684         AC_CONFIG_FILES call.
21685         * configure: Regenerated.
21687         [BZ #13888]
21688         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
21689         or TMPDIR.
21690         (testout): Likewise.
21692         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
21693         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
21694         $(rtld-installed-name).
21695         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
21696         (rtld_installed_name): Likwise.
21697         (runit): Remove function.
21698         (run_getconf): New variable,  Use it for running getconf binary.
21700 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
21702         [BZ #14716]
21703         * string/test-memmem.c (check_result): New function.
21704         (do_one_test): Use it.
21705         (check1): New function.
21706         (test_main): Use it.
21708 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
21710         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
21712 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
21714         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
21715         (_G_LSEEK64): Likewise.
21716         (_G_MMAP64): Likewise.
21717         (_G_FSTAT64): Likewise.
21718         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
21719         (_G_LSEEK64): Likewise.
21720         (_G_MMAP64): Likewise.
21721         (_G_FSTAT64): Likewise.
21722         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
21723         unconditional.  Call __mmap64 directly.
21724         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
21725         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
21726         __lseek64 directly.
21727         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
21728         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
21729         __mmap64 directly.
21730         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
21731         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21732         __lseek64 directly.
21733         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
21734         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
21735         __lseek64 directly.
21736         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
21737         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
21738         __lseek64 directly.
21739         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
21740         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
21741         __fxstat64 directly.
21742         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
21743         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
21744         unconditional.
21745         (freopen64) [!_G_OPEN64]: Remove conditional code.
21746         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
21747         unconditional.
21748         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
21749         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
21750         unconditional.
21751         (ftello64) [!_G_LSEEK64]: Remove conditional code.
21752         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
21753         unconditional.
21754         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21755         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
21756         unconditional.
21757         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
21758         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
21759         unconditional.
21760         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21761         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
21762         unconditional.
21763         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
21764         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
21765         unconditional.
21766         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
21768 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21770         [BZ #12140]
21771         * manual/memory.texi (Malloc Tunable Parameters): Add note
21772         about free list pointers overwriting some perturb bytes.
21773         Wording suggested by Roland McGrath.
21775 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
21777         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
21778         (lgamma_test): Likewise.
21779         (tgamma_test): Likewise.
21781 2012-10-16  Florian Weimer  <fweimer@redhat.com>
21783         [BZ #14700]
21784         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
21785         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
21787 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
21789         * NEWS: Mention BZ #14716.
21790         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
21791         when removing AVAILABLE1_USES_J macro.
21793 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
21795         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
21796         (__bswap_64): __uint64_t for unsigned 64-bit int.
21798 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
21800         * include/string.h (memmem): Declare libc hidden alias.
21801         * string/memmem.c (memmem): Define libc hidden alias.
21802         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
21803         __read, __close instead of open, read, close.
21805 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
21807         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
21808         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
21809         global and hidden.
21810         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
21811         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
21812         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
21813         Likewise.
21814         (__rawmemchr_sse2): Likewise.
21815         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
21816         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
21817         (__strchr_sse2): Likewise.
21818         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
21819         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
21820         (__strcasecmp_sse2): Likewise.
21821         (__strncasecmp_sse2): Likewise.
21822         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
21823         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
21824         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
21825         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
21826         (__strrchr_sse2): Likewise.
21827         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
21828         ifunc-impl-list.c.
21829         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
21830         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21831         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21832         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21833         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21834         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21835         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21836         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21837         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
21838         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
21839         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
21840         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
21841         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
21842         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
21843         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
21844         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21845         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
21846         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
21847         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
21848         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
21849         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
21850         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
21851         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
21852         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
21853         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
21854         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21855         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
21856         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
21857         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
21858         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
21860         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
21861         global and hidden.
21862         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
21863         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
21864         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
21865         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
21866         Likewise.
21867         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
21868         Likewise.
21869         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
21870         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
21871         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
21872         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
21873         ifunc-impl-list.c.
21874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
21875         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
21876         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
21877         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
21878         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
21879         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
21880         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
21881         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
21882         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
21883         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
21884         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
21885         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
21886         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
21887         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
21888         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
21889         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21890         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
21891         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
21892         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
21893         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
21894         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
21895         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
21896         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
21897         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
21898         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21899         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
21900         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
21901         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
21902         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
21903         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
21904         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
21905         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
21906         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
21907         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
21908         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
21909         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
21910         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
21911         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
21912         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
21913         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
21914         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
21916         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
21917         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
21918         * include/ifunc-impl-list.h: New file.
21919         * misc/ifunc-impl-list.c: Likewise.
21920         * misc/Makefile (routines): Add ifunc-impl-list.
21921         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
21922         * string/test-string.h: Include <ifunc-impl-list.h>.
21923         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
21924         impl_array): New variables.
21925         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
21926         are defined.
21927         (test_init): Call __libc_ifunc_impl_list to initialize
21928         func_list if TEST_IFUNC and TEST_NAME are defined.
21930         * string/Makefile (strop-tests): Add bcopy and bzero.
21931         * string/test-bcopy.c: New file.
21932         * string/test-bzero.c: Likewise.
21933         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
21934         defined.
21935         * string/test-memset.c: Support bzero test if TEST_BZERO is
21936         defined.
21937         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
21938         __libc_memmove.
21939         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
21940         __libc_memset.
21941         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
21942         of memset.
21944 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
21946         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
21947         * configure: Regenerated.
21949         * Makeconfig (+link-static-before-libc): Don't include
21950         $(link-static-libc).
21952         * libio/libio.h (_IO_pos_t): Remove.
21954 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21956         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
21957         McGrath.
21959 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21961         * crypt/crypt-entry.c: Include fips-private.h.
21962         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
21963         * crypt/md5c-test.c (main): Tolerate disabled MD5.
21964         * sysdeps/unix/sysv/linux/fips-private.h: New file.
21965         * sysdeps/generic/fips-private.h: New file, dummy fallback.
21967 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
21969         * crypt/crypt-private.h: Include stdbool.h.
21970         (_ufc_setup_salt_r): Return bool.
21971         * crypt/crypt-entry.c: Include errno.h.
21972         (__crypt_r): Return NULL with EINVAL for bad salt.
21973         * crypt/crypt_util.c (bad_for_salt): New.
21974         (_ufc_setup_salt_r): Check that salt is long enough and within
21975         the specified alphabet.
21976         * crypt/badsalttest.c: New file.
21977         * crypt/Makefile (tests): Add it.
21978         ($(objpfx)badsalttest): New.
21980 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
21982         * NEWS: Add entry for BZ #14602.
21984 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
21986         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
21987         type-generic.
21988         * math/libm-test.inc: Update comment listing what functions and
21989         macros are tested.
21990         (isgreater_test): New function.
21991         (isgreaterequal_test): Likewise.
21992         (isless_test): Likewise.
21993         (islessequal_test): Likewise.
21994         (islessgreater_test): Likewise.
21995         (isunordered_test): Likewise.
21996         (main): Call the new functions.
21998 2012-10-09  Roland McGrath  <roland@hack.frob.com>
22000         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
22001         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
22002         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
22003         * sysdeps/i386/configure: Regenerated.
22004         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
22005         * sysdeps/mach/configure: Regenerated.
22006         * sysdeps/mach/hurd/configure: Regenerated.
22007         * sysdeps/powerpc/configure: Regenerated.
22008         * sysdeps/powerpc/powerpc32/configure: Regenerated.
22009         * sysdeps/powerpc/powerpc64/configure: Regenerated.
22010         * sysdeps/s390/s390-32/configure: Regenerated.
22011         * sysdeps/s390/s390-64/configure: Regenerated.
22012         * sysdeps/sh/configure: Regenerated.
22013         * sysdeps/sparc/configure: Regenerated.
22014         * sysdeps/unix/sysv/linux/configure: Regenerated.
22015         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
22016         * sysdeps/x86_64/configure: Regenerated.
22018         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
22019         defined.  Don't check if MAP is NULL.
22021 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
22023         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
22024         (_G_stat64): Likewise.
22025         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
22026         (_G_stat64): Likewise.
22027         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
22028         instead of struct _G_stat64.
22029         * libio/fileops.c (mmap_remap_check): Likewise.
22030         (decide_maybe_mmap): Likewise.
22031         (_IO_new_file_seekoff): Likewise.
22032         (_IO_file_stat): Likewise.
22033         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
22034         _G_off64_t.
22035         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
22036         instead of struct _G_stat64.
22037         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22039 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
22041         [BZ #14602]
22042         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22043         Replace with ...
22044         (CHECK_EOL): New macro.
22045         (two_way_short_needle): Check beginning of haystack for EOL.  Use
22046         CHECK_EOL.
22047         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22048         Replace with CHECK_EOL.
22049         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
22050         Replace with CHECK_EOL.
22052 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
22054         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
22055         type-generic.
22056         * math/libm-test.inc: Update comment listing what functions and
22057         macros are tested.
22058         (finite_test): New function.
22059         (isinf_test): Likewise.
22060         (isnan_test): Likewise.
22061         (fpclassify_test): Test subnormal input.
22062         (isfinite_test): Likewise.
22063         (isnormal_test): Likewise.
22064         (main): Call the new functions.
22066 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
22068         [BZ #14660]
22069         * Makerules (%.dynsym): Force C locale when running
22070         $(OBJDUMP) --dynamic-syms.
22072 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
22074         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
22075         <stdint.h>.
22077 2012-10-06  David S. Miller  <davem@davemloft.net>
22079         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
22080         upper 32-bits of the length value in %o2 since we use branch-on-register
22081         tests which consider the entire 64-bit register.
22083 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
22085         * string/test-strstr.c (check2): Add a test for page boundary.
22087 2012-10-05  David S. Miller  <davem@davemloft.net>
22089         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
22090         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
22091         file.
22092         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22093         sysdep_routines.
22094         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22095         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
22096         and bzero when HWCAP_SPARC_CRYPTO is present.
22098 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
22100         [BZ #14602]
22101         * string/test-strstr.c (check2): New function.
22102         (test_main): Call check2.
22104         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
22105         and bug-strchr1.
22106         * string/bug-strcasestr1.c (do_test): Moved to ...
22107         * string/test-strcasestr.c (check1): Here.  New function.
22108         (do_one_test): Break out result checking code into ...
22109         (check_result): This.  New function.
22110         (do_one_test): Call check_result.
22111         (test_main): Call check1.
22112         * string/bug-strchr1.c (do_test): Moved to ...
22113         * string/test-strchr.c (check1): Here.  New function.
22114         (do_one_test): Break out result checking code into ...
22115         (check_result): This.  New function.
22116         (do_one_test): Call check_result.
22117         (test_main): Call check1.
22118         * string/bug-strstr1.c (main): Moved to ...
22119         * string/test-strstr.c (check1): Here.  New function.
22120         (do_one_test): Break out result checking code into ...
22121         (check_result): This.  New function.
22122         (do_one_test): Call check_result.
22123         (test_main): Call check1.
22124         * string/bug-strcasestr1.c: Removed.
22125         * string/bug-strchr1.c: Likewise.
22126         * string/bug-strstr1.c: Likewise.
22128         * elf/Makefile (dl-routines): Add hwcaps.
22129         * elf/dl-support.c (_dl_important_hwcaps): Removed.
22130         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
22131         (_dl_important_hwcaps): Moved to ...
22132         * elf/dl-hwcaps.c: Here.  New file.
22133         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
22135         [BZ #14557]
22136         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
22137         if IS_IN_rtld isn't defined.
22139         * elf/dl-support.c (_dl_sysinfo_map): New.
22140         Include "get-dynamic-info.h" and "setup-vdso.h".
22141         (_dl_non_dynamic_init): Call setup_vdso.
22142         * elf/dynamic-link.h: Don't include <assert.h>.
22143         (elf_get_dynamic_info): Moved to ...
22144         * elf/get-dynamic-info.h: Here.  New file.
22145         * elf/dynamic-link.h: Include "get-dynamic-info.h".
22146         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
22147         * elf/setup-vdso.h: Here.  New file.
22148         * elf/rtld.c: Include "setup-vdso.h".
22149         (dl_main): Call setup_vdso.
22151 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
22153         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
22154         creal in comment listing functions tested.  List finite, isinf,
22155         isnan, isless, islessequal, isgreater, isgreaterequal,
22156         islessgreater, isunordered, lgamma_r and pow10 as functions and
22157         macros not tested.  Mention which functions not tested are aliases
22158         for other functions.  Fix typo.  Note that signs of NaNs are not
22159         tested.
22161         * scripts/config.guess: Update from config.git.
22162         * scripts/config.sub: Likewise.
22164 2012-10-04  Roland McGrath  <roland@hack.frob.com>
22166         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
22167         * misc/madvise.c (madvise): Renamed to __madvise.
22168         Make madvise a weak alias.
22169         * include/sys/mman.h: Declare __madvise.
22170         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
22171         * sysdeps/unix/syscalls.list
22172         (madvise): Make __madvise the strong name, and madvise a weak alias.
22173         * sysdeps/unix/sysv/linux/syscalls.list
22174         (madvise, mmap): Remove redundant entries.
22175         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
22176         * malloc/malloc.c (mtrim): Likewise.
22177         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
22179 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22181         * sysdeps/mach/hurd/dl-cache.c: File removed.
22182         * config.h.in (USE_LDCONFIG): New #undef.
22183         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
22184         * configure: Regenerated.
22185         * elf/Makefile (dl-routines): Add dl-cache only under
22186         [$(use-ldconfig) = yes].
22187         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
22188         cache on [USE_LDCONFIG].
22189         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
22190         [USE_LDCONFIG].
22191         * elf/rtld.c (dl_main): Likewise.
22193 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
22195         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
22196         _SC_LEVEL4_CACHE_LINESIZE.
22198 2012-10-03  Roland McGrath  <roland@hack.frob.com>
22200         * sysdeps/unix/bsd/confstr.h: File removed.
22202 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
22204         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
22205         sys/sdt-config.h.
22207 2012-10-02  Roland McGrath  <roland@hack.frob.com>
22209         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
22210         Make 'mapoff' field ElfW(Off) rather than off_t.
22212 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
22214         * nscd/Makefile: Remove nscd-cflags and all its users.
22215         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
22216         (CFLAGS-nonlib): Add compiler flags for nscd modules.
22218         [BZ #10631]
22219         * malloc.c (malloc_printerr): Clarify error message.
22221 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
22223         [BZ #14648]
22224         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22225         Set bit_FMA_Usable if FMA is supported.
22226         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
22227         macro.
22228         (bit_FMA4_Usable): Updated.
22229         (index_FMA_Usable): New macro.
22230         (CPUID_FMA): Likewise
22231         (HAS_FMA): Defined with bit_FMA_Usable.
22233 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22235         * bits/types.h (__swblk_t): Type removed.
22236         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
22237         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
22238         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22239         (__SWBLK_T_TYPE): Likewise.
22240         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
22241         (__SWBLK_T_TYPE): Likewise.
22242         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22243         (__SWBLK_T_TYPE): Likewise.
22244         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22245         (__SWBLK_T_TYPE): Likewise.
22247 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
22248             Honza Horak <hhorak@redhat.com>
22250         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
22251         (xdr_mapname): Use YPMAXMAP as maxsize.
22252         (xdr_peername): Use YPMAXPEER as maxsize.
22253         (xdr_keydat): Use YPAXRECORD as maxsize.
22254         (xdr_valdat): Use YPMAXRECORD as maxsize.
22256 2012-10-01  Roland McGrath  <roland@hack.frob.com>
22258         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
22260         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
22261         * csu/init-first.c: ... here.
22262         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
22263         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
22264         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
22265         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22266         * sysdeps/i386/init-first.c: File removed.
22267         * sysdeps/sh/init-first.c: File removed.
22269 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
22271         [BZ #14645]
22272         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
22273         if x * y might underflow to zero and z is zero.
22274         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22276         * math/libm-test.inc (min_subnorm_value): New variable.
22277         (fma_test): Add more tests.
22278         (fma_test_towardzero): Likewise.
22279         (fma_test_downward): Likewise
22280         (fma_test_upward): Likewise.
22281         (initialize): Set min_subnorm_value.
22283 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
22285         [BZ #14638]
22286         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
22287         0 + 0.
22288         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
22289         mode for addition resulting in exact zero.
22290         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
22291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
22292         exact 0 + 0.
22293         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22294         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22295         * math/libm-test.inc (fma_test): Add more tests.
22296         (fma_test_towardzero): New function.
22297         (fma_test_downward): Likewise.
22298         (fma_test_upward): Likewise.
22299         (main): Call the new functions.
22301 2012-09-28  David S. Miller  <davem@davemloft.net>
22303         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
22305 2012-09-28  Roland McGrath  <roland@hack.frob.com>
22307         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
22308         instead of SIGALRM.
22310         * sysdeps/gnu/_G_config.h: Moved to ...
22311         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
22312         * sysdeps/mach/hurd/_G_config.h: Moved to ...
22313         * sysdeps/generic/_G_config.h: ... here.
22315         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
22317         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
22319         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
22320         Conditionalize target on [libnss_test1.so-version].
22322         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
22324         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
22325         (elfobjdir): Move out of conditionals.
22327         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
22328         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
22329         (__nss_lookup_function): Conditionalize label remove_from_tree on
22330         [!DO_STATIC_NSS || SHARED], matching its only use.
22332 2012-09-28  David S. Miller  <davem@davemloft.net>
22334         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
22335         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
22336         file.
22337         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
22338         sysdep_routines.
22339         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
22340         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
22341         when HWCAP_SPARC_CRYPTO is present.
22343 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22345         * io/tst-mknodat.c: Create a FIFO instead of a socket.
22347 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
22349         [BZ #6530]
22350         * stdio-common/vfprintf.c (process_string_arg): Revert
22351         2000-07-22 change.
22353 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
22355         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
22356         for testcase.
22357         * stdio-common/tst-sprintf.c: Include <locale.h>
22358         (main): Test sprintf's handling of incomplete multibyte
22359         characters.
22361 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
22363         * elf/dl-runtime.c (VERSYMIDX): Removed.
22364         * elf/dl-version.c (VERSYMIDX): Likewise.
22365         * elf/do-rel.h (VERSYMIDX): Likewise.
22366         (VALIDX): Likewise.
22367         * elf/dynamic-link.h (VERSYMIDX): Likewise.
22368         * elf/rtld.c (VALIDX): Likewise.
22369         (ADDRIDX): Likewise.
22370         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
22371         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
22372         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
22373         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
22374         (VALIDX): Likewise.
22375         (ADDRIDX): Likewise.
22377 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22379         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
22381 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
22383         [BZ #11438]
22384         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
22385         to global scope.
22386         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
22387         addresses are in the same scope as 192.0.2/24.
22388         * posix/gai.conf: Document new scope table defaults.
22390 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22392         [BZ #5298]
22393         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
22394         for ftell.  Compute offsets from write pointers instead.
22395         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
22397 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22399         [BZ #14543]
22400         * libio/Makefile (tests): New test case tst-fseek.
22401         * libio/tst-fseek.c: New test case to verify that fseek/ftell
22402         combination works in wide mode.
22403         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
22404         state when the external buffer state changes.
22406 2012-09-27  David S. Miller  <davem@davemloft.net>
22408         [BZ #14376]
22409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
22410         pass reloc->r_addend in as the 'high' argument to
22411         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
22413         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22415 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
22417         * rt/tst-aio2.c: Include <pthread.h>.
22418         * rt/tst-aio3.c: Likewise.
22420 2012-09-27  Steve Ellcey  <sellcey@mips.com>
22422         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
22424 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
22426         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
22427         contents on [SHARED].
22429 2012-09-26  Marek Polacek  <polacek@redhat.com>
22431         [BZ #14530]
22432         [BZ #13741]
22433         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
22434         for C++ and GCC <4.3 as well as for non GCC compilers.
22436 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
22438         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22440 2012-09-25  Roland McGrath  <roland@hack.frob.com>
22442         * Makefile.in (all, install): Declare with .PHONY.
22443         Reported by Michael Hope <michael.hope@linaro.org>.
22445 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22447         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
22448         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
22449         system header.
22450         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
22451         Likewise.
22452         (sydep_routines): Add the new and the internal functions.
22453         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
22454         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
22455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
22456         (GLIBC_2.17): Add the new function.
22457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
22458         (GLIBC_2.17): Likewise.
22459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
22460         (GLIBC_2.17): Likewise.
22461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
22462         (GLIBC_2.17): Likewise.
22463         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
22465 2012-09-25  Alan Modra  <amodra@gmail.com>
22467         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
22468         Add release barrier before setting once_control to say
22469         initialisation is done.  Add hints on lwarx.  Use macro in
22470         place of isync.
22471         (clear_once_control): Add release barrier.
22473 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22475         [BZ #13629]
22476         * math/s_clog.c (__clog): Handle more values close to |z| = 1
22477         specially.
22478         * math/s_clog10.c (__clog10): Likewise.
22479         * math/s_clog10f.c (__clog10f): Likewise.
22480         * math/s_clog10l.c (__clog10l): Likewise.
22481         * math/s_clogf.c (__clogf): Likewise.
22482         * math/s_clogl.c (__clogl): Likewise.
22483         * math/Makefile (libm-calls): Add x2y2m1.
22484         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
22485         (__x2y2m1): Likewise.
22486         (__x2y2m1l): Likewise.
22487         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
22488         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
22489         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
22490         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
22491         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
22492         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
22493         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
22494         * sysdeps/i386/fpu/libm-test-ulps: Update.
22495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22497         [BZ #14621]
22498         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
22499         int as type of variable DEPTH.
22500         (glob): Use size_t instead of int as type of variables NEWCOUNT
22501         and OLD_PATHC.
22503 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22505         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
22506         Add s_sincosf-sse2.
22507         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
22508         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
22509         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
22510         macros for using routine as __sincosf_ia32.
22511         Use macro for function declaration and weak_alias.
22512         * sysdeps/i386/fpu/libm-test-ulps: Update.
22514         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
22515         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22517         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
22518         subnormal argument.
22519         * math/s_cexpf.c (__cexpf): Likewise.
22520         * math/s_csinf.c (__csinf): Likewise.
22521         * math/s_csinhf.c (__csinhf): Likewise.
22522         * math/s_ctanf.c (__ctanf): Likewise.
22523         * math/s_ctanhf.c (__ctanhf): Likewise.
22524         * math/s_ccosh.c (__ccoshf): Likewise.
22525         * math/s_cexp.c (__cexpl): Likewise.
22526         * math/s_csin.c (__csin): Likewise.
22527         * math/s_csinh.c (__csinh): Likewise.
22528         * math/s_ctan.c (__ctan): Likewise.
22529         * math/s_ctanh.c (ctanh): Likewise.
22530         * math/s_ccoshl.c (__ccoshl): Likewise.
22531         * math/s_cexpl.c (__cexpl): Likewise.
22532         * math/s_csinl.c (__csinl): Likewise.
22533         * math/s_csinhl.c (__csinhl): Likewise.
22534         * math/s_ctanl.c (__ctanl): Likewise.
22535         * math/s_ctanhl.c (__ctanhl): Likewise.
22537 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
22539         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
22540         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
22541         (_IO_off_t): Define to __off_t, not _G_off_t.
22542         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
22543         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
22544         (_IO_wint_t): Define to wint_t, not _G_wint_t.
22545         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
22546         type of __dummy and __dummy2 fields.
22547         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
22548         (_G_ssize_t): Likewise.
22549         (_G_off_t): Likewise.
22550         (_G_pid_t): Likewise.
22551         (_G_uid_t): Likewise.
22552         (_G_wchar_t): Likewise.
22553         (_G_wint_t): Likewise.
22554         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
22555         (_G_ssize_t): Likewise.
22556         (_G_off_t): Likewise.
22557         (_G_pid_t): Likewise.
22558         (_G_uid_t): Likewise.
22559         (_G_wchar_t): Likewise.
22560         (_G_wint_t): Likewise.
22561         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
22562         (_G_ssize_t): Likewise.
22563         (_G_off_t): Likewise.
22564         (_G_pid_t): Likewise.
22565         (_G_uid_t): Likewise.
22566         (_G_wchar_t): Likewise.
22567         (_G_wint_t): Likewise.
22569 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22571         * malloc/arena.c: Include malloc-sysdep.h.
22572         (shrink_heap): Use check_may_shrink_heap to decide if madvise
22573         is sufficient to shrink the heap or an unmap is needed.
22574         * sysdeps/generic/malloc-sysdep.h: New file.  Define
22575         new function check_may_shrink_heap.
22576         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
22577         new function check_may_shrink_heap.
22579 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22581         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
22582         comments.
22584 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
22586         * catgets/test-gencat.sh: Add "set -e".
22587         * elf/tst-pathopt.sh: Likewise.
22588         * grp/tst_fgetgrent.sh: Likewise.
22589         * iconvdata/run-iconv-test.sh: Likewise.
22590         * intl/tst-gettext.sh: Likewise.
22591         * intl/tst-gettext2.sh: Likewise.
22592         * intl/tst-gettext4.sh: Likewise.
22593         * intl/tst-gettext6.sh: Likewise.
22594         * intl/tst-translit.sh: Likewise.
22595         * io/ftwtest-sh: Likewise.
22596         * libio/test-freopen.sh: Likewise.
22597         * malloc/tst-mtrace.sh: Likewise.
22598         * posix/globtest.sh: Likewise.
22599         * posix/tst-getconf.sh: Likewise.
22600         * posix/wordexp-tst.sh: Likewise.
22601         * stdio-common/tst-printf.sh: Likewise.
22602         * stdio-common/tst-unbputc.sh: Likewise.
22603         * stdlib/tst-fmtmsg.sh: Likewise.
22604         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22605         * catgets/Makefile: Do not specify -e option when running
22606         testsuite shell scripts.
22607         * elf/Makefile: Likewise.
22608         * grp/Makefile: Likewise.
22609         * iconvdata/Makefile: Likewise.
22610         * intl/Makefile: Likewise.
22611         * io/Makefile: Likewise.
22612         * libio/Makefile: Likewise.
22613         * malloc/Makefile: Likewise.
22614         * posix/Makefile: Likewise.
22615         * stdio-common/Makefile: Likewise.
22616         * stdlib/Makefile: Likewise.
22617         * sysdeps/x86_64/Makefile: Likewise.
22619         * io/ftwtest-sh: Add copyright header.
22620         * posix/globtest.sh: Likewise.
22621         * posix/tst-getconf.sh: Likewise.
22622         * posix/wordexp-tst.sh: Likewise.
22623         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
22625 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
22627         [BZ #13679]
22628         * Makeconfig (+link): Defined as $(+link-static) if
22629         $(build-shared) isn't yes.
22630         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
22631         isn't yes.
22632         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
22634         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
22636         [BZ #14562]
22637         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
22638         new chunk size with MALLOC_ALIGN_MASK.
22640 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
22642         [BZ #5044]
22643         * stdio-common/printf_fphex.c: Include <stdbool.h> and
22644         <rounding-mode.h>.
22645         (__printf_fphex): Determine rounding using get_rounding_mode and
22646         round_away.
22647         * stdio-common/tst-printf-round.c (struct hex_test): New
22648         structure.
22649         (hex_tests): New variable.
22650         (test_hex_in_one_mode): New function.
22651         (do_test): Also run tests for hex float output.
22653 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
22655         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22656         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22657         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
22658         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
22659         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
22660         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
22661         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22662         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
22664 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
22666         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
22667         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
22668         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
22669         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
22671 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
22673         [BZ #14579]
22674         * elf/rtld.c (dl_main): Limit the check for self loading to normal
22675         mode only.
22676         * elf/tst-rtld-load-self.sh: New test.
22677         * elf/Makefile: Run it.
22679 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
22681         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
22682         (tst-writev-ENV): Remove.
22683         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
22685 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
22687         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
22689 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
22691         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
22692         unconditional.
22693         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
22694         Likewise.
22695         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
22696         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
22697         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
22698         Likewise.
22700 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
22702         [BZ #14587]
22703         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
22704         * config.make.in (have-cpp-asm-debuginfo): Removed.
22705         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
22706         * configure: Regenerated.
22708 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
22710         [BZ #5044]
22711         * stdio-common/printf_fp.c: Include <stdbool.h> and
22712         <rounding-mode.h>.
22713         (___printf_fp): Determine rounding using get_rounding_mode and
22714         round_away.
22715         * stdio-common/tst-printf-round.c: New file.
22716         * stdio-common/Makefile (tests): Add tst-printf-round.
22717         (link-libm): New variable.
22718         ($(objpfx)tst-printf-round): Depend in $(link-libm).
22720 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
22722         [BZ #14576]
22723         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
22724         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
22725         Likewise.
22726         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
22727         Likewise.
22729 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
22731         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
22732         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22733         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22734         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
22736 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
22738         [BZ #14518]
22739         * include/rounding-mode.h: New file.
22740         * sysdeps/generic/get-rounding-mode.h: Likewise.
22741         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
22742         * stdlib/strtod_l.c: Include <rounding-mode.h>.
22743         (MAX_VALUE): New macro.
22744         (MIN_VALUE): Likewise.
22745         (overflow_value): New function.
22746         (underflow_value): Likewise.
22747         (round_and_return): Use overflow_value and underflow_value to
22748         determine return values in overflow and underflow cases.  Use
22749         round_away to determine rounding depending on rounding mode.
22750         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
22751         determine return values in overflow and underflow cases.
22752         * stdlib/tst-strtod-round.c: Include <fenv.h>.
22753         (struct test_results): New structure.
22754         (struct test): Use struct test_results to store expected results
22755         for all rounding modes.
22756         (TEST): Include expected results for all rounding modes.
22757         (test_in_one_mode): New function.
22758         (do_test): Use test_in_one_mode to compute and check results.
22759         Check results for all rounding modes.
22760         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
22761         $(link-libm).
22763 2012-12-09  Allan McRae  <allan@archlinux.org>
22765         * sysdeps/i386/fpu/libm-test-ulps: Update
22767 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
22769         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
22770         (_G_int32_t): Likewise.
22771         (_G_uint16_t): Likewise.
22772         (_G_uint32_t): Likewise.
22773         (_G_HAVE_BOOL): Likewise.
22774         (_G_HAVE_ATEXIT): Likewise.
22775         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22776         (_G_HAVE_IO_FILE_OPEN): Likewise.
22777         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
22778         (_G_int32_t): Likewise.
22779         (_G_uint16_t): Likewise.
22780         (_G_uint32_t): Likewise.
22781         (_G_HAVE_BOOL): Likewise.
22782         (_G_HAVE_ATEXIT): Likewise.
22783         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22784         (_G_HAVE_IO_FILE_OPEN): Likewise.
22785         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
22786         (_G_int32_t): Likewise.
22787         (_G_uint16_t): Likewise.
22788         (_G_uint32_t): Likewise.
22789         (_G_HAVE_BOOL): Likewise.
22790         (_G_HAVE_ATEXIT): Likewise.
22791         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
22792         (_G_HAVE_IO_FILE_OPEN): Likewise.
22794 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
22796         * csu/libc-tls.c: Update copyright years.
22798 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
22800         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
22801         [!_G_USING_THUNKS]: Remove conditional code.
22802         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
22803         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
22805         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
22806         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
22807         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22808         (_G_VTABLE_LABEL_PREFIX): Likewise.
22809         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22810         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22811         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22812         (_G_VTABLE_LABEL_PREFIX): Likewise.
22813         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22814         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
22815         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
22816         (_G_VTABLE_LABEL_PREFIX): Likewise.
22817         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
22819 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
22821         * libio/Makefile: Include ../Makeconfig before tests.
22822         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
22823         only if $(build-shared) is yes.
22825         * iconv/gconv_db.c: Update copyright years.
22827 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
22829         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
22830         unwind info if defined PIC. Fix special cases description.
22831         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
22833         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
22834         DP_HI_MASK entry.
22835         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
22837 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
22839         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
22841         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
22842         is NULL.
22844         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
22845         (LDLIBS-tst-chk4): This.
22846         (LDFLAGS-tst-chk5): Renamed to ...
22847         (LDLIBS-tst-chk5): This.
22848         (LDFLAGS-tst-chk6): Renamed to ...
22849         (LDLIBS-tst-chk6): This.
22850         (LDFLAGS-tst-lfschk4): Renamed to ...
22851         (LDLIBS-tst-lfschk4): This.
22852         (LDFLAGS-tst-lfschk5): Renamed to ...
22853         (LDLIBS-tst-lfschk5): This.
22854         (LDFLAGS-tst-lfschk6): Renamed to ...
22855         (LDLIBS-tst-lfschk6): This.
22857         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
22858         on $(common-objpfx)soversions.mk.
22860 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
22862         [BZ #10014]
22863         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
22864         example host name.
22866 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22868         * malloc/arena.c (arena_get_retry): New function that gets
22869         another arena for the caller to try its request on.
22870         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
22871         current arena cannot fulfill the request.
22872         (__libc_memalign): Likewise.
22873         (__libc_memalign): Likewise.
22874         (__libc_pvalloc): Likewise.
22875         (__libc_calloc): Likewise.
22877 2012-09-05  John Tobey  <john.tobey@gmail.com>
22879         [BZ #13542]
22880         * manual/arith.texi (Operations on Complex): Fix description
22881         of carg branch cut.
22883 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22885         [BZ #10014]
22886         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
22887         host name.
22889         [BZ #10038]
22890         * manual/memory.texi (Memory): Make order of menu items match
22891         order of sections.
22893 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22895         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
22896         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
22897         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
22899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22901         * csu/libc-tls.c (static_dtv): Renamed to ...
22902         (_dl_static_dtv): This.  Make it global.
22903         (_dl_initial_dtv): Removed.
22904         (__libc_setup_tls): Updated.
22905         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
22906         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
22907         DL_INITIAL_DTV.
22909 2012-09-06  Petr Machata  <pmachata@redhat.com>
22911         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
22912         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
22913         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
22914         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
22916 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22918         [BZ #14545]
22919         * csu/libc-tls.c (_dl_initial_dtv): New variable.
22920         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
22921         freeing dtv[-1].
22923 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
22925         [BZ #14544]
22926         * Makeconfig (link-static-before-libc): Replace $(+prector)
22927         with $(+prectorT).
22928         (link-static-after-libc): Replace $(+postctor) with
22929         $(+postctorT).
22930         (link-bounded): Replace $(+prector)/$(+postctor) with
22931         $(+prectorT)/$(+postctorT).
22932         (+prectorT): New macro.
22933         (+postctorT): Likewise.
22935 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
22937         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
22938         (round_str): Handle values above the maximum for IBM long double
22939         as inexact.
22940         * stdlib/tst-strtod-round.c (tests): Regenerated.
22942 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22944         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
22945         assembler flag.
22946         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
22947         zarch_nohighgprs around the zarch optimized routines.
22948         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
22949         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
22950         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
22951         for zarch.
22953 2012-09-05  David S. Miller  <davem@davemloft.net>
22955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22957         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
22958         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
22959         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
22960         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
22961         entries.
22963 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22965         * malloc/arena.c: Fold copyright years.
22966         * malloc/mcheck.c, malloc/memusage.c: Likewise.
22968 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22970         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
22972 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22974         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
22976 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22978         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
22979         change internal state upon failure.
22981 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
22983         * malloc/mcheck.c (mcheck_check_all): Fix typo.
22984         * malloc/memusage.c (mmap): Likewise.
22985         (mmap64, mremap): Likewise.  Adjust name in comment.
22987 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22989         * libio/fileops.c: Fix typos in comments.
22990         * libio/oldfileops.c: Likewise.
22991         * libio/wfileops.c: Likewise.
22993 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22995         [BZ #1349]
22996         * malloc/Makefile (tests): Add tst-malloc-usable test case.
22997         (tst-malloc-usable-ENV): Set environment for test case.
22998         * malloc/hooks.c (malloc_check_get_size): New function to get
22999         requested size.
23000         * malloc/malloc.c (musable): Use malloc_check_get_size.
23001         * malloc/tst-malloc-usable.c: New test case.
23003 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23005         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
23007 2012-09-05  Allan McRae  <allan@archlinux.org>
23009         [BZ #13966]
23010         * configure.in (CXX_SYSINCLUDES): Use compiler output to
23011         determine header location.
23012         * configure: Regenerated.
23014 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
23016         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
23017         float format.
23018         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
23019         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
23020         format.
23021         (test): Regenerate.
23023 2012-09-04  David S. Miller  <davem@davemloft.net>
23025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
23026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
23027         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
23029 2012-09-04  Florian Weimer  <fweimer@redhat.com>
23031         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
23032         failures.
23034         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
23036 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
23038         [BZ #9914]
23039         * libio/iogetdelim.c: Include <limits.h>.
23040         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
23041         + len + 1 would overflow.
23043 2012-09-03  Andreas Jaeger  <aj@suse.de>
23045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23046         * sysdeps/i386/fpu/libm-test-ulps: Update.
23048 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23050         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23051         Add s_sinf-sse2, s_conf-sse2.
23053         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
23054         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
23055         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
23056         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
23058         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
23059         for using routine as __sinf_ia32.
23060         Use macro for function declaration and weak_alias.
23061         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
23062         for using routine as __cosf_ia32.
23063         Use macro for function declaration and weak_alias.
23065         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
23066         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
23068         * sysdeps/x86_64/fpu/s_sinf.S: New file.
23069         * sysdeps/x86_64/fpu/s_cosf.S: New file.
23070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23072         * math/libm-test.inc (cos_test): Add more test cases.
23073         (sin_test): Likewise.
23074         (sincos_test): Likewise.
23076 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23078         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23079         (IFUNC_RESOLVE): Make pointers to the specialized implementations
23080         hidden.
23081         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
23083 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
23085         [BZ #14538]
23086         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
23087         first element of the GOT.
23088         (elf_machine_load_address): Return the difference between
23089         the runtime address of _DYNAMIC and elf_machine_dynamic ().
23091 2012-09-01  Allan McRae  <allan@archlinux.org>
23093         [BZ #13412]
23094         * configure.in (AWK): Require gawk version 3.0 or later.
23095         * configure: Regenerated.
23097 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
23099         * sysdeps/unix/sysv/linux/kernel-features.h
23100         (__ASSUME_POSIX_CPU_TIMERS): Remove.
23101         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23102         [__NR_clock_getres]: Make code unconditional.
23103         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
23104         (clock_getcpuclockid): Remove code left unreachable by removal of
23105         conditionals.
23106         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
23107         code unconditional.
23108         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23109         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23110         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
23111         Make code unconditional.
23112         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
23113         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23114         * sysdeps/unix/sysv/linux/clock_settime.c
23115         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
23116         conditional code.
23117         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
23118         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
23120 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
23122         [BZ #14476]
23123         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
23124         scripts/test-installation.pl.
23126         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
23127         and $ld_so_version if it is set.
23129 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23131         [BZ #14516]
23132         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
23133         failure if reading from procfs failed.
23134         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
23136 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23138         * sysdeps/unix/sysv/linux/kernel-features.h
23139         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
23140         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23141         Remove conditional code.
23142         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23143         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
23144         Remove conditional code.
23145         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23146         * sysdeps/unix/sysv/linux/i386/fxstat.c
23147         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23149         * sysdeps/unix/sysv/linux/i386/fxstatat.c
23150         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23152         * sysdeps/unix/sysv/linux/i386/lxstat.c
23153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
23154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23155         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
23156         Remove conditional code.
23157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23158         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
23159         Remove conditional code.
23160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23161         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
23162         <kernel-features.h>.
23163         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
23164         Remove.
23165         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
23166         Remove conditional code.
23167         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
23168         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
23169         Remove conditional.
23171 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
23173         [BZ #5400]
23174         * NEWS: Add fixed bug number.
23176 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
23178         [BZ #14519]
23179         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
23180         underflowing exponent in case of negative sign.
23181         * stdlib/tst-strtod-round-data: Add more tests.
23182         * stdlib/tst-strtod-round.c (tests): Regenerated.
23184         [BZ #3479]
23185         * stdlib/strtod_l.c (NDIG): Remove.
23186         (HEXNDIG): Likewise.
23187         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
23188         smallest representable value.
23189         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
23190         lie within an exact representation of 1/2 ulp of the result.
23191         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
23192         unconditionally.
23193         (TENS_P9_IDX): Define unconditionally.
23194         (TENS_P9_SIZE): Likewise.
23195         (TENS_P10_IDX): Likewise.
23196         (TENS_P10_SIZE): Likewise.
23197         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
23198         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
23199         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
23200         entries for 10^2^13 and 10^2^14.
23201         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
23202         (TENS_P13_IDX): Define.
23203         (TENS_P13_SIZE): Likewise.
23204         (TENS_P14_IDX): Likewise.
23205         (TENS_P14_SIZE): Likewise.
23206         (_fpioconst_pow10): Change array size to
23207         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
23208         unconditional.
23209         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
23210         1024]: Add entries for 10^2^13 and 10^2^14.
23211         [LAST_POW10 > _LAST_POW10]: Remove #error.
23212         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
23213         (_fpioconst_pow10): Change array size to
23214         FPIOCONST_POW10_ARRAY_SIZE.
23215         * stdlib/gen-fpioconst.c: New file.
23216         * stdlib/gen-tst-strtod-round.c: Likewise.
23217         * stdlib/tst-strtod-round-data: Likewise.
23218         * stdlib/tst-strtod-round.c: Likewise.
23219         * stdlib/Makefile (tests): Add tst-strtod-round.
23221         [BZ #14459]
23222         * stdlib/strtod_l.c: Include <stdint.h>.
23223         (NDEBUG): Do not define.
23224         (round_and_return): Change EXPONENT parameter to type intmax_t.
23225         Rearrange calculations to avoid internal overflow possibilities.
23226         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
23227         Rearrange calculations to avoid internal overflow possibilities.
23228         Assert that number fits inside MPNSIZE limbs.
23229         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
23230         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
23231         calculations and add assertions to avoid internal overflow
23232         possibilities.  Add casts to avoid signed/unsigned operations.
23233         * stdlib/tst-strtod-overflow.c: New file.
23234         * stdlib/Makefile (tests): Add tst-strtod-overflow.
23236 2012-08-25  Marek Polacek  <polacek@redhat.com>
23238         * time/time.h: Fix some typos in comments.
23240 2012-08-23  Roland McGrath  <roland@hack.frob.com>
23242         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
23243         * posix/tst-rfc3484-2.c: Likewise.
23244         * posix/tst-rfc3484-3.c: Likewise.
23246 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
23248         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
23249         (EF_ARM_ABI_FLOAT_HARD): Likewise.
23251 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
23253         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
23254         #include of fxstatat64.c.
23256 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23258         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
23259         * shadow/getspent_r.c: Likewise.
23260         * shadow/getspnam.c: Likewise.
23261         * shadow/getspnam_r.c: Likewise.
23262         * gshadow/getsgent.c: Likewise.
23263         * gshadow/getsgent_r.c: Likewise.
23264         * gshadow/getsgnam.c: Likewise.
23265         * gshadow/getsgnam_r.c: Likewise.
23266         * inet/getnetbyad.c: Likewise.
23267         * inet/getnetbyad_r.c: Likewise.
23268         * inet/getnetbynm.c: Likewise.
23269         * inet/getnetbynm_r.c: Likewise.
23270         * inet/getnetent.c: Likewise.
23271         * inet/getnetent_r.c: Likewise.
23272         * inet/getproto.c: Likewise.
23273         * inet/getproto_r.c: Likewise.
23274         * inet/getprtent.c: Likewise.
23275         * inet/getprtent_r.c: Likewise.
23276         * inet/getprtname.c: Likewise.
23277         * inet/getprtname_r.c: Likewise.
23278         * inet/getrpcbyname.c: Likewise.
23279         * inet/getrpcbyname_r.c: Likewise.
23280         * inet/getrpcbynumber.c: Likewise.
23281         * inet/getrpcbynumber_r.c: Likewise.
23282         * inet/getrpcent.c: Likewise.
23283         * inet/getrpcent_r.c: Likewise.
23284         * inet/getaliasent.c: Likewise.
23285         * inet/getaliasent_r.c: Likewise.
23286         * inet/getaliasname.c: Likewise.
23287         * inet/getaliasname_r.c: Likewise.
23288         * nscd/getgrgid_r.c: Likewise.
23289         * nscd/getgrnam_r.c: Likewise.
23290         * nscd/gethstbyad_r.c: Likewise.
23291         * nscd/gethstbynm3_r.c: Likewise.
23292         * nscd/getpwnam_r.c: Likewise.
23293         * nscd/getpwuid_r.c: Likewise.
23294         * nscd/getsrvbynm_r.c: Likewise.
23295         * nscd/getsrvbypt_r.c: Likewise.
23296         * nscd/gai.c: Likewise.
23298         * configure.in (build_nscd): New substituted variable, set
23299         by --disable-build-nscd and defaults to $use_nscd.
23300         * configure: Regenerated.
23301         * config.make.in (build-nscd): New substituted variable.
23302         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
23303         Change conditional to require [$(build-nscd) = yes] as well.
23304         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
23306         [BZ# 13696]
23307         * configure.in (use_nscd): New substituted variable, set by
23308         --disable-nscd.  If enabled, define USE_NSCD.
23309         * configure: Regenerated.
23310         * config.h.in: Add USE_NSCD.
23311         * config.make.in (use-nscd): New substituted variable.
23312         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
23313         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
23314         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
23315         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
23316         (CFLAGS-getgrnam_r.c): Likewise.
23317         (CFLAGS-initgroups.c): Likewise.
23318         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
23319         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
23320         Variables removed.
23321         * inet/getnetgrent_r.c
23322         (nscd_setnetgrent): New function, broken out of ...
23323         (setnetgrent): ... here.  Call it.
23324         (innetgr): Conditionalize nscd bits on [USE_NSCD].
23325         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
23326         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
23327         * nscd/Makefile (routines, aux): Move definitions after include of
23328         Makeconfig.  Conditionalize on [$(use-nscd) != no].
23329         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
23330         Conditionalize on [USE_NSCD].
23331         (is_nscd, nscd_init_cb): Likewise.
23332         (nss_load_library): Conditionalize init callback on [USE_NSCD].
23333         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
23334         * nss/nss_db/db-init.c: Likewise.
23335         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
23336         [USE_NSCD].
23337         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
23338         (make_request): Use it.
23339         (cache_valid_p): New function.
23340         (__check_pf): Use it.
23341         * NEWS: Add item for --disable-nscd.
23343 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
23345         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
23346         to support sed >= 4.2.1-20-ga9bf076.
23347         * configure: Regenerated.
23349 2012-08-22  Roland McGrath  <roland@hack.frob.com>
23351         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
23352         Conditionalize whole body on [IREL].
23354 2012-08-22  Jeff Law <law@redhat.com>
23356         [BZ #14505]
23357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
23358         if the family is PF_UNSPEC.
23360 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
23362         * Makerules (lib-version): Rename from V.
23363         (install-lib-nosubdir): Change V to lib-version.
23365 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
23367         [BZ #14252]
23368         * powerpc32/power6/wcschr.c: New file.
23369         * powerpc32/power6/wcscpy.c: New file.
23370         * powerpc32/power6/wcsrchr.c: New file.
23371         * powerpc64/power6/wcschr.c: New file.
23372         * powerpc64/power6/wcscpy.c: New file.
23373         * powerpc64/power6/wcsrchr.c: New file.
23375 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23377         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
23378         (two_way_short_needle): Use it.
23379         * string/strstr.c (AVAILABLE1_USES_J): Define.
23380         * string/strcasestr.c: Likewise.
23382         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
23383         array references.
23384         * string/strcasestr.c (TOLOWER): Make side-effect safe.
23386         [BZ #11607]
23387         * NEWS: Add an entry.
23388         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
23389         define their defaults.
23390         (two_way_short_needle): Detect end-of-string on-the-fly.
23391         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
23392         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
23393         * string/bug-strcasestr1.c: New test.
23394         * string/Makefile: Run it.
23396 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
23398         [BZ #11607]
23399         * string/str-two-way.h (two_way_short_needle): Optimize matching of
23400         the first character.
23402 2012-08-21  Roland McGrath  <roland@hack.frob.com>
23404         * csu/elf-init.c (__libc_csu_irel): Function removed.
23405         * csu/libc-start.c (apply_irel): New function.
23406         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
23408 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
23410         * sysdeps/unix/sysv/linux/kernel-features.h
23411         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
23412         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
23413         <kernel-features.h>.
23414         [__NR_fadvise64_64]: Make code unconditional.
23415         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
23416         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23417         !__NR_fadvise64_64)]: Likewise.
23418         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
23419         !__NR_fadvise64_64))]: Likewise.
23420         [__NR_fadvise64]: Make code unconditional.
23421         [!__NR_fadvise64]: Remove conditional code.
23422         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
23423         <kernel-features.h>.
23424         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23425         unconditional.
23426         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23427         conditional code.
23428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
23429         not include <kernel-features.h>.
23430         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23431         unconditional.
23432         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23433         conditional code.
23434         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
23435         include <kernel-features.h>.
23436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
23437         unconditional.
23438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
23439         conditional code.
23441 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
23443         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
23444         slight instruction rearrangements per scrollpipe analysis.
23445         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23447 2012-08-20  Roland McGrath  <roland@hack.frob.com>
23449         * manual/syslog.texi (syslog; vsyslog, closelog):
23450         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
23451         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
23453         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
23454         DSOCAPS to match condition on defining it.
23456 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
23458         * sysdeps/unix/sysv/linux/kernel-features.h
23459         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
23460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
23461         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23462         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
23464         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23465         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
23467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
23468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
23470         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
23471         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
23473         * sysdeps/unix/sysv/linux/kernel-features.h
23474         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
23475         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
23476         unconditional.
23477         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23478         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
23479         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23480         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23481         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
23482         Make code unconditional.
23483         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23484         (__mmap64) [!__NR_mmap2]: Likewise.
23485         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
23486         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
23487         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23488         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
23489         [__NR_mmap2]: Make code unconditional.
23490         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
23491         (__mmap64) [!__NR_mmap2]: Likewise.
23493 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23495         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
23497 2012-08-18  Andreas Jaeger  <aj@suse.de>
23499         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
23501 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23503         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
23504         * include/unistd.h (__have_sock_cloexec): Likewise.
23505         (__have_pipe2): Likewise.
23506         (__have_dup3): Likewise.
23508 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
23510         [BZ #9685]
23511         * include/unistd.h (__have_pipe2): Change define into an extern int.
23512         (__have_dup3): Likewise.
23513         * socket/have_sock_cloexec.c: Include fcntl.h.
23514         (__have_pipe2): New variable.
23515         (__have_dup3): Likewise.
23517 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
23519         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
23521 2012-08-17  Marek Polacek  <polacek@redhat.com>
23523         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
23524         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
23526 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23528         * configure.in: Add AC_SUBST for sysheaders.
23529         * configure: Regenerated.
23530         * config.make.in (sysheaders): New substituted variable.
23532         * sysdeps/unix/mkfifo.c: Moved ...
23533         * sysdeps/posix/mkfifo.c: ... here.
23534         * sysdeps/unix/mkfifoat.c: Moved ...
23535         * sysdeps/posix/mkfifoat.c: ... here.
23537         * sysdeps/unix/utime.c: Moved ...
23538         * sysdeps/posix/utime.c: ... here.
23540         * sysdeps/unix/time.c: Moved ...
23541         * sysdeps/posix/time.c: ... here.
23542         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
23543         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
23545         * sysdeps/unix/nice.c: Moved ...
23546         * sysdeps/posix/nice.c: ... here.
23548         * sysdeps/unix/alarm.c: Moved ...
23549         * sysdeps/posix/alarm.c: ... here.
23551         * intl/Makefile ($(codeset_mo)): Depend on the input file.
23553 2012-08-17  Jeff Law <law@redhat.com>
23555         * intl/Makefile (codeset_mo): New variable.
23556         ($(codeset_mo)): New target.
23557         (tst-codeset.out): Depend on that.  Remove explicit rule.
23558         (tst-gettext3.out, tst-gettext5.out): Likewise.
23559         (LOCPATH-ENV, tst-codeset-ENV): New variables.
23560         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
23561         * intl/tst-codeset.sh: Remove.
23562         * intl/tst-gettext3.sh: Likewise.
23563         * intl/tst-gettext5.sh: Likewise.
23565 2012-08-17  Roland McGrath  <roland@hack.frob.com>
23567         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
23568         * sysdeps/unix/syscalls.list: ... here.
23570         * sysdeps/posix/getaddrinfo.c
23571         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
23572         (gaiconf_init, gaiconf_reload): Use them.
23573         [!_STATBUF_ST_NSEC]
23574         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
23575         Define using time_t rather than struct timespec.
23577         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
23578         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
23579         Macros removed.
23580         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
23581         [!NO_THREADS].
23582         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
23583         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
23584         Likewise.
23586         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
23587         __libc_cleanup_push argument.
23589         * bits/param.h: New file.
23590         * misc/sys/param.h: New file.
23591         * include/sys/param.h: New file.
23592         * misc/Makefile (headers): Add bits/param.h.
23593         * sysdeps/generic/sys/param.h: File removed.
23594         * sysdeps/unix/sysv/linux/bits/param.h: New file.
23595         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
23596         * sysdeps/mach/hurd/bits/param.h: New file.
23597         * sysdeps/mach/hurd/sys/param.h: File removed.
23599         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
23600         last change.
23602         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
23603         [_IO_MTSAFE_IO].
23604         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
23605         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
23606         New macros.
23608         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
23609         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
23610         rather than -D_IO_MTSAFE_IO conditionally.
23611         * stdio-common/Makefile (CPPFLAGS): Likewise.
23612         * wcsmbs/Makefile (CPPFLAGS): Likewise.
23613         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
23614         Use $(libio-mtsafe).
23615         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
23616         of -D_IO_MTSAFE_IO.
23617         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
23618         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
23619         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
23620         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
23621         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
23622         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
23623         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
23624         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
23625         (CFLAGS-fread_u_chk.c): Likewise.
23626         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
23627         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
23628         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
23629         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
23630         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
23631         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
23632         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
23633         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
23634         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
23636         * libio/Makefile: Test [$(libc-reentrant) = yes]
23637         instead of [$(filter %REENTRANT, $(defines)) nonempty].
23639         * Makeconfig
23640         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
23641         * sysdeps/pthread/configure: File removed.
23642         * sysdeps/pthread/Makeconfig: New file.
23643         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
23644         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
23646 2012-08-16  Gary Benson  <gbenson@redhat.com>
23648         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
23649         unmapping the first object in a namespace.
23651 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23653         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
23654         (__internal_setnetgrent): ... this.  Add internal_function to
23655         definition.  Add libc_hidden_def.
23656         (setnetgrent): Update caller.
23657         (internal_endnetgrent): Renamed to ...
23658         (__internal_endnetgrent): ... this.  Add internal_function to
23659         definition.  Add libc_hidden_def.
23660         (endnetgrent): Update caller.
23661         (internal_getnetgrent_r): Renamed to ...
23662         (__internal_getnetgrent_r): ... this.  Add internal_function to
23663         definition.  Add libc_hidden_def.
23664         (__getnetgrent_r): Update caller.
23665         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
23667 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23669         * stdlib/longlong.h: Update from GCC.
23671 2012-08-16  Roland McGrath  <roland@hack.frob.com>
23673         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
23674         on _QL, which is set by umul_ppmm but never used.
23675         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
23676         variables, which are set by GMP macros but never used.
23677         * stdio-common/_itowa.c (_itowa): Likewise.
23678         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
23679         * stdlib/mod_1.c (mpn_mod_1): Likewise.
23681 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
23683         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
23684         struct La_sh_regs is not constant.
23685         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
23686         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
23687         and struct La_sparc64_regs are not constant.
23689 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
23691         * sysdeps/unix/sysv/linux/kernel-features.h
23692         (__ASSUME_POSIX_TIMERS): Remove.
23693         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23694         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23695         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
23696         Make code unconditional.
23697         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23698         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
23699         Make code unconditional.
23700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23701         * sysdeps/unix/sysv/linux/clock_nanosleep.c
23702         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
23703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23704         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
23705         Make code unconditional.
23706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
23707         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
23708         (__libc_missing_posix_timers): Remove.
23710 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23712         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
23713         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
23715         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
23717         * elf/dl-sym.c: Include <stdlib.h>.
23719         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
23720         constants, which avoids warnings in 32-bit builds.
23722         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
23723         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
23725         * misc/lseek.c: File moved to ...
23726         * io/lseek.c: ... here.
23728         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
23730         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
23731         shifting LEN more than 31 bits at once.
23733 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23735         [BZ #14195]
23736         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
23737         segmentation fault for a case of two empty input strings.
23738         * string/test-strncasecmp.c (check1): Renamed to...
23739         (bz12205): ...this.
23740         (bz14195): Add new testcase for two empty input strings and N > 0.
23741         (test_main): Call new testcase, adapt for renamed function.
23743 2012-08-15  Andreas Jaeger  <aj@suse.de>
23745         [BZ #14090]
23746         * crypt/md5test2.c: New test, based on test supplied by Serge
23747         Belyshev <belyshev@depni.sinp.msu.ru>.
23748         * crypt/Makefile (xtests): Add md5test-giant..
23749         * crypt/Makefile ($(objpfx)md5test-giant): Add.
23751 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
23753         [BZ #14090]
23754         * crypt/md5.c (md5_process_block): Don't assume the buffer
23755         length is less than 2**32.
23756         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
23757         length is less than 2**64.
23759 2012-08-15  Roland McGrath  <roland@hack.frob.com>
23761         * string/str-two-way.h: Include <sys/param.h>.
23762         (MAX): Macro removed.
23764         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
23765         Move #define and #undef of memmove to just before and after
23766         including <string.h>.
23768         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
23769         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
23770         and after including <string.h>.  Move declarations of
23771         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
23772         to before #include "string/memmove.c".
23774         * include/dirent.h: Declare __getdirentries.
23776         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
23777         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
23779 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
23781         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
23782         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
23783         * sysdeps/i386/configure: Regenerated.
23784         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
23785         STABS_CURRENT_FILE, and STABS_FUN.
23786         (END): Remove call to STABS_FUN_END.
23787         (STABS_CURRENT_FILE1): Delete.
23788         (STABS_CURRENT_FILE): Likewise.
23789         (STABS_FUN): Likewise.
23790         (STABS_FUN_END): Likewise.
23791         (STABS_FUN2): Likewise.
23792         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
23793         * sysdeps/x86_64/configure: Regenerated.
23795 2012-08-14  Roland McGrath  <roland@hack.frob.com>
23797         * elf/dl-open.c: Include <atomic.h>.
23798         * elf/dl-lookup.c: Likewise.
23800 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
23802         * sysdeps/unix/sysv/linux/kernel-features.h
23803         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
23804         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
23805         unconditionally.
23806         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
23807         unconditionally.
23808         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
23809         condition on __ASSUME_CLONE_THREAD_FLAGS.
23811 2012-08-14  Andreas Jaeger  <aj@suse.de>
23813         * sysdeps/i386/fpu/libm-test-ulps: Update.
23815 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
23817         * include/atomic.h (atomic_exchange_and_add): Split into ...
23818         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
23819         New atomic macros.
23821 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
23823         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23825 2012-08-13  Jeff Law <law@redhat.com>
23827         * manual/stdio.texi (snprintf): Clarify handling of the trailing
23828         null byte in the output string.
23830 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
23832         * sysdeps/unix/sysv/linux/kernel-features.h
23833         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
23834         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
23835         (__ASSUME_ARG_MAX_STACK_BASED): Define.
23836         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23837         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
23838         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
23839         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
23841 2012-08-09  Jeff Law <law@redhat.com>
23843         [BZ #13939]
23844         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
23845         When avoid_arena is set, don't retry in the that arena.  Pick the
23846         next one, whatever it might be.
23847         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
23848         (arena_lock): Pass in new parameter to arena_get2.
23849         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
23850         arena_get2.
23851         (__libc_malloc): Unify retrying after main arena failure with
23852         __libc_memalign version.
23853         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
23855 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23857         [BZ #14166]
23858         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
23859         to __redirect_strstr.
23860         (__strstr_sse42): Use typeof __redirect_strstr.
23861         (__strstr_ia32): Likewise.
23862         (__libc_strstr): New prototype.
23863         (strstr): Renamed to ...
23864         (__libc_strstr): This.
23865         (strstr): New strong alias of __libc_strstr.
23866         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23867         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
23868         __redirect_time.
23869         Include <time.h>.
23870         (__libc_time): New prototype.
23871         (time_ifunc): Replace time with __libc_time.
23872         (time): New strong alias and hidden definition of __libc_time.
23873         (__GI_time): Remove strong alias.
23874         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
23875         Include <stddef.h>.
23876         (memmove): Redefined to __redirect_memmove.
23877         (__memmove_sse2): Use typeof __redirect_memmove.
23878         (__memmove_ssse3): Likewise.
23879         (__memmove_ssse3_back): Likewise.
23880         (__libc_memmove): New prototype.
23881         (memmove): Renamed to ...
23882         (__libc_memmove): This.
23883         (memmove): New strong alias of __libc_memmove.
23885 2012-08-08  Mark Salter  <msalter@redhat.com>
23887         * elf/elf.h
23888         (R_MN10300_TLS_GD): Define.
23889         (R_MN10300_TLS_LD): Likewise.
23890         (R_MN10300_TLS_LDO): Likewise.
23891         (R_MN10300_TLS_GOTIE): Likewise.
23892         (R_MN10300_TLS_IE): Likewise.
23893         (R_MN10300_TLS_LE): Likewise.
23894         (R_MN10300_TLS_DTPMOD): Likewise.
23895         (R_MN10300_TLS_DTPOFF): Likewise.
23896         (R_MN10300_TLS_TPOFF): Likewise.
23897         (R_MN10300_SYM_DIFF): Likewise.
23898         (R_MN10300_ALIGN): Likewise.
23899         (R_MN10300_NUM): Update.
23901 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
23903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
23904         Remove.
23906 2012-08-08  Roland McGrath  <roland@hack.frob.com>
23908         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
23910         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
23911         sysdeps/unix -> sysdeps/posix move.
23912         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
23914 2012-08-07      Allan McRae     <allan@archlinux.org>
23916         [BZ #14303]
23917         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
23918         (SUNOS_CPP): Likewise.
23919         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
23920         not found.
23921         (open_input): Call CPP using execvp.
23923 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23925         * sysdeps/unix/sysv/linux/kernel-features.h
23926         (__ASSUME_PROT_GROWSUPDOWN): Remove.
23927         (__ASSUME_NO_CLONE_DETACHED): Likewise.
23928         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
23929         (__ASSUME_WAITID_SYSCALL): Likewise.
23930         * sysdeps/unix/sysv/linux/dl-execstack.c
23931         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
23932         code unconditional.
23933         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
23934         conditional code.
23935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
23936         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
23937         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
23938         code.
23939         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
23940         unconditional.
23941         [__ASSUME_WAITID_SYSCALL]: Likewise.
23942         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
23944 2012-08-07  Roland McGrath  <roland@hack.frob.com>
23946         * sysdeps/unix/closedir.c: Renamed to ...
23947         * sysdeps/posix/closedir.c: ... here.
23948         * sysdeps/unix/dirfd.c: Renamed to ...
23949         * sysdeps/posix/dirfd.c: ... here.
23950         * sysdeps/unix/dirstream.h: Renamed to ...
23951         * sysdeps/posix/dirstream.h: ... here.
23952         * sysdeps/unix/fdopendir.c: Renamed to ...
23953         * sysdeps/posix/fdopendir.c: ... here.
23954         * sysdeps/unix/opendir.c: Renamed to ...
23955         * sysdeps/posix/opendir.c: ... here.
23956         * sysdeps/unix/readdir.c: Renamed to ...
23957         * sysdeps/posix/readdir.c: ... here.
23958         * sysdeps/unix/readdir_r.c: Renamed to ...
23959         * sysdeps/posix/readdir_r.c: ... here.
23960         * sysdeps/unix/rewinddir.c: Renamed to ...
23961         * sysdeps/posix/rewinddir.c: ... here.
23962         * sysdeps/unix/seekdir.c: Renamed to ...
23963         * sysdeps/posix/seekdir.c: ... here.
23964         * sysdeps/unix/telldir.c: Renamed to ...
23965         * sysdeps/posix/telldir.c: ... here.
23966         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
23967         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
23969         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
23971         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
23972         * bits/fcntl.h: ... here.
23974         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
23975         not 0.
23976         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
23977         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
23978         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
23979         (struct flock): Move l_start, l_len to the beginning.
23980         Use __pid_t for l_pid.
23981         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
23982         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
23983         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
23984         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
23985         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
23986         [__USE_LARGEFILE64] (struct flock64): New type.
23987         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
23989         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
23990         * bits/dirent.h: ... here.
23992         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
23993         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
23995 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
23997         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
23998         Change from 2.6.0 to 2.6.16.
23999         * sysdeps/unix/sysv/linux/configure: Regenerated.
24000         * sysdeps/unix/sysv/linux/kernel-features.h
24001         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
24002         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
24003         version.
24004         (__ASSUME_UTIMES): Likewise.
24005         (__ASSUME_CLONE_STOPPED): Remove.
24006         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
24007         architectures, not kernel version.
24008         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
24009         (__ASSUME_NO_CLONE_DETACHED): Likewise.
24010         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
24011         (__ASSUME_WAITID_SYSCALL): Likewise.
24012         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
24013         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
24014         * README: State 2.6.16 as minimum Linux kernel version.  Do not
24015         refer to older versions.
24017 2012-08-06  Roland McGrath  <roland@hack.frob.com>
24019         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
24020         Define alphasort64 as an alias.
24021         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
24022         Define versionsort64 as an alias.
24023         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
24024         Define scandir64 as an alias.
24025         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
24026         Define scandirat64 as an alias.
24027         * dirent/alphasort64.c (alphasort64):
24028         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
24029         * dirent/versionsort64.c: Likewise.
24030         * dirent/scandir64.c: Likewise.
24031         * dirent/scandirat64.c: Likewise.
24032         * sysdeps/wordsize-64/alphasort.c: File removed.
24033         * sysdeps/wordsize-64/alphasort64.c: File removed.
24034         * sysdeps/wordsize-64/scandir.c: File removed.
24035         * sysdeps/wordsize-64/scandir64.c: File removed.
24036         * sysdeps/wordsize-64/scandirat.c: File removed.
24037         * sysdeps/wordsize-64/scandirat64.c: File removed.
24038         * sysdeps/wordsize-64/versionsort.c: File removed.
24039         * sysdeps/wordsize-64/versionsort64.c: File removed.
24040         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
24041         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
24042         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
24043         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
24044         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
24045         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
24046         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
24047         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
24049         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
24050         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24051         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
24052         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24053         [defined __arch64__ || defined __sparcv9]
24054         (__INO_T_MATCHES_INO64_T): New macro.
24055         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24056         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
24057         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
24058         * sysdeps/unix/sysv/linux/bits/dirent.h
24059         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
24060         (_DIRENT_MATCHES_DIRENT64): New macro.
24062         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
24063         Define lockf64 as an alias.
24064         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
24065         Define fseeko64 as an alias.
24066         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
24067         Define ftello64 as an alias.
24068         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
24069         Define _IO_fgetpos64 and fgetpos64 as aliases.
24070         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
24071         Define _IO_fsetpos64 and fsetpos64 as aliases.
24072         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
24073         Conditionalize body on this.
24074         * libio/fseeko64.c: Likewise.
24075         * libio/ftello64.c: Likewise.
24076         * libio/iofgetpos64.c: Likewise.
24077         * libio/iofsetpos64.c: Likewise.
24078         * sysdeps/wordsize-64/lockf.c: File removed.
24079         * sysdeps/wordsize-64/lockf64.c: File removed.
24080         * sysdeps/wordsize-64/fseeko.c: File removed.
24081         * sysdeps/wordsize-64/fseeko64.c: File removed.
24082         * sysdeps/wordsize-64/ftello.c: File removed.
24083         * sysdeps/wordsize-64/ftello64.c: File removed.
24084         * sysdeps/wordsize-64/iofgetpos.c: File removed.
24085         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
24086         * sysdeps/wordsize-64/iofsetpos.c: File removed.
24087         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
24088         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
24089         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
24090         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
24091         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
24092         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
24093         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
24094         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
24095         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
24096         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
24097         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
24099         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
24101         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
24102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24103         [defined __arch64__ || defined __sparcv9]
24104         (__OFF_T_MATCHES_OFF64_T): New macro.
24105         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24106         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
24107         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24108         (__OFF_T_MATCHES_OFF64_T): New macro.
24110 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24112         * stdlib/secure-getenv.c (__secure_getenv): Replace
24113         GLIBC_2_16 with GLIBC_2_17.
24115 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
24117         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
24118         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
24120 2012-08-03  David S. Miller  <davem@davemloft.net>
24122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24124 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24126         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
24127         Remove.
24128         (__ASSUME_CORRECT_SI_PID): Likewise.
24129         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
24130         (__ASSUME_TMPFS_NAME): Likewise.
24131         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
24132         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
24133         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
24134         (HAVE_AUX_SECURE): Make definition unconditional.
24135         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
24136         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
24138 2012-08-03  Roland McGrath  <roland@hack.frob.com>
24140         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
24141         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
24142         * sysdeps/mach/hurd/eloop-threshold.h: New file.
24143         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
24144         __eloop_threshold instead of SYMLOOP_MAX.
24146         * sysdeps/generic/eloop-threshold.h: New file.
24147         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
24148         of MAXSYMLINKS.
24149         * elf/chroot_canon.c (chroot_canon): Likewise.
24151 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
24153         [BZ #13717]
24154         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24155         Change to 2.6.0 everywhere.
24156         * sysdeps/unix/sysv/linux/configure: Regenerated.
24157         * sysdeps/unix/sysv/linux/kernel-features.h
24158         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
24159         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
24160         kernel versions.
24161         (__ASSUME_POSIX_TIMERS): Define unconditionally.
24162         (__ASSUME_FUTEX_REQUEUE): Remove.
24163         (__ASSUME_STATFS64): Define unconditionally.
24164         (__ASSUME_AT_SECURE): Likewise.
24165         (__ASSUME_CORRECT_SI_PID): Likewise.
24166         (__ASSUME_TGKILL): Define without depending on kernel version for
24167         i386.
24168         (__ASSUME_UTIMES): Likewise.
24169         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
24170         kernel version.
24171         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
24172         (__ASSUME_TMPFS_NAME): Likewise.
24173         * README: Update reference to Linux kernel versions.
24175 2012-08-02  Marek Polacek  <polacek@redhat.com>
24177         [BZ# 14150]
24178         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
24179         libc_cv_asm_type_prefix with %.
24180         * configure: Regenerated.
24181         * include/libc-symbols.h: Remove comment about
24182         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24183         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
24184         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
24185         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
24186         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
24187         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
24188         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
24189         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
24190         * elf/tst-unique2mod1.c: Likewise.
24191         * elf/tst-unique1mod2.c: Likewise.
24192         * elf/tst-unique1mod1.c: Likewise.
24193         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
24194         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
24195         Replace ASM_TYPE_DIRECTIVE with .type.
24196         * sysdeps/s390/s390-64/sysdep.h: Likewise.
24197         * sysdeps/i386/sysdep.h: Likewise.
24198         * sysdeps/x86_64/sysdep.h: Likewise.
24199         * sysdeps/sh/sysdep.h: Likewise.
24200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
24201         Do not define ASM_TYPE_DIRECTIVE.
24202         * sysdeps/powerpc/sysdep.h: Likewise.
24203         * sysdeps/powerpc/powerpc32/sysdep.h:
24204         Replace ASM_TYPE_DIRECTIVE with .type.
24205         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
24206         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24207         * sysdeps/i386/fpu/e_powf.S: Likewise.
24208         * sysdeps/i386/fpu/e_expl.S: Likewise.
24209         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24210         * sysdeps/i386/fpu/e_acosh.S: Likewise.
24211         * sysdeps/i386/fpu/e_pow.S: Likewise.
24212         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24213         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24214         * sysdeps/i386/fpu/s_expm1.S: Likewise.
24215         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24216         * sysdeps/i386/fpu/e_log2.S: Likewise.
24217         * sysdeps/i386/fpu/e_log2l.S: Likewise.
24218         * sysdeps/i386/fpu/e_scalb.S: Likewise.
24219         * sysdeps/i386/fpu/e_powl.S: Likewise.
24220         * sysdeps/i386/fpu/e_log10f.S: Likewise.
24221         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24222         * sysdeps/i386/fpu/e_logl.S: Likewise.
24223         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24224         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24225         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24226         * sysdeps/i386/fpu/e_log2f.S: Likewise.
24227         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24228         * sysdeps/i386/fpu/e_log.S: Likewise.
24229         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24230         * sysdeps/i386/fpu/e_logf.S: Likewise.
24231         * sysdeps/i386/fpu/e_log10l.S: Likewise.
24232         * sysdeps/i386/fpu/e_atanh.S: Likewise.
24233         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24234         * sysdeps/i386/fpu/e_log10.S: Likewise.
24235         * sysdeps/i386/fpu/s_frexp.S: Likewise.
24236         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24237         * sysdeps/i386/fpu/s_asinh.S: Likewise.
24238         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24239         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24240         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
24241         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24242         * sysdeps/i386/i686/strtok.S: Likewise.
24243         * sysdeps/i386/i386-mcount.S: Likewise.
24244         * sysdeps/i386/strtok.S: Likewise.
24245         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
24246         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24247         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24248         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24249         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
24250         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24251         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24252         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24253         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24254         * sysdeps/x86_64/_mcount.S: Likewise.
24255         * sysdeps/x86_64/strtok.S: Likewise.
24256         * sysdeps/sh/_mcount.S: Likewise.
24258 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24260         * libio/iofopen.c: Include <fcntl.h>.
24261         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
24262         (_IO_fopen64, fopen64): Define as aliases.
24263         * libio/iofopen64.c: Include <fcntl.h>.
24264         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
24265         Conditionalize body on this.
24266         * sysdeps/wordsize-64/iofopen.c: File removed.
24267         * sysdeps/wordsize-64/iofopen64.c: File removed.
24269 2012-08-01  Marek Polacek  <polacek@redhat.com>
24271         * libc/Makeconfig: Use elf in place of binfmt-subdir.
24272         Use dlfcn directly instead of a variable.
24273         (binfmt-subdir): Do not define.
24274         (dlfcn): Likewise.
24276 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
24278         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
24279         Remove all definitions.
24280         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24281         <kernel-features.h>.
24282         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24283         (miss_F_GETOWN_EX): Remove all definitions.
24284         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
24285         macro definition.
24286         [!__ASSUME_FCNTL64]: Remove conditional code.
24287         [__ASSUME_FCNTL64]: Make code unconditional.
24288         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
24289         <kernel-features.h>.
24290         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
24291         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
24292         (lockf64) [__NR_fcntl64]: Make code unconditional.
24293         (lockf64) [__ASSUME_FCNTL64]: Likewise.
24295         * sysdeps/unix/sysv/linux/kernel-features.h
24296         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
24297         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
24298         Make code unconditional.
24299         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24300         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
24302         [__NR_vfork]: Make code unconditional.
24303         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24304         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
24306         [__NR_vfork]: Make code unconditional.
24307         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
24308         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
24310 2012-08-01  Roland McGrath  <roland@hack.frob.com>
24312         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
24313         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
24315         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24316         Define mkstemp64 as an alias.
24317         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24318         Define mkstemps64 as an alias.
24319         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24320         Define mkostemp64 as an alias.
24321         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
24322         Define mkostemps64 as an alias.
24323         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
24324         Conditionalize body on this.
24325         * misc/mkostemp64.c: Likewise.
24326         * misc/mkostemps64.c: Likewise.
24327         * misc/mkstemps64.c: Likewise.
24328         * sysdeps/wordsize-64/mkstemp64.c: File removed.
24329         * sysdeps/wordsize-64/mkostemp64.c: File removed.
24330         * sysdeps/wordsize-64/mkostemp.c: File removed.
24331         * sysdeps/wordsize-64/mkstemp.c: File removed.
24332         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
24333         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
24334         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
24335         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
24337         [BZ #14138]
24338         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
24339         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
24340         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
24341         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
24343         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
24344         compat_symbol macros from <shlib-compat.h> rather than the underlying
24345         default_symbol_version and symbol_version macros, so that DEFAULT
24346         lines in shlib-versions are respected.
24347         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
24349 2012-08-01  Florian Weimer  <fweimer@redhat.com>
24351         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
24352         Declare with warn_unused_result.
24353         (setgid, setregid, setegid, setresgid): Likewise.
24354         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
24355         Likewise.
24356         * WUR-REPORT: Remove set*id functions.
24358 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
24360         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
24362 2012-07-31  Roland McGrath  <roland@hack.frob.com>
24364         [BZ #10191]
24365         * include/sys/socket.h (__libc_accept, __libc_accept4):
24366         Add attribute_hidden.
24367         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
24369         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
24370         use of PTR_MANGLE.
24371         * inet/getnetgrent_r.c (setup): Likewise.
24373         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
24375 2012-07-31  David S. Miller  <davem@davemloft.net>
24377         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24379 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
24381         [BZ #13629]
24382         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
24383         value between 1.0 and 2.0 and smaller part has absolute value less
24384         than 1.0.
24385         * math/s_clog10.c (__clog10): Likewise.
24386         * math/s_clog10f.c (__clog10f): Likewise.
24387         * math/s_clog10l.c (__clog10l): Likewise.
24388         * math/s_clogf.c (__clogf): Likewise.
24389         * math/s_clogl.c (__clogl): Likewise.
24390         * math/libm-test.inc (clog_test): Add more tests.
24391         (clog10_test): Likewise.
24392         * sysdeps/i386/fpu/libm-test-ulps: Update.
24393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24395 2012-07-31  Florian Weimer  <fweimer@redhat.com>
24397         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
24398         Exit with zero in case no suitable GID is found, and write a
24399         message to standard error.
24401 2012-07-30  Roland McGrath  <roland@hack.frob.com>
24403         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
24404         rather than to 1.
24405         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
24406         (MAXPATHLEN): Removed.
24407         (NOGROUP, NODEV): New macros.
24408         (setbit, clrbit, isset, isclr): New macros.
24409         (howmany, roundup, powerof2): New macros.
24410         (DEV_BSIZE): New macro.
24412         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
24413         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
24415         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
24416         definition on [!__NO_LONG_DOUBLE_MATH].
24418         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
24419         PTR_MANGLE and PTR_DEMANGLE.
24421         * socket/accept4.c (accept4): Rename to __libc_accept4.
24422         Define accept4 as a weak alias.
24424         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
24425         on [_DIRENT_HAVE_D_TYPE].
24426         * io/ftw.c (ftw_dir): Likewise.
24428         * io/xmknod.c (__xmknod): Don't check PATH for being null.
24430         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
24432         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
24433         Use the BSD numbers rather than the arbitrary ones we had.
24434         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
24435         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
24436         (SIGXCPU, SIGXFSZ): New macros.
24437         (_NSIG): Now 32.
24439         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
24440         initializer on [_LIBC_REENTRANT].
24442         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
24443         definitions inside [_POSIX_MAPPED_FILES].
24445         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
24447         * dirent/opendir.c: Include <fcntl.h>.
24449         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
24450         (__libc_getspecific): Likewise.
24451         (__libc_key_create): Likewise.
24453         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
24454         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
24455         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
24456         (tmpfile64): Define as alias.
24457         * sysdeps/wordsize-64/tmpfile.c: File removed.
24458         * sysdeps/wordsize-64/tmpfile64.c: File removed.
24459         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
24460         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
24462         * stdio-common/vfscanf.c: Include <stdbool.h>.
24463         * nss/makedb.c: Likewise.
24464         * stdio-common/_i18n_number.h: Likewise.
24465         * argp/argp-help.c: Likewise.
24466         * posix/wordexp.c: Likewise.
24467         * sysdeps/posix/spawni.c: Likewise.
24468         * nss/nss_files/files-initgroups.c: Likewise.
24469         * stdio-common/reg-modifier.c: Include <stdlib.h>.
24470         * nss/nss_files/files-initgroups.c: Likewise.
24471         * nss/nss_db/db-netgrp.c: Likewise.
24472         * nss/nss_db/db-initgroups.c: Likewise.
24473         * io/fchmodat.c: Include <sys/stat.h>.
24475         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
24476         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
24478         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
24479         [HAVE_MMAP].
24481         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
24482         Add multiple inclusion protection.
24484 2012-07-27  David S. Miller  <davem@davemloft.net>
24486         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24488 2012-07-27  Gary Benson  <gbenson@redhat.com>
24490         [BZ #14298]
24491         * elf/rtld.c: Include <stap-probe.h>.
24492         (dl_main): Added static probes "init_start" and "init_complete".
24493         * elf/dl-load.c: Include <stap-probe.h>.
24494         (lose): Take new parameter "nsid".
24495         Added static probe "map_failed".
24496         (_dl_map_object_from_fd): Pass namespace id to lose.
24497         Added static probe "map_start".
24498         (open_verify): Pass namespace id to lose.
24499         * elf/dl-open.c: Include <stap-probe.h>.
24500         (dl_open_worker) Added static probes "map_complete", "reloc_start"
24501         and "reloc_complete".
24502         * elf/dl-close.c: Include <stap-probe.h>.
24503         (_dl_close_worker): Added static probes "unmap_start" and
24504         "unmap_complete".
24505         * elf/rtld-debugger-interface.txt: New file documenting the above.
24507 2012-07-26  Roland McGrath  <roland@hack.frob.com>
24509         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
24510         rather than a string variable.
24511         * sunrpc/rpc_main.c (h_output): Likewise.
24512         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
24514 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
24516         * inet/check_native.c: New file.
24518 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
24520         [BZ #13629]
24521         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
24522         if larger part has absolute value 1.0.
24523         * math/s_clog10.c (__clog10): Likewise.
24524         * math/s_clog10f.c (__clog10f): Likewise.
24525         * math/s_clog10l.c (__clog10l): Likewise.
24526         * math/s_clogf.c (__clogf): Likewise.
24527         * math/s_clogl.c (__clogl): Likewise.
24528         * math/libm-test.inc (clog_test): Add more tests.
24529         (clog10_test): Likewise.
24530         * sysdeps/i386/fpu/libm-test-ulps: Update.
24531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24533         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
24534         (pltexit): Likewise.
24535         (La_regs): Likewise.
24536         (La_retval): Likewise.
24537         (int_retval): Likewise.
24538         Update #error for removed macros to refer only to definitions in
24539         tst-audit.h.
24540         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
24541         macro.
24542         (pltexit): Likewise.
24543         (La_regs): Likewise.
24544         (La_retval): Likewise.
24545         (int_retval): Likewise.
24546         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
24547         macro.
24548         (pltexit): Likewise.
24549         (La_regs): Likewise.
24550         (La_retval): Likewise.
24551         (int_retval): Likewise.
24552         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
24553         macro.
24554         (pltexit): Likewise.
24555         (La_regs): Likewise.
24556         (La_retval): Likewise.
24557         (int_retval): Likewise.
24558         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
24559         macro.
24560         (pltexit): Likewise.
24561         (La_regs): Likewise.
24562         (La_retval): Likewise.
24563         (int_retval): Likewise.
24564         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
24565         macro.
24566         (pltexit): Likewise.
24567         (La_regs): Likewise.
24568         (La_retval): Likewise.
24569         (int_retval): Likewise.
24570         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
24571         macro.
24572         (pltexit): Likewise.
24573         (La_regs): Likewise.
24574         (La_retval): Likewise.
24575         (int_retval): Likewise.
24576         * sysdeps/generic/tst-audit.h: Update comment to refer only to
24577         macro definitions in tst-audit.h.
24578         * sysdeps/i386/tst-audit.h: New file.
24579         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
24580         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
24581         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
24582         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
24583         * sysdeps/sh/tst-audit.h: Likewise.
24584         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
24585         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
24586         * sysdeps/x86_64/tst-audit.h: Likewise.
24588 2012-07-26  Andreas Jaeger  <aj@suse.de>
24590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
24591         ptrace.
24593         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
24594         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
24595         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
24596         PTRACE_O_MASK.
24597         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
24598         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
24599         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
24601         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
24602         value.
24604         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
24605         _sigsys.
24606         (si_call_addr, si_syscall, si_arch): Define new macro.
24607         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
24608         _sigsys.
24609         (si_call_addr, si_syscall, si_arch): Define new marcro.
24610         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
24611         _sigsys.
24612         (si_call_addr, si_syscall, si_arch): Define new macro.
24613         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
24614         _sigsys.
24615         (si_call_addr, si_syscall, si_arch): Define new macro.
24617 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24619         [BZ #13717]
24620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
24621         Change to 2.4.21 where previously 2.4.1.
24622         * sysdeps/unix/sysv/linux/configure: Regenerated.
24623         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
24624         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
24625         Linux kernel version.
24626         (__ASSUME_STD_AUXV): Remove.
24627         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
24628         kernel version.
24629         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
24630         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
24631         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
24632         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
24633         (__ASSUME_NETLINK_SUPPORT): Likewise.
24634         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
24635         (__no_netlink_support): Remove conditional definition.
24636         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
24637         Remove.
24638         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24639         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
24640         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
24641         (if_nameindex_ioctl): Remove.
24642         (if_nameindex_netlink): Do not handle __no_netlink_support.
24643         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24644         code.
24645         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
24646         Remove conditional code.
24647         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
24648         code.
24649         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
24650         unconditional.
24651         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
24652         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
24653         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
24654         Remove.
24655         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
24656         [!__ASSUME_STD_AUXV]: Remove conditional code.
24657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
24658         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
24659         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
24661         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
24662         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24663         code.
24664         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
24666         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
24667         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24668         conditional code.
24669         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
24670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
24671         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
24672         code.
24673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
24674         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
24675         conditional code.
24676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
24677         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24678         code unconditional.
24679         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24680         conditional code.
24681         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24682         unconditional.
24683         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24684         conditional code.
24685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24686         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24687         unconditional.
24688         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24689         conditional code.
24690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
24691         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24692         code unconditional.
24693         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24694         conditional code.
24695         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24696         unconditional.
24697         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24698         conditional code.
24699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
24700         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
24701         code unconditional.
24702         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24703         conditional code.
24704         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
24705         unconditional.
24706         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
24707         conditional code.
24709 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
24711         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
24712         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
24713         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
24714         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
24715         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
24716         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
24717         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
24718         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
24719         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
24720         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
24721         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
24722         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
24723         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
24724         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
24725         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
24726         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
24727         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
24728         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
24729         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
24730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
24731         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24732         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
24733         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
24735 2012-07-25  Florian Weimer  <fweimer@redhat.com>
24737         * Versions.def: Add GLIBC_2.17.
24738         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
24739         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
24740         Introduce __libc_secure_getenv.
24741         * stdlib/Versions (2.17): Add secure_getenv
24742         (GLIBC_PRIVATE): Add __libc_secure_getenv.
24743         * stdlib/secure-getenv.c: Rename __secure_getenv to
24744         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
24745         symbol __secure_getenv for GLIBC_2.0.
24746         * stdlib/tst-secure-getenv.c: New.
24747         * stdlib/Makefile (tests): Add testcase.
24748         * manual/startup.texi (Environment Access): Document
24749         secure_getenv.
24750         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
24751         __libc_secure_getenv.
24752         * inet/ruserpass.c (ruserpass): Likewise.
24753         * malloc/mtrace.c (mtrace): Likewise.
24754         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
24755         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
24756         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
24757         * sysdeps/posix/tempname.c: Likewise.  Evaluate
24758         HAVE_SECURE_GETENV.
24759         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
24760         __secure_getenv to __libc_secure_getenv.
24761         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
24762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24763         Likewise.
24764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24765         Likewise.
24766         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24768         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24771         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24774 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
24776         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
24777         (struct La_i86_retval): Likewise.
24778         (struct La_x86_64_regs): Likewise.
24779         (struct La_x86_64_retval): Likewise.
24780         (struct La_x32_regs): Likewise.
24781         (struct La_x32_retval): Likewise.
24782         (struct La_ppc32_regs): Likewise.
24783         (struct La_ppc32_retval): Likewise.
24784         (struct La_ppc64_regs): Likewise.
24785         (struct La_ppc64_retval): Likewise.
24786         (struct La_sh_regs): Likewise.
24787         (struct La_sh_retval): Likewise.
24788         (struct La_s390_32_regs): Likewise.
24789         (struct La_s390_32_retval): Likewise.
24790         (struct La_s390_64_regs): Likewise.
24791         (struct La_s390_64_retval): Likewise.
24792         (struct La_sparc32_regs): Likewise.
24793         (struct La_sparc32_retval): Likewise.
24794         (struct La_sparc64_regs): Likewise.
24795         (struct La_sparc64_retval): Likewise.
24796         (struct audit_ifaces): Remove architecture-specific pltenter and
24797         pltexit members.
24798         * sysdeps/i386/ldsodefs.h: New file.
24799         * sysdeps/powerpc/ldsodefs.h: Likewise.
24800         * sysdeps/s390/ldsodefs.h: Likewise.
24801         * sysdeps/sh/ldsodefs.h: Likewise.
24802         * sysdeps/sparc/ldsodefs.h: Likewise.
24803         * sysdeps/x86_64/ldsodefs.h: Likewise.
24805 2012-07-25  Marek Polacek  <polacek@redhat.com>
24807         [BZ #6808]
24808         * math/libm-test.inc (yn_test): Add another test.
24809         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
24810         to ERANGE when the result is +-Inf.
24811         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24812         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
24813         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
24814         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
24816 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
24818         * conform/data/time.h-data (NULL): Use macro-constant.  Require
24819         equal to 0.
24820         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
24821         clock_t.
24822         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
24824 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
24826         * configure.in <sysdeps resolving>: Correct printing
24827         Implies_before.
24828         * configure: Regenerate.
24830 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
24832         * math/w_ilogb.c: Include <limits.h>.
24833         * math/w_ilogbl.c: Likewise.
24835 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24837         * manual/lang.texi (__va_copy): Document primarily as ISO C99
24838         va_copy.  Document allowing for unavailable va_copy only as
24839         pre-C99 compatibility.
24840         * manual/string.texi (Copying and Concatenation): Use va_copy
24841         instead of __va_copy in concat example.
24843 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
24845         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
24846         (__sendto): Use create_address_port.  Initialize APORT and deallocate
24847         it if not null.
24849         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
24850         with O_NOLINK passed to __file_name_lookup.
24852         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
24853         with O_NOLINK passed to __file_name_lookup.
24855         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
24856         negative N or less than NGIDS.
24858         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
24859         type to string_t.  Set ERANGE as errno and return it if NAME is not big
24860         enough.  Use memcpy instead of strncpy.
24862 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
24864         * elf/Makefile (check-data): Remove.
24865         (localplt.data): New vpath directive.
24866         ($(objpfx)check-localplt.out): Use localplt.data from vpath
24867         instead of $(check-data).
24868         * scripts/data/localplt-generic.data: Move to ...
24869         * sysdeps/generic/localplt.data: ... here.
24870         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
24871         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
24872         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
24873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
24874         ... here.
24875         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
24876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
24877         ... here.
24878         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
24879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
24880         ... here.
24881         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
24882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
24883         ... here.
24884         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
24885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
24886         ... here.
24887         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
24888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
24889         ... here.
24891 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24893         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
24894         PPC32 and PPC64 files.
24895         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
24896         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
24898 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24900         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
24901         __makecontext_ret to ...
24902         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24903         ... here and call exit if uc_link is NULL.  New file.
24904         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
24905         __makecontext_ret.S.
24906         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
24907         __makecontext_ret to ...
24908         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24909         ... here and call exit if uc_link is NULL.  New file.
24910         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
24911         __makecontext_ret.S.
24913 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24915         * elf/elf.h (R_390_IRELATIVE): New definition.
24916         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
24917         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
24918         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
24919         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24920         (elf_machine_lazy_rel): Likewise.
24921         * sysdeps/s390/dl-irel.h: New file.
24922         * sysdeps/s390/s390-64/memcpy.S: New asm code.
24923         * sysdeps/s390/s390-64/memset.S: New asm code.
24924         * sysdeps/s390/s390-64/memcmp.S: New asm code.
24925         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
24926         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
24927         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
24928         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
24929         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
24930         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
24931         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
24932         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
24933         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
24934         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
24935         * sysdeps/s390/s390-32/memcpy.S: New asm code.
24936         * sysdeps/s390/s390-32/memset.S: New asm code.
24937         * sysdeps/s390/s390-32/memcmp.S: New asm code.
24939 2012-07-17  Marek Polacek  <polacek@redhat.com>
24941         [BZ #14349]
24942         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
24943         * sysdeps/s390/s390-64/configure.in: Likewise.
24944         * sysdeps/sparc/configure.in: Likewise.
24945         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
24946         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
24947         * sysdeps/i386/configure.in: Likewise.
24948         * sysdeps/x86_64/configure.in: Likewise.
24949         * sysdeps/sh/configure.in: Likewise.
24950         * sysdeps/s390/s390-32/configure: Regenerated.
24951         * sysdeps/s390/s390-64/configure: Likewise.
24952         * sysdeps/x86_64/configure: Likewise.
24953         * sysdeps/sh/configure: Likewise.
24954         * sysdeps/powerpc/powerpc64/configure: Likewise.
24955         * sysdeps/powerpc/powerpc32/configure: Likewise.
24956         * sysdeps/sparc/configure: Likwise.
24957         * sysdeps/i386/configure: Likewise.
24959         * elf/dl-open.c: Comment fixes.
24961 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
24963         * Makefile [CXX] (check-data): Remove.
24964         [CXX] (c++-types.data): New vpath directive.
24965         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
24966         vpath.  Do not allow for C++ type data being missing.
24967         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
24968         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
24969         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
24970         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
24971         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
24972         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
24973         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
24974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
24975         ... here.
24976         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
24977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
24978         ... here.
24979         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
24980         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
24981         ... here.
24982         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
24983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
24984         ... here.
24985         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
24986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
24987         ... here.
24988         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
24989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
24990         ... here.
24991         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
24992         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
24993         ... here.
24994         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
24995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
24997         * elf/tls-macros.h (TLS_LE): Move architecture-specific
24998         definitions to architecture-specific files.
24999         (TLS_IE): Likewise.
25000         (TLS_LD): Likewise.
25001         (TLS_GD): Likewise.
25002         * sysdeps/i386/tls-macros.h: New file.
25003         * sysdeps/powerpc/tls-macros.h: Likewise.
25004         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25005         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25006         * sysdeps/sh/tls-macros.h: Likewise.
25007         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
25008         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
25009         * sysdeps/x86_64/tls-macros.h: Likewise.
25011 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25013         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
25014         zero value for regular exit case.
25016         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
25017         (__start_context): Preserve zero value for regular exit case.
25019 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
25020             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25022         * manual/setjmp.texi (setcontext): Clarify normal process
25023         termination when uc_link is the null pointer.
25024         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
25025         exit call.
25027 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
25029         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
25030         preprocessor.  Test for each exception mask separately.
25032 2012-07-16  Andreas Jaeger  <aj@suse.de>
25034         * po/ru.po: Update from translation team.
25036 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
25038         * conform/data/string.h-data (NULL): Use macro-constant.  Require
25039         equal to 0.
25040         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
25041         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
25042         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
25043         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
25044         [ISO || ISO99 || ISO11] (*_t): Do not allow.
25046 2012-07-13  Andreas Jaeger  <aj@suse.de>
25048         * po/fr.po: Update from translation team.
25050 2012-07-12  Marek Polacek  <polacek@redhat.com>
25052         [BZ #14173]
25053         * math/libm-test.inc (yn_test): Add test for BZ #14173.
25054         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
25055         loop condition.
25057 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
25059         [BZ #13717]
25060         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25061         Change to 2.4.1 where previously 2.4.0.
25062         * sysdeps/unix/sysv/linux/configure: Regenerated.
25063         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
25064         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
25065         version.
25066         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
25067         (__ASSUME_AT_CLKTCK): Remove.
25068         (__ASSUME_AT_PAGESIZE): Likewise.
25069         (__ASSUME_AT_XID): Likewise.
25070         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
25071         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
25072         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
25073         unconditionally.
25074         (HAVE_AUX_PAGESIZE): Likewise.
25075         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
25076         [__ASSUME_AT_CLKTCK]: Make code unconditional.
25077         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
25079 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
25081         [BZ #14307]
25082         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
25083         the temporary buffer used to invoke __gethostbyname2_r,
25084         __gethostbyaddr_r and gethostbyname4_r to make room for struct
25085         host_data / struct gaih_addrtuple.
25086         * resolv/nss_dns/dns-host.c (global scope): Move definition of
25087         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
25088         header file nss/nsswitch.h.
25089         * nss/nsswitch.h (global scope): Add definition of implementation
25090         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
25091         resolv/nss_dns/dns-host.c).
25093 2012-07-11  Andreas Jaeger  <aj@suse.de>
25095         * po/fr.po: Update from translation team.
25097         * po/sv.po: Update from translation team
25098         * po/fr.po: Another update from translation team.
25100 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25102         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
25103         for subnormals or multiply small sinh result by itself.
25104         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25107 2012-07-11  David S. Miller  <davem@davemloft.net>
25109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25111 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
25113         [BZ #14347]
25114         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
25115         (INTERNAL_MARK): Shift it here.
25117 2012-07-10  Marek Polacek  <polacek@redhat.com>
25119         [BZ #14151]
25120         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
25121         libc_cv_asm_global_directive with .globl.
25122         * configure: Regenerated.
25123         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
25124         with .globl.
25125         * sysdeps/i386/configure: Regenerated.
25126         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
25127         with .globl.
25128         * sysdeps/x86_64/configure: Regenerated.
25129         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
25130         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
25131         * elf/tst-unique2mod2.c: Likewise.
25132         * elf/tst-unique2mod1.c: Likewise.
25133         * elf/tst-unique1mod2.c: Likewise.
25134         * elf/tst-unique1mod1.c: Likewise.
25135         * sysdeps/s390/s390-32/sysdep.h: Likewise.
25136         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25137         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25138         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25139         * sysdeps/mach/sysdep.h: Likewise.
25140         * sysdeps/i386/sysdep.h: Likewise.
25141         * sysdeps/i386/i386-mcount.S: Likewise.
25142         * sysdeps/x86_64/_mcount.S: Likewise.
25143         * sysdeps/x86_64/sysdep.h: Likewise.
25144         * sysdeps/sh/_mcount.S: Likewise.
25145         * sysdeps/sh/sysdep.h: Likewise.
25146         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
25147         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
25148         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
25149         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
25150         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
25151         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
25152         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
25153         * locale/localeinfo.h: Likewise.
25154         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
25155         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
25157 2012-07-09  Roland McGrath  <roland@hack.frob.com>
25159         [BZ #14336]
25160         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
25161         system".
25162         * manual/message.texi (The Uniforum approach): Likewise.
25163         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
25164         (glibc iconv Implementation): Likewise.
25166 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
25168         [BZ #14337]
25169         * math/s_clog.c (__clog): Avoid scaling a value down where that
25170         could result in underflow.
25171         * math/s_clog10.c (__clog10): Likewise.
25172         * math/s_clog10f.c (__clog10f): Likewise.
25173         * math/s_clog10l.c (__clog10l): Likewise.
25174         * math/s_clogf.c (__clogf): Likewise.
25175         * math/s_clogl.c (__clogl): Likewise.
25176         * math/libm-test.inc (clog_test): Add more tests.
25177         (clog10_test): Likewise.
25178         * sysdeps/i386/fpu/libm-test-ulps: Update.
25179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25181 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
25183         [BZ #14283]
25184         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
25185         by 7 not 8 to examine high bit of fractional part.
25187         [BZ #14042]
25188         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
25189         for call to __mcount_internal.
25190         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
25191         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
25192         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
25194 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
25196         [BZ #14154]
25197         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
25198         approximation for values within 0x1p-13f of an odd multiple of
25199         pi/4.
25200         * math/libm-test.inc (tan_test): Do not allow spurious underflow
25201         exception.  Add more tests.
25202         * sysdeps/i386/fpu/libm-test-ulps: Update.
25204         [BZ #6778]
25205         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
25206         inputs and return -1 for them.  Do not check for +Inf in case not
25207         reachable for +Inf.
25208         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
25209         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
25210         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25211         and return -1 for them.  Do not check for +Inf in case not
25212         reachable for +Inf.
25213         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
25214         define.
25215         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
25216         and return -1 for them.  Do not check for +Inf in case not
25217         reachable for +Inf.
25218         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
25219         spurious underflow.
25220         * sysdeps/i386/fpu/libm-test-ulps: Update.
25221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25223 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
25225         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
25227 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
25229         [BZ #14157]
25230         [BZ #14331]
25231         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
25232         could result in spurious underflow.  Scale down values above
25233         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
25234         * math/s_csqrtf.c (__csqrtf): Likewise.
25235         * math/s_csqrtl.c (__csqrtl): Likewise.
25236         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
25237         spurious underflow.
25238         * sysdeps/i386/fpu/libm-test-ulps: Update.
25239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25241 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
25243         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
25244         xopen-msg.sed.
25245         * catgets/xopen-msg.awk: New file.
25246         * catgets/xopen-msg.sed: Removed.
25248         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
25249         po2text.sed.
25250         * intl/po2test.awk: New file.
25251         * intl/po2test.sed: Removed.
25253 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
25255         [BZ #14328]
25256         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
25257         or multiply small sinh result by itself.
25258         * math/s_ctanf.c (__ctanf): Likewise.
25259         * math/s_ctanh.c (__ctanh): Likewise.
25260         * math/s_ctanhf.c (__ctanhf): Likewise.
25261         * math/s_ctanhl.c (__ctanhl): Likewise.
25262         * math/s_ctanl.c (__ctanl): Likewise.
25263         * math/libm-test.inc (ctan_test_tonearest): New function.
25264         (ctan_test_towardzero): Likewise.
25265         (ctan_test_downward): Likewise.
25266         (ctan_test_upward): Likewise.
25267         (ctanh_test_tonearest): Likewise.
25268         (ctanh_test_towardzero): Likewise.
25269         (ctanh_test_downward): Likewise.
25270         (ctanh_test_upward): Likewise.
25271         (main): Call these new functions.
25272         * sysdeps/i386/fpu/libm-test-ulps: Update.
25273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25275 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
25277         * .gitignore: Delete /ports entry.
25279 2012-07-03  Andreas Jaeger  <aj@suse.de>
25281         * po/bg.po: Update from translation team.
25282         * po/cs.po: Likewise.
25283         * po/de.po: Likewise.
25284         * po/hr.po: Likewise.
25285         * po/nl.pl: Likewise.
25286         * po/pl.po: Likewise.
25287         * po/vi.po: Likewise.
25289 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
25291         * Makeconfig [!+link] (+link-before-libc): New variable.
25292         [!+link] (+link-after-libc): Likewise.
25293         [!+link] (+link-tests): Likewise.
25294         [!+link] (+link): Define in terms of $(+link-before-libc) and
25295         $(+link-after-libc).
25296         [!+link-static] (+link-static-before-libc): New variable.
25297         [!+link-static] (+link-static-after-libc): Likewise.
25298         [!+link-static] (+link-static-tests): Likewise.
25299         [!+link-static] (+link-static): Define in terms of
25300         $(+link-static-before-libc) and $(+link-static-after-libc).
25301         [build-shared] (link-libc-before-gnulib): New variable.
25302         [build-shared] (link-libc-tests): Likewise.
25303         [build-shared] (link-libc): Define in terms of
25304         $(link-libc-before-gnulib).
25305         [!build-shared] (link-libc-tests): New variable.
25306         (link-libc-static-tests): New variable.
25307         [!gnulib] (gnulib-arch): New variable.
25308         [!gnulib] (gnulib-tests): Likewise.
25309         [!gnulib] (static-gnulib-arch): Likewise.
25310         [!gnulib] (static-gnulib-tests): Likewise.
25311         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
25312         Define with "=" instead of ":=".
25313         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
25314         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
25315         * Rules (binaries-all-notests): New variable.
25316         (binaries-all-tests): Likewise.
25317         (binaries-static-notests): Likewise.
25318         (binaries-static-tests): Likewise.
25319         (binaries-all): Define using $(binaries-all-notests) and
25320         $(binaries-all-tests).
25321         (binaries-static): Define using $(binaries-static-notests) and
25322         $(binaries-static-tests).
25323         (binaries-shared-tests): New variable.
25324         (binaries-shared-notests): Likewise.
25325         (binaries-shared): Remove variable.
25326         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
25327         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
25328         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
25329         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
25330         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
25331         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
25332         * elf/Makefile (sln-modules): New variable.
25333         (extra-objs): Add $(sln-modules:=.o).
25334         (ldconfig-modules): Add static-stubs.
25335         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
25336         * elf/static-stubs.c: New file.
25338         [BZ #14283]
25339         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
25340         by 7 not 8 to examine high bit of fractional part.  Use volatile
25341         variables when splitting into final array of floats if
25342         __FLT_EVAL_METHOD__ != 0.
25343         * math/libm-test.inc (cos_test): Add another test.
25344         (sin_test): Likewise.
25345         * sysdeps/i386/fpu/libm-test-ulps: Update.
25347         [BZ #14273]
25348         * math/libm-test.inc (cosh_test): Add more tests.
25350         * version.h (RELEASE): Set to "development".
25351         (VERSION): Set to "2.16.90".
25353 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
25355         * NEWS: Update copyright. Remove last-updated date.
25356         Mention math library bug fixes and timezone data changes.
25357         * README: Mention GNU/Hurd, x32, and HPPA support status.
25359 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
25361         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
25363 2012-06-27  Andreas Jaeger  <aj@suse.de>
25365         * manual/contrib.texi (Contributors): Add Samuel Thibault.
25367 2012-06-25  Andreas Jaeger  <aj@suse.de>
25369         * sysdeps/s390/fpu/libm-test-ulps: Update.
25371 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
25372             Thomas Schwinge  <thomas@codesourcery.com>
25374         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
25375         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
25376         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
25377         fanotify_mark.
25379 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
25381         * sysdeps/mach/start.c: Remove file.
25382         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
25383         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
25384         * sysdeps/sh/init-first.c: Likewise.
25386         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
25387         registers for frame unwinding purposes, add CFI directives.
25388         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25389         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
25390         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
25391         Likewise.
25393         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
25394         __fortify_fail returning.
25395         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
25397         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
25398         sysdeps/sh/____longjmp_chk.S.
25399         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
25400         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
25401         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
25402         (gen-as-const-headers): Append sigaltstack-offsets.sym.
25404         * sysdeps/sh/abort-instr.h: New file.
25405         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
25406         process in case exit returns.
25408         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
25409         initialize the GOT register before use.
25411         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
25412         calculation of ARGC > 4.
25414         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
25415         meaningful names to some local labels.
25417 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25418             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25420         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
25421         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
25422         (__arch_compare_and_exchange_val_16_acq): Likewise.
25423         (__arch_compare_and_exchange_val_32_acq): Likewise.
25424         (atomic_exchange_and_add): Fix gUSA sequence.
25425         (atomic_add): Likewise.
25426         (atomic_add_negative): Likewise.
25427         (atomic_add_zero): Likewise.
25428         (atomic_bit_test_set): Likewise.
25430 2012-06-22  Andreas Schwab  <schwab@redhat.com>
25432         [BZ #13579]
25433         * include/link.h (struct link_map): Add l_free_initfini.
25434         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
25435         l_initfini.
25436         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
25437         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
25438         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
25439         set.
25441 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
25443         * configure.in: Use AC_LANG_SOURCE.
25444         * configure: Regenerate.
25446 2012-06-22  Roland McGrath  <roland@hack.frob.com>
25448         * configure.in (libc_cv_localstatedir): New substituted variable.
25449         * configure: Regenerated.
25450         * config.make.in (localstatedir): New variable, substituted from
25451         libc_cv_localstatedir.
25452         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
25453         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
25454         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
25455         * sysdeps/gnu/configure: Regenerated.
25457 2012-06-21  Jeff Law  <law@redhat.com>
25459         [BZ #14277]
25460         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
25461         free.  Simplify list management for _LIBC case.
25463 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
25465         [BZ #14273]
25466         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25467         Clear sign bit of 64-bit integer value before comparing against
25468         overflow value.
25470         * sysdeps/mach/configure: Regenerated.
25472 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
25474         [BZ #14278]
25475         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
25477 2012-06-21  Jeff Law  <law@redhat.com>
25479         [BZ #13882]
25480         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
25481         uint16_t for elements in the "seen" array to avoid char overflows.
25482         * elf/dl-fini.c (_dl_sort_fini): Likewise.
25483         * elf/dl-open.c (dl_open_worker): Likewise.
25485 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
25487         * scripts/list-sources.sh: Scan PORTS for translations.
25488         * po/libc.pot: Regenerated.
25490 2012-06-21  Andreas Jaeger  <aj@suse.de>
25492         [BZ #12194]
25493         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
25494         warning.
25495         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
25496         * bits/byteswap-16.h (__bswap_16): Likewise.
25497         * bits/byteswap.h (__bswap_constant_16): Likewise.
25499 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
25501         [BZ #14117]
25502         * sysdeps/i386/fpu_control.h: Removed.
25503         * sysdeps/x86_64/fpu_control.h: Moved to ...
25504         * sysdeps/x86/fpu_control.h: Here.
25506         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
25507         (_FPU_SETCW): Likewise.
25509 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
25511         [BZ #14117]
25512         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
25513         * sysdeps/x86/fpu/bits/mathinline.h: This.
25514         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
25516         [BZ #14050]
25517         [BZ #14117]
25518         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
25519         functions if __x86_64__ is defined.
25521 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
25523         * string/endian.h: Add !__ASSEMBLER__ condition for including
25524         conversion interfaces.
25526 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
25528         [BZ #14241]
25529         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
25530         of ABS(x) in calculating zero to negative powers other than odd
25531         integers.
25532         * math/libm-test.inc (pow_test): Add more tests.
25534 2012-06-15  Andreas Jaeger  <aj@suse.de>
25536         * manual/contrib.texi (Contributors): Update entry of Liubov
25537         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
25538         Machado Filho.
25540 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
25542         * string/string.h: Add __wur to GNU version of strerror_r.
25544 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
25546         [BZ #14229]
25547         * string/Makefile (tests): Add tst-strtok_r.
25548         * string/tst-strtok_r.c: New file.
25549         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
25550         RAX_LP/RDX_LP on SAVE_PTR.
25552 2012-06-14  Roland McGrath  <roland@hack.frob.com>
25554         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
25556 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
25558         * libm_test.inc (csqrt_test): Allow more spurious underflow
25559         exceptions.
25560         (j0_test): Likewise.
25561         (j1_test): Likewise.
25562         (y0_test): Likewise.
25563         (y1_test): Likewise.
25565 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
25567         * po/Makefile (libc.pot): Use UTF-8 charset.
25569 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
25571         [BZ #14210]
25572         Suppress sign-conversion warning from FD_SET.
25573         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
25574         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
25575         not unsigned long int.
25576         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
25578 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
25580         [BZ #14050]
25581         [BZ #14117]
25582         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
25583         __extern_always_inline instead of __extern_inline.
25584         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
25585         (__signbit): Likewise.
25586         (__signbitl): Support C++ namespace.
25587         (lrintf): New inline function.
25588         (lrint): Likewise.
25589         (llrintf): Likewise.
25590         (llrint): Likewise.
25591         (fmaxf): Likewise.
25592         (fmax): Likewise.
25593         (fminf): Likewise.
25594         (fmin): Likewise.
25595         (rint): Likewise.
25596         (rintf): Likewise.
25597         (ceil): Likewise.
25598         (ceilf): Likewise.
25599         (floor): Likewise.
25600         (floorf): Likewise.
25601         (nearbyint): Likewise.
25602         (nearbyintf): Likewise.
25604 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
25606         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
25607         non-default versions.
25609 2012-06-11  Roland McGrath  <roland@hack.frob.com>
25611         [BZ #14218]
25612         * manual/argp.texi (Argp): Reword argp_parse description slightly.
25614 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
25616         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
25617         (FE_UPWARD, FE_DOWNWARD): Don't define.
25618         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
25619         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
25621         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
25622         reading it.
25623         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
25624         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
25626 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25628         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
25629         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
25630         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
25631         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
25633 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
25635         [BZ #14117]
25636         * sysdeps/i386/fpu/bits/fenv.h: Removed.
25637         * sysdeps/i386/fpu/Implies: New file.
25638         * sysdeps/x86_64/fpu/Implies: Likewise.
25639         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
25640         * sysdeps/x86/fpu/bits/fenv.h: This.
25642         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
25643         __SSE_MATH__.
25645 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
25647         [BZ #14134]
25648         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
25649         character 0xffff that matches the last element of the
25650         conversion table.
25652 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25654         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
25655         fmodl commit.
25657 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
25660         values higher than 25.6283.
25662 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25664         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
25665         subnormal exponent extraction and add some __builtin_expect.
25666         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
25667         Fix for subnormal mantissa calculation.
25669 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
25671         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
25672         cpu2 is -1 and errno is not ENOSYS.
25674 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
25676         [BZ #14117]
25677         * sysdeps/i386/i486/bits/string.h: Renamed to ...
25678         * sysdeps/x86/bits/string.h: This.
25679         * sysdeps/x86_64/bits/string.h: Removed.
25681         * sysdeps/i386/i486/bits/string.h: Define inline functions only
25682         if not compiling for x86-64, but compiling for >= i486.
25684         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
25685         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
25687         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
25688         New macro from Linux kernel 3.4.0.
25689         (FP_XSTATE_MAGIC2): Likewise.
25690         (FP_XSTATE_MAGIC2_SIZE): Likewise.
25691         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
25692         (struct _fpx_sw_bytes): New struct.
25693         (struct _xsave_hdr): Likewise.
25694         (struct _ymmh_state): Likewise.
25695         (struct _xstate): Likewise.
25697         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
25698         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
25699         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
25700         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
25701         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
25702         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
25704         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
25705         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
25706         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
25707         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
25708         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
25709         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
25711 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25713         [BZ #13743]
25714         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
25715         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
25716         (sysdep_headers): Include sys/platform/ppc.h.
25717         * sysdeps/powerpc/test-gettimebase.c: Test for
25718         __ppc_get_timebase() to catch future ISA opcode/insn changes.
25719         * manual/Makefile (appendices): Include platform.texi.
25720         * manual/contrib.texi (Contributors): Update @node pointers.
25721         * manual/maint.texi (Maintenance): Likewise.
25722         (Platform): New node.
25723         * manual/platform.texi: New file.  Document the new features.
25725 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25726             Jakub Jelinek  <jakub@redhat.com>
25728         [BZ #14188]
25729         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
25730         where __builtin_expect is unavailable.
25732 2012-06-03  David S. Miller  <davem@davemloft.net>
25734         * stdlib/longlong.h: Updated from GCC.
25736 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
25738         [BZ #14042]
25739         * sysdeps/powerpc/powerpc32/mcount.c: New file.
25740         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
25741         __mcount_internal.
25742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25743         (GLIBC_2.16): Likewise.
25745 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25747         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
25749 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
25752         (default-abi): New variable.
25753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
25754         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
25755         variable.
25756         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
25757         Likewise.
25758         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
25759         Likewise.
25760         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
25761         Likewise.
25763         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
25764         definition.  Document in comment.
25766 2012-06-01  David S. Miller  <davem@davemloft.net>
25768         * stdlib/longlong.h: Updated from GCC.
25770 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25772         [BZ #14117]
25773         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
25774         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
25775         sys/debugreg.h sys/io.h here.
25776         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
25777         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
25778         sys/io.h.
25779         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
25780         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
25781         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
25782         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
25783         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
25784         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
25786         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
25787         Define only if __x86_64__ is defined.
25789 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
25791         [BZ #14048]
25792         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
25793         Use int64_t for variable i.
25794         * math/libm-test.inc (fmod_test): Add more tests.
25796         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
25797         z computation is not scheduled after fetestexcept.
25798         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
25799         Use math_force_eval instead of asm to ensure calculation scheduled
25800         before exception test.
25801         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
25802         Ensure a1 + u.d computation is not scheduled after fetestexcept.
25804 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
25806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
25807         computation is not scheduled after fetestexcept.
25809 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
25811         [BZ #14117]
25812         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
25813         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
25815 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25817         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
25818         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25820 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25822         [BZ #14117]
25823         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
25824         <bits/wordsize.h>.
25825         (__WCHAR_MIN): Support __WORDSIZE == 64.
25826         (__WCHAR_MAX): Likewise.
25828         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
25829         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
25831         [BZ #14183]
25832         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
25833         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
25835         [BZ #14117]
25836         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
25837         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
25839         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
25840         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
25842         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
25843         Defined to 1 if __x86_64__ isn't defined.
25844         (_STAT_VER_LINUX_OLD): New.
25845         (st_atime): Remove duplicate.
25846         (st_mtime): Likewise.
25847         (st_ctime): Likewise.
25849 2012-05-31  David S. Miller  <davem@davemloft.net>
25851         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
25852         entries.
25854 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
25856         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
25857         gen-libm-test.pl.
25859         [BZ #14132]
25860         * elf/dl-reloc.c: Include <_itoa.h>.
25861         (_dl_reloc_bad_type): Remove use of INTUSE.
25862         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
25863         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
25864         * stdio-common/psiginfo.c (psiginfo): Likewise.
25865         * stdio-common/psignal.c (psignal): Likewise.
25866         * string/strsignal.c (strsignal): Likewise.
25867         * include/signal.h (_sys_siglist): Declare hidden proto.
25868         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
25869         INTVARDEF with libc_hidden_data_def.
25870         * stdio-common/itoa-udigits.c: Likewise.
25871         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
25872         (_itoa_lower_digits_internal): Remove declaration.
25873         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
25874         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
25875         (_sys_sigabbrev_internal): Remove aliases.
25876         (_sys_siglist): Define hidden alias.
25878 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
25880         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25881         bits/sysctl.h.
25883 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
25885         [BZ #14117]
25886         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
25887         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
25889         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
25890         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
25891         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
25892         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
25893         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
25894         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
25896         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
25897         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
25898         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
25900         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
25901         with __addr.
25902         (insw): Likewise.
25903         (insl): Likewise.
25904         (outsb): Likewise.
25905         (outsw): Likewise.
25906         (outsl): Likewise.
25908         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
25909         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
25910         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
25912         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
25913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
25914         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
25915         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
25916         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
25917         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
25919         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
25920         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
25922         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
25923         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
25925         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
25926         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
25927         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
25929         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
25930         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
25931         to ...
25932         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
25934         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
25935         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
25936         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
25938         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
25939         for x86-64.
25940         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
25942 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
25944         * math/math.h (M_El): Use two more decimal places.
25945         (M_LOG2El): Likewise.
25946         (M_LOG10El): Likewise.
25947         (M_LN2l): Likewise.
25948         (M_LN10l): Likewise.
25949         (M_PIl): Likewise.
25950         (M_PI_2l): Likewise.
25951         (M_PI_4l): Likewise.
25952         (M_1_PIl): Likewise.
25953         (M_2_PIl): Likewise.
25954         (M_2_SQRTPIl): Likewise.
25955         (M_SQRT2l): Likewise.
25956         (M_SQRT1_2l): Likewise.
25958 2012-05-31  David S. Miller  <davem@davemloft.net>
25960         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
25961         values between float registers.
25962         * sysdeps/sparc/sparc64/memset.S: Likewise.
25963         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25965 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
25967         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
25968         -D_FORTIFY_SOURCE=1.
25969         (CPPFLAGS-tst-longjmp_chk.c): Define.
25970         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
25971         (CPPFLAGS-tst-longjmp_chk2.c): Define.
25972         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
25973         CFLAGS-tst-wchar-h.c.
25975 2012-05-31  Marek Polacek  <polacek@redhat.com>
25977         [BZ #14132]
25978         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
25979         __endmntent_internal): Remove declaration.
25980         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
25981         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
25982         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
25984 2012-05-30  David S. Miller  <davem@davemloft.net>
25986         * sysdeps/sparc/sparc32/soft-fp/q_util.c
25987         (___Q_simulate_exceptions): Use real FP ops rather than writing
25988         into the %fsr.
25989         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
25990         Likewise.
25992 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
25994         [BZ #14117]
25995         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
25996         * sysdeps/x86/bits/xtitypes.h: This.
25998         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
25999         * sysdeps/x86/bits/wordsize.h: This.
26001         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
26002         * sysdeps/x86/bits/huge_vall.h: This.
26004         * sysdeps/i386/bits/select.h: Removed.
26005         * sysdeps/x86_64/bits/select.h: Renamed to ...
26006         * sysdeps/x86/bits/select.h: This.
26008         * sysdeps/i386/bits/setjmp.h: Removed.
26009         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
26010         * sysdeps/x86/bits/setjmp.h: This.
26012         * sysdeps/i386/bits/mathdef.h: Removed.
26013         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
26014         * sysdeps/x86/bits/mathdef.h: This.
26016 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
26018         [BZ #14132]
26019         * include/sys/socket.h (__connect_internal)
26020         (__libc_sa_len_internal): Remove declaration.
26021         (__connect, __libc_sa_len): Declare hidden_proto.
26022         (SA_LEN): Remove use of INTUSE.
26023         * socket/connect.c: Add libc_hidden_def.
26024         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
26025         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
26026         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
26027         alias.
26028         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
26029         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
26030         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
26031         of adding _internal alias.
26033 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26035         [BZ #14117]
26036         * sysdeps/i386/bits/link.h: Removed.
26037         * sysdeps/i386/bits/linkmap.h: Likewise.
26038         * sysdeps/x86_64/bits/link.h: Renamed to ...
26039         * sysdeps/x86/bits/link.h: This.
26040         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
26041         * sysdeps/x86/bits/linkmap.h: This.
26043         * sysdeps/i386/bits/endian.h: Removed.
26044         * sysdeps/x86_64/bits/endian.h: Renamed to ...
26045         * sysdeps/x86/bits/endian.h: This.
26047         * sysdeps/i386/bits/byteswap.h: Removed.
26048         * sysdeps/i386/bits/byteswap-16.h: Likewise.
26049         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
26050         * sysdeps/x86/bits/byteswap.h: This.
26051         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
26052         * sysdeps/x86/bits/byteswap-16.h: This.
26053         * sysdeps/i386/Implies: Add x86.
26054         * sysdeps/x86_64/Implies: Likewise.
26056 2012-05-30  David S. Miller  <davem@davemloft.net>
26058         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
26059         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
26060         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
26061         (FP_TRAPPING_EXCEPTIONS): Define.
26062         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
26063         (FP_TRAPPING_EXCEPTIONS): Define.
26064         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
26065         subnormals only when inexact has been signalled or underflow
26066         exceptions are enabled.
26067         (_FP_PACK_CANONICAL): Likewise.
26069 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26071         [BZ #14183]
26072         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
26073         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
26075 2012-05-30  Richard Henderson  <rth@twiddle.net>
26077         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
26078         with #ifndef NOT_IN_libc.
26080         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
26081         marked to avoid plt entry.
26083 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
26085         [BZ #14112]
26086         * Makeconfig (default-abi): New macro.
26087         (abi-includes): Likewise.
26088         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
26089         $(abi-$(default-abi)-lib-soname) for soname if defined.
26090         ($(common-objpfx)gnu/lib-names.stmp): Generate from
26091         abi-variants.
26092         * Makefile (installed-stubs): Likewise.
26093         * include/stubs-biarch.h: Removed.
26094         * scripts/lib-names.awk: Only handle one library at a time.
26095         * scripts/soversions.awk: Remove WORDSIZE support.
26096         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
26097         entries.
26098         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
26099         Removed.
26100         (syscall-list-default-condition): Likewise.
26101         (syscall-list-default-condition): Likewise.
26102         (syscall-list-includes): Likewise.
26103         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
26104         syscall-list-* with abi-*.  Handle undefined abi-variants.
26105         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
26106         * sysdeps/unix/sysv/linux/i386/Implies: New file.
26107         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
26108         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
26109         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
26110         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
26111         Removed.
26112         (syscall-list-32-options): Likewise.
26113         (syscall-list-32-condition): Likewise.
26114         (syscall-list-64-options): Likewise.
26115         (syscall-list-64-condition): Likewise.
26116         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
26117         macro.
26118         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
26119         Renamed to ...
26120         (abi-*): This.
26121         (abi-64-ld-soname): New macro.
26122         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
26123         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
26124         Renamed to ...
26125         (abi-*): This.
26126         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
26127         * sysdeps/x86_64/x32/shlib-versions: Likewise.
26129 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
26131         * sysdeps/unix/sysv/linux/kernel-features.h
26132         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
26133         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
26134         include <kernel-features.h>.
26135         [!__NR_ftruncate64]: Remove conditional code.
26136         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26137         [__NR_ftruncate64]: Make code unconditional.
26138         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26139         * sysdeps/unix/sysv/linux/truncate64.c: Do not
26140         include <kernel-features.h>.
26141         [!__NR_ftruncate64]: Remove conditional code.
26142         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26143         [__NR_ftruncate64]: Make code unconditional.
26144         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
26146         include <kernel-features.h>.
26147         [!__NR_ftruncate64]: Remove conditional code.
26148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26149         [__NR_ftruncate64]: Make code unconditional.
26150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
26152         include <kernel-features.h>.
26153         [!__NR_ftruncate64]: Remove conditional code.
26154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26155         [__NR_ftruncate64]: Make code unconditional.
26156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
26158         * configure.in (libc_cv_fpie): Weaken to a compile test using
26159         LIBC_TRY_CC_OPTION.
26160         * configure: Regenerated.
26162 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
26165         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
26166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
26167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26168         Refreshed.
26169         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
26170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
26171         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
26172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
26173         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
26174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26175         Refreshed.
26177 2012-05-27  David S. Miller  <davem@davemloft.net>
26179         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
26180         (___Q_zero): New.
26181         (__Q_simulate_exceptions): Return void.  Change to simulate
26182         exceptions by writing into the %fsr.
26183         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
26184         (__Qp_handle_exceptions): Likewise.
26185         (numbers): Delete.
26186         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
26187         __Qp_handle_exceptions.
26188         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
26189         __Qp_handle_exceptions.
26190         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26191         as unused and give dummy FP_RND_NEAREST initializer.
26192         (FP_INHIBIT_RESULTS): Define.
26193         (___Q_simulate_exceptions): Update declaration.
26194         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
26195         formatting.
26196         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
26197         as unused and give dummy FP_RND_NEAREST initializer.
26198         (__Qp_handle_exceptions): Update declaration.
26199         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
26200         formatting.
26202 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
26204         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
26205         the temporary FPU control word.
26206         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
26207         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
26208         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26209         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26210         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26211         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26212         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26213         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26214         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26215         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
26216         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26218 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
26220         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
26221         fields.
26223 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
26225         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
26226         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
26227         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
26228         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
26229         Likewise.
26230         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
26231         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
26232         Likewise.
26234 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
26236         * po/h.po: Update from translation team.
26238 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
26240         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
26242         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
26243         handling of denormals.
26244         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
26245         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
26246         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
26247         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
26248         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
26249         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
26250         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
26251         Likewise.
26253 2012-05-26  Marek Polacek  <polacek@redhat.com>
26255         [BZ #14152]
26256         * math/libm-test.inc (fma_test): Don't always expect underflow
26257         exception.
26259 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
26261         [BZ #12416]
26262         * elf/tst-execstack.c: Include stackinfo.h.
26263         (do_test): Adjust test case to ensure that pthread_getattr_np
26264         behaviour remains the same after marking stack executable.
26266 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26268         * sysdeps/unix/sysv/linux/kernel-features.h
26269         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
26270         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
26271         kernel-features.h.
26272         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26273         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26274         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
26275         kernel-features.h.
26276         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
26277         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
26279 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
26281         * configure.in: Define the default includes to being none.
26282         * configure: Regenerated.
26284 2012-05-25  Roland McGrath  <roland@hack.frob.com>
26286         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
26287         * sysdeps/x86_64/setjmp.S: Likewise.
26288         * sysdeps/i386/bsd-setjmp.S: Likewise.
26289         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26290         * sysdeps/i386/setjmp.S: Likewise.
26291         * sysdeps/i386/__longjmp.S: Likewise.
26292         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
26293         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
26295         * include/stap-probe.h: New file.
26296         * configure.in: Handle --enable-systemtap.
26297         * configure: Regenerated.
26298         * config.h.in (USE_STAP_PROBE): New #undef.
26299         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
26300         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
26301         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26303 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
26305         [BZ #13717]
26306         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
26307         to 2.4.0 where earlier.
26308         * sysdeps/unix/sysv/linux/configure: Regenerated.
26309         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
26310         <kernel-features.h>.
26311         [__ASSUME_32BITUIDS]: Make code unconditional.
26312         [!__ASSUME_32BITUIDS]: Remove conditional code.
26313         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
26314         <kernel-features.h>.
26315         [__ASSUME_32BITUIDS]: Make code unconditional.
26316         [!__ASSUME_32BITUIDS]: Remove conditional code.
26317         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
26318         [__ASSUME_32BITUIDS]: Make code unconditional.
26319         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
26320         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
26321         <kernel-features.h>.
26322         [__ASSUME_32BITUIDS]: Make code unconditional.
26323         [!__ASSUME_32BITUIDS]: Remove conditional code.
26324         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
26325         <kernel-features.h>.
26326         [__ASSUME_32BITUIDS]: Make code unconditional.
26327         [!__ASSUME_32BITUIDS]: Remove conditional code.
26328         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
26329         <kernel-features.h>.
26330         [__ASSUME_32BITUIDS]: Make code unconditional.
26331         [!__ASSUME_32BITUIDS]: Remove conditional code.
26332         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
26333         <kernel-features.h>.
26334         [__ASSUME_32BITUIDS]: Make code unconditional.
26335         [!__ASSUME_32BITUIDS]: Remove conditional code.
26336         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
26337         <kernel-features.h>.
26338         [__ASSUME_32BITUIDS]: Make code unconditional.
26339         [!__ASSUME_32BITUIDS]: Remove conditional code.
26340         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
26341         <kernel-features.h>.
26342         [__ASSUME_32BITUIDS]: Make code unconditional.
26343         [!__ASSUME_32BITUIDS]: Remove conditional code.
26344         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
26345         <kernel-features.h>.
26346         [__ASSUME_32BITUIDS]: Make code unconditional.
26347         [!__ASSUME_32BITUIDS]: Remove conditional code.
26348         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
26349         <kernel-features.h>.
26350         [__ASSUME_32BITUIDS]: Make code unconditional.
26351         [!__ASSUME_32BITUIDS]: Remove conditional code.
26352         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
26353         <kernel-features.h>.
26354         [__ASSUME_32BITUIDS]: Make code unconditional.
26355         [!__ASSUME_32BITUIDS]: Remove conditional code.
26356         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
26357         <kernel-features.h>.
26358         [__ASSUME_32BITUIDS]: Make code unconditional.
26359         [!__ASSUME_32BITUIDS]: Remove conditional code.
26360         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
26361         <kernel-features.h>.
26362         [__NR_setresgid] (__setresgid): Do not declare.
26363         [__ASSUME_32BITUIDS]: Make code unconditional.
26364         [!__ASSUME_32BITUIDS]: Remove conditional code.
26365         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
26366         <kernel-features.h>.
26367         [__NR_setresuid] (__setresuid): Do not declare.
26368         [__ASSUME_32BITUIDS]: Make code unconditional.
26369         [!__ASSUME_32BITUIDS]: Remove conditional code.
26370         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
26371         <kernel-features.h>.
26372         [__ASSUME_32BITUIDS]: Make code unconditional.
26373         [!__ASSUME_32BITUIDS]: Remove conditional code.
26374         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
26375         <kernel-features.h>.
26376         [__ASSUME_32BITUIDS]: Make code unconditional.
26377         [!__ASSUME_32BITUIDS]: Remove conditional code.
26378         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
26379         <kernel-features.h>.
26380         [__ASSUME_32BITUIDS]: Make code unconditional.
26381         [!__ASSUME_32BITUIDS]: Remove conditional code.
26382         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
26383         <kernel-features.h>.
26384         [__ASSUME_32BITUIDS]: Make code unconditional.
26385         [!__ASSUME_32BITUIDS]: Remove conditional code.
26386         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
26387         <kernel-features.h>.
26388         [__ASSUME_32BITUIDS]: Make code unconditional.
26389         [!__ASSUME_32BITUIDS]: Remove conditional code.
26390         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
26391         <kernel-features.h>.
26392         [__ASSUME_32BITUIDS]: Make code unconditional.
26393         [!__ASSUME_32BITUIDS]: Remove conditional code.
26394         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
26395         <kernel-features.h>.
26396         [__ASSUME_32BITUIDS]: Make code unconditional.
26397         [!__ASSUME_32BITUIDS]: Remove conditional code.
26398         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
26399         <kernel-features.h>.
26400         [__ASSUME_32BITUIDS]: Make code unconditional.
26401         [!__ASSUME_32BITUIDS]: Remove conditional code.
26402         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
26403         <kernel-features.h>.
26404         [__ASSUME_32BITUIDS]: Make code unconditional.
26405         [!__ASSUME_32BITUIDS]: Remove conditional code.
26406         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
26407         <kernel-features.h>.
26408         [__ASSUME_32BITUIDS]: Make code unconditional.
26409         [!__ASSUME_32BITUIDS]: Remove conditional code.
26410         * sysdeps/unix/sysv/linux/kernel-features.h
26411         (__ASSUME_SETRESUID_SYSCALL): Remove.
26412         (__ASSUME_SETRESGID_SYSCALL): Likewise.
26413         (__ASSUME_32BITUIDS): Likewise.
26414         (__ASSUME_LDT_WORKS): Likewise.
26415         (__ASSUME_O_DIRECTORY): Likewise.
26416         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
26417         architecture but not kernel version.
26418         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
26419         (__ASSUME_MMAP2_SYSCALL): Likewise.
26420         (__ASSUME_STAT64_SYSCALL): Likewise.
26421         (__ASSUME_IPC64): Likewise.
26422         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
26423         <kernel-features.h>.
26424         [__ASSUME_32BITUIDS]: Make code unconditional.
26425         [!__ASSUME_32BITUIDS]: Remove conditional code.
26426         * sysdeps/unix/sysv/linux/opendir.c: Do not include
26427         <kernel-features.h>.
26428         [__ASSUME_O_DIRECTORY]: Make code unconditional.
26429         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
26430         132096]: Remove conditional code.
26431         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
26432         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
26433         <kernel-features.h>.
26434         [__ASSUME_32BITUIDS]: Make code unconditional.
26435         [!__ASSUME_32BITUIDS]: Remove conditional code.
26436         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
26437         <kernel-features.h>.
26438         [__ASSUME_32BITUIDS]: Make code unconditional.
26439         [!__ASSUME_32BITUIDS]: Remove conditional code.
26440         * sysdeps/unix/sysv/linux/setegid.c: Do not include
26441         <kernel-features.h>.
26442         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
26443         unconditional.
26444         (__setresgid): Do not declare.
26445         [__ASSUME_32BITUIDS]: Make code unconditional.
26446         [!__ASSUME_32BITUIDS]: Remove conditional code.
26447         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
26448         <kernel-features.h>.
26449         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
26450         unconditional.
26451         (__setresuid): Do not declare.
26452         [__ASSUME_32BITUIDS]: Make code unconditional.
26453         [!__ASSUME_32BITUIDS]: Remove conditional code.
26454         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
26455         <kernel-features.h>.
26456         [__ASSUME_32BITUIDS]: Make code unconditional.
26457         [!__ASSUME_32BITUIDS]: Remove conditional code.
26458         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
26459         <kernel-features.h>.
26460         [__ASSUME_32BITUIDS]: Make code unconditional.
26461         [!__ASSUME_32BITUIDS]: Remove conditional code.
26463 2012-05-25  Richard Henderson  <rth@twiddle.net>
26465         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
26466         dl_hwcap to ifunc resolver.
26467         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
26468         elf_ifunc_invoke.
26469         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
26470         dl_hwcap to ifunc resolver.
26471         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
26473 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26475         [BZ #14153]
26476         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
26477         for |x| <= 2**-26, not 2**-57.
26478         * math/libm-test.inc (acos_test): Do not allow spurious underflow
26479         exception.
26481 2012-05-24  Jeff Law  <law@redhat.com>
26483         * stdio-common/Makefile (tests): Add bug25.
26484         * stdio-common/bug25.c: New test.
26486 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26488         [BZ #13576]
26489         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
26490         multiple of MALLOC_ALIGNMENT in size.
26491         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
26493 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26495         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
26496         Require >= 256.
26497         (FILENAME_MAX): Use macro-int-constant.
26498         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
26499         (_IOFBF): Use macro-int-constant.
26500         (_IOLBF): Likewise.
26501         (_IONBF): Likewise.
26502         (SEEK_CUR): Likewise.
26503         (SEEK_END): Likewise.
26504         (SEEK_SET): Likewise.
26505         (TMP_MAX): Likewise.
26506         (EOF): Use macro-int-constant.  Require < 0.
26507         (NULL): Use macro-constant.  Require == 0.
26508         (stdin): Require type to be FILE *.
26509         (stdout): Likewise.
26510         (stderr): Likewise.
26511         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
26512         macro-int-constant.
26513         (EXIT_SUCCESS): Likewise.
26514         (NULL): Use macro-constant.  Require == 0.
26515         (RAND_MAX): Use macro-int-constant.
26516         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
26517         [C99-based standards] (strtof): Require function.
26518         [C99-based standards] (strtold): Likewise.
26519         [C99-based standards] (strtoll): Likewise.
26520         [C99-based standards] (strtoull): Likewise.
26521         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26522         [ISO || ISO99 || ISO11] (limits.h): Likewise.
26523         [ISO || ISO99 || ISO11] (math.h): Likewise.
26524         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
26525         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26526         [ISO || ISO99 || ISO11] (*_t): Do not allow.
26528 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
26530         [BZ #14132]
26531         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
26532         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
26533         * intl/dgettext.c (DCGETTEXT): Likewise.
26534         * intl/gettext.c (DCGETTEXT): Likewise.
26535         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
26536         * posix/regex_internal.h (gettext): Likewise.
26537         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
26538         Remove declaration.
26539         * include/argz.h (__argz_count_internal)
26540         (__argz_stringify_internal): Remove declaration.
26541         (__argz_count, __argz_stringify): Declare hidden proto.
26542         * intl/dcgettext.c: Remove use of INTDEF.
26543         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
26544         * string/argz-stringify.c: Likewise.
26545         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26546         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26547         Declare hidden proto.
26548         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
26549         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
26550         Declare hidden proto.
26551         * include/stdio.h (__asprintf_internal): Don't declare.
26552         (__asprintf): Don't define as macro.  Declare hidden proto.
26553         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
26554         (__fsetlocking): Declare hidden proto.
26555         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
26556         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
26557         hidden proto.
26558         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
26559         (_IO_setlinebuf): Remove use of INTUSE.
26560         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
26561         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
26562         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
26563         Remove declaration.
26564         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
26565         (_IO_do_flush): Remove use of INTUSE.
26566         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
26567         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
26568         (_IO_adjust_column, _IO_least_wmarker)
26569         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
26570         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
26571         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
26572         (_IO_default_doallocate, _IO_wdefault_doallocate)
26573         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
26574         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
26575         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
26576         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
26577         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
26578         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
26579         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
26580         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
26581         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
26582         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
26583         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
26584         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
26585         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
26586         proto.
26587         (_IO_flush_all_internal, _IO_adjust_column_internal)
26588         (_IO_default_uflow_internal, _IO_default_finish_internal)
26589         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
26590         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
26591         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
26592         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
26593         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
26594         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
26595         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
26596         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
26597         (_IO_file_close_internal, _IO_file_close_it_internal)
26598         (_IO_file_underflow_internal, _IO_file_overflow_internal)
26599         (_IO_file_init_internal, _IO_file_attach_internal)
26600         (_IO_file_fopen_internal, _IO_file_read_internal)
26601         (_IO_file_sync_internal, _IO_file_seek_internal)
26602         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
26603         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
26604         (_IO_str_underflow_internal, _IO_str_overflow_internal)
26605         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
26606         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
26607         (_IO_list_all_internal, _IO_link_in_internal)
26608         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
26609         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
26610         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
26611         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
26612         (_IO_do_write_internal, _IO_padn_internal)
26613         (_IO_getline_info_internal, _IO_getline_internal)
26614         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
26615         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
26616         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
26617         (_IO_vfscanf_internal, _IO_vfprintf_internal)
26618         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
26619         (_IO_init_internal, _IO_un_link_internal): Don't declare.
26620         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
26621         with libc_hidden_ver, remove use of INTUSE.
26622         * libio/genops.c: Likewise.
26623         * libio/freopen.c: Likewise.
26624         * libio/freopen64.c: Likewise.
26625         * libio/iofclose.c: Likewise.
26626         * libio/iofdopen.c: Likewise.
26627         * libio/iofflush.c: Likewise.
26628         * libio/iofflush_u.c: Likewise.
26629         * libio/iofgets.c: Likewise.
26630         * libio/iofgets_u.c: Likewise.
26631         * libio/iofopen.c: Likewise.
26632         * libio/iofopncook.c: Likewise.
26633         * libio/iofread.c: Likewise.
26634         * libio/iofread_u.c: Likewise.
26635         * libio/ioftell.c: Likewise.
26636         * libio/iofwrite.c: Likewise.
26637         * libio/iogetline.c: Likewise.
26638         * libio/iogets.c: Likewise.
26639         * libio/iogetwline.c: Likewise.
26640         * libio/iopadn.c: Likewise.
26641         * libio/iopopen.c: Likewise.
26642         * libio/ioseekoff.c: Likewise.
26643         * libio/ioseekpos.c: Likewise.
26644         * libio/iosetbuffer.c: Likewise.
26645         * libio/iosetvbuf.c: Likewise.
26646         * libio/ioungetc.c: Likewise.
26647         * libio/ioungetwc.c: Likewise.
26648         * libio/iovdprintf.c: Likewise.
26649         * libio/iovsprintf.c: Likewise.
26650         * libio/iovsscanf.c: Likewise.
26651         * libio/memstream.c: Likewise.
26652         * libio/obprintf.c: Likewise.
26653         * libio/oldfileops.c: Likewise.
26654         * libio/oldiofclose.c: Likewise.
26655         * libio/oldiofdopen.c: Likewise.
26656         * libio/oldiofopen.c: Likewise.
26657         * libio/oldiopopen.c: Likewise.
26658         * libio/oldstdfiles.c: Likewise.
26659         * libio/putc.c: Likewise.
26660         * libio/setbuf.c: Likewise.
26661         * libio/setlinebuf.c: Likewise.
26662         * libio/stdfiles.c: Likewise.
26663         * libio/strops.c: Likewise.
26664         * libio/vasprintf.c: Likewise.
26665         * libio/vscanf.c: Likewise.
26666         * libio/vsnprintf.c: Likewise.
26667         * libio/vswprintf.c: Likewise.
26668         * libio/wfiledoalloc.c: Likewise.
26669         * libio/wfileops.c: Likewise.
26670         * libio/wgenops.c: Likewise.
26671         * libio/wmemstream.c: Likewise.
26672         * libio/wstrops.c: Likewise.
26673         * libio/__fpurge.c: Likewise.
26674         * libio/__fsetlocking.c: Likewise.
26675         * assert/assert.c: Likewise.
26676         * debug/fgets_chk.c: Likewise.
26677         * debug/fgets_u_chk.c: Likewise.
26678         * debug/fread_chk.c: Likewise.
26679         * debug/fread_u_chk.c: Likewise.
26680         * debug/gets_chk.c: Likewise.
26681         * debug/obprintf_chk.c: Likewise.
26682         * debug/vasprintf_chk.c: Likewise.
26683         * debug/vdprintf_chk.c: Likewise.
26684         * debug/vsnprintf_chk.c: Likewise.
26685         * debug/vsprintf_chk.c: Likewise.
26686         * malloc/mtrace.c: Likewise.
26687         * misc/error.c: Likewise.
26688         * misc/syslog.c: Likewise.
26689         * stdio-common/asprintf.c: Likewise.
26690         * stdio-common/fxprintf.c: Likewise.
26691         * stdio-common/getw.c: Likewise.
26692         * stdio-common/isoc99_fscanf.c: Likewise.
26693         * stdio-common/isoc99_scanf.c: Likewise.
26694         * stdio-common/isoc99_vfscanf.c: Likewise.
26695         * stdio-common/isoc99_vscanf.c: Likewise.
26696         * stdio-common/isoc99_vsscanf.c: Likewise.
26697         * stdio-common/printf-prs.c: Likewise.
26698         * stdio-common/printf_fp.c: Likewise.
26699         * stdio-common/printf_fphex.c: Likewise.
26700         * stdio-common/printf_size.c: Likewise.
26701         * stdio-common/putw.c: Likewise.
26702         * stdio-common/scanf.c: Likewise.
26703         * stdio-common/sprintf.c: Likewise.
26704         * stdio-common/tmpfile.c: Likewise.
26705         * stdio-common/vfprintf.c: Likewise.
26706         * stdio-common/vfscanf.c: Likewise.
26707         * stdlib/strfmon_l.c: Likewise.
26708         * sunrpc/openchild.c: Likewise.
26709         * sunrpc/xdr_stdio.c: Likewise.
26710         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
26711         * sysdeps/mach/hurd/tmpfile.c: Likewise.
26713 2012-05-24  Roland McGrath  <roland@hack.frob.com>
26715         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
26717         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
26718         in the third column, to generate for the shared library an IFUNC
26719         that uses _dl_vdso_vsym.
26720         * Makerules (COMPILE.c, compile-stdin.c): New variables.
26721         * Makeconfig (object-suffixes-noshared): New variable.
26723         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
26724         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
26725         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
26726         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
26728         [BZ #14132]
26729         * include/sys/time.h (__gettimeofday): Remove macro.
26730         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
26731         * time/gettimeofday.c (__gettimeofday): Remove #undef.
26732         Remove INTDEF.
26733         (__gettimeofday): Add libc_hidden_def.
26734         (gettimeofday): Add libc_hidden_weak.
26735         * sysdeps/mach/gettimeofday.c: Likewise.
26736         * sysdeps/posix/gettimeofday.c: Likewise.
26737         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
26738         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26739         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
26740         (__gettimeofday_internal): Remove strong_alias.
26741         (__gettimeofday): Add libc_hidden_def.
26742         (gettimeofday): Add libc_hidden_weak.
26743         * sysdeps/unix/syscalls.list (gettimeofday):
26744         Remove __gettimeofday_internal alias.
26746 2012-05-24  Daniel Jacobowitz  <drow@false.org>
26747             H.J. Lu  <hongjiu.lu@intel.com>
26749         [BZ #12495]
26750         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
26751         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
26752         (largebin_index_32_big): New.
26753         (largebin_index): Use it for 16-byte alignment.
26754         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
26755         correction with front_misalign.
26757 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
26759         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
26760         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
26761         Likewise.
26762         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
26763         Likewise.
26764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
26765         Likewise.
26766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
26767         Likewise.
26768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
26769         Likewise.
26770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
26771         Likewise.
26772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
26773         Likewise.
26774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26775         Likewise.
26776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
26777         Likewise.
26778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
26779         Likewise.
26780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
26781         Likewise.
26782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
26783         Likewise.
26785         * scripts/data/c++-types-x32-linux-gnu.data: New file.
26786         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
26788 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
26790         [BZ #10846]
26791         [BZ #14036]
26792         * math/libm-test.inc (exp_test): Add test from bug 14036.
26793         (pow_test): Add test from bug 10846.
26795         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
26796         and other flags.
26797         (special_function): Do not include flags in test name.
26798         (parse_args): Likewise.
26799         * sysdeps/i386/fpu/libm-test-ulps: Update.
26800         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26801         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26802         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26805         * math/gen-libm-test.pl (%beautify): Add entries for underflow
26806         exceptions.
26807         * math/libm-test.inc ("Philosophy"): Update comment about
26808         exception testing.
26809         (UNDERFLOW_EXCEPTION): New macro.
26810         (UNDERFLOW_EXCEPTION_OK): Likewise.
26811         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
26812         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
26813         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
26814         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
26815         (INVALID_EXCEPTION_OK): Update value.
26816         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26817         (OVERFLOW_EXCEPTION_OK): Likewise.
26818         (IGNORE_ZERO_INF_SIGN): Likewise.
26819         (test_exceptions): Handle underflow exceptions.
26820         (acos_test): Update for underflow exception expectations.
26821         (cexp_test): Likewise.
26822         (clog_test): Likewise.
26823         (clog10_test): Likewise.
26824         (csqrt_test): Likewise.
26825         (ctan_test): Likewise.
26826         (ctanh_test): Likewise.
26827         (exp_test): Likewise.
26828         (exp10_test): Likewise.
26829         (exp2_test): Likewise.
26830         (expm1_test): Likewise.
26831         (fma_test): Likewise.
26832         (j0_test): Likewise.
26833         (jn_test): Likewise.
26834         (nexttoward_test): Likewise.
26835         (pow_test): Likewise.
26836         (scalbn_test): Likewise.
26837         (scalbln_test): Likewise.
26838         (tan_test): Likewise.
26839         (y1_test): Likewise.
26840         * sysdeps/i386/fpu/libm-test-ulps: Update.
26841         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26843 2012-05-23  David S. Miller  <davem@davemloft.net>
26845         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
26846         (__libc_sigaction): Remove unused local variables.
26848 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26850         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
26852 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
26854         mktime: avoid signed integer overflow
26855         * time/mktime.c (__mktime_internal): Do not mishandle the case
26856         where diff == INT_MIN.
26858         mktime: simplify computation of average
26859         * time/mktime.c (ranged_convert): Use new time_t_avg function
26860         instead of rolling our own (probably-slower) code.
26862         mktime: do not assume signed right shift propagates sign bit
26863         * time/mktime.c (isdst_differ): New static function.
26864         (__mktime_internal): No need to normalize tm_isdst now.
26865         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
26866         tm_isdst values.
26868         mktime: merge another wrapv change from gnulib
26869         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
26870         from some compilers.
26872         mktime: remove incorrect attempt at unusual arithmetics
26873         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
26874         The code didn't really work on such machines anyway.
26875         (TYPE_MINIMUM): Assume two's complement.
26876         (twos_complement_arithmetic): Verify that long_int and time_t
26877         are two's complement (or unsigned, in the latter case).
26879         mktime: check signed shifts on long_int and time_t, too
26880         * time/mktime.c (SHR): Check that shifts work as desired
26881         on the types long_int and time_t too, as SHR is used on
26882         such types.
26884         mktime: do not assume 'long' is wide enough
26885         * time/mktime.c (verify): Move decl up.
26886         (long_int): New type.
26887         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
26888         to remove assumption in the code that 'long' is wide enough to
26889         store year values.  This assumption is not true on x32 and on
26890         some non-glibc platforms.
26892         mktime: merge wrapv change from gnulib
26893         * time/mktime.c (WRAPV): New macro.
26894         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
26895         (guess_time_tm, __mktime_internal): Do not assume that signed
26896         integer overflow wraps around; modern compilers generate code
26897         where this assumption is no longer valid.
26899 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26901         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
26902         Replace "jmp L(pseudo_end)" with "ret".
26903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
26904         Likewise.
26906 2012-05-23  Andreas Jaeger  <aj@suse.de>
26908         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
26909         * sysdeps/unix/sysv/linux/poll.c: Remove file.
26911 2012-05-23  Andreas Jaeger  <aj@suse.de>
26912             Maximilian Attems  <max@stro.at>
26914         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
26915         New macros.
26917 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
26919         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
26920         code so that pseudo_end is just ret and the stack pointer is
26921         correct also for static library in error case.
26923 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
26925         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
26926         move to syscalls.list.
26927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
26928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
26929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
26930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
26932         * manual/install.texi (Running make install): Do not mention Linux
26933         kernel version for which pt_chown is not needed.
26934         (Linux): Do not mention problems with nscd with 2.0 kernels.
26935         * INSTALL: Regenerated.
26937 2012-05-23  Andreas Jaeger  <aj@suse.de>
26939         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
26940         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
26941         macro.
26942         * sysdeps/unix/sysv/linux/s390/bits/mman.h
26943         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26944         * sysdeps/unix/sysv/linux/sh/bits/mman.h
26945         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26946         * sysdeps/unix/sysv/linux/i386/bits/mman.h
26947         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26948         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
26949         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26950         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
26951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
26952         * sysdeps/unix/sysv/linux/bits/in.h
26953         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
26955 2012-05-22  Roland McGrath  <roland@hack.frob.com>
26957         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
26958         (PREPARE_VERSION): Just use assert instead, it will be elided
26959         under [NDEBUG] anyway.
26961 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26963         * sysdeps/unix/sysv/linux/Makefile: Include
26964         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
26965         (sysdep_routines): Remove sysctl.
26966         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
26967         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
26968         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
26969         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
26970         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
26972 2012-05-22  Andreas Jaeger  <aj@suse.de>
26974         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
26975         that pseudo_end is just ret and the stack pointer is correct also
26976         for static library in error case.
26978 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26980         [BZ #14122]
26981         * nss/nsswitch.c (defconfig_entries): New variable.
26982         (__nss_database_lookup): Don't leak defconfig entries.
26983         (nss_parse_service_list): Don't leak on error paths.
26984         (free_database_entries): New function.
26985         (free_defconfig): New function.
26986         (free_mem): Move common code to free_database_entries.
26988 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26990         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
26991         Add arch_prctl.
26992         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
26994         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26995         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
26996         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
26997         New macro.
26998         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
26999         (INTERNAL_SYSCALL_TYPES): Likewise.
27000         (LOAD_ARGS_TYPES_[1-6]): Likewise.
27001         (LOAD_REGS_TYPES_[1-6]): Likewise.
27002         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
27003         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
27005 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27007         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
27008         copysignl for GLIBC_2_0.
27009         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
27010         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
27011         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
27012         logbl for GLIBC_2_0.
27013         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
27014         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
27016 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27018         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
27019         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27021         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
27022         Use "neg %eax".
27024         * time/mktime.c: Update copyright years.
27026 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27028         mktime: merge comment-quoting-style change from gnulib
27029         * time/mktime.c: Quote 'like this' in comments.
27030         The GNU coding standards suggest that we no longer quote `like this',
27031         as "`" and "'" are typically rendered asymmetrically nowadays.
27032         The typical gnulib style is to quote 'like this' when quoting
27033         code, and "like this" when quoting English.
27035         * time/mktime.c (compile-command): Add "-I.".
27037         mktime: merge mktime-internal.h change from gnulib
27038         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
27040         mktime: merge time_r change from gnulib
27041         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
27043         mktime: merge DEBUG change from gnulib
27044         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
27045         case system <time.h> has a #define.
27047         mktime: merge <sys/types.h> change from gnulib
27048         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
27049         since <time.t> is now guaranteed to define time_t.
27051         mktime: merge HAVE_CONFIG_H change from gnulib
27052         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
27054 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27056         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27057         Use "neg %eax".
27059         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
27060         __rlim_t cast.
27061         (struct rusage): Use anonymous union to pad each field to
27062         __syscall_slong_t.
27064 2012-05-21  David S. Miller  <davem@davemloft.net>
27066         * Makefules (o-iterator): Remove .s cases.
27067         (compile-command.s): Delete.
27068         (COMPILE.s): Delete.
27069         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
27071 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
27073         * configure.in (libc_cv_predef_stack_protector): Only consider
27074         "foobar" and "__stack_chk_fail" lines in libc_undefs.
27075         * configure: Regenerated.
27077 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
27080         New macro.  Use R*LP on int and pointer.
27081         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
27082         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
27083         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
27084         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
27086         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
27087         [__WORDSIZE_TIME64_COMPAT32] instead of
27088         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
27089         (struct utmp): Likewise.
27090         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
27091         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
27092         Renamed to ...
27093         (__WORDSIZE_TIME64_COMPAT32): This.
27094         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
27095         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
27096         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
27097         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
27098         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
27099         (__WORDSIZE_TIME64_COMPAT32): New macro.
27101 2012-05-21  Andreas Jaeger  <aj@suse.de>
27103         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
27104         only if [SHARED]. Add prototype for __wcschr_ia32.
27106 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27108         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
27109         of %rbp unmolested in the jmp_buf while mangling the low bits.
27110         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
27111         unmolested high bits of %rbp while demangling the low bits.
27112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27114 2012-05-21  Andreas Jaeger  <aj@suse.de>
27116         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
27117         * sunrpc/svc_simple.c: Use it for registerrpc.
27118         * sunrpc/xcrypt.c: Use it for passwd2des.
27120         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
27122 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27124         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
27125         Don't define if [__SYSCALL_WORDSIZE != 32].
27126         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
27127         New macro.
27129 2012-05-21  Bruno Haible  <bruno@clisp.org>
27130             Andreas Jaeger  <aj@suse.de>
27132         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
27133         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
27134         inptr and inend for must_buffer_ch.
27135         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
27136         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
27137         * stdio-common/Makefile (tests): Remove bug15.
27138         (bug15-ENV): Remove macro.
27139         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
27140         anymore.
27142 2012-05-19  Andreas Jaeger  <aj@suse.de>
27143             Roland McGrath  <roland@hack.frob.com>
27145         * manual/contrib.texi: Completely rewritten. It contains now an
27146         alphabetical list of contributors and their contributions.
27148 2012-05-21  Richard Henderson  <rth@twiddle.net>
27150         * misc/getauxval.c (__getauxval): Use unsigned long int.
27151         * misc/sys/auxv.h: Include <sys/cdefs.h>.
27152         (getauxval): Use unsigned long int.
27154 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
27156         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27158 2012-05-21  Roland McGrath  <roland@hack.frob.com>
27160         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
27161         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
27162         __alignof__ (long double).
27164 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27166         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27168 2012-05-20  Richard Henderson  <rth@twiddle.net>
27170         * misc/getauxval.c: New file.
27171         * misc/sys/auxv.h: New file.
27172         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
27173         (routines): Add getauxval.
27174         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
27175         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
27176         * elf/dl-sysdep.c (_dl_auxv): Remove.
27177         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
27178         * elf/dl-support.c (_dl_auxv): New variable.
27179         (_dl_aux_init): Initialize it.
27180         * manual/startup.texi (Auxiliary Vector): New node.
27181         * sysdeps/generic/bits/hwcap.h: New file.
27182         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
27183         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
27184         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
27185         * sysdeps/sparc/sysdep.h: ... here.  Include it.
27186         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
27187         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
27188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27189         Update.
27190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
27191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
27192         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
27193         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
27194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27195         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
27196         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
27197         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
27199 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27201         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27203 2012-05-19  David S. Miller  <davem@davemloft.net>
27205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27207 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27209         [BZ #14123]
27210         * math/s_ccosh.c: Include <float.h>
27211         (__ccosh): Avoid internal overflow calculating sinh and cosh
27212         values before multiplying by sin and cos values.
27213         * math/s_ccoshf.c: Likewise.
27214         * math/s_ccoshl.c: Likewise.
27215         * math/s_csin.c: Likewise.
27216         * math/s_csinf.c: Likewise.
27217         * math/s_csinl.c: Likewise.
27218         * math/s_csinh.c: Likewise.
27219         * math/s_csinhf.c: Likewise.
27220         * math/s_csinhl.c: Likewise.
27221         * math/libm-test.inc (ccos_test): Add more tests.
27222         (ccosh_test): Likewise.
27223         (csin_test): Likewise.
27224         (csinh_test): Likewise.
27225         * sysdeps/i386/fpu/libm-test-ulps: Update.
27226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27228 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
27230         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
27231         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
27233         * sysdeps/x86_64/x32/_itoa.h: Add comment.
27235 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
27237         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
27238         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
27239         * sysdeps/powerpc/soft-fp/Versions: Likewise.
27240         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
27241         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
27242         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
27243         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
27244         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
27245         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
27246         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
27247         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
27248         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
27249         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
27250         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
27251         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
27252         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
27253         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
27254         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
27255         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
27256         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
27257         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
27258         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
27259         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
27260         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
27261         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
27262         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
27263         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
27264         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
27265         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
27266         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
27267         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
27269 2012-05-18  Andreas Jaeger  <aj@suse.de>
27271         * csu/.gitignore: Delete.
27273 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27275         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
27276         (timex): Use __syscall_slong_t.
27278 2012-05-18  Andreas Jaeger  <aj@suse.de>
27279             Carlos O'Donell  <carlos_odonell@mentor.com>
27281         * manual/install.texi (Configuring and compiling): Update
27282         description about files modified in the source directory.
27283         * INSTALL: Regenerated.
27285 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27287         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
27288         value.  Use "or" to set return value to -1.
27289         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
27290         negate return value.
27292 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27294         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
27295         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
27296         failure if the compiler has Graphite support disabled.
27297         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
27298         Likewise.
27299         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
27300         CFLAGS-memmove.c): Likewise.
27301         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
27302         Likewise.
27304 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
27306         * sysdeps/x86_64/x32/_itoa.h: New file.
27308         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
27309         getdents system call only if kernel and user dirents have the
27310         same d_ino and d_off.
27312         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
27313         LLONG_MAX != LONG_MAX.
27314         (_itoa_word): Use _ITOA_WORD_TYPE on value.
27315         (_fitoa_word): Likewise.
27317         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
27318         years.
27319         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
27320         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
27321         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
27323         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
27324         include <bits/wordsize.h>.  Check __x86_64__ instead of
27325         __WORDSIZE.
27326         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
27327         if __x86_64__ is defined.  Use anonymous union on fpstate.
27329         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
27330         anonymous union.
27332 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
27334         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27335         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
27336         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
27337         Refer to _rtld_local_ro instead of _rtld_global_ro.
27338         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
27339         Likewise.
27340         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
27341         Likewise.
27342         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
27343         Likewise.
27344         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
27345         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
27346         of _rtld_global, and rtld_progname instead of _dl_argv[0].
27348         * sysdeps/powerpc/powerpc32/dl-machine.c
27349         (__elf_machine_runtime_setup) [PROF]: Don't reference
27350         _dl_prof_resolve.
27352 2012-05-18  Andreas Jaeger  <aj@suse.de>
27354         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
27355         function only available for GCCs before 3.4 since GCC 3.4
27356         introduced a builtin.
27357         (lrint): Likewise.
27358         (llrintf): Likewise.
27359         (llrint): Likewise.
27360         (fmaxf): Likewise.
27361         (fmax): Likewise.
27362         (fminf): Likewise.
27363         (fmin): Likewise.
27364         (rint): Likewise.
27365         (rintf): Likewise.
27366         (nearbyint): Likewise.
27367         (nearbyintf): Likewise.
27368         (ceil): Likewise.
27369         (ceilf): Likewise.
27370         (floor): Likewise.
27371         (floorf): Likewise.
27373 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27375         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
27376         on both fields and cast pointer to __syscall_ulong_t.
27378         * bits/types.h (__fsword_t): New type.
27379         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
27380         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
27381         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27382         (__FSWORD_T_TYPE): Likewise.
27383         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27384         (__FSWORD_T_TYPE): Likewise.
27385         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27386         (__FSWORD_T_TYPE): Likewise.
27387         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
27388         (__FSWORD_T_TYPE): Likewise.
27389         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
27390         __SWORD_TYPE with __fsword_t.
27391         (statfs64): Likewise.
27393 2012-05-17  David S. Miller  <davem@davemloft.net>
27395         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
27397 2012-05-17  Andreas Jaeger  <aj@suse.de>
27399         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
27400         warning.
27402 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27404         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
27406 2012-05-17  Andreas Jaeger  <aj@suse.de>
27408         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
27409         when it is used.
27411 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27413         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
27415 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
27417         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
27418         * sysdeps/x86_64/tst-mallocalign1.c: New file.
27420 2012-05-17  Andreas Jaeger  <aj@suse.de>
27421             Carlos O'Donell  <carlos_odonell@mentor.com>
27423         [BZ #14059]
27424         * sysdeps/x86_64/multiarch/init-arch.h
27425         (bit_YMM_Usable): Rename to...
27426         (bit_AVX_Usable): ... this.
27427         (bit_FMA4_Usable): New macro.
27428         (bit_XMM_state): New macro.
27429         (bit_YMM_state): New macro.
27430         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
27431         [__ASSEMBLER__] (index_AVX_Usable): ... this.
27432         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
27433         (CPUID_OSXSAVE): New macro.
27434         (CPUID_AVX): New macro.
27435         (CPUID_FMA4): New macro.
27436         (index_YMM_Usable): Rename to...
27437         (index_AVX_Usable): ... this.
27438         (HAS_AVX): Use HAS_ARCH_FEATURE.
27439         (HAS_FMA4): Likewise.
27440         (HAS_YMM_USABLE): Remove.
27441         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27442         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
27443         are present.
27444         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
27445         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
27446         * sysdeps/x86_64/multiarch/Makefile: Likewise.
27447         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
27448         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
27450 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
27452         * math/libm-test.c: Support platforms without multiple rounding modes.
27453         * math/bug-nextafter.c: Support platforms without FP exceptions.
27454         * math/bug-nexttoward.c: Likewise.
27455         * math/test-fenv.c: Likewise.
27456         * math/test-misc.c: Likewise.
27457         * stdlib/bug-getcontext.c: Likewise.
27459 2012-05-17  Andreas Jaeger  <aj@suse.de>
27461         * manual/examples/search.c (critter_cmp): Change signature to
27462         avoid warnings.
27463         * manual/string.texi (Collation Functions): Likewise.
27465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27467         * bits/types.h: Fold copyright years.
27468         * bits/typesizes.h: Likewise.
27469         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
27470         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
27471         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
27472         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
27473         * time/time.h: Likewise.
27475 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
27477         [BZ #208]
27478         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
27479         in instead of returning them.  Return void.
27480         (__libc_mallinfo): Accumulate over all arenas.
27481         (__malloc_stats): Adjust for change in int_mallinfo interface.
27483 2012-05-16  Roland McGrath  <roland@hack.frob.com>
27485         [BZ #10375]
27486         * configure.in (NM): Add AC_CHECK_TOOL for it.
27487         (libc_extra_cflags): New substituted variable.
27488         Check for -fstack-protector being used implicitly.
27489         * configure: Regenerated.
27490         * config.make.in (config-extra-cflags): New variable,
27491         gets @libc_extra_cflags@.
27492         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
27494         [BZ #10375]
27495         * configure.in: Check for _FORTIFY_SOURCE being predefined.
27496         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
27497         * configure: Regenerated.
27498         * config.make.in (CPPUNDEFS): New substituted variable.
27499         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
27500         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
27501         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
27503 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27505         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
27506         (mq_attr): Use __syscall_slong_t.
27508 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27510         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
27511         Check __x86_64__ instead of __WORDSIZE.
27512         (_STAT_VER_LINUX): Likewise.
27513         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
27514         __syscall_ulong_t and __syscall_slong_t.
27515         (stat64): Likewise.
27517 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27519         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
27521 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27523         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
27525 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27527         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
27528         __syscall_ulong_t.
27530         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
27531         include <bits/wordsize.h>.  Check __x86_64__ instead of
27532         __WORDSIZE.
27533         (greg_t): Use "__extension__ long long int" if __x86_64__ is
27534         defined.
27535         (mcontext_t): Replace "unsigned long" with "unsigned long long".
27537         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
27538         include <bits/wordsize.h>.  Check __x86_64__ instead of
27539         __WORDSIZE.
27540         (user_regs_struct): Use "__extension__ unsigned long long"
27541         instead of "unsigned long" if __x86_64__ is defined.
27542         (user): Likewise.  Pad after pointer field if __ILP32__ is
27543         defined.
27545 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
27547         * configure.in (makeinfo): Require version 4.5 or later.  Allow
27548         versions 5 to 9.
27549         * configure: Regenerated.
27550         * manual/install.texi (texinfo): Increase version requirement to
27551         4.5 or later.
27552         * INSTALL: Regenerated.
27554         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
27556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
27558         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
27560         * sysdeps/x86_64/x32/ffs.c: New file.
27562         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
27563         __syscall_ulong_t.
27564         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
27565         defined.  Use __syscall_ulong_t.
27566         (shminfo): Use __syscall_ulong_t.
27567         (shm_info): Likewise.
27569         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
27570         __syscall_ulong_t.
27572         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
27573         <bits/wordsize.h>.
27574         (msgqnum_t): Use __syscall_ulong_t.
27575         (msglen_t): Likewise.
27576         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
27577         __syscall_ulong_t.
27579         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
27580         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27582         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
27584         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
27585         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
27587         * sysvipc/sys/msg.h (msgbuf): Replace long int with
27588         __syscall_slong_t.
27590         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
27591         include <bits/wordsize.h>.  Check __x86_64__ instead of
27592         __WORDSIZE.
27594         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
27595         "unsigned long long int" if __x86_64__ is defined.
27596         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
27598         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
27599         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
27600         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
27602         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
27603         <stdint.h>.
27604         (GET_PC): Cast to uintptr_t first.
27605         (GET_FRAME): Likewise.
27606         (GET_STACK): Likewise.
27608         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
27609         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
27610         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
27611         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
27612         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
27613         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
27614         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
27615         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
27616         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
27617         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
27618         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
27619         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
27620         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
27621         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
27622         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
27623         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
27624         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
27625         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
27626         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
27627         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
27628         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
27629         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
27630         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
27631         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
27632         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
27633         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
27634         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
27635         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
27636         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
27638 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
27640         * Makerules (+depfiles): Also collect depfiles from .oS in
27641         $(extra-objs).
27642         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
27643         .oS, $(libnldbl-routines)).
27645         * Makerules (native-compile-mkdep-flags): Define.
27646         * sunrpc/Makefile (extra-objs): Add $(addprefix
27647         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
27648         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
27649         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
27650         calling $(make-target-directory).
27652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27654         * bits/types.h (__snseconds_t): Removed.
27655         * time/time.h (struct timespec): Replace __snseconds_t with
27656         __syscall_slong_t.
27657         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
27658         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
27659         Likewise.
27660         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27661         (__SNSECONDS_T_TYPE): Likewise.
27662         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27663         (__SNSECONDS_T_TYPE): Likewise.
27664         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27665         (__SNSECONDS_T_TYPE): Likewise.
27667 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27669         * sysdeps/mach/hurd/bits/typesizes.h
27670         (__SYSCALL_SLONG_TYPE): New macro.
27671         (__SYSCALL_ULONG_TYPE): Likewise.
27673 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27675         * bits/types.h (__syscall_slong_t): New type.
27676         (__syscall_ulong_t): Likewise.
27678         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
27679         (__SYSCALL_ULONG_TYPE): Likewise.
27680         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27681         (__SYSCALL_SLONG_TYPE): Likewise.
27682         (__SYSCALL_ULONG_TYPE): Likewise.
27683         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27684         (__SYSCALL_SLONG_TYPE): Likewise.
27685         (__SYSCALL_ULONG_TYPE): Likewise.
27686         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27687         (__SYSCALL_SLONG_TYPE): Likewise.
27688         (__SYSCALL_ULONG_TYPE): Likewise.
27690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27692         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
27693         Add sigaltstack-offsets.sym.
27694         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
27695         <sigaltstack-offsets.h>.
27696         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
27697         longjmp_msg pointer.
27698         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
27699         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
27700         signal stack.
27701         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
27703 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27705         * elf/stackguard-macros.h: Remove file.
27706         * sysdeps/generic/stackguard-macros.h: New file.
27707         * sysdeps/i386/stackguard-macros.h: Likewise.
27708         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27709         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27710         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27711         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27712         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27713         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27714         * sysdeps/x86_64/stackguard-macros.h: Likewise.
27715         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
27716         <elf/stackguard-macros.h>.
27718         [BZ #14109]
27719         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
27720         __aligned__ in attribute.
27721         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
27722         (gregset_t): Likewise.
27724 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27726         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
27727         * sysdeps/x86_64/64/Implies-after: Here.  New file.
27728         * sysdeps/x86_64/x32/Implies-after: New file.
27730 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27732         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
27733         and access return value for _dl_profile_fixup.  Use R10_LP to
27734         load frame size.
27736 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27738         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
27740 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27742         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
27743         * sysdeps/x86_64/x32/sysdep.h: New file.
27745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27747         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27748         * sysdeps/x86_64/setjmp.S: Likewise.
27750 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27752         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
27753         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
27754         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
27755         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
27756         remove unused global constant.
27758 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
27760         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
27761         include of <not-cancel.h>.
27763 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27765         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
27767 2012-05-15  Jeff Law  <law@redhat.com>
27768             Andreas Jaeger  <aj@suse.de>
27770         [BZ #13594]
27771         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
27772         out from...
27773         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
27774         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
27775         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
27776         code changing __hst_map_handle.map.
27778 2012-05-15  Roland McGrath  <roland@hack.frob.com>
27780         * configure.in (sysnames): Look for Implies-before and Implies-after
27781         files.
27782         * configure: Regenerated.
27784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27786         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
27787         8-byte data alignment with LP_SIZE alignment.
27789 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27791         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
27792         into R10_LP.
27794 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27796         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
27798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27800         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
27801         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
27802         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
27803         Likewise.
27804         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27808         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
27809         (stackinfo_sub_sp): Likewise.
27811 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27813         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
27814         RAX_LP.
27816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27818         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
27819         into R*_LP.
27821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
27824         sizes into R*_LP.
27826 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27828         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
27830 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27832         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
27833         into R11_LP and load __x86_64_shared_cache_size_half into
27834         R8_LP.
27836 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
27838         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
27839         R8_LP.
27841 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27843         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
27844         logb for POWER7.
27845         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
27846         logbf for POWER7.
27847         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
27848         logbl for POWER7.
27849         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
27850         powerpc32/power7/fpu/s_logb.c via #include.
27851         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27852         powerpc32/power7/fpu/s_logbf.c via #include.
27853         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
27854         powerpc32/power7/fpu/s_logbl.c via #include.
27856 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
27858         * README.libm: Remove file.
27860 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27862         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
27863         count for x32.  Use R*_LP and omit operand-size suffix.
27865 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27867         * shlib-versions: Move x86_64-.*-linux.* entries to ...
27868         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
27869         * sysdeps/x86_64/x32/shlib-versions: New file.
27871 2012-05-14  Roland McGrath  <roland@hack.frob.com>
27873         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
27874         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
27875         Use _dl_fatal_printf instead.
27877 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27879         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
27880         set if not set by the user.  Do not allow for being unset.
27881         * sysdeps/unix/sysv/linux/configure: Regenerated.
27883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27885         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
27886         the `q' suffix from lea and replace .quad with ASM_ADDR.
27888 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27890         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27891         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
27892         instead of $17.
27893         (PTR_DEMANGLE): Likewise.
27895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27897         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
27898         (LP_OP): Likewise.
27899         (ASM_ADDR): Likewise.
27900         (RAX_LP): Likewise.
27901         (RBP_LP): Likewise.
27902         (RBX_LP): Likewise.
27903         (RCX_LP): Likewise.
27904         (RDI_LP): Likewise.
27905         (RSI_LP): Likewise.
27906         (RSP_LP): Likewise.
27907         (R8_LP): Likewise.
27908         (R9_LP): Likewise.
27909         (R10_LP): Likewise.
27910         (R10_LP): Likewise.
27911         (R11_LP): Likewise.
27912         (R12_LP): Likewise.
27913         (R13_LP): Likewise.
27914         (R14_LP): Likewise.
27915         (R15_LP): Likewise.
27917 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
27919         * sysdeps/x86_64/x32/dl-machine.h: New file.
27921 2012-05-14  Andreas Jaeger  <aj@suse.de>
27923         * manual/Makefile (subdir): Remove export of subdir.
27924         (all): Remove target.
27925         (.PHONY): Remove all from list.
27926         (mkinstalldirs): Remove.
27927         (.PHONY): Remove installdirs from list.
27928         ($(inst_infodir)/libc.info): Use make-target-directory.
27929         (installdirs): Remove.
27930         (subdir_%): Remove.
27931         (glibc-targets): Remove.
27932         (lib): Remove.
27933         (stubs): Remove.
27934         ($(objpfx)stubs ../po/manual.pot): Remove.
27935         ($(objpfx)stamp%): Remove.
27936         (make-target-directory): Remove.
27937         (subdir_install): Remove.
27938         (routines): Remove.
27939         (aux): Remove.
27940         (sources): Remove.
27941         (objects): Remove.
27942         (headers): Remove.
27944         [BZ #13750]
27945         * manual/.gitignore: Remove, it's not needed anymore.
27946         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27947         all files in it.
27948         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
27949         directory.
27950         (texis): Renamed to $(objpfx)texis.
27951         (texis-path): New, contains path to generated files.
27952         (chapters.%): Use texis-path for complete path, add extra argument
27953         libc-texinfo.sh.
27954         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
27955         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
27956         (summary,texi, stamp-summary): Use complete path of
27957         files. Generate files in build dir.
27958         (dir-add.texi): Build in build dir.
27959         (libm-err.texi,stamp-libm-err): Likewise.
27960         (version.texi, stamp-version): Likewise.
27961         (.%c.texi): Likewise.
27962         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
27963         (mostlyclean): Remove target.
27964         (realclean): Remove target.
27965         (generated): Add new variable with contents from mostlyclean and
27966         realclean, remove entries duplicated in common-mostlyclean, add
27967         stamp-libm-err and stamp-version.
27968         (generated-dirs): Add libc directory.
27969         ($(inst_infodir)/libc.info): Install files from build dir.
27971         * manual/install.texi (Configuring and compiling): Adjust since
27972         the info files are not part of the tar ball anymore.
27974 2012-05-14  Andreas Jaeger  <aj@suse.de>
27976         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
27977         variable.
27979 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
27981         [BZ #13717]
27982         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27983         to 2.2.0 where earlier.
27984         * sysdeps/unix/sysv/linux/configure: Regenerated.
27985         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
27986         Remove conditional code.
27987         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
27988         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
27989         Remove conditional code.
27990         [!__NR_lchown]: Likewise.
27991         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
27992         [__NR_lchown]: Likewise.
27993         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
27994         comment referencing __ASSUME_LCHOWN_SYSCALL.
27995         * sysdeps/unix/sysv/linux/i386/sigaction.c
27996         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
27997         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
27998         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
27999         Remove conditional code.
28000         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
28001         (__protocol_available): Remove #if 0 code.
28002         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
28003         conditional code.
28004         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
28005         * sysdeps/unix/sysv/linux/kernel-features.h
28006         (__ASSUME_GETCWD_SYSCALL): Don't define.
28007         (__ASSUME_REALTIME_SIGNALS): Likewise.
28008         (__ASSUME_PREAD_SYSCALL): Likewise.
28009         (__ASSUME_PWRITE_SYSCALL): Likewise.
28010         (__ASSUME_POLL_SYSCALL): Likewise.
28011         (__ASSUME_LCHOWN_SYSCALL): Likewise.
28012         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
28013         non-SPARC.
28014         (__ASSUME_SIOCGIFNAME): Don't define.
28015         (__ASSUME_MSG_NOSIGNAL): Likewise.
28016         (__ASSUME_SENDFILE): Define unconditionally.
28017         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
28018         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
28019         conditional code.
28020         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
28021         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
28022         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28023         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28024         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
28025         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
28026         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
28027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
28028         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
28031         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
28034         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
28037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
28040         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28041         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
28043         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
28044         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
28046         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28047         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
28049         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28050         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28051         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
28052         Remove conditional code.
28053         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28054         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28055         Remove conditional code.
28056         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28057         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
28058         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
28059         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28060         Remove conditional code.
28061         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28062         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
28063         Remove conditional code.
28064         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28065         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
28066         Remove conditional code.
28067         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28068         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
28069         Remove conditional code.
28070         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
28071         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
28072         Remove conditional code.
28073         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28074         * sysdeps/unix/sysv/linux/sh/pwrite64.c
28075         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
28076         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
28077         * sysdeps/unix/sysv/linux/sigaction.c
28078         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28079         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28080         * sysdeps/unix/sysv/linux/sigpending.c
28081         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28082         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28083         * sysdeps/unix/sysv/linux/sigprocmask.c
28084         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28085         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28086         * sysdeps/unix/sysv/linux/sigsuspend.c
28087         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
28088         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
28089         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28090         (__libc_missing_rt_sigs): Remove.
28091         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
28092         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
28093         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
28094         Remove conditional code.
28095         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
28096         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
28097         return 1.
28098         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
28099         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
28100         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
28101         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
28103 2012-05-14  Andreas Jaeger  <aj@suse.de>
28105         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
28106         it's not used in glibc.
28107         (__coshm1): Likewise.
28108         (__acosh1p): Likewise.
28109         (__sgn): Likewise.
28111         * manual/string.texi (Copying and Concatenation): Add missing
28112         variable in concat example.
28113         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
28115 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28117         [BZ #14103]
28118         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
28119         __builtin_clzl with __builtin_clzll.
28121 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
28123         [BZ #14104]
28124         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
28125         libc_freeres_ptr.
28127 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28129         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
28130         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
28131         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
28132         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
28134 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
28136         * NEWS: Update ia64 info.
28138 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
28140         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
28141         used as bcopy.
28143 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
28145         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
28146         * sysdeps/unix/syscalls.list (dup3): Likewise.
28147         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
28148         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
28150 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28152         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
28153         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
28155 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
28157         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
28158         thread pointer.
28159         (TLS_IE): Use mov/add instead of movq/addq to load thread
28160         pointer.
28161         (TLS_GD_PREFIX): New.
28162         (TLS_GD): Use it.
28164 2012-05-11  David S. Miller  <davem@davemloft.net>
28166         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
28167         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
28168         (_FPU_SETCW): Likewise.
28170 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28172         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
28173         is 32-byte aligned.
28175 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
28177         [BZ #11837]
28178         * iconvdata/gb18030.c: Update tables.
28179         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
28180         characters specially.
28181         (BODY for TO_LOOP): Add encoding of missing ranges.
28183 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
28185         [BZ #13673]
28186         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
28187         * sysdeps/mach/hurd/dup3.c: Likewise.
28188         * sysdeps/mach/hurd/readlinkat.c: Likewise.
28189         * sysdeps/powerpc/memmove.c:: Likewise.
28191 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28193         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
28194         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
28196 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28198         * elf/elf.h (R_X86_64_RELATIVE64): New.
28199         (R_X86_64_NUM): Updated.
28200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28201         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
28202         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
28203         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
28204         tst-quad1pie tst-quad2pie
28205         (modules-names): Add tst-quadmod1 tst-quadmod2.
28206         ($(objpfx)tst-quad1): New dependency.
28207         ($(objpfx)tst-quad2): Likewise.
28208         ($(objpfx)tst-quad1pie): Likewise.
28209         ($(objpfx)tst-quad2pie): Likewise.
28210         * sysdeps/x86_64/tst-quad1.c: New file.
28211         * sysdeps/x86_64/tst-quad1pie.c: New file.
28212         * sysdeps/x86_64/tst-quad2.c: Likewise.
28213         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
28214         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
28215         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
28216         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
28217         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
28219 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28221         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
28222         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
28223         * streams/stropts.h (t_scalar_t): Define type.
28225         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
28226         (_PATH_PRESERVE): Set to "/var/lib".
28227         (_PATH_RWHODIR): Set to "/var/spool/rwho".
28229         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
28230         instead of int.
28232         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
28233         if __dir_mkfile succeeded.
28235         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
28236         checking for _hurd_dtablesize.  Unlock it right after having
28237         finished _hurd_dtable allocation.
28239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28241         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
28242         * sysdeps/mach/hurd/configure: Regenerated.
28243         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
28244         special-casing to...
28245         * sysdeps/gnu/configure.in: ... this new file.
28246         * sysdeps/unix/sysv/linux/configure: Regenerated.
28247         * sysdeps/gnu/configure: New generated file.
28249         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
28250         for Linux: use nsec instead of usec, as well as:
28251         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
28252         members of type struct timespec.
28253         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
28254         New macros.
28255         (struct stat64): Likewise.
28256         (_STATBUF_ST_NSEC): New macro.
28257         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
28259         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28260         __strtoul_internal rather than strtoul.
28262 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28264         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
28265         and reject them.
28267 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28269         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
28270         which preserves existing values.
28271         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
28273 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28275         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
28276         TIMEOUT values.  Return EINVAL for NFDS values either negative or
28277         greater than FD_SETSIZE.
28279 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28281         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
28282         allocated, call __vm_protect to finish enabling the existing space, and
28283         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
28284         allocate the remainder.
28286 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28288         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
28289         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
28291 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28293         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
28294         sysdeps/mach/hurd/readlink.c.
28296         * posix/tst-sysconf.c (posix_options): Only use
28297         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
28298         _POSIX_SYNCHRONIZED_IO when they are defined
28299         * sysdeps/mach/hurd/bits/posix_opt.h:
28300         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
28301         (_XOPEN_REALTIME): Undefine macro.
28302         (_XOPEN_REALTIME_THREADS): Undefine macro.
28303         (_XOPEN_SHM): Undefine macro.
28304         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
28305         macro to -1.
28306         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
28307         macro to -1.
28308         (_POSIX_ASYNC_IO): Undefine macro.
28309         (_POSIX_PRIORITIZED_IO): Undefine macro.
28310         (_POSIX_SPIN_LOCKS): Define macro to -1.
28312         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
28313         SA_NODEFER, SA_RESETHAND.
28314         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
28315         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
28316         F_DUPFD_CLOEXEC.
28318 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28320         * elf/Makefile (pldd-modules): Define unconditionally.
28322 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28324         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
28326 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28328         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
28329         Return ENOENT when name is empty.
28330         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
28332 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28334         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
28336         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
28338 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28340         Fix mlock in all cases except non-readable pages.
28341         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
28342         instead of VM_PROT_ALL as parameter to __vm_wire function.
28344         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
28345         (__mkdir): When path is `/', just fail with EEXIST.
28346         * sysdeps/mach/hurd/mkdirat.c: Likewise.
28348 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28350         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
28351         <sys/uio.h> (for writev).
28352         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
28353         and <sys/param.h> (for MIN).
28355 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28357         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
28358         REQUESTED_TIME.  Properly set the remaining time and return EINTR
28359         if interrupted.
28361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28363         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
28364         Depend on against $(link-rpcuserlibs).
28366 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28368         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
28369         (__libc_stack_end): Do not use attribute_relro.
28370         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
28371         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
28372         to libthread-provided value.
28373         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
28374         attribute_relro.
28376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28378         [BZ #3748]
28379         * bits/libc-lock.h (__libc_once_get): New macro.
28380         * sysdeps/mach/bits/libc-lock.h: Likewise.
28381         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
28382         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
28383         instead of using implementation details.
28385         * libio/fileops.c: Unconditionally include <kernel-features.h>.
28386         * libio/freopen.c: Likewise.
28387         * libio/freopen64.c: Likewise.
28388         * misc/syslog.c: Likewise.
28389         * nscd/connections.c: Likewise.
28390         * nscd/netgroupcache.c: Likewise.
28391         * sysdeps/posix/getcwd.c: Likewise.
28393 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28395         * math/w_ilogbf.c: Add #include <limits.h>.
28397 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28399         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
28400         path instead of returning without unlocking.
28402         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
28403         immediate-write ioctls.
28404         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
28406 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28408         * sysdeps/mach/hurd/i386/init-first.c (init): Use
28409         __builtin_frame_address instead of making assumptions about the
28410         location of the return address relative to DATA.  Force early load of
28411         the return address.
28412         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
28413         __builtin_frame_address.
28415         dup3 for GNU Hurd.
28416         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
28417         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
28418         implement dup3 and do some further code clean-ups.
28419         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
28420         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
28422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28424         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
28426         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
28427         HURD_CRITICAL_END around holding _hurd_dtable_lock.
28428         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
28429         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
28430         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
28431         d->port.lock.
28433         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
28434         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
28435         when handler == SIG_ERR, not when handler != SIG_ERR.
28437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28439         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
28440         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
28441         definitions.
28443         accept4 for GNU Hurd.
28444         * include/sys/socket.h (__libc_accept4): New prototype.
28445         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
28446         to implement __libc_accept4.
28447         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
28448         __libc_accept4.
28449         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
28451         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
28452         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
28453         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
28454         signal-defines.sym.
28456 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28458         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
28460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
28462         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
28463         assertion on O_CLOEXEC flag.
28464         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
28465         * hurd/intern-fd.c: Likewise.
28466         * hurd/port2fd.c: Likewise.
28468 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28470         [BZ #3906]
28471         * bits/in.h (IPV6_PKTINFO): Define new macro.
28472         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
28474 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28476         [BZ #13954]
28477         [BZ #13955]
28478         [BZ #13956]
28479         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
28480         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28481         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
28482         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28483         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28484         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28485         * math/libm-test.inc (logb_test) : Additional logb tests.
28487 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
28488             Andreas Jaeger  <aj@suse.de>
28490         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
28491         * configure: Regenerated.
28492         * config.h.in (LINK_OBSOLETE_RPC): New macro.
28493         * config.make.in (link-obsolete-rpc): New substituted variable.
28494         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
28495         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
28496         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28497         (shared-only-routines): Don't set it under [link-obsolete-rpc],
28498         so that libc.a contains the symbols.
28499         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
28500         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
28501         * sunrpc/auth_none.c: Likewise.
28502         * sunrpc/auth_unix.c: Likewise.
28503         * sunrpc/authdes_prot.c: Likewise.
28504         * sunrpc/authuxprot.c: Likewise.
28505         * sunrpc/clnt_gen.c: Likewise.
28506         * sunrpc/clnt_perr.c: Likewise.
28507         * sunrpc/clnt_raw.c: Likewise.
28508         * sunrpc/clnt_simp.c: Likewise.
28509         * sunrpc/clnt_tcp.c: Likewise.
28510         * sunrpc/clnt_udp.c: Likewise.
28511         * sunrpc/clnt_unix.c: Likewise.
28512         * sunrpc/des_crypt.c: Likewise.
28513         * sunrpc/des_soft.c: Likewise.
28514         * sunrpc/get_myaddr.c: Likewise.
28515         * sunrpc/key_call.c: Likewise.
28516         * sunrpc/key_prot.c: Likewise.
28517         * sunrpc/netname.c: Likewise.
28518         * sunrpc/pm_getmaps.c: Likewise.
28519         * sunrpc/pm_getport.c: Likewise.
28520         * sunrpc/pmap_clnt.c: Likewise.
28521         * sunrpc/pmap_prot.c: Likewise.
28522         * sunrpc/pmap_prot2.c: Likewise.
28523         * sunrpc/pmap_rmt.c: Likewise.
28524         * sunrpc/publickey.c: Likewise.
28525         * sunrpc/rpc_cmsg.c: Likewise.
28526         * sunrpc/rpc_common.c: Likewise.
28527         * sunrpc/rpc_dtable.c: Likewise.
28528         * sunrpc/rpc_prot.c: Likewise.
28529         * sunrpc/rpc_thread.c: Likewise.
28530         * sunrpc/rtime.c: Likewise.
28531         * sunrpc/svc.c: Likewise.
28532         * sunrpc/svc_auth.c: Likewise.
28533         * sunrpc/svc_raw.c: Likewise.
28534         * sunrpc/svc_run.c: Likewise.
28535         * sunrpc/svc_tcp.c: Likewise.
28536         * sunrpc/svc_udp.c: Likewise.
28537         * sunrpc/svc_unix.c: Likewise.
28538         * sunrpc/svcauth_des.c: Likewise.
28539         * sunrpc/xcrypt.c: Likewise.
28540         * sunrpc/xdr.c: Likewise.
28541         * sunrpc/xdr_array.c: Likewise.
28542         * sunrpc/xdr_float.c: Likewise.
28543         * sunrpc/xdr_intXX_t.c: Likewise.
28544         * sunrpc/xdr_mem.c: Likewise.
28545         * sunrpc/xdr_rec.c: Likewise.
28546         * sunrpc/xdr_ref.c: Likewise.
28547         * sunrpc/xdr_sizeof.c: Likewise.
28548         * sunrpc/xdr_stdio.c: Likewise.
28550 2012-05-10  Roland McGrath  <roland@hack.frob.com>
28552         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
28553         change.  Update copyright years.
28555 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28557         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
28559 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
28560             Joseph Myers  <joseph@codesourcery.com>
28561             Paul Pluzhnikov  <ppluzhnikov@google.com>
28563         [BZ #14012]
28564         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
28565         requiring rpcgen.
28566         [cross-compiling] (extra-libs): Likewise.
28567         [cross-compiling] (extra-libs-others): Likewise.
28568         [cross-compiling] (librpcsvc-routines): Likewise.
28569         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
28570         [cross-compiling] (omit-deps): Likewise.
28571         (sunrpc-CPPFLAGS): New variable.
28572         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
28573         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
28574         (cross-rpcgen-objs): New variable.
28575         (extra-objs): Append $(cross-rpcgen-objs).
28576         ($(cross-rpcgen-objs)): New rule.
28577         ($(objpfx)cross-rpcgen): Likewise.
28578         (rpcgen-cmd): Define to use $(built-program-file).  Expand
28579         comment.
28580         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
28581         ($(objpfx)x%.stmp): Likewise.
28582         * sunrpc/proto.h [IS_IN_build] (_): Define.
28583         [IS_IN_build] (_libc_intl_domainname): Likewise.
28585 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
28587         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
28588         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
28589         and R_X86_64_TPOFF64.
28591 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
28593         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
28594         sysdeps/unix/sysv/syscalls.list.
28595         (stime): Likewise.
28596         (utime): Likewise.
28597         * sysdeps/unix/sysv/syscalls.list: Remove file.
28599 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
28601         [BZ #3440]
28602         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
28603         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
28604         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
28605         (__LC_IDENTIFICATION): Make these macros useful in #if
28606         expressions, as required by C99.
28608 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
28610         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
28611         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
28612         after this.
28614 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
28616         * stdlib/longlong.h: Updated from GCC.
28618 2012-05-09  Andreas Jaeger  <aj@suse.de>
28620         * nscd/nscd.c (run_modes): Make named enum, reorder so that
28621         default is first entry.
28622         (run_mode): Set type.
28623         (main): Remove informal message about syslog.
28624         (options): Fix typo.
28626         [BZ #14053]
28627         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
28628         to asm.
28629         (lrint): Likewise.
28630         (llrintf): Likewise.
28631         (llrint): Likewise.
28632         (rint): Likewise.
28633         (rintf): Likewise.
28634         (nearbyint): Likewise.
28635         (nearbyintf): Likewise.
28637 2012-05-09  Andreas Jaeger  <aj@suse.de>
28638             Pedro Alves  <palves@redhat.com>
28640         * nscd/nscd.c (run_mode): Use enum.
28641         (main): Cleanup coding style issue.
28643 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
28644             Andreas Jaeger  <aj@suse.de>
28646         * nscd/nscd.c (go_background): Replaced with...
28647         (run_mode): ... this.
28648         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
28649         (options): Add -F --foreground.
28650         (main): Implement it.
28651         (parse_opt): Parse it.
28653 2012-05-09  Andreas Jaeger  <aj@suse.de>
28655         [BZ #14083]
28656         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
28657         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
28658         -Wconversion warning.
28659         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
28660         Likewise.
28662 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
28664         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
28665         == 0.
28666         (LC_ALL): Use macro-int-constant.
28667         (LC_COLLATE): Likewise.
28668         (LC_CTYPE): Likewise.
28669         (LC_MESSAGES): Likewise.
28670         (LC_MONETARY): Likewise.
28671         (LC_NUMERIC): Likewise.
28672         (LC_TIME): Likewise.
28673         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
28674         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28675         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28676         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
28677         Specify type.
28678         [C99-based standards] (float_t): Expect type.
28679         [C99-based standards] (double_t): Expect type.
28680         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
28681         type.
28682         [C99-based standards] (HUGE_VALL): Likewise.
28683         [C99-based standards] (INFINITY): Likewise.
28684         [C99-based standards] (NAN): Likewise.
28685         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
28686         [C99-based standards] (FP_NAN): Likewise.
28687         [C99-based standards] (FP_NORMAL): Likewise.
28688         [C99-based standards] (FP_SUBNORMAL): Likewise.
28689         [C99-based standards] (FP_ZERO): Likewise.
28690         [C99-based standards] (FP_FAST_FMA): Use
28691         optional-macro-int-constant.  Specify type.  Require == 1.
28692         [C99-based standards] (FP_FAST_FMAF): Likewise.
28693         [C99-based standards] (FP_FAST_FMAL): Likewise.
28694         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
28695         [C99-based standards] (FP_ILOGBNAN): Likewise.
28696         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
28697         Specify type.
28698         [C99-based standards] (MATH_ERREXCEPT): Likewise.
28699         [C99-based standards] (math_errhandling): Specify type.
28700         [ISO99 || ISO11] (signgam): Do not allow.
28701         [non-C99-based standards] (copysignf): Do not allow.
28702         [non-C99-based standards] (exp2f): Likewise.
28703         [non-C99-based standards] (log2f): Likewise.
28704         [non-C99-based standards] (modff): Allow.
28705         [non-C99-based standards] (erff): Do not allow.
28706         [non-C99-based standards] (erfcf): Likewise.
28707         [non-C99-based standards] (gammaf): Likewise.
28708         [non-C99-based standards] (hypotf): Likewise.
28709         [non-C99-based standards] (j0f): Likewise.
28710         [non-C99-based standards] (j1f): Likewise.
28711         [non-C99-based standards] (jnf): Likewise.
28712         [non-C99-based standards] (lgammaf): Likewise.
28713         [non-C99-based standards] (tgammaf): Likewise.
28714         [non-C99-based standards] (y0f): Likewise.
28715         [non-C99-based standards] (y1f): Likewise.
28716         [non-C99-based standards] (ynf): Likewise.
28717         [non-C99-based standards] (isnanf): Likewise.
28718         [non-C99-based standards] (acoshf): Likewise.
28719         [non-C99-based standards] (asinhf): Likewise.
28720         [non-C99-based standards] (atanhf): Likewise.
28721         [non-C99-based standards] (cbrtf): Likewise.
28722         [non-C99-based standards] (expm1f): Likewise.
28723         [non-C99-based standards] (ilogbf): Likewise.
28724         [non-C99-based standards] (log1pf): Likewise.
28725         [non-C99-based standards] (logbf): Likewise.
28726         [non-C99-based standards] (nextafterf): Likewise.
28727         [non-C99-based standards] (remainderf): Likewise.
28728         [non-C99-based standards] (rintf): Likewise.
28729         [non-C99-based standards] (scalbf): Likewise.
28730         [non-C99-based standards] (copysignl): Likewise.
28731         [non-C99-based standards] (exp2l): Likewise.
28732         [non-C99-based standards] (log2l): Likewise.
28733         [non-C99-based standards] (modfl): Allow.
28734         [non-C99-based standards] (erfl): Do not allow.
28735         [non-C99-based standards] (erfcl): Likewise.
28736         [non-C99-based standards] (gammal): Likewise.
28737         [non-C99-based standards] (hypotl): Likewise.
28738         [non-C99-based standards] (j0l): Likewise.
28739         [non-C99-based standards] (j1l): Likewise.
28740         [non-C99-based standards] (jnl): Likewise.
28741         [non-C99-based standards] (lgammal): Likewise.
28742         [non-C99-based standards] (tgammal): Likewise.
28743         [non-C99-based standards] (y0l): Likewise.
28744         [non-C99-based standards] (y1l): Likewise.
28745         [non-C99-based standards] (ynl): Likewise.
28746         [non-C99-based standards] (isnanl): Likewise.
28747         [non-C99-based standards] (acoshl): Likewise.
28748         [non-C99-based standards] (asinhl): Likewise.
28749         [non-C99-based standards] (atanhl): Likewise.
28750         [non-C99-based standards] (cbrtl): Likewise.
28751         [non-C99-based standards] (expm1l): Likewise.
28752         [non-C99-based standards] (ilogbl): Likewise.
28753         [non-C99-based standards] (log1pl): Likewise.
28754         [non-C99-based standards] (logbl): Likewise.
28755         [non-C99-based standards] (nextafterl): Likewise.
28756         [non-C99-based standards] (remainderl): Likewise.
28757         [non-C99-based standards] (rintl): Likewise.
28758         [non-C99-based standards] (scalbl): Likewise.
28759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
28760         [non-C99-based standards] (FP_*): Do not allow.
28761         [C99-based standards] (FP_*): Change to
28762         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
28763         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28764         allow.
28765         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
28766         (SIG_ERR): Likewise.
28767         [X/Open-based standards] (SIG_HOLD): Likewise.
28768         (SIG_IGN): Likewise.
28769         (SIGABRT): Use macro-int-constant.  Specify type.  Require
28770         positive value.
28771         (SIGFPE): Likewise.
28772         (SIGILL): Likewise.
28773         (SIGINT): Likewise.
28774         (SIGSEGV): Likewise.
28775         (SIGTER): Likewise.
28776         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
28777         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
28778         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
28779         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
28780         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
28781         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
28782         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
28783         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
28784         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
28785         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
28786         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
28787         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
28788         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
28789         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
28790         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
28791         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
28792         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
28793         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
28794         [X/Open-based standards] (SIGTRAP): Likewise.
28795         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
28796         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
28797         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
28798         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
28799         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
28800         allow.
28802 2012-05-08  Ian Wienand  <ianw@vmware.com>
28804         [BZ #14080]
28805         * time/tzset.c (__tzset_parse_tz): Update default rules for
28806         daylight time changes in the Energy Policy Act of 2005.
28808 2012-05-09  Andreas Jaeger  <aj@suse.de>
28810         [BZ #13983]
28811         * elf/ldconfig.c (parse_conf): Change string to make clear that
28812         ldconfig only issued a warning if ld.so.conf does not exist.
28814 2012-05-08  David S. Miller  <davem@davemloft.net>
28816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
28817         movxtod instead of popping the value on the stack.
28819         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28821 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
28823         * config.h.in: Add HAVE_ARM_PCS_VFP.
28825 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
28827         [BZ #13979]
28828         * include/features.h: Warn if user requests __FORTIFY_SOURCE
28829         checking but the checks are disabled for any reason.
28831 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
28833         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
28834         and ELF64_R_TYPE with ELFW(R_TYPE).
28836 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
28838         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
28839         (ulimit): Likewise.
28841         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
28842         (settimeofday): Likewise.
28844 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
28846         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
28847         a struct th_u2 inside the union, and move tu_block/tu_code into
28848         a new th_u3 union of tu_block/tu_code inside of that.  Move
28849         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
28850         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
28851         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
28852         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
28853         (th_stuff): Change to th_u1.tu_stuff.
28854         (th_data): Define.
28855         (th_msg): Change to th_u1.th_u2.tu_data.
28857 2012-05-07  David S. Miller  <davem@davemloft.net>
28859         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28861         [BZ #14074]
28862         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
28863         (SETUP_PIC_REG): Use it.
28864         (SETUP_PIC_REG_LEAF): Use it.
28866 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
28868         [BZ #13885]
28869         [BZ #13923]
28870         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28871         USE_AS_EXPM1L.
28872         (EXPL_FINITE): Likewise.
28873         (FLDLOG): Likewise.
28874         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28875         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28876         e_expl.S.
28877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28878         USE_AS_EXPM1L.
28879         (EXPL_FINITE): Likewise.
28880         (FLDLOG): Likewise.
28881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
28882         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
28883         e_expl.S.
28884         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
28885         test of -max_value argument for long double.
28886         * sysdeps/i386/fpu/libm-test-ulps: Update.
28887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28889 2012-05-06  David S. Miller  <davem@davemloft.net>
28891         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
28892         quad soft-float symbols whose references which are compiler
28893         generated.
28894         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28896 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
28898         [BZ #13884]
28899         [BZ #13914]
28900         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28901         USE_AS_EXP10L.
28902         (EXPL_FINITE): Likewise.
28903         (FLDLOG): Likewise.
28904         (c0): Likewise.
28905         (c1): Likewise.
28906         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28907         Adjust comments for base varying.
28908         (__expl_finite): Change alias to EXPL_FINITE.
28909         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
28910         e_expl.S.
28911         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
28912         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
28913         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
28914         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
28915         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
28916         USE_AS_EXP10L.
28917         (EXPL_FINITE): Likewise.
28918         (FLDLOG): Likewise.
28919         (c0): Likewise.
28920         (c1): Likewise.
28921         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
28922         Adjust comments for base varying.
28923         (__expl_finite): Change alias to EXPL_FINITE.
28924         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
28925         tests for bugs.
28926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28928         [BZ #14064]
28929         * math/libm-test.inc (check_float_internal): Correct ulp
28930         calculation for subnormal expected results.
28932 2012-05-06  Andreas Jaeger  <aj@suse.de>
28934         * Makeconfig (+math-flags): New, set to -frounding-math.
28935         (+cflags): Add +math-flags so that all of glibc gets compiled with
28936         it.
28938         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
28940 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
28942         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
28943         Disable one test.
28945         [BZ #13787]
28946         [BZ #13922]
28947         [BZ #14036]
28948         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
28949         (__ieee754_expl): Allow for and saturate large arguments.
28950         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
28951         (u_threshold): Likewise.
28952         (__exp): Call __ieee754_exp before checking for overflow and
28953         underflow.
28954         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
28955         (u_threshold): Likewise.
28956         (__expf): Call __ieee754_expf before checking for overflow and
28957         underflow.
28958         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
28959         (u_threshold): Likewise.
28960         (__expl): Call __ieee754_expl before checking for overflow and
28961         underflow.
28962         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
28963         (__ieee754_expl): Allow for and saturate large arguments.
28964         * math/libm-test.inc (exp_test): Add another test.  Do not allow
28965         missing overflow exception on overflow.
28966         (expm1_test): Do not allow missing overflow exception on overflow.
28968         * sysdeps/i386/fpu/e_expl.c: Move to ...
28969         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
28970         rather than using inline asm.
28971         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
28972         * sysdeps/x86_64/fpu/e_expl.S: Copy from
28973         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
28975         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
28976         (nice): Likewise.
28977         (poll): Likewise.
28978         (signal): Likewise.
28979         (time): Likewise.
28980         (times): Likewise.
28982 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
28984         * sysdeps/unix/syscalls.list (adjtime): Add entry from
28985         sysdeps/unix/common/syscalls.list.
28986         (fchmod): Likewise.
28987         (fchown): Likewise.
28988         (ftruncate): Likewise.
28989         (getrusage): Likewise.
28990         (gettimeofday): Likewise.
28991         (setpgid): Likewise.
28992         (setregid): Likewise.
28993         (setreuid): Likewise.
28994         (sigaction): Likewise.
28995         (truncate): Likewise.
28996         (vhangup): Likewise.
28997         * sysdeps/unix/common/syscalls.list: Remove file.
28998         * sysdeps/unix/bsd/Implies: Don't include unix/common.
28999         * sysdeps/unix/sysv/linux/Implies: Likewise.
29001 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
29003         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
29004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
29005         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
29006         Moved to ...
29007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
29008         Here.
29009         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
29010         to ...
29011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
29012         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
29013         to ...
29014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
29015         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
29016         to ...
29017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
29018         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
29019         to ...
29020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
29021         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
29022         to ...
29023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
29024         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
29025         to ...
29026         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
29027         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
29028         to ...
29029         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29030         Here.
29031         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
29032         to ...
29033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
29034         Here.
29035         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
29036         to ...
29037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
29038         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
29039         Moved to ...
29040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
29041         Here.
29042         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
29043         to ...
29044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
29046 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29048         * sysdeps/unix/common/bits/dirent.h: Remove file.
29049         * sysdeps/unix/common/bits/fcntl.h: Likewise.
29051         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
29052         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
29053         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
29054         * sysdeps/unix/bsd/isatty.c: Likewise.
29055         * sysdeps/unix/bsd/tcdrain.c: Likewise.
29056         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
29057         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
29059 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29061         [BZ #13563]
29062         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
29063         long double comparison inaccuracies.
29064         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
29065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29067 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
29069         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
29070         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
29072 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
29074         [BZ #14049]
29075         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
29076         nonzero digits before rounding a hex value.
29077         * stdlib/tst-strtod.c (tests): Add another test.
29079 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29081         * sysdeps/s390/fpu/libm-test-ulps: Update.
29083 2012-05-03  Andreas Jaeger  <aj@suse.de>
29085         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
29086         does not get optimized out.
29087         (malloc_opt_barrier): New.
29089 2012-05-03  Andreas Jaeger  <aj@suse.de>
29090             Roland McGrath  <roland@hack.frob.com>
29092         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
29093         intermediate file deletion.
29094         (generated): Add .symlist files.
29096 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
29098         [BZ #13775]
29099         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
29100         Redirect under this condition.
29101         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29102         [__USE_GNU] (__dprintf_chk): Not under this condition.
29103         [__USE_GNU] (__vdprintf_chk): Likewise.
29104         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
29105         under this condition.
29106         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
29107         [__USE_XOPEN2K8] (dprintf): Define under this condition.
29108         [__USE_XOPEN2K8] (vdprintf): Likewise.
29109         [__USE_GNU] (__dprintf_chk): Not under this condition.
29110         [__USE_GNU] (__vdprintf_chk): Likewise.
29111         [__USE_GNU] (dprintf): Likewise.
29112         [__USE_GNU] (vdprintf): Likewise.
29114 2012-05-03  Roland McGrath  <roland@hack.frob.com>
29116         * elf/Makefile (common-generated): Set this instead of generated for
29117         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
29118         $(all-built-dso)-derived lists.
29120 2012-05-03  Andreas Jaeger  <aj@suse.de>
29122         * sysdeps/i386/fpu/libm-test-ulps: Update.
29124         * FAQ: Removed.
29125         * FAQ.in: Likewise.
29126         * scripts/gen-FAQ.pl: Likewise.
29127         * manual/install.texi (Installation): Point to online location of
29128         FAQ.
29129         * Makefile (files-for-dist): Remove FAQ.
29130         (FAQ): Remove.
29132 2012-05-02  Allan McRae  <allan@archlinux.org>
29134         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
29135         (LDFLAGS-reldepmod5.so): Likewise.
29136         (LDFLAGS-reldep6mod1.so): Likewise.
29137         (LDFLAGS-reldep6mod4.so): Likewise.
29138         (LDFLAGS-reldep8mod3.so): Likewise.
29139         (LDFLAGS-unload4mod1.so): Likewise.
29140         (LDFLAGS-unload4mod2.so): Likewise.
29141         (LDFLAGS-tst-initorder): Likewise.
29142         (LDFLAGS-tst-initordera2.so): Likewise.
29143         (LDFLAGS-tst-initordera3.so): Likewise.
29144         (LDFLAGS-tst-initordera4.so): Likewise.
29145         (LDFLAGS-tst-initorderb2.so): Likewise.
29146         (LDFLAGS-noload): Likewise.
29147         (LDFLAGS-next): Likewise.
29148         (LDFLAGS-order2mod1.so): Likewise.
29149         (LDFLAGS-order2mod2.so): Likewise.
29150         (LDFLAGS-tst-initorder2): Likewise.
29151         (LDFLAGS-tst-initorder2a.so): Likewise.
29152         (LDFLAGS-tst-initorder2b.so): Likewise.
29153         (LDFLAGS-tst-initorder2c.so): Likewise.
29154         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
29156 2012-05-02  David S. Miller  <davem@davemloft.net>
29158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29160 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29162         [BZ #14055]
29163         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
29165 2012-05-02  Andreas Jaeger  <aj@suse.de>
29167         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
29168         since we manipulate rounding mode.
29169         (CPPFLAGS-test-idouble.c): Likewise.
29170         (CPPFLAGS-test-ifloat.c): Likewise.
29171         (CFLAGS-test-ldouble.c): Likewise.
29172         (CFLAGS-test-double.c): Likewise.
29173         (CFLAGS-test-float.c): Likewise.
29174         (CFLAGS-test-misc.c): Likewise.
29175         (CFLAGS-test-test-fenv.c): Likewise.
29177 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29179         [BZ #2550]
29180         [BZ #2570]
29181         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
29182         comparisons to determine direction to adjust input.
29184 2012-05-01  Roland McGrath  <roland@hack.frob.com>
29186         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
29187         output to the target.
29189         * scripts/localplt.awk: New file.
29190         * elf/Makefile ($(objpfx)check-localplt): Target removed.
29191         (check-localplt-CFLAGS): Variable removed.
29192         ($(all-built-dso:=.jmprel)): New static pattern rule.
29193         (generated): Add those targets.
29194         (localplt-built-dso): New variable.
29195         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
29197         * elf/check-localplt.c: File removed.
29199         * scripts/check-execstack.awk: New file.
29200         * elf/Makefile ($(objpfx)check-execstack): Target removed.
29201         (check-execstack-CFLAGS): Variable removed.
29202         ($(objpfx)check-execstack.h): Target removed.
29203         ($(objpfx)execstack-default): New target.
29204         (generated): Add that instead of check-execstack.h.
29205         ($(all-built-dso:=.phdr)): New static pattern rule.
29206         (generated): Add those targets.
29207         * elf/check-execstack.c: File removed.
29209         * scripts/check-textrel.awk: New file.
29210         * elf/Makefile ($(objpfx)check-textrel): Target removed.
29211         (check-textrel-CFLAGS): Variable removed.
29212         (all-built-dso): Use := to define.o
29213         ($(all-built-dso:=.dyn)): New static pattern rule.
29214         (generated): Add those targets.
29215         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
29216         * config.make.in (READELF): New substituted variable.
29217         * elf/check-textrel.c: File removed.
29219 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29221         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29222         allow.
29223         * conform/data/ctype.h-data [C99-based standards] (isblank):
29224         Expect function.
29225         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
29226         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
29227         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29228         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
29229         Specify type.  Require positive value.
29230         (EILSEQ): Likewise.
29231         (ERANGE): Likewise.
29232         [ISO || POSIX] (EILSEQ): Do not expect.
29233         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
29234         Specify type.  Require positive value.
29235         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
29236         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
29237         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
29238         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
29239         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
29240         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
29241         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
29242         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
29243         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
29244         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
29245         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
29246         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
29247         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
29248         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
29249         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
29250         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
29251         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
29252         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
29253         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
29254         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
29255         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
29256         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
29257         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
29258         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
29259         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
29260         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
29261         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
29262         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
29263         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
29264         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
29265         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
29266         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
29267         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
29268         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
29269         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
29270         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
29271         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
29272         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
29273         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
29274         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
29275         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
29276         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
29277         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
29278         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
29279         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
29280         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
29281         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
29282         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
29283         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
29284         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
29285         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
29286         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
29287         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
29288         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
29289         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
29290         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
29291         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
29292         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
29293         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
29294         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
29295         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
29296         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
29297         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
29298         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
29299         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
29300         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
29301         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
29302         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
29303         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
29304         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
29305         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
29306         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
29307         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
29308         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
29309         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
29310         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
29311         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
29312         Require >= 2.
29313         (FLT_ROUNDS): Expect as macro, not constant.
29314         (FLT_MANT_DIG): Use macro-int-constant.
29315         (DBL_MANT_DIG): Likewise.
29316         (LDBL_MANT_DIG): Likewise.
29317         (FLT_DIG): Likewise.
29318         (DBL_DIG): Likewise.
29319         (LDBL_DIG): Likewise.
29320         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
29321         (DBL_MIN_EXP): Likewise.
29322         (LDBL_MIN_EXP): Likewise.
29323         (FLT_MAX_EXP): Use macro-int-constant.
29324         (DBL_MAX_EXP): Likewise.
29325         (LDBL_MAX_EXP): Likewise.
29326         (FLT_MAX_10_EXP): Likewise.
29327         (DBL_MAX_10_EXP): Likewise.
29328         (LDBL_MAX_10_EXP): Likewise.
29329         (FLT_MAX): Use macro-constant.
29330         (DBL_MAX): Likewise.
29331         (LDBL_MAX): Likewise.
29332         (FLT_EPSILON): Use macro-constant.  Give upper bound.
29333         (DBL_EPSILON): Likewise.
29334         (LDBL_EPSILON): Likewise.
29335         (FLT_MIN): Likewise.
29336         (DBL_MIN): Likewise.
29337         (LDBL_MIN): Likewise.
29338         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
29339         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
29340         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
29341         [ISO11] (FLT_HAS_SUBNORM): Likewise.
29342         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
29343         [ISO11] (DBL_DECIMAL_DIG): Likewise.
29344         [ISO11] (FLT_DECIMAL_DIG): Likewise.
29345         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
29346         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
29347         [ISO11] (FLT_TRUE_MIN): Likewise.
29348         [ISO11] (LDBL_TRUE_MIN): Likewise.
29349         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29350         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
29351         (SCHAR_MIN): Use macro-int-constant.  Specify type.
29352         (SCHAR_MAX): Likewise.
29353         (UCHAR_MAX): Likewise.
29354         (CHAR_MIN): Likewise.
29355         (CHAR_MAX): Likewise.
29356         (MB_LEN_MAX): Use macro-int-constant.
29357         (SHRT_MIN): Use macro-int-constant.  Specify type.
29358         (SHRT_MAX): Likewise.
29359         (USHRT_MAX): Likewise.
29360         (INT_MAX): Likewise.
29361         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
29362         bound negative.
29363         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29364         bound with "U".
29365         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29366         bound with "L".
29367         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
29368         bound negative.  Suffix upper bound with "L".
29369         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
29370         bound with "UL".
29371         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
29372         Specify type.
29373         [C99-based standards] (LLONG_MAX): Likewise.
29374         [C99-based standards] (ULLONG_MAX): Likewise.
29375         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
29376         == 0.
29377         [ISO11] (max_align_t): Require type.
29378         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29380         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
29381         from $CFLAGS, without defining away __attribute__ calls.
29382         (checknamespace): Use $CFLAGS_namespace.
29384         * conform/conformtest.pl (@keywords): Only include C99 keywords
29385         for standards based on C99 or C11.
29387         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
29388         Disable tests.
29389         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
29390         UNIX98]: Likewise.
29392         * conform/conformtest.pl: Handle "macro-int-constant" and test for
29393         usability of symbols in #if.
29395         * conform/conformtest.pl: If macro or constant types start
29396         "promoted:", expect the symbol to be of the following type
29397         promoted by the integer promotions.
29399         * conform/conformtest.pl: Parse all "constant" and "macro" lines
29400         in one place.  Also handle "macro-constant".
29402         * conform/conformtest.pl: Only accept expected macro values with
29403         "==".  Parse all "macro" lines in one place.
29404         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
29406         * conform/conformtest.pl: Handle braced types on "constant" lines
29407         instead of handling "typed-constant".
29408         * conform/data/signal.h-data: Use "constant" instead of
29409         "typed-constant".
29411         * conform/conformtest.pl: Handle "optional-" at start of lines in
29412         one place rather than duplicating several cases.  Handle each
29413         format of "macro" line with initial "optional-".
29415         * conform/conformtest.pl: Only accept expected constant or
29416         optional-constant values with "==".  Parse all "constant" lines in
29417         one place.  Parse all "optional-constant" lines in one place.
29418         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
29419         * conform/data/fmtmsg.h-data: Likewise.
29420         * conform/data/netinet/in.h-data: Likewise.
29421         * conform/data/tar.h-data: Likewise.
29422         * conform/data/limits.h-data: Use "==" form on "constant" and
29423         "optional-constant" lines.
29425         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
29426         Use -std=c99 for XOPEN2K.
29427         (@knownproblems): Remove.
29428         (newtoken): Don't check %isknown.
29430         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
29431         Do not expect macro.
29432         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
29433         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
29434         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
29435         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
29436         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
29437         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
29438         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
29439         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
29440         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
29441         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
29442         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
29443         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
29444         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
29445         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
29446         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
29447         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
29448         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
29449         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
29450         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
29451         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
29452         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
29453         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
29454         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
29455         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
29456         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
29457         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
29458         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
29459         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
29460         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
29461         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
29462         [XPG3] (acosh): Likewise.
29463         [XPG3] (asinh): Likewise.
29464         [XPG3] (atanh): Likewise.
29465         [XPG3] (cbrt): Likewise.
29466         [XPG3] (expm1): Likewise.
29467         [XPG3] (ilogb): Likewise.
29468         [XPG3] (log1p): Likewise.
29469         [XPG3] (logb): Likewise.
29470         [XPG3] (nextafter): Likewise.
29471         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
29472         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
29473         [XPG3] (remainder): Likewise.
29474         [XPG3] (rint): Likewise.
29475         [XPG3 || XPG4 || UNIX98] (round): Likewise.
29476         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
29477         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
29478         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
29479         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
29480         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
29481         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
29482         [UNIX98 || XOPEN2K] (scalb): Expect.
29483         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
29484         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
29485         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
29486         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
29487         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
29488         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
29489         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
29490         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
29491         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
29492         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
29493         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
29494         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
29495         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
29496         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
29497         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
29498         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
29499         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
29500         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
29501         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
29502         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
29503         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
29504         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
29505         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
29506         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
29507         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
29508         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
29509         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
29510         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
29511         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
29512         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
29513         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
29514         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
29515         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
29516         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
29517         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
29518         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
29519         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
29520         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
29521         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
29522         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
29523         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
29524         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
29525         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
29526         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
29527         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
29528         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
29529         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
29530         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
29531         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
29532         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
29533         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
29534         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
29535         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
29536         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
29537         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
29538         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
29539         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
29540         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
29541         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
29542         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
29543         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
29544         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
29545         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
29546         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
29547         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
29548         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
29549         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
29550         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
29551         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
29552         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
29553         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
29554         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
29555         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
29556         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
29557         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
29558         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
29559         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
29560         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
29561         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
29562         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
29563         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
29564         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
29565         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
29566         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
29567         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
29568         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
29569         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
29570         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
29571         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
29572         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
29573         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
29574         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
29575         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
29576         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
29577         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
29578         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
29579         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
29580         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
29581         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
29582         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
29583         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
29584         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
29585         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
29586         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
29587         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
29588         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
29589         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
29590         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
29591         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
29592         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
29593         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
29594         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
29595         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
29596         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
29597         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
29598         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
29599         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
29600         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
29601         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
29602         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
29603         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
29604         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
29605         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
29606         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
29607         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
29608         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
29609         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
29610         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
29611         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
29612         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
29613         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
29614         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
29615         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
29616         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
29617         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
29618         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
29619         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
29621         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
29622         _XOPEN_SOURCE_EXTENDED for XPG4.
29624         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
29626         * Makeconfig (localtime): Remove variable.
29627         (inst_localtime-file): Likewise.
29629 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
29632         Update.
29633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29634         Update.
29635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
29636         Update.
29637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29638         Update.
29639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
29640         Update.
29641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
29642         Update.
29643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29644         Update.
29645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
29646         Update.
29647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29648         Update.
29650 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
29652         [BZ #2550]
29653         [BZ #2570]
29654         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
29655         comparisons to determine direction to adjust input.
29656         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29657         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
29658         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29659         Likewise.
29660         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29661         Likewise.
29662         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29663         Likewise.
29664         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29665         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29666         Likewise.
29667         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29668         Likewise.
29669         * math/libm-test.inc (nexttoward_test): Add more tests.
29671 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
29673         [BZ #14040]
29674         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
29675         in version GLIBC_2.1, not GLIBC_2.0.
29676         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
29677         Likewise.
29679 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
29681         [BZ #13942]
29682         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
29683         (1 - x) * (1 + x).
29684         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29685         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
29686         * math/libm-test.inc (acos_test): Add more tests.
29687         (asin_test): Likewise.
29688         * sysdeps/i386/fpu/libm-test-ulps: Update.
29689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29691         [BZ #14034]
29692         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
29693         of square root.
29694         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
29695         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
29696         * math/libm-test.inc (acos_test_tonearest): New function.
29697         (acos_test_towardzero): Likewise.
29698         (acos_test_downward): Likewise.
29699         (acos_test_upward): Likewise.
29700         (asin_test_tonearest): Likewise.
29701         (asin_test_towardzero): Likewise.
29702         (asin_test_downward): Likewise.
29703         (asin_test_upward): Likewise.
29704         (main): Call the new functions.
29705         * sysdeps/i386/fpu/libm-test-ulps: Update.
29706         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29708         [BZ #13884]
29709         [BZ #13924]
29710         * math/e_exp10.c: Include <float.h>.
29711         (__ieee754_exp10): Handle underflow here rather than multiplying
29712         large negative argument by M_LN10.
29713         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
29714         of __ieee754_expf.
29715         * math/e_exp10l.c: Include <float.h>.
29716         (__ieee754_exp10l): Handle underflow here rather than multiplying
29717         large negative argument by M_LN10l.
29718         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
29719         spurious overflow exception on underflow.
29721 2012-04-29  Marek Polacek  <polacek@redhat.com>
29723         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
29724         (__fortify_function): New macro.
29725         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
29726         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
29727         __extern_always_inline.
29728         * libio/bits/stdio2.h: Likewise.
29729         * libio/bits/stdio.h: Likewise.
29730         * string/string.h: Likewise.
29731         * string/bits/string3.h: Likewise.
29732         * include/stdio.h: Likewise.
29733         * stdlib/bits/stdlib.h: Likewise.
29734         * stdlib/stdlib.h: Likewise.
29735         * rt/bits/mqueue2.h: Likewise.
29736         * rt/mqueue.h: Likewise.
29737         * posix/bits/unistd.h: Likewise.
29738         * posix/unistd.h: Likewise.
29739         * io/bits/poll2.h: Likewise.
29740         * io/bits/fcntl2.h: Likewise.
29741         * io/fcntl.h: Likewise.
29742         * io/sys/poll.h: Likewise.
29743         * misc/bits/syslog.h: Likewise.
29744         * misc/bits/syslog-ldbl.h: Likewise.
29745         * misc/sys/syslog.h: Likewise.
29746         * socket/bits/socket2.h: Likewise.
29747         * socket/sys/socket.h: Likewise.
29748         * debug/tst-chk1.c: Likewise.
29749         * wcsmbs/bits/wchar2.h: Likewise.
29750         * wcsmbs/bits/wchar-ldbl.h: Likewise.
29751         * wcsmbs/wchar.h: Likewise.
29753 2012-04-29  Andreas Jaeger  <aj@suse.de>
29755         * Makerules (tests): Remove enable-check-abi protection.
29756         (check-abi-warn): Remove.
29757         (check-abi-%): Remove check-abi-warn usage.
29759         * configure.in: Remove check-abi configure option.
29760         * configure: Regenerated.
29761         * config.make.in (enable-check-abi): Remove.
29763 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
29765         [BZ #14033]
29766         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
29767         double functions to double *_finite functions.
29769         [BZ #13941]
29770         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
29771         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
29772         LDBL_MIN_EXP.
29773         * stdio-common/Makefile (tests): Add tst-sprintf3.
29774         * stdio-common/tst-sprintf3.c: New file.
29776         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
29777         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
29779 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
29781         * conform/conformtest.pl: Remove duplicate typed-constant
29782         handling.
29784 2012-04-28  David S. Miller  <davem@davemloft.net>
29786         * Makerules (%.abilist): Add vpath on sysdep_dirs.
29787         (check-abi-%): Remove AWK script prerequisite and explicit
29788         abilist directory.
29789         (check-abi): Rewrite to just diff the symlist with the abilist.
29790         (config-tls, config-abi-config): Delete, no longer used.
29791         (update-abi-%): Remove AWK script and explicit abilist directory.
29792         (update-abi): Rewrite to simply compare and conditionally copy the
29793         symlist and the sysdep abilist file.  Remove update-abi-config
29794         checks.
29795         * abilist/ld.abilist: Remove.
29796         * abilist/libBrokenLocale.abilist: Remove.
29797         * abilist/libanl.abilist: Remove.
29798         * abilist/libcrypt.abilist: Remove.
29799         * abilist/libdl.abilist: Remove.
29800         * abilist/librt.abilist: Remove.
29801         * abilist/libthread_db.abilist: Remove.
29802         * abilist/libutil.abilist: Remove.
29803         * scripts/extract-abilist.awk: Remove.
29804         * scripts/merge-abilist.awk: Remove.
29805         * sysdeps/generic/libcidn.abilist: New file.
29806         * sysdeps/generic/libnss_compat.abilist: New file.
29807         * sysdeps/generic/libnss_db.abilist: New file.
29808         * sysdeps/generic/libnss_dns.abilist: New file.
29809         * sysdeps/generic/libnss_files.abilist: New file.
29810         * sysdeps/generic/libnss_hesiod.abilist: New file.
29811         * sysdeps/generic/libnss_nis.abilist: New file.
29812         * sysdeps/generic/libnss_nisplus.abilist: New file.
29813         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
29814         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
29815         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
29816         file.
29817         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
29818         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
29819         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
29820         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
29821         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
29822         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
29823         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
29824         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
29825         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
29826         file.
29827         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
29828         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
29829         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
29830         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
29831         file.
29832         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
29833         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
29834         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
29835         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
29836         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
29837         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
29838         file.
29839         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
29840         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
29841         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
29842         file.
29843         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
29844         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
29845         New file.
29846         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
29847         New file.
29848         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
29849         New file.
29850         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
29851         New file.
29852         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
29853         New file.
29854         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
29855         New file.
29856         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
29857         New file.
29858         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
29859         New file.
29860         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
29861         New file.
29862         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
29863         New file.
29864         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
29865         New file.
29866         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
29867         New file.
29868         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
29869         New file.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
29871         file.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
29873         New file.
29874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
29875         New file.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
29877         file.
29878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
29879         New file.
29880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
29881         New file.
29882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
29883         file.
29884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
29885         New file.
29886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29887         New file.
29888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
29889         New file.
29890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
29891         New file.
29892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
29893         New file.
29894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
29895         New file.
29896         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
29897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
29898         file.
29899         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
29900         New file.
29901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
29902         file.
29903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
29904         file.
29905         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
29906         file.
29907         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
29908         file.
29909         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
29910         file.
29911         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29912         New file.
29913         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
29914         file.
29915         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
29916         file.
29917         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
29918         New file.
29919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
29920         file.
29921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
29922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
29923         file.
29924         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
29925         New file.
29926         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
29927         file.
29928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
29929         file.
29930         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
29931         file.
29932         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
29933         file.
29934         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
29935         file.
29936         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29937         New file.
29938         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
29939         file.
29940         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
29941         file.
29942         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
29943         New file.
29944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
29945         file.
29946         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
29947         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
29948         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
29949         file.
29950         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
29951         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
29952         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
29953         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
29954         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
29955         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
29956         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
29957         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
29958         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
29959         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
29960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
29961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
29962         file.
29963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
29964         New file.
29965         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
29966         file.
29967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
29968         file.
29969         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
29970         file.
29971         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
29972         file.
29973         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
29974         file.
29975         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29976         New file.
29977         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
29978         New file.
29979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
29980         file.
29981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
29982         New file.
29983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
29984         file.
29985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
29986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
29987         file.
29988         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
29989         New file.
29990         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
29991         file.
29992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
29993         file.
29994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
29995         file.
29996         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
29997         file.
29998         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
29999         file.
30000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
30001         New file.
30002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
30003         New file.
30004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
30005         file.
30006         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
30007         New file.
30008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
30009         file.
30011 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
30013         * conform/conformtest.pl: Fix typo in handling typed-constant from
30014         allow-header.
30016 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30018         * README: Cut down references to pre-2.6 Linux kernels and
30019         Linuxthreads.  Update lists of configurations in libc and ports
30020         and sort alphabetically.  Say "or newer" with Linux kernel version
30021         requirements.
30023         * config.h.in [IS_IN_build]: Allow compiling without optimization.
30025 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30027         [BZ #887]
30028         * math/libm-test.inc (logb_test_downward): New test to expose
30029         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
30030         rounding mode.
30032 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
30034         [BZ #14027]
30035         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
30036         to be done.
30037         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
30038         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
30040 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
30042         * sysdeps/unix/i386/brk.S: Remove file.
30043         * sysdeps/unix/i386/dl-brk.S: Likewise.
30044         * sysdeps/unix/i386/pipe.S: Likewise.
30045         * sysdeps/unix/i386/sigreturn.S: Likewise.
30046         * sysdeps/unix/i386/syscall.S: Likewise.
30047         * sysdeps/unix/i386/vfork.S: Likewise.
30048         * sysdeps/unix/i386/wait.S: Likewise.
30050         * sysdeps/unix/common/tcsendbrk.c: Move to ...
30051         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
30053         * configure.in (arm*-none*): Do not allow without
30054         --enable-hacker-mode.
30055         (netbsd*): Remove case setting base_os.
30056         (386bsd*): Likewise.
30057         (freebsd*): Likewise.
30058         (bsdi*): Likewise.
30059         (osf*): Likewise.
30060         (sunos*): Likewise.
30061         (ultrix*): Likewise.
30062         (newsos*): Likewise.
30063         (dynix*): Likewise.
30064         (*bsd*): Likewise.
30065         (sysv*): Likewise.
30066         (isc*): Likewise.
30067         (esix*): Likewise.
30068         (sco*): Likewise.
30069         (minix*): Likewise.
30070         (irix4*): Likewise.
30071         (irix6*): Likewise.
30072         (solaris[2-9]*): Likewise.
30073         (none): Likewise.
30074         * configure: Regenerated.
30076 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30078         [BZ #11521]
30079         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
30080         overflow or cancellation in calculating denominator.
30081         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
30082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
30083         down expression to avoid unexpected rounding in newer GCCs.
30084         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
30086 2012-04-26  David S. Miller  <davem@davemloft.net>
30088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
30089         long-double compat symbols.
30090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
30092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
30093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
30094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
30095         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
30096         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
30097         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
30098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
30099         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30100         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
30101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
30102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
30104 2012-04-25  David S. Miller  <davem@davemloft.net>
30106         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
30107         HWCAP_* values only after the memory barriers have been defined.
30108         (atomic_full_barrier): Define.
30109         (atomic_read_barrier): Define.
30110         (atomic_write_barrier): Define.
30112 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30114         * shlib-versions: Add libgcc_s version information.
30115         * sysdeps/generic/libgcc_s.h: Remove.
30116         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
30117         libgcc_s.h.
30118         * sysdeps/gnu/unwind-resume.c: Likewise.
30119         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
30121 2012-04-25  David S. Miller  <davem@davemloft.net>
30123         * sysdeps/unix/sparc/brk.S: Delete.
30124         * sysdeps/unix/sparc/dl-brk.S: Delete.
30125         * sysdeps/unix/sparc/pipe.S: Delete.
30126         * sysdeps/unix/sparc/sysdep.S: Delete.
30127         * sysdeps/unix/sparc/sysdep.h: Delete.
30128         * sysdeps/unix/sparc/vfork.S: Delete.
30129         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
30130         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
30131         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
30132         ret_ERRVAL, r0, r1, MOVE): Define.
30133         (JUMPTARGET): Remove.
30134         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
30135         sysdeps/unix/sparc/sysdep.h
30136         (ENTRY, END): Remove.
30137         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30139 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
30141         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
30142         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
30143         -DIS_IN_build.
30145         * timezone/README: Update upstream location and email address for
30146         tzcode and tzdata.
30147         * timezone/zdump.c: Update from tzcode 2012b.
30148         * timezone/zic.c: Likewise.
30150         * configure.in (libc_cv_as_needed): Remove test.
30151         * configure: Regenerated.
30152         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
30153         conditional definition.
30154         [$(have-as-needed) != yes] (no-as-needed): Likewise.
30155         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
30156         * config.make.in (have-as-needed): Remove variable.
30158 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30159             Paul Pluzhnikov  <ppluzhnikov@google.com>
30161         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
30162         strings correctly.
30164 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
30166         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
30167         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
30168         * sysdeps/sh/strlen.S: Likewise.
30170 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30172         * sysdeps/unix/fork.S: Remove file.
30173         * sysdeps/unix/i386/fork.S: Likewise.
30174         * sysdeps/unix/sparc/fork.S: Likewise.
30176         * sysdeps/unix/system.c: Remove file.
30177         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
30179         * sysdeps/unix/getegid.S: Remove file.
30180         * sysdeps/unix/geteuid.S: Likewise.
30182 2012-04-24  Roland McGrath  <roland@hack.frob.com>
30184         * scripts/check-localplt.awk: New file.
30185         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
30186         of diff.
30187         * scripts/data/localplt-generic.data: Add a comment.
30189         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
30190         NODE when __dir_mkfile failed.
30191         * sysdeps/mach/hurd/symlinkat.c: Likewise.
30192         Reported by Ludovic Courtès <ludo@gnu.org>.
30194 2012-04-24  Andreas Jaeger  <aj@suse.de>
30196         * Makerules (common-clean): Also remove gen-as-const-headers
30197         files.
30199 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30201         * Makerules (native-compile): Do not change working directory for
30202         build.  Use $(OUTPUT_OPTION) in command.
30203         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
30205 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30207         [BZ #13886]
30208         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
30209         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
30210         * math/libm-test.inc (floor_test): Add more tests.
30211         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
30213 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
30215         * sysdeps/unix/getdents.c: Remove file.
30216         * sysdeps/unix/sysv/getdents.c: Likewise.
30217         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
30219         * sysdeps/unix/syscalls.list (madvise): Add syscall from
30220         sysdeps/unix/mman/syscalls.list.
30221         (mmap): Likewise.
30222         (mprotect): Likewise.
30223         (msync): Likewise.
30224         (munmap): Likewise.
30225         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
30226         * sysdeps/unix/mman/syscalls.list: Remove.
30227         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
30229         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
30230         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
30231         * configure: Regenerated.
30232         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
30233         $(libgcc_s_suffix).
30234         * config.make.in (libgcc_s_suffix): Remove variable.
30236 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
30238         * sysdeps/unix/sysv/gethostname.c: Move to ...
30239         * sysdeps/posix/gethostname.c: ... here.
30241         * sysdeps/unix/execve.S: Remove file.
30243         * sysdeps/unix/_exit.S: Remove file.
30245 2012-04-23  Andreas Jaeger  <aj@suse.de>
30247         [BZ #13739]
30248         * manual/Makefile: Remove make dist support, there's no
30249         need for a stand-alone documentation tar ball.
30250         (TEXI2DVI): Define always, it's not in Makeconfig.
30251         (dist): Removed.
30252         (tar-it): Removed.
30253         (edition): Removed.
30254         (glibc-doc-$(edition).tar): Removed
30255         (%.Z): Removed.
30256         (%.gz): Removed.
30257         (%.uu): Removed.
30258         (ETAGS): Remove, it's in Makeconfig.
30259         (move-if-change): Remove, it's in Makeconfig.
30261 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
30263         [BZ #13970]
30264         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
30265         (strtod, strtof, strtold, strtol, strtoul, strtoq)
30266         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
30267         (strtod_l, strtof_l, strtold_l): Remove __wur.
30268         It is not necessarily an error to ignore strtol's return value.
30269         One can reliably look at the stored endptr to decide whether
30270         the number had valid syntax.
30272 2012-04-21  Andreas Jaeger  <aj@suse.de>
30274         [BZ #13739]
30275         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
30277 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
30279         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
30280         * sysdeps/unix/sysv/Versions: Remove file.
30282 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
30284         [BZ #13927]
30285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30287 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
30289         [BZ #7064]
30290         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
30291         version from __vm86.
30293 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
30295         * sysdeps/unix/common/lxstat.c: Remove file.
30296         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
30298         * sysdeps/unix/sysv/Makefile: Remove file.
30300         * sysdeps/unix/sysv/direct.h: Remove file.
30302         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
30303         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
30304         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
30305         * sysdeps/unix/sysv/bits/signum.h: Likewise.
30306         * sysdeps/unix/sysv/bits/stat.h: Likewise.
30307         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
30308         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
30310         * sysdeps/unix/sysv/setrlimit.c: Remove file.
30312         * sysdeps/unix/xmknod.c: Remove file.
30313         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
30315         * sysdeps/unix/sysv/settimeofday.c: Remove file.
30317         * sysdeps/unix/sysv/i386/time.S: Remove file.
30319         * sysdeps/unix/fxstat.c: Remove file.
30320         * sysdeps/unix/xstat.c: Likewise.
30321         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
30323         * sysdeps/unix/sysv/sigaction.c: Remove file.
30325         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
30326         (sysdep_headers): Remove variable.
30327         [termio.h not in sysdep_headers] (generated): Likewise.
30328         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
30329         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
30330         * sysdeps/unix/sysv/tcdrain.c: Likewise.
30331         * sysdeps/unix/sysv/tcflow.c: Likewise.
30332         * sysdeps/unix/sysv/tcflush.c: Likewise.
30333         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
30334         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
30335         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
30336         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
30337         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
30339         * sysdeps/unix/siglist.c: Remove file.
30341         * sysdeps/unix/getppid.S: Remove file.
30343         * sysdeps/unix/mkdir.c: Remove file.
30344         * sysdeps/unix/rmdir.c: Likewise.
30346 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
30348         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
30349         ERR_MAX value.
30350         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
30351         errlist-compat value.
30353 2012-04-18  David S. Miller  <davem@davemloft.net>
30355         * sysdeps/generic/memcopy.h (reg_char): Delete.
30356         * debug/strcat_chk.c: Use char, not reg_char.
30357         * debug/strcpy_chk.c: Likewise.
30358         * debug/strncat_chk.c: Likewise.
30359         * debug/strncpy_chk.c: Likewise.
30360         * string/memchr.c: Likewise.
30361         * string/memrchr.c: Likewise.
30362         * string/rawmemchr.c: Likewise.
30363         * string/strcat.c: Likewise.
30364         * string/strchr.c: Likewise.
30365         * string/strchrnul.c: Likewise.
30366         * string/strcmp.c: Likewise.
30367         * string/strcpy.c: Likewise.
30368         * string/strncat.c: Likewise.
30369         * string/strncmp.c: Likewise.
30370         * string/strncpy.c: Likewise.
30372 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30374         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
30375         __builtin_memcopy is called when src and dest ranges are known to not
30376         overlap.
30378 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30380         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
30381         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
30382         fwd_align_merge macro call.
30383         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
30384         bwd_align_merge macro call.
30385         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30387 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
30389         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
30390         bwd_align_merge macros.
30391         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
30392         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
30393         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30395 2012-04-18  David S. Miller  <davem@davemloft.net>
30397         * sysdeps/sparc/sparc64/memcopy.h: Delete.
30399 2012-04-18  Andreas Jaeger  <aj@suse.de>
30401         [BZ# 6794]
30402         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
30403         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
30404         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30406         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
30407         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
30408         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30410         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
30411         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
30412         Adjust for changed ldbl-128 files.
30414         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
30415         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
30416         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
30418 2012-04-17  David S. Miller  <davem@davemloft.net>
30420         * sysdeps/sparc/sparc32/memcopy.h: Delete.
30422 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
30424         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
30425         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
30426         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
30427         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
30428         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
30429         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
30431 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30433         [BZ #6794]
30434         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
30435         * math/libm-test.inc: Add ilogb errno and exception tests.
30436         * math/w_ilogb.c: New file: ilogb wrapper.
30437         * math/w_ilogbf.c: New file: ilogbf wrapper.
30438         * math/w_ilogbl.c: New file: ilogbl wrapper.
30439         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
30440         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
30441         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
30442         exception being thrown with 0.0 as argument.
30443         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
30444         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
30445         exception being thrown with 0.0 as argument.
30446         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
30447         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30448         exception being thrown with 0.0 as argument.
30449         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
30450         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
30451         exception being thrown with 0.0 as argument.
30452         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
30453         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
30454         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
30455         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
30456         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
30457         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
30458         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
30459         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
30460         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
30462 2012-04-17  Petr Baudis  <pasky@ucw.cz>
30464         * include/sys/uio.h: Change __vector to __iovec to avoid clash
30465         with altivec.
30467 2012-04-16  Marek Polacek  <polacek@redhat.com>
30469         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
30471 2012-04-16  Marek Polacek  <polacek@redhat.com>
30473         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
30474         operands of fdivp instruction.
30476 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30478         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
30479         * elf/tst-auditmod3b.c: Likewise.
30480         * elf/tst-auditmod4b.c: Likewise.
30481         * elf/tst-auditmod5b.c: Likewise.
30482         * elf/tst-auditmod6b.c: Likewise.
30483         * elf/tst-auditmod6c.c: Likewise.
30484         * elf/tst-auditmod7b.c: Likewise.
30485         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
30486         * sysdeps/x86_64/preconfigure.in: Likewise.
30487         * sysdeps/x86_64/preconfigure: Regenerated.
30489 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
30491         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
30492         __ILP32__.
30494 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
30496         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
30497         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
30499 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
30501         [BZ #13973]
30502         * locale/iso-639.def: Fix gl language name. Spotted by
30503         Yaron Shahrabani.
30505 2012-04-12  Roland McGrath  <roland@hack.frob.com>
30507         [BZ #2074]
30508         * libio/libio.h (__io_write_fn): Update comment.
30510 2012-04-12  Petr Baudis  <pasky@ucw.cz>
30512         [BZ #2074]
30513         * stdio.texi (Hook Functions): The user provided writer function
30514         is not allowed to return -1.
30516 2012-04-11  David S. Miller  <davem@davemloft.net>
30518         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30520 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
30522         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
30523         Add a leading slash to rtkaio.
30525 2012-04-11  Jim Meyering  <meyering@redhat.com>
30527         [BZ #11959]
30528         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
30529         It is not necessarily an error to ignore fwrite's return
30530         value.  One can reliably use ferror to test for errors after
30531         the fact.
30533 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30535         * bits/types.h (__snseconds_t): New type.
30536         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
30538         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
30539         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30540         (__SNSECONDS_T_TYPE): Likewise.
30541         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30542         (__SNSECONDS_T_TYPE): Likewise.
30543         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30544         (__SNSECONDS_T_TYPE): Likewise.
30546 2012-04-10  Andreas Jaeger  <aj@suse.de>
30548         [BZ #2636]
30549         * manual/time.texi (Processor Time): Return type of times is
30550         elapsed real time since an arbitrary point in the past.
30551         (CPU Time): Move CLK_TCK from here...
30552         (Processor Time): ...to here.  Correct description.
30553         * manual/conf.texi (Constants for Sysconf): Correct description of
30554         _SC_CLK_TCK.
30556 2012-04-10  David S. Miller  <davem@davemloft.net>
30558         [BZ #13967]
30559         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
30560         where the is a gap between DT_REL(A) and DT_JMPREL.
30562 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
30564         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
30565         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30566         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30568 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30570         * elf/dl-support.c (_dl_inhibit_cache): New variable.
30571         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
30572         (dl_main): Handle --inhibit-cache.
30573         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
30574         _dl_inhibit_cache.
30575         * elf/dl-load.c (_dl_map_object): Use it.
30576         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
30578 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30580         [BZ #13872]
30581         * sysdeps/i386/fpu/e_powl.S (p78): New object.
30582         (__ieee754_powl): Saturate large exponents rather than testing for
30583         overflow of y*log2(x).
30584         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30585         * math/libm-test.inc (pow_test): Do not permit spurious overflow
30586         exceptions.
30588         [BZ #11521]
30589         * math/s_ctan.c: Include <float.h>.
30590         (__ctan): Avoid internal overflow or cancellation in calculating
30591         denominator.
30592         * math/s_ctanf.c: Likewise.
30593         * math/s_ctanl.c: Likewise.
30594         * math/s_ctanh.c: Likewise.
30595         * math/s_ctanhf.c: Likewise.
30596         * math/s_ctanhl.c: Likewise.
30597         * math/libm-test.inc (ctan_test): Add more tests.
30598         (ctanh_test): Likewise.
30599         * sysdeps/i386/fpu/libm-test-ulps: Update.
30600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30602 2012-04-09  Andreas Jaeger  <aj@suse.de>
30604         [BZ #6894]
30605         * manual/filesys.texi (Directory Entries): Mention that d_namlen
30606         is an optional BSD extension.
30608         [BZ #10254]
30609         * manual/stdio.texi (Opening Streams): Document additional fopen
30610         parameters.
30612 2012-04-09  Roland McGrath  <roland@hack.frob.com>
30614         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
30615         %eax without telling the compiler.
30617 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
30619         [BZ # 13963]
30620         * manual/install.texi: Use sourceware.org.
30622 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
30624         [BZ #13873]
30625         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
30626         (__ieee754_pow): Generate overflow and underflow using huge*huge
30627         and tiny*tiny rather than just returning constant infinity or zero
30628         for large exponents.
30629         * math/libm-test.inc (pow_test): Require overflow exceptions for
30630         applicable cases of large exponents.
30632         [BZ #706]
30633         * sysdeps/i386/fpu/e_pow.S (p10): New object.
30634         (__ieee754_pow): Use iterative multiplication algorithm only for
30635         integer exponents with absolute value below 1024.  Check for odd
30636         integer exponents when using algorithm for real exponents.
30637         * math/libm-test.inc (pow_test): Add more tests.
30638         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30640 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
30642         [BZ #13705]
30643         * math/libm-test.inc (exp_test): Do not allow overflow exception
30644         on underflow test.
30646 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
30648         [BZ #13705]
30649         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
30650         instead of __kernel_standard_f.
30652 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
30654         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
30655         * sysdeps/x86_64/memset_chk.S: Likewise.
30657 2012-04-08  Andreas Jaeger  <aj@suse.de>
30659         [BZ #10153]
30660         * manual/startup.texi (Environment Access): Describe return value
30661         for putenv and setenv.
30663         [BZ #6895]
30664         * manual/filesys.texi (Directory Entries): Add description for
30665         DT_LNK.
30667         [BZ #6890]
30668         * manual/filesys.texi (Directory Entries): Clarify that it's file
30669         system not operating system in the description of DT_UNKNOWN.
30671         [BZ #6578]
30672         * manual/syslog.texi (closelog): Fix reference, it's openlog.
30674 2012-04-08  Stephen Compall  <s11@member.fsf.org>
30676         [BZ #6649]
30677         * manual/llio.texi (Opening and Closing Files): Add cross
30678         reference to explain mode argument.
30680 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
30682         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
30683         * sysdeps/x86_64/memset_chk.S: Likewise.
30685 2012-04-07  David S. Miller  <davem@davemloft.net>
30687         * elf/elf.h (R_SPARC_WDISP10): Define.
30688         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
30689         R_SPARC_SIZE32.
30690         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
30691         R_SPARC_SIZE64 and R_SPARC_H34.
30693 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
30695         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
30696         conditions and remove no longer applicable assertion.
30698 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30700         * bits/byteswap.h: Include <features.h>.
30701         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
30702         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
30704 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
30706         * bits/byteswap.h (__bswap_16): Removed.
30707         Include <bits/byteswap-16.h> to get __bswap_16.
30708         * sysdeps/i386/bits/byteswap.h: Likewise.
30709         * sysdeps/s390/bits/byteswap.h: Likewise.
30710         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30711         * bits/byteswap-16.h: New file.
30712         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30713         * sysdeps/s390/bits/byteswap-16.h: Likewise.
30714         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
30715         * string/Makefile (headers): Add bits/byteswap-16.h.
30717 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30719         [BZ #13895]
30720         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
30721         extra indirection.
30722         * nss/Makefile (tests-static, tests): Add tst-nss-static.
30723         * nss/tst-nss-static.c: New.
30725 2012-04-06  Robert Millan  <rmh@gnu.org>
30727         [BZ #6486]
30728         * manual/llio.texi (File Position Primitive): lseek
30729         refers to WHENCE when it really means OFFSET.
30731 2012-04-06  Andreas Jaeger  <aj@suse.de>
30733         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
30734         strncmp declarations.
30736         * abilist/libc.abilist: Add __poll and __ppoll.
30738 2012-04-05  David S. Miller  <davem@davemloft.net>
30740         * scripts/check-local-headers.sh: Accept a host triplet in the
30741         path matched by the exclude regexp.
30743         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
30744         definition.
30745         * sysdeps/powerpc/powerpc32/dl-machine.h
30746         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
30747         * sysdeps/s390/s390-32/dl-machine.h
30748         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30749         * sysdeps/sparc/sparc32/dl-machine.h
30750         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30751         * sysdeps/sparc/sparc64/dl-machine.h
30752         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
30754         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
30755         lazy binding.
30756         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
30757         undefined symbol errors.
30759         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
30760         DT_NEEDED entries.
30762 2012-04-05  Michael Matz  <matz@suse.de>
30764         [BZ #13592]
30765         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
30767 2012-04-05  Andreas Jaeger  <aj@suse.de>
30769         [BZ #13908]
30770         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
30771         comment.
30773 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30775         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
30776         which ROUND is no valid rounding mode.
30778 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30780         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
30781         read again.
30782         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
30784 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30786         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
30787         an exception using FPU order intentionally.
30789 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30791         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
30792         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
30793         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
30794         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
30796 2012-04-05  Simon Josefsson  <simon@josefsson.org>
30798         [BZ #12340]
30799         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
30800         EINVAL when BUFLEN is too smal.
30802 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
30804         [BZ #13553]
30805         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
30806         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
30808 2012-04-03  Andreas Jaeger  <aj@suse.de>
30810         [BZ #13938]
30811         * manual/setjmp.texi (System V contexts): Fix sentence.
30813         [BZ #13926]
30814         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
30815         New macro for this case.
30816         [!__GNUC__] (__bswap_64): New inline function for this case.
30817         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30818         * bits/byteswap.h: Likewise.
30819         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
30820         ull, guard with __GLIBC_HAVE_LONG_LONG.
30822         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
30823         __GLIBC_HAVE_LONG_LONG.
30825         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
30826         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
30828 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30830         [BZ #13691]
30831         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
30832         inptr and inend, rather than using last_ch.
30834 2012-04-02  David S. Miller  <davem@davemloft.net>
30836         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
30837         * stdio-common/printf-parse.h (read_int): Change return type to
30838         'int', return -1 on INT_MAX overflow.
30839         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
30840         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
30841         overflows INT_MAX.  Check for overflow of in-format-string precision
30842         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
30843         SIZE_MAX not INT_MAX for integer overflow test.
30844         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
30845         skip the construct in the format string but do not record anything.
30846         * stdio-common/bug22.c: Adjust to test both width/prevision
30847         INT_MAX overflow as well as total length INT_MAX overflow.  Check
30848         explicitly for proper errno values.
30850 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
30852         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
30853         CHAR_MAX.
30854         * string/test-strcmp.c [! WIDE]: Likewise.
30855         * time/tst-mktime2.c: Likewise for INT_MAX.
30856         * string/test-string.h: #include <sys/param.h> for MIN.
30858         * csu/init-first.c (__libc_init_first): Call __ctype_init.
30859         * sysdeps/i386/init-first.c (init): Likewise.
30860         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
30861         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
30862         * sysdeps/sh/init-first.c (init): Likewise.
30864 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
30866         * po/ru.po: Update from translation team.
30867         * po/vi.po: Likewise.
30869 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         * resolv/nss_dns/dns-host.c: Merge copyright years.
30873 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30875         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30876         Optimize memcpy with prefetch if
30877         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
30878         src, dst pointers have unequal 16 byte alignments.
30880 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30882         [BZ #13928]
30883         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
30884         from a CNAME entry and return the minimum ttl for the query.
30885         (gaih_getanswer_slice): Likewise.
30887 2012-03-30  Jeff Law  <law@redhat.com>
30889         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
30890         due to long keys.
30891         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
30892         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
30894         * resolv/nss_dns/dns-host.c: Update copyright year.
30896 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
30898         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
30899         requests to save a system call.  Fix check that all bytes are sent.
30901         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
30902         comments for sendmmsg.
30904 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30906         [BZ #13691]
30907         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
30908         with only 1 character between 0x0041 and 0x01b0.
30909         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
30910         * wcsmbs/tst-mbsnrtowcs.c: New file.
30912 2012-03-29  David S. Miller  <davem@davemloft.net>
30914         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
30915         small copies by hand.
30917 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30919         [BZ #13761]
30920         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
30921         _nss_compat_initgroups_dyn): Fall back to malloc/free
30922         for large group memberships.
30924 2012-03-28  David S. Miller  <davem@davemloft.net>
30926         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
30927         that branches into memcpy.
30928         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30930         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30931         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30932         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
30933         bits.
30934         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
30935         implementation too.
30936         * sysdeps/sparc/mempcpy.S: New file.
30938         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
30939         the IFUNC routine in the libc case.
30940         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30942         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
30943         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
30944         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
30945         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
30946         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
30947         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
30948         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
30949         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
30951         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
30952         loop to 256 bytes instead of 64 bytes and fix test signedness.
30954         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
30955         * sysdeps/sparc/sparc32/Makefile: rather than here...
30956         * sysdeps/sparc/sparc64/Makefile: and here.
30958 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
30960         * malloc/mallocbug.c: Avoid warnings about unused variables.
30962 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30964         [BZ #13760]
30965         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
30966         in the right place. Discard and retry query if response is
30967         larger than input buffer size.
30969 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
30971         [BZ #369]
30972         [BZ #2678]
30973         [BZ #3866]
30974         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
30975         x for large integer exponent.
30976         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
30977         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
30978         sign of result as needed afterwards.
30979         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
30980         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
30981         result for underflowing pow the same as for overflow.
30982         (__kernel_standard_l): Handle powl overflow and underflow here
30983         rather than calling __kernel_standard.
30984         * math/libm-test.inc (pow_test): Add more tests.
30986         [BZ #3868]
30987         [BZ #13879]
30988         [BZ #13910]
30989         [BZ #13911]
30990         [BZ #13912]
30991         [BZ #13913]
30992         [BZ #13915]
30993         [BZ #13916]
30994         [BZ #13917]
30995         [BZ #13918]
30996         [BZ #13919]
30997         [BZ #13920]
30998         [BZ #13921]
30999         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
31000         * sysdeps/ieee754/k_standard.c: Include <float.h>.
31001         (__kernel_standard_l): New function.
31002         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
31003         __kernel_standard.
31004         * math/w_acosl.c (__acosl): Likewise.
31005         * math/w_asinl.c (__asinl): Likewise.
31006         * math/w_atan2l.c (__atan2l): Likewise.
31007         * math/w_atanhl.c (__atanhl): Likewise.
31008         * math/w_coshl.c (__coshl): Likewise.
31009         * math/w_exp10l.c (__exp10l): Likewise.
31010         * math/w_exp2l.c (__exp2l): Likewise.
31011         * math/w_fmodl.c (__fmodl): Likewise.
31012         * math/w_hypotl.c (__hypotl): Likewise.
31013         * math/w_j0l.c (__j0l, __y0l): Likewise.
31014         * math/w_j1l.c (__j1l, __y1l): Likewise.
31015         * math/w_jnl.c (__jnl, __ynl): Likewise.
31016         * math/w_lgammal.c (__lgammal): Likewise.
31017         * math/w_log10l.c (__log10l): Likewise.
31018         * math/w_log2l.c (__log2l): Likewise.
31019         * math/w_logl.c (__logl): Likewise.
31020         * math/w_powl.c (__powl): Likewise.
31021         * math/w_remainderl.c (__remainderl): Likewise.
31022         * math/w_scalbl.c (sysv_scalbl): Likewise.
31023         * math/w_sinhl.c (__sinhl): Likewise.
31024         * math/w_sqrtl.c (__sqrtl): Likewise.
31025         * math/w_tgammal.c (__tgammal): Likewise.
31026         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
31027         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
31028         * math/libm-test.inc (acos_test): Add more tests.
31029         (acosh_test): Likewise.
31030         (asin_test): Likewise.
31031         (atanh_test): Likewise.
31032         (exp_test): Likewise.
31033         (exp10_test): Likewise.
31034         (exp2_test): Likewise.
31035         (expm1_test): Likewise.
31036         (lgamma_test): Likewise.
31037         (log_test): Likewise.
31038         (log10_test): Likewise.
31039         (log1p_test): Likewise.
31040         (log2_test): Likewise.
31041         (pow_test): Do not allow some spurious overflow exceptions.
31042         (sqrt_test): Add more tests.
31043         (tgamma_test): Likewise.
31044         (y0_test): Likewise.
31045         (y1_test): Likewise.
31046         (yn_test): Likewise.
31048 2012-03-27  Anton Blanchard  <anton@samba.org>
31050         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
31051         MAP_HUGETLB.
31052         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
31053         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
31054         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
31056 2012-03-27  David S. Miller  <davem@davemloft.net>
31058         * conform/Makefile: Run run-conformtest.sh using $(BASH).
31060         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
31061         have-as-vis3 check.
31063 2012-03-27  Andreas Jaeger  <aj@suse.de>
31065         * sysdeps/x86_64/elf/configure.in: Moved to ...
31066         * sysdeps/x86_64/configure.in: ... here.
31067         * sysdeps/x86_64/elf/start.S: Moved to ...
31068         * sysdeps/x86_64/start.S: ... here.
31069         * sysdeps/x86_64/elf/configure: Delete.
31071         * sysdeps/x86_64/configure.in: Merge contents from
31072         sysdeps/i386/configure.in (without i686 check).
31074         * sysdeps/i386/elf/Versions: Merge into ...
31075         * sysdeps/i386/Versions: ... this.
31076         * sysdeps/i386/elf/Versions: Delete file.
31077         * sysdeps/i386/elf/start.S: Moved to ...
31078         * sysdeps/i386/start.S: ...here.
31079         * sysdeps/i386/elf/configure.in: Merge into...
31080         * sysdeps/i386/configure.in: ...here.
31081         * sysdeps/i386/elf/configure.in: Delete file.
31082         * sysdeps/i386/elf/configure: Delete file.
31084         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
31085         * debug/backtracesyms.c: ... here.
31086         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
31087         * debug/backtracesymsfd.c: ... here.
31088         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
31089         * sysdeps/generic/ifunc-sel.h: ... here.
31091         * sysdeps/unix/i386/start.c: Delete file.
31092         * sysdeps/unix/sparc/start.c: Delete file.
31093         * sysdeps/unix/start.c: Delete file.
31095         * sysdeps/sh/elf/configure.in: Moved to ...
31096         * sysdeps/sh/configure.in: ... here.
31097         * sysdeps/sh/elf/start.S: Moved to ...
31098         * sysdeps/sh/start.S: ... here.
31099         * sysdeps/sh/elf/configure: Delete file.
31101         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
31102         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
31103         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
31104         * sysdeps/powerpc/powerpc64/entry.h: ... here.
31105         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
31106         * sysdeps/powerpc/powerpc64/start.S: here.
31107         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
31108         * sysdeps/powerpc/powerpc64/Makefile: ... this.
31109         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
31110         * sysdeps/powerpc/powerpc64/configure.in: ... this.
31111         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
31113         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
31114         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
31115         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
31116         * sysdeps/powerpc/powerpc32/start.S: ... here.
31117         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
31118         * sysdeps/powerpc/powerpc32/configure.in: ... this.
31119         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
31121         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
31122         * sysdeps/powerpc/ifunc-sel.h: ... here.
31123         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
31124         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
31126         * sysdeps/sparc/elf/configure.in: Moved to ...
31127         * sysdeps/sparc/configure.in: ... here.
31128         * sysdeps/sparc/elf/configure: Delete file.
31129         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
31130         * sysdeps/sparc/sparc32/start.S: ... here.
31131         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
31132         * sysdeps/sparc/sparc64/start.S: ... here.
31133         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
31134         * sysdeps/sparc/sparc32/Makefile: ... this.
31135         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
31136         * sysdeps/sparc/sparc64/Makefile: ... this.
31138         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
31139         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
31140         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
31141         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
31142         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
31143         * sysdeps/s390/s390-32/setjmp.S: ... here.
31144         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
31145         * sysdeps/s390/s390-32/configure.in: ... here.
31146         * sysdeps/s390/s390-32/elf/configure: Delete file.
31147         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
31148         * sysdeps/s390/s390-32/start.S: ... here.
31150         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
31151         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
31152         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
31153         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
31154         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
31155         * sysdeps/s390/s390-64/setjmp.S: ... here.
31156         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
31157         * sysdeps/s390/s390-64/configure.in: ... here
31158         * sysdeps/s390/s390-64/elf/configure: Delete file.
31159         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
31160         * sysdeps/s390/s390-64/start.S: ... here.
31161         * sysdeps/s390/s390-64/elf/configure: Delete.
31163         * configure.in: Remove support for elf directories in sysdeps.
31165         * configure: Regenerated.
31166         * sysdeps/i386/configure: Regenerated.
31167         * sysdeps/powerpc/powerpc32/configure: Regenerated.
31168         * sysdeps/powerpc/powerpc64/configure: Regenerated.
31169         * sysdeps/s390/s390-32/configure: Regenerated.
31170         * sysdeps/s390/s390-64/configure: Regenerated.
31171         * sysdeps/sh/configure: Regenerated.
31172         * sysdeps/sparc/configure: Regenerated.
31173         * sysdeps/x86_64/configure: Regenerated.
31175 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
31177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31179         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
31180         denormal result into account.
31182 2012-03-25  Roland McGrath  <roland@hack.frob.com>
31184         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
31185         Reported by Allan McRae <allan@archlinux.org>.
31187 2012-03-23  Jeff Law  <law@redhat.com>
31189         * nss/getnssent.c (__nss_getent): Fix typo.
31191 2012-03-23  David S. Miller  <davem@davemloft.net>
31193         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31195 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
31197         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
31198         to pad to uint64_t for each field.
31199         (dl_tls_index): Replace unsigned long with uint64_t.
31201 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
31202         Paul Pluzhnikov  <ppluzhnikov@google.com>
31204         [BZ #6528]
31205         * grp/Makefile (otherlibs): Don't set it.
31206         * inet/Makefile (otherlibs): Likewise.
31207         * login/Makefile (otherlibs): Likewise.
31208         * nscd/Makefile (otherlibs): Likewise.
31209         * posix/Makefile (otherlibs): Likewise.
31210         * pwd/Makefile (otherlibs): Likewise.
31211         * rt/Makefile (otherlibs): Likewise.
31212         * sunrpc/Makefile (otherlibs): Likewise.
31213         * nss/Makefile (otherlibs): Likewise.
31214         Add libnss_files to routines and static-only-routines.
31215         ($(objpfx)getent): Remove rule.
31216         * resolv/Makefile: Add libnss_dns and libresolv to routines and
31217         static-only-routines.
31219 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31221         [BZ #13892]
31222         * math/s_cexp.c: Include <float.h>.
31223         (__cexp): Handle exp result overflowing not necessarily
31224         overflowing both real and imaginary parts of result.
31225         * math/s_cexpf.c: Likewise.
31226         * math/s_cexpl.c: Likewise.
31227         * math/libm-test.inc (cexp_test): Add more tests.
31228         * sysdeps/i386/fpu/libm-test-ulps: Update.
31229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31231 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31233         * include/link.h (ELFW): New macro.
31234         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
31235         Replace ELF64_R_TYPE with ELFW(R_TYPE).
31237 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31239         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
31240         with uint64_t.
31242 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31244         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
31245         declaration.
31246         (struct La_x32_retval): Likewise.
31248 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
31250         * sysdeps/x86_64/preconfigure.in: New file.
31251         * sysdeps/x86_64/preconfigure: New generated file.
31253 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
31255         [BZ #13824]
31256         * math/e_exp2l.c: Include <float.h>.
31257         (__ieee754_exp2l): Handle overflow and underflow cases
31258         separately.  Only pass fractional part of argument to
31259         __ieee754_expl.
31260         * math/libm-test.inc (exp2_test): Add more tests.
31262         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
31263         negating x to take absolute value.
31264         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31265         Likewise.
31266         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
31267         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31268         Likewise.
31269         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
31270         computing low part if x was negated.
31271         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31273 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31275         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
31276         la_x32_gnu_pltexit.
31277         (pltexit): Cast int_retval to ptrdiff_t.
31278         * elf/tst-auditmod3b.c: Likewise.
31279         * elf/tst-auditmod4b.c: Likewise.
31280         * elf/tst-auditmod5b.c: Likewise.
31281         * elf/tst-auditmod6b.c: Likewise.
31282         * elf/tst-auditmod6c.c: Likewise.
31283         * elf/tst-auditmod7b.c: Likewise.
31285         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
31286         and x32_gnu_pltexit.
31288         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
31289         __ELF_NATIVE_CLASS.
31290         (La_x32_regs): New macro.
31291         (La_x32_retval): Likewise.
31292         (la_x32_gnu_pltenter): New function prototype.
31293         (la_x32_gnu_pltexit): Likewise.
31295 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
31297         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
31298         exponent.
31300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31302         * configure.in (libc_cv_cc_nofma): Check for option to disable
31303         generation of FMA instructions.
31304         * configure: Regenerate.
31305         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
31306         * sysdeps/ieee754/dbl-64/Makefile: New file.
31307         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
31308         Remove brandred-fma4.
31309         (CFLAGS-brandred-fma4.c): Remove.
31310         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
31311         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
31312         define.
31313         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
31314         define.
31316 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31318         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
31319         LLONG_MAX != LONG_MAX.
31320         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31321         (_fitoa_word): Likewise.
31322         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
31323         LLONG_MAX != LONG_MAX.
31324         * stdio-common/_itowa.h: Include <_itoa.h>.
31325         (_itowa_word): Use _ITOA_WORD_TYPE on value.
31326         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
31327         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
31328         only if not defined.
31329         (_ITOA_WORD_TYPE): Likewise.
31330         (_itoa_word): Use _ITOA_WORD_TYPE on value.
31331         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
31333 2012-03-21  David S. Miller  <davem@davemloft.net>
31335         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31337 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
31339         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
31340         of x86_64 when setting libc_cv_slibdir, libdir and
31341         libc_cv_localedir.
31342         * sysdeps/unix/sysv/linux/configure: Regenerated.
31344 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31346         * manual/lang.texi (Old Varargs): Remove section.
31347         (How Variadic): Update menu.
31348         (va_start): Do not mention varargs.h.
31350 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31351             Joseph Myers  <joseph@codesourcery.com>
31353         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
31354         link test.
31355         * configure: Regenerated.
31357 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
31359         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
31360         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
31361         conformtest.pl
31363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31365         * NOTES: Remove.
31366         * Makefile (files-for-dist): Remove NOTES.
31367         (NOTES): Remove rule.
31368         * README: Don't refer to NOTES.
31369         * manual/creature.texi: Don't include macros.texi.
31370         * manual/intro.texi (creature.texi): Remove comment referring to
31371         NOTES.
31373         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
31374         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
31375         * configure: Regenerated.
31376         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
31377         LIBC_TRY_CC_OPTION.
31378         (libc_cv_as_i686): Likewise.
31379         (libc_cv_cc_avx): Likewise.
31380         (libc_cv_cc_sse2avx): Likewise.
31381         (libc_cv_cc_fma4): Likewise.
31382         (libc_cv_cc_novzeroupper): Likewise.
31383         * sysdeps/i386/configure: Regenerated.
31385         [BZ #13883]
31386         * sysdeps/i386/fpu/s_cexp.S: Remove.
31387         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
31388         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
31389         * math/libm-test.inc (cexp_test): Add more tests.
31390         * sysdeps/i386/fpu/libm-test-ulps: Update.
31391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31393 2012-03-21  Allan McRae  <allan@archlinux.org>
31395         * timezone/Makefile: Do not install iso3166.tab and zone.tab
31397 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
31399         [BZ #13871]
31400         * math/w_exp2.c: Do not include <float.h>.
31401         (o_threshold, u_threshold): Remove.
31402         (__exp2): Calculate result before checking finiteness and calling
31403         __kernel_standard.
31404         * math/w_exp2f.c: Likewise.
31405         * math/w_exp2l.c: Likewise.
31406         * math/libm-test.inc (exp2_test): Require overflow exception for
31407         1e6 input.
31409         [BZ #3866]
31410         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
31411         range of signed 64-bit integers before using fistpll.  Remove
31412         checks for whether integers fit in mantissa bits.
31413         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
31414         the range of signed 32-bit integers before using fistpl.  Remove
31415         checks for whether integers fit in mantissa bits.
31416         * sysdeps/i386/fpu/e_powl.S (p64): New object.
31417         (__ieee754_powl): Test for y outside the range of signed 64-bit
31418         integers before using fistpll.  Reduce 64-bit values to 63-bit
31419         ones as needed.
31420         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
31421         divide-by-zero is raised for zero to large negative powers.
31422         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
31423         (__ieee754_powl): Test for y outside the range of signed 64-bit
31424         integers before using fistpll.  Reduce 64-bit values to 63-bit
31425         ones as needed.
31426         * math/libm-test.inc (pow_test): Add more tests.
31428 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31430         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
31431         <stdio-common/_itoa.h>.
31432         * debug/segfault.c: Likewise.
31433         * elf/dl-cache.c: Likewise.
31434         * elf/dl-minimal.c: Likewise.
31435         * elf/dl-misc.c: Likewise.
31436         * elf/dl-sysdep.c: Likewise.
31437         * elf/dl-version.c: Likewise.
31438         * elf/rtld.c: Likewise.
31439         * hurd/hurdsock.c: Likewise.
31440         * hurd/lookup-retry.c: Likewise.
31441         * malloc/malloc.c: Likewise.
31442         * malloc/mtrace.c: Likewise.
31443         * nscd/nscd_getgr_r.c: Likewise.
31444         * nscd/nscd_getpw_r.c: Likewise.
31445         * nscd/nscd_getserv_r.c: Likewise.
31446         * posix/getopt_init.c: Likewise.
31447         * posix/wordexp.c: Likewise.
31448         * stdio-common/_itoa.c: Likewise.
31449         * stdio-common/printf_fphex.c: Likewise.
31450         * stdio-common/vfprintf.c: Likewise.
31451         * string/_strerror.c: Likewise.
31452         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
31453         * sysdeps/i386/i686/hp-timing.h: Likewise.
31454         * sysdeps/mach/_strerror.c: Likewise.
31455         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
31456         * sysdeps/mach/hurd/sethostid.c: Likewise.
31457         * sysdeps/mach/hurd/xmknodat.c: Likewise.
31458         * sysdeps/mach/xpg-strerror.c: Likewise.
31459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31460         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31461         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
31462         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
31463         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31464         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
31465         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
31466         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
31467         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
31468         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
31469         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
31470         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
31471         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
31472         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
31473         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
31474         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
31475         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
31476         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
31477         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31478         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31479         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
31481         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
31483         * stdio-common/_itoa.h: Moved to ...
31484         * sysdeps/generic/_itoa.h: Here.
31486         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
31488         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
31489         instead of "_itoa.h" and "_itowa.h".
31490         * stdio-common/vfprintf.: Likewise.
31492 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31494         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
31495         <bits/wordsize.h>.
31496         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
31497         (__signbit): Likwise.
31498         (llrintf): Likwise.
31499         (llrint): Likwise.
31501 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
31503         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
31504         __WORDSIZE != 64.
31506 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
31508         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
31509         OVERFLOW_EXCEPTION_OK.
31510         * math/libm-test.inc ("Philosophy"): Update comment about
31511         exception testing.
31512         (OVERFLOW_EXCEPTION): Define.
31513         (OVERFLOW_EXCEPTION_OK): Likewise.
31514         (INVALID_EXCEPTION_OK): Renumber.
31515         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31516         (IGNORE_ZERO_INF_SIGN): Likewise.
31517         (test_exceptions): Handle FE_OVERFLOW.
31518         (exp10_test): Expect overflow exceptions.
31519         (exp2_test): Likewise.
31520         (expm1_test): Likewise.
31521         (nextafter_test): Likewise.
31522         (pow_test): Likewise.
31523         (scalbn_test): Likewise.
31524         (scalbln_test): Likewise.
31526 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31528         * sysdeps/x86_64/bits/atomic.h
31529         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
31530         64bit integer.
31531         (atomic_exchange_acq): Likewise.
31532         (__arch_exchange_and_add_body): Likewise.
31533         (__arch_add_body): Likewise.
31534         (atomic_add_negative): Likewise.
31535         (atomic_add_zero): Likewise.
31537 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31539         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
31540         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
31542 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31544         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
31545         Check __x86_64__ instead of __WORDSIZE.
31547 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31549         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
31551 2012-03-19  David S. Miller  <davem@davemloft.net>
31553         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31555         * sysdeps/sparc/fpu/fenv_private.h: New file.
31556         * sysdeps/sparc/fpu/math_private.h: Use it.
31557         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
31558         Remove.
31559         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
31560         (libc_feholdexcept_setroundl): Remove.
31561         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
31562         Remove.
31563         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
31564         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
31566 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31568         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
31569         int64_t instead of long int.
31570         (INSERT_WORDS64): Likwise.
31572 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
31574         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
31575         _Unwind_GetCFA return to _Unwind_Ptr first.
31577 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
31579         [BZ #13629]
31580         * math/s_clog.c: Include <float.h>.
31581         (__clog): Scale large or subnormal inputs.
31582         * math/s_clogf.c: Likewise.
31583         * math/s_clogl.c: Likewise.
31584         * math/s_clog10.c: Include <float.h>.
31585         (M_LOG10_2): Define.
31586         (__clog10): Scale large or subnormal inputs.
31587         * math/s_clog10f.c: Likewise.
31588         * math/s_clog10l.c: Likewise.
31589         * math/libm-test.inc (clog_test): Add more tests.
31590         (clog10_test): Likewise.
31591         * sysdeps/i386/fpu/libm-test-ulps: Update.
31592         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31594         [BZ #11451]
31595         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
31596         x and y.
31597         * math/libm-test.inc (atan2_test): Add another test.
31599         * Makerules (common-objdir-compile): Remove.
31600         * sysdeps/unix/Makefile (config-generated): Do not add
31601         $(unix-generated) to variable.
31602         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
31603         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
31604         Remove rule.
31605         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
31606         Likewise.
31607         [generic bits/local_lim.h] (before-compile): Do not append to
31608         variable.
31609         [generic bits/local_lim.h] (common-generated): Likewise.
31610         [generic sys/param.h] (before-compile): Do not append to variable.
31611         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
31612         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
31613         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
31614         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
31615         include.
31616         [generic sys/param.h] (sys/param.h-includes): Remove variable.
31617         [generic sys/param.h] (sys/param.h-includes): Remove rule.
31618         [generic sys/param.h] ($(addprefix
31619         $(common-objpfx),$(sys/param.h-includes))): Likewise.
31620         [generic sys/param.h] (common-generated): Do not append to
31621         variable.
31622         [generic sys/param.h] (sysdep_headers): Likewise.
31623         [generic bits/errno.h] (before-compile): Do not append to
31624         variable.
31625         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
31626         rule.
31627         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
31628         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
31629         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
31630         [generic bits/errno.h] (common-generated): Do not append to
31631         variable.
31632         [generic bits/ioctls.h] (before-compile): Do not append to
31633         variable.
31634         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
31635         rule.
31636         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
31637         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
31638         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
31639         rule.
31640         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
31641         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
31642         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
31643         [generic bits/ioctls.h] (common-generated): Do not append to
31644         variable.
31645         [generic sys/syscall.h] (syscall.h): Remove variable.
31646         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
31647         rule.
31648         [generic sys/syscall.h] (before-compile): Do not append to
31649         variable.
31650         [generic sys/syscall.h] (common-generated): Likewise.
31651         * sysdeps/unix/errnos-tmpl.c: Remove file.
31652         * sysdeps/unix/errnos.awk: Likewise.
31653         * sysdeps/unix/ioctls-tmpl.c: Likewise.
31654         * sysdeps/unix/ioctls.awk: Likewise.
31655         * sysdeps/unix/mk-local_lim.c: Likewise.
31656         * sysdeps/unix/snarf-ioctls: Likewise.
31658 2012-03-19  Richard Henderson  <rth@twiddle.net>
31660         * sysdeps/i386/fpu/fenv_private.h: New file.
31661         * sysdeps/i386/fpu/math_private.h: Use it.
31662         (math_opt_barrier, math_force_eval): Remove.
31663         (libc_feholdexcept_setround_53bit): Remove.
31664         (libc_feupdateenv_53bit): Remove.
31665         * sysdeps/x86_64/fpu/math_private.h: Likewise.
31666         (math_opt_barrier, math_force_eval): Remove.
31667         (libc_feholdexcept): Remove.
31668         (libc_feholdexcept_setround): Remove.
31669         (libc_fetestexcept, libc_fesetenv): Remove.
31670         (libc_feupdateenv_test): Remove.
31671         (libc_feupdateenv, libc_feholdsetround): Remove.
31672         (libc_feresetround): Remove.
31674         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
31675         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31677         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
31678         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
31679         (libc_feupdateenv_testl): New.
31680         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
31681         (libc_feupdateenv_testf): New.
31682         (libc_feupdateenv): Use libc_feupdateenv_test.
31683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
31684         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
31686         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
31687         (libc_feholdsetroundf, libc_feholdsetroundl): New.
31688         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
31689         (libc_feresetround_noex): New.
31690         (libc_feresetround_noexf): New.
31691         (libc_feresetround_noexl): New.
31692         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
31693         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
31694         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
31695         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
31696         SET_RESTORE_ROUND.
31697         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31698         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
31699         (__cos): Likewise.
31700         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
31701         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
31702         SET_RESTORE_ROUND_NOEX.
31703         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
31704         SET_RESTORE_ROUND_NOEXF.
31705         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
31706         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
31707         (libc_feholdsetroundf): New.
31708         (libc_feresetround, libc_feresetroundf): New.
31710         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
31711         (libc_feholdexcept_setround_53bit): Convert from macro to function.
31712         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
31714         * sysdeps/generic/math_private.h: Include <fenv.h>.
31715         (default_libc_feholdexcept): New.
31716         (default_libc_feholdexcept_setround): New.
31717         (default_libc_fesetenv, default_libc_feupdateenv): New.
31718         (libc_feholdexcept): Only define if undefined.
31719         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
31720         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
31721         (libc_feholdexcept_setroundl): Likewise.
31722         (libc_feholdexcept_setround_53bit): Likewise.
31723         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
31724         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
31725         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
31726         (libc_feupdateenv_53bit): Likewise.
31727         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
31728         (libc_feholdexcept): Convert from macro to inline function.
31729         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
31730         (libc_fesetenv, libc_feupdateenv): Likewise.
31732         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
31733         not previously defined.
31734         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
31735         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
31736         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
31737         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
31738         * sysdeps/ieee754/flt-32/math_private.h: New file.
31739         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
31740         math_private.h below SET_FLOAT_WORD.
31741         (__isnan, __isinf_ns, __finite): Remove.
31742         (__isnanf, __isinf_nsf, __finitef): Remove.
31744 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
31746         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31748 2012-03-17  David S. Miller  <davem@davemloft.net>
31750         [BZ #6471]
31751         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
31752         for 2.16.
31754 2012-03-16  David S. Miller  <davem@davemloft.net>
31756         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
31757         warnings.
31759         [BZ #6471]
31760         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
31761         properly.
31762         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
31763         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
31764         sysdep_routines when subdir is sysvipc.
31765         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
31766         __getshmlba helper.
31768         * sysdeps/sparc/fpu/libm-test/ulps: Update.
31770 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31772         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
31773         [__LP64__].
31775 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31777         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
31778         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
31779         (__lround): Renamed to ...
31780         (__llround): This.  Replace long int with long long int.
31781         Define lround functions as aliases of llround functions.
31782         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
31784 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31786         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
31787         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
31788         adresses to uintptr_t.  Replace "long int" and "unsigned long
31789         int" with "greg_t" on va_arg.
31791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31793         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
31794         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
31796         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
31797         Move e_machine check before EI_CLASS check.  Handle x32
31798         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
31799         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
31800         SKIP_EM_IA_64 and include
31801         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
31803         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
31804         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
31805         (add_system_dir): New macro.
31807         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
31808         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
31810 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31812         [BZ #2551]
31813         [BZ #2552]
31814         [BZ #2553]
31815         [BZ #2554]
31816         [BZ #2562]
31817         [BZ #2563]
31818         [BZ #2565]
31819         [BZ #2566]
31820         [BZ #2576]
31821         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
31822         (y0): Likewise.
31823         * math/w_j0f.c (j0f): Likewise.
31824         (y0f): Likewise.
31825         * math/w_j0l.c (__j0l): Likewise.
31826         (__y0l): Likewise.
31827         * math/w_j1.c (j1): Likewise.
31828         (y1): Likewise.
31829         * math/w_j1f.c (j1f): Likewise.
31830         (y1f): Likewise.
31831         * math/w_j1l.c (__j1l): Likewise.
31832         (__y1l): Likewise.
31833         * math/w_jn.c (jn): Likewise.
31834         (yn): Likewise.
31835         * math/w_jnf.c (jnf): Likewise.
31836         (ynf): Likewise.
31837         * math/w_jnl.c (__jnl): Likewise.
31838         (__ynl): Likewise.
31839         * math/libm-test.inc (j0_test): Add more tests.
31840         (j1_test): Likewise.
31841         (jn_test): Likewise.  Add trailing semicolon to existing test.
31842         (y0_test): Likewise.
31843         (y1_test): Likewise.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847         [BZ #13851]
31848         [BZ #13854]
31849         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
31850         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
31851         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
31852         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
31853         (__tanl): Set errno for infinite argument.
31854         * sysdeps/i386/fpu/mptan.c: Remove.
31855         * sysdeps/i386/fpu/s_tan.S: Likewise.
31856         * sysdeps/i386/fpu/s_tanl.S: Likewise.
31857         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
31858         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
31859         * math/libm-test.inc (tan_test): Add more tests and enable more
31860         tests for double and long double.
31861         * sysdeps/i386/fpu/libm-test-ulps: Update.
31862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31864 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
31866         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
31867         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
31869 2012-03-16  Roland McGrath  <roland@hack.frob.com>
31871         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
31872         * configure.in: Use it for both main tree and add-ons.
31873         * configure: Regenerated.
31875 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
31877         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
31879 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
31881         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
31882         in comment.
31884         [BZ #13851]
31885         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
31886         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
31887         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
31888         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
31889         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
31890         infinite argument.
31891         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
31892         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
31893         != 0 for prec == 2.
31894         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
31895         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
31896         * sysdeps/i386/fpu/s_cosl.S: Likewise.
31897         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
31898         * sysdeps/i386/fpu/s_sinl.S: Likewise.
31899         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
31900         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
31901         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
31902         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
31903         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
31904         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
31905         * math/libm-test.inc (cos_test): Add more tests and enable more
31906         tests for long double.
31907         (sin_test): Likewise.
31908         (sincos_test): Likewise.
31909         * sysdeps/i386/fpu/libm-test-ulps: Update.
31910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31912 2012-03-16  David S. Miller  <davem@davemloft.net>
31914         * sysdeps/sparc/fpu/math_private.h: New file.
31916 2012-03-15  David S. Miller  <davem@davemloft.net>
31918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
31919         file.
31920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
31921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
31922         file.
31923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
31924         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
31925         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
31926         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
31927         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
31928         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
31929         sysdep routines.
31930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
31932         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
31933         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
31935         * sysdeps/sparc/sparc-ifunc.h: New file.
31936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
31937         sparc-ifunc.h
31938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
31939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
31940         Likewise.
31941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
31942         Likewise.
31943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
31944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
31945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
31947         Likewise.
31948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
31950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
31952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
31953         Likewise.
31954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
31955         Likewise.
31956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
31958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
31959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
31960         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
31961         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
31962         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
31963         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
31964         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
31965         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
31966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
31967         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
31968         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
31969         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
31970         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
31971         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
31972         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
31973         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
31974         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
31975         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
31976         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
31977         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
31978         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
31979         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
31981 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
31983         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
31984         scaling.
31985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31987 2012-03-15  Andreas Jaeger  <aj@suse.de>
31989         [BZ #13852]
31990         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
31991         ieee754/flt-32 implementation for sin, cos and sincos.
31992         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
31993         * sysdeps/i386/fpu/s_cosf.S: Likewise.
31994         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
31995         * sysdeps/i386/fpu/s_sinf.S: Likewise.
31996         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
31997         ieee754/flt-32 implementation for tan.
31999         * math/libm-test.inc (cos_test): Enable some large input tests for
32000         float as well
32001         (sin_test): Likewise.
32002         (sincos_test): Likewise.
32003         (tan_test): Add tests for large input.
32005         * sysdeps/i386/fpu/libm-test-ulps: Update.
32007 2012-03-15  Andreas Jaeger  <aj@suse.de>
32009         [BZ #13658]
32010         * math/libm-test.inc (cos_test): Add more test cases.
32011         (sin_test): Likewise.
32012         (sincos_test): Likewise.
32014 2012-03-15  Andreas Jaeger  <aj@suse.de>
32016         [BZ #13837]
32017         * math/libm-test.inc (cos_test): Add a test case for large input
32018         value.
32019         (sin_test): Likewise.
32020         (sincos_test): Likewise.
32022 2012-03-15  Andreas Jaeger  <aj@suse.de>,
32023         Joseph Myers  <joseph@codesourcery.com>
32025         [BZ #13658]
32026         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
32027         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
32028         * sysdeps/i386/fpu/branred.c: Likewise.
32029         * sysdeps/i386/fpu/dosincos.c: Likewise.
32030         * sysdeps/i386/fpu/mpa.c: Likewise.
32031         * sysdeps/i386/fpu/s_cos.S: Likewise.
32032         * sysdeps/i386/fpu/s_sin.S: Likewise.
32033         * sysdeps/i386/fpu/s_sincos.S: Likewise.
32034         * sysdeps/i386/fpu/sincos32.c: Likewise.
32036         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
32037         Define.
32038         (libc_feupdateenv_53bit): Define.
32039         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
32040         Define.
32041         (libc_feupdateenv_53bit): Define.
32043         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
32044         53 bit (without extend i386 double precision).
32046         * math/libm-test.inc (sincos_test): Add tests for large input.
32047         (sin): Likewise.
32048         (cos): Likewise.
32050         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32052 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
32054         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32056 2012-03-15  David S. Miller  <davem@davemloft.net>
32058         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
32059         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
32060         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
32061         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
32062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
32063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
32064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
32065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
32066         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
32067         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
32068         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
32069         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
32070         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
32071         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
32072         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
32073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
32074         file.
32075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
32076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
32077         file.
32078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
32079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
32080         file.
32081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
32082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
32083         file.
32084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
32085         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
32086         fmin/fmax sysdep routines.
32087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
32089 2012-03-14  David S. Miller  <davem@davemloft.net>
32091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
32092         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
32093         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
32094         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
32095         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
32096         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
32097         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
32098         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
32099         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
32100         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
32101         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
32102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
32103         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
32104         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
32105         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
32106         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
32107         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
32108         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
32109         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
32110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
32111         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
32112         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
32113         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
32114         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
32115         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
32116         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
32117         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
32118         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
32119         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
32120         routines.
32121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
32122         file.
32123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
32124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
32125         file.
32126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
32127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
32128         file.
32129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
32130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
32131         file.
32132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
32133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
32134         file.
32135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
32136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
32137         file.
32138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
32139         file.
32140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
32141         file.
32142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
32143         file.
32144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
32145         New file.
32146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
32147         file.
32148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
32149         file.
32150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
32151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
32152         file.
32153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
32154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
32155         file.
32156         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
32157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
32158         file.
32159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
32160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
32161         VIS3 routines.
32163         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32164         New file.
32166         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32168         * sysdeps/sparc/configure.in: New file.
32169         * sysdeps/sparc/configure: Generate.
32170         * configure.in (libc_cv_sparc_as_vis3): Substitute.
32171         * configure: Regenerate.
32172         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
32173         * config.make.in (have-as-vis3): New.
32174         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
32175         available use -Av9d instead of -Av9a.
32176         * sysdeps/sparc/sparc64/Makefile: Likewise.
32177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
32178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
32179         New file.
32180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
32181         file.
32182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
32183         New file.
32184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
32185         file.
32186         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
32187         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
32188         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
32189         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
32190         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
32192         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
32193         fzeros/fnegs to load 0x80000000 into a float register instead of
32194         using the stack.
32195         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
32197 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32199         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32200         bits/syscall.h.
32201         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
32202         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
32203         ($(inst_includedir)/bits/syscall.h): Remove rule.
32204         ($(objpfx)bits/syscall.d): Include instead of
32205         $(objpfx)syscall-list.d.
32206         (generated): Change syscall-list.h and syscall-list.d to
32207         bits/syscall.h and bits/syscall.d.
32209 2012-03-14  Roland McGrath  <roland@hack.frob.com>
32211         [BZ #13846]
32212         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
32214 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
32216         [BZ #13841]
32217         * math/s_csqrt.c: Include <float.h>.
32218         (__csqrt): Scale large or subnormal inputs.
32219         * math/s_csqrtf.c: Likewise.
32220         * math/s_csqrtl.c: Likewise.
32221         * math/libm-test.inc (csqrt_test): Add more tests.
32222         * sysdeps/i386/fpu/libm-test-ulps: Update.
32223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32225         [BZ #13840]
32226         * math/libm-test.inc (hypot_test): Add more tests.
32228 2012-03-13  David S. Miller  <davem@davemloft.net>
32230         [BZ #13840]
32231         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
32232         double-precision for the calculation instead of scaling.
32234 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
32236         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
32237         manipulate bits before adding and subtracting TWO52[sx].
32238         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
32239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
32240         Likewise.
32241         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
32243 2012-03-13  David S. Miller  <davem@davemloft.net>
32245         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
32246         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
32247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
32248         rtld-global-offsets.h
32249         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32251         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
32252         large parameters.
32254         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
32256         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
32257         'err' in the ifdef scope in which it is actually used.
32259         * nss/nss_db/db-init.c: Include string.h
32261 2012-03-12  David S. Miller  <davem@davemloft.net>
32263         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32264         masking out of the most significant byte of random value used.
32265         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32266         Fix coding style in previous change.
32268         * sysdeps/unix/sysv/linux/kernel-features.h
32269         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
32270         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
32271         expression.
32272         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
32273         later.
32275 2012-03-11  David S. Miller  <davem@davemloft.net>
32277         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32278         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
32279         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
32280         for 'resultvar' otherwise things get truncated on 64-bit.
32282         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32283         Fix masking out of the most significant byte of random value used.
32285         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32287 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
32289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32291 2012-03-09  David S. Miller  <davem@davemloft.net>
32293         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
32294         variables with appropriate CPP guards.
32295         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
32296         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
32297         on resulting framesize and the management of the outregs buffer for pltexit.
32298         Preserve floating point return values across _dl_call_pltexit call.
32299         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
32300         framesize and the management of the outregs buffer for pltexit.
32301         Preserve floating point return values across _dl_call_pltexit
32302         call.
32303         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
32304         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
32305         (print_exit): Fix format string for return register value.
32307 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
32309         * sunrpc/Makefile (others): Add rpcgen.
32310         ($(objpfx)rpcgen): Remove special build rule and dependency on
32311         libc.
32312         * sunrpc/rpcgen.c: New file.
32314 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
32316         [BZ #13673]
32317         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
32318         * stdio-common/bug-vfprintf-nargs.c: Likewise.
32319         * sysdeps/i386/crti.S: Likewise.
32320         * sysdeps/i386/crtn.S: Likewise.
32321         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
32322         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
32323         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
32324         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
32325         * sysdeps/sh/crti.S: Likewise.
32326         * sysdeps/sh/crtn.S: Likewise.
32327         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
32329         [BZ #13673]
32330         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
32331         with URL.
32332         * locale/programs/locfile-kw.gperf: Likewise.
32333         * locale/programs/charmap-kw.h: Regenerated.
32334         * locale/programs/locfile-kw.h: Likewise.
32336         [BZ #13673]
32337         * intl/plural.y: Replace FSF snail mail address with URL.
32338         * intl/plural.c: Regenerated.
32340 2012-03-09  Richard Henderson  <rth@twiddle.net>
32342         * include/math_private.h: Remove file.
32343         * math/math_private.h: Move file ...
32344         * sysdeps/generic/math_private.h: ... here.
32346         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
32347         * sysdeps/powerpc/fpu/math_private.h: Likewise.
32348         * sysdeps/x86_64/fpu/math_private.h: Likewise.
32350         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
32351         and <math_private.h>.
32352         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
32353         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
32354         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
32355         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
32356         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
32357         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
32358         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32360         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32361         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32362         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32363         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
32364         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32365         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32366         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32367         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32368         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32369         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32370         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32371         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
32372         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32373         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32374         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32376         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32377         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32378         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32379         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32380         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32381         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32382         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32383         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32384         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32385         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32386         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32387         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32388         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32389         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32390         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32391         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32392         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
32393         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32394         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
32395         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32396         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32397         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32398         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
32399         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32400         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32401         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32402         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32403         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
32404         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32405         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32406         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32407         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32408         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
32409         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32410         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32411         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
32412         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32413         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32414         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32415         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32416         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
32417         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32418         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32419         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32420         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
32421         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
32422         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
32423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
32424         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
32425         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
32426         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
32427         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
32428         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
32429         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
32430         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
32431         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
32432         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
32433         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
32434         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
32435         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
32436         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
32437         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
32438         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
32439         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
32440         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
32441         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
32442         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
32443         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
32444         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
32445         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
32446         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
32447         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
32448         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
32449         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
32450         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32451         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
32452         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
32453         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
32454         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
32455         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
32456         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
32457         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
32458         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
32459         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
32460         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
32461         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
32462         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
32463         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
32464         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
32465         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
32466         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
32467         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
32468         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
32469         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
32470         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
32471         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
32472         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
32473         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
32474         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
32475         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
32476         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
32477         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
32478         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32479         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
32480         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
32481         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
32482         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
32483         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
32484         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
32485         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
32486         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
32487         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
32488         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
32489         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
32490         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
32491         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
32492         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
32493         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
32494         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
32495         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
32496         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
32497         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
32498         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
32499         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
32500         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
32501         * sysdeps/ieee754/k_standard.c: Likewise.
32502         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
32503         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
32504         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
32505         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
32506         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
32507         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
32508         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
32509         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
32510         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
32511         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
32512         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32513         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
32514         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
32515         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
32516         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
32517         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
32518         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
32519         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
32520         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
32521         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
32522         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
32523         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
32524         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
32525         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
32526         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
32527         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
32528         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
32529         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
32530         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
32531         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
32532         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
32533         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
32534         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
32535         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
32536         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
32537         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
32538         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
32539         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
32540         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
32541         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
32542         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
32543         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
32544         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
32545         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
32546         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
32547         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
32548         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
32549         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
32550         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
32551         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
32552         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
32553         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
32554         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
32555         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
32556         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
32557         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
32558         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
32559         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
32560         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
32561         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
32562         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
32563         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
32564         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
32565         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
32566         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
32567         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
32568         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
32569         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
32570         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
32571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
32572         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
32573         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32574         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
32575         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
32576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
32577         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
32578         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
32579         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
32580         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
32582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
32583         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
32584         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
32585         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
32586         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
32587         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
32588         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
32589         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32590         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32591         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
32592         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
32593         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
32594         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
32595         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
32596         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
32597         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
32598         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
32599         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
32600         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
32601         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
32602         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
32603         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
32604         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
32605         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
32606         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
32607         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
32608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
32609         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
32610         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
32611         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
32612         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
32613         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
32614         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
32615         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
32616         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
32617         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
32618         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
32619         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
32620         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
32621         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
32622         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32623         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
32624         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
32625         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
32626         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
32627         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
32628         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
32629         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
32630         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
32631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
32632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
32633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
32634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
32635         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
32636         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
32637         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
32638         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
32639         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
32640         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
32641         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
32642         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
32643         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
32644         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
32645         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
32646         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
32647         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
32648         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
32649         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
32650         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
32651         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
32652         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
32653         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
32654         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
32655         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
32656         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
32657         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
32658         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
32659         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
32660         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
32661         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
32662         * sysdeps/ieee754/s_lib_version.c: Likewise.
32663         * sysdeps/ieee754/s_matherr.c: Likewise.
32664         * sysdeps/ieee754/s_signgam.c: Likewise.
32665         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
32666         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32667         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
32668         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
32669         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
32670         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
32671         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
32672         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
32673         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
32674         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
32675         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
32676         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
32677         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
32678         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
32679         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
32680         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
32681         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32682         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
32683         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32684         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
32685         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
32687 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32689         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
32690         * sunrpc/rpc_main.c: Likewise.
32691         * sunrpc/rpc_svcout.c: Likewise.
32693 2012-03-09  David S. Miller  <davem@davemloft.net>
32695         * include/math_private.h: New file.
32697 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
32699         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
32700         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
32701         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
32702         from <bits/socket_type.h>.
32703         (enum __socket_type): Don't define here.
32704         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
32705         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32706         bits/socket_type.h.
32708         [BZ #13566]
32709         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
32710         checking __USE_GNU.
32712         * Makerules ($(inst_includedir)/%.h): New rule.
32713         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
32714         (install-others): Remove variable setting.
32715         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
32717 2012-03-08  Richard Henderson  <rth@twiddle.net>
32719         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
32720         from macro to inline function; merge with the
32721         !__LIBC_INTERNAL_MATH_INLINES version.
32722         (__ieee754_sqrtf): Likewise.
32724         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
32725         to inline function.
32726         (__rintf, __floor, __floorf): Likewise.
32728         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
32729         macro to inline function.
32730         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
32732         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
32733         not <math/math_private.h>.
32735 2012-03-08  David S. Miller  <davem@davemloft.net>
32737         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
32738         copyright year.
32739         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
32741 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
32743         * resolv/gai_misc.c (handle_requests): Fix struct timespec
32744         normalization.
32745         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
32746         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32748 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
32750         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
32751         be defined individually, they must be defined as a block.  Define
32752         S for printing a string instead of hidint the different by using a
32753         macro for adding the 'l'.
32754         * stdio-common/tst-fphex-wide.c: Adjust.
32756 2012-03-07  Marek Polacek  <polacek@redhat.com>
32758         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
32760 2012-03-08  Marek Polacek  <polacek@redhat.com>
32762         [BZ #13806]
32763         * stdio-common/Makefile (tests): Add tst-fphex-wide.
32764         * stdio-common/tst-fphex.c: Define a few macros to make the
32765         test reusable.  Use them.
32766         * stdio-common/tst-fphex-wide.c: New file.
32768 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
32770         [BZ #6911]
32771         * manual/macros.texi (gnusystems): New macro.
32772         (nongnusystems): Likewise.
32773         (gnulinuxhurdsystems): Likewise.
32774         (gnuhurdsystems): Likewise..
32775         (gnulinuxsystems): Likewise.
32776         * manual/charset.texi: Use new macros or @theglibc{} to refer to
32777         variants of the GNU system, not "GNU system".
32778         * manual/conf.texi: Likewise.
32779         * manual/errno.texi: Likewise.  Update example of errno macro
32780         expansion.
32781         * manual/filesys.texi: Likewise.
32782         (getumask): Document as specific to GNU/Hurd.
32783         * manual/install.texi: Likewise.  Reword some references to
32784         GNU/Linux.
32785         * manual/intro.texi: Likewise.
32786         * manual/io.texi: Likewise.
32787         (File Name Portability): Detail which constraints are inapplicable
32788         to all GNU systems and which are only inapplicable to GNU/Hurd.
32789         * manual/job.texi: Likewise.
32790         * manual/llio.texi: Likewise.
32791         (O_NOCTTY): Document as present on GNU/Linux.
32792         * manual/maint.texi: Likewise.
32793         * manual/memory.texi: Likewise.
32794         * manual/pattern.texi: Likewise.
32795         * manual/pipe.texi: Likewise.
32796         * manual/process.texi: Likewise.
32797         * manual/resource.texi: Likewise.
32798         (RUSAGE_CHILDREN): Remove statement about specifying a particular
32799         child on GNU/Hurd.
32800         * manual/setjmp.texi: Likewise.
32801         * manual/signal.texi: Likewise.
32802         * manual/startup.texi: Likewise.
32803         * manual/stdio.texi: Likewise.
32804         * manual/terminal.texi: Likewise.
32805         (ONLCR): Document as POSIX.
32806         (OXTABS): Document availability on GNU/Linux as XTABS.
32807         (ONOEOT): Document availability separately from other bits.
32808         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
32809         * manual/time.texi: Likewise.
32810         * manual/users.texi: Likewise.
32811         * INSTALL: Regenerated.
32812         * sysdeps/gnu/errlist.c: Regenerated.
32814         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
32815         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
32816         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
32817         puts.
32818         * configure: Regenerated.
32820 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
32822         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
32823         default includes instead of AC_HEADER_CHECK.
32824         * sysdeps/i386/configure: Regenerated.
32826         [BZ #10716]
32827         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
32828         * math/s_cacoshf.c (__cacoshf): Likewise.
32829         * math/s_cacoshl.c (__cacoshl): Likewise.
32830         * math/s_casinh.c (__casinh): Set signs of result from argument.
32831         * math/s_casinhf.c (__casinhf): Likewise.
32832         * math/s_casinhl.c (__casinhl): Likewise.
32833         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
32834         (casinh_test): Add more tests.
32835         * sysdeps/i386/fpu/libm-test-ulps: Update.
32836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32838 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
32840         * po/zh_TW.po: Update from translation team.
32842         * login/Makefile (distribute): Remove variable.
32843         * catgets/Makefile: Likewise.
32844         * mach/Makefile: Likewise.
32845         * malloc/Makefile: Likewise.
32846         * misc/Makefile: Likewise.
32847         * iconv/Makefile: Likewise.
32848         * nscd/Makefile: Likewise.
32849         * hurd/Makefile: Likewise.
32850         * manual/Makefile: Likewise.
32851         * locale/Makefile: Likewise.
32852         * intl/Makefile: Likewise.
32853         * conform/Makefile: Likewise.
32854         * nss/Makefile: Likewise.
32855         * time/Makefile: Likewise.
32856         * soft-fp/Makefile: Likewise.
32857         * dirent/Makefile: Likewise.
32858         * gmon/Makefile: Likewise.
32859         * po/Makefile: Likewise.
32860         * rt/Makefile: Likewise.
32861         * socket/Makefile: Likewise.
32862         * math/Makefile: Likewise.
32863         * signal/Makefile: Likewise.
32864         * debug/Makefile: Likewise.
32865         * elf/Makefile: Likewise.
32866         * timezone/Makefile: Likewise.
32867         * stdlib/Makefile: Likewise.
32868         * iconvdata/Makefile: Likewise.
32869         * sunrpc/Makefile: Likewise.
32870         * io/Makefile: Likewise.
32871         * argp/Makefile: Likewise.
32872         * inet/Makefile: Likewise.
32873         * hesiod/Makefile: Likewise.
32874         * grp/Makefile: Likewise.
32875         * csu/Makefile: Likewise.
32876         * wctype/Makefile: Likewise.
32877         * crypt/Makefile: Likewise.
32878         * libio/Makefile: Likewise.
32879         * string/Makefile: Likewise.
32880         * nis/Makefile: Likewise.
32881         * resolv/Makefile: Likewise.
32882         * stdio-common/Makefile: Likewise.
32883         * wcsmbs/Makefile: Likewise.
32884         * dlfcn/Makefile: Likewise.
32885         * posix/Makefile: Likewise.
32887         [BZ #6959]
32888         * timezone/Makefile: Don't install timezone files, just the programs
32889         and scripts.
32891 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
32893         * nss/databases.def: Add missing gshadow entry.
32895         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
32897 2012-03-06  Marek Polacek  <polacek@redhat.com>
32899         [BZ #13726]
32900         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
32901         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
32902         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
32903         * stdio-common/tst-long-dbl-fphex.c: New file.
32905 2012-03-06  David S. Miller  <davem@davemloft.net>
32907         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32908         (set_obp_int): New function.
32909         (get_obp_int): New function.
32910         (__get_clockfreq_via_dev_openprom): Likewise.
32911         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
32912         Avoid unused variable warnings on 'val' and use builtin_expect.
32913         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
32914         __builtin_expect.
32915         (INLINE_CLONE_SYSCALL): Likewise.
32917 2012-03-05  David S. Miller  <davem@davemloft.net>
32919         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32921 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
32923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32925         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
32926         only for |x| >= 40.
32927         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
32929 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
32931         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
32932         Replace gettimeofday with __vdso_gettimeofday.
32934         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32935         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
32936         __vdso_clock_gettime and __vdso_getcpu.
32938         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
32939         time with __vdso_time.
32941 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32943         * manual/lang.texi (size_t): Note types to which size_t may be
32944         equivalent with the GNU C Library, but do not describe when
32945         differences between them are significant.
32947 2012-03-05  Andreas Jaeger  <aj@suse.de>
32949         * sysdeps/i386/fpu/libm-test-ulps: Update.
32951 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
32953         [BZ #3976]
32954         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
32955         (__ieee754_pow): Save and restore rounding mode and use
32956         round-to-nearest for main computations.
32957         * math/libm-test.inc (pow_test_tonearest): New function.
32958         (pow_test_towardzero): Likewise.
32959         (pow_test_downward): Likewise.
32960         (pow_test_upward): Likewise.
32961         (main): Call the new functions.
32962         * sysdeps/i386/fpu/libm-test-ulps: Update.
32963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32965         [BZ #3976]
32966         * math/libm-test.inc (cosh_test_tonearest): New function.
32967         (cosh_test_towardzero): Likewise.
32968         (cosh_test_downward): Likewise.
32969         (cosh_test_upward): Likewise.
32970         (sinh_test_tonearest): Likewise.
32971         (sinh_test_towardzero): Likewise.
32972         (sinh_test_downward): Likewise.
32973         (sinh_test_upward): Likewise.
32974         (main): Call the new functions.
32975         * sysdeps/i386/fpu/libm-test-ulps: Update.
32976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32978 2012-03-05  Tom de Vries  <tom@codesourcery.com>
32980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
32981         default stack guard is set in last bytes.
32982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
32984 2012-03-05  Kees Cook  <keescook@chromium.org>
32986         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
32988         [BZ #13656]
32989         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
32990         possibly allocate from heap instead of stack.
32991         * stdio-common/bug-vfprintf-nargs.c: New file.
32992         * stdio-common/Makefile (tests): Add nargs overflow test.
32994 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
32996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32998 2012-03-03  Marek Polacek  <polacek@redhat.com>
33000         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
33001         * math/math_private.h: Likewise.
33002         * stdlib/tst-strtod.c: Likewise.
33003         * sysdeps/i386/i486/bits/atomic.h: Likewise.
33004         * sysdeps/x86_64/bits/atomic.h: Likewise.
33006 2012-03-02  David S. Miller  <davem@davemloft.net>
33008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
33009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
33010         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
33011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
33012         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
33013         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
33014         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
33015         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
33017 2012-03-02  Roland McGrath  <roland@hack.frob.com>
33019         [BZ #13792]
33020         * manual/examples/README: New file, says the example source files
33021         can be used under GPL>=2.
33022         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
33023         line containing just "*/".
33024         * manual/examples/add.c: Add copyright header (GPL>=2).
33025         * manual/examples/argp-ex1.c: Likewise.
33026         * manual/examples/argp-ex2.c: Likewise.
33027         * manual/examples/argp-ex3.c: Likewise.
33028         * manual/examples/argp-ex4.c: Likewise.
33029         * manual/examples/atexit.c: Likewise.
33030         * manual/examples/db.c: Likewise.
33031         * manual/examples/dir.c: Likewise.
33032         * manual/examples/dir2.c: Likewise.
33033         * manual/examples/execinfo.c: Likewise.
33034         * manual/examples/filecli.c: Likewise.
33035         * manual/examples/filesrv.c: Likewise.
33036         * manual/examples/fmtmsgexpl.c: Likewise.
33037         * manual/examples/genpass.c: Likewise.
33038         * manual/examples/inetcli.c: Likewise.
33039         * manual/examples/inetsrv.c: Likewise.
33040         * manual/examples/isockad.c: Likewise.
33041         * manual/examples/longopt.c: Likewise.
33042         * manual/examples/memopen.c: Likewise.
33043         * manual/examples/memstrm.c: Likewise.
33044         * manual/examples/mkfsock.c: Likewise.
33045         * manual/examples/mkisock.c: Likewise.
33046         * manual/examples/mygetpass.c: Likewise.
33047         * manual/examples/pipe.c: Likewise.
33048         * manual/examples/popen.c: Likewise.
33049         * manual/examples/rprintf.c: Likewise.
33050         * manual/examples/search.c: Likewise.
33051         * manual/examples/select.c: Likewise.
33052         * manual/examples/setjmp.c: Likewise.
33053         * manual/examples/sigh1.c: Likewise.
33054         * manual/examples/sigusr.c: Likewise.
33055         * manual/examples/stpcpy.c: Likewise.
33056         * manual/examples/strdupa.c: Likewise.
33057         * manual/examples/strftim.c: Likewise.
33058         * manual/examples/strncat.c: Likewise.
33059         * manual/examples/subopt.c: Likewise.
33060         * manual/examples/swapcontext.c: Likewise.
33061         * manual/examples/termios.c: Likewise.
33062         * manual/examples/testopt.c: Likewise.
33063         * manual/examples/testpass.c: Likewise.
33064         * manual/examples/timeval_subtract.c: Likewise.
33066         [BZ #13792]
33067         * manual/time.texi (Elapsed Time): Move timeval_subtract example
33068         function to ...
33069         * manual/timeval_subtract.c.texi: ... here, new file.
33071 2012-03-02  David S. Miller  <davem@davemloft.net>
33073         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
33075 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
33077         [BZ #3976]
33078         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
33079         (__sin): Save and restore rounding mode and use round-to-nearest
33080         for all computations.
33081         (__cos): Save and restore rounding mode and use round-to-nearest
33082         for all computations.
33083         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
33084         <fenv.h>.
33085         (tan): Save and restore rounding mode and use round-to-nearest for
33086         all computations.
33087         * math/libm-test.inc (cos_test_tonearest): New function.
33088         (cos_test_towardzero): Likewise.
33089         (cos_test_downward): Likewise.
33090         (cos_test_upward): Likewise.
33091         (sin_test_tonearest): Likewise.
33092         (sin_test_towardzero): Likewise.
33093         (sin_test_downward): Likewise.
33094         (sin_test_upward): Likewise.
33095         (tan_test_tonearest): Likewise.
33096         (tan_test_towardzero): Likewise.
33097         (tan_test_downward): Likewise.
33098         (tan_test_upward): Likewise.
33099         (main): Call the new functions.
33100         * sysdeps/i386/fpu/libm-test-ulps: Update.
33101         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33103         [BZ #10135]
33104         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
33105         small n, then large n, before computing and testing k+n.
33106         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
33107         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
33108         Likewise.
33109         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
33110         Likewise.
33111         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
33112         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
33113         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
33114         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
33115         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33116         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33117         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
33118         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
33119         * math/libm-test.inc (scalbn_test): Add more tests.
33120         (scalbln_test): Likewise.
33122         * manual/filesys.texi (mode_t): Describe constraints on size and
33123         signedness, not exact equivalence to a particular type.
33124         (ino_t): Likewise.
33125         (ino64_t): Likewise.
33126         (dev_t): Likewise.
33127         (nlink_t): Likewise.
33128         (blkcnt_t): Likewise.
33129         (blkcnt64_t): Likewise.
33130         * manual/llio.texi (off_t): Likewise.
33132         [BZ #3976]
33133         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
33134         (__ieee754_exp): Save and restore rounding mode and use
33135         round-to-nearest for all computations.
33136         * math/libm-test.inc (exp_test_tonearest): New function.
33137         (exp_test_towardzero): Likewise.
33138         (exp_test_downward): Likewise.
33139         (exp_test_upward): Likewise.
33140         (main): Call the new functions.
33141         * sysdeps/i386/fpu/libm-test-ulps: Update.
33142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33144 2012-03-01  Chris Demetriou  <cgd@google.com>
33146         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
33147         have predictable order.
33149 2012-03-01  David S. Miller  <davem@davemloft.net>
33151         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
33153         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
33154         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
33155         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
33156         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
33158         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
33159         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
33160         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
33161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
33162         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
33163         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
33164         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
33165         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
33166         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
33168         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33170         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
33171         * sysdeps/sparc/fpu/libm-test-ulps: to here.
33172         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
33174         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
33175         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33176         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33177         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
33178         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
33179         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
33180         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
33181         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33182         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33183         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
33184         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
33185         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33186         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33187         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33188         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33189         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33190         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
33191         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
33192         * sysdeps/sparc/elf/configure: Regenerated.
33194 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
33196         * configure.in (AS, LD): Require binutils 2.20 or later.
33197         * configure: Regenerated.
33198         * manual/install.texi (Tools for Compilation): Give binutils 2.20
33199         as required minimum version.
33200         * INSTALL: Regenerated.
33202         [BZ #2541]
33203         [BZ #4108]
33204         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
33205         before squaring exponent.
33206         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
33207         bottom long double and 27 bits of top long double before squaring
33208         exponent.
33209         * math/libm-test.inc (erfc_test): Add more tests.
33210         * sysdeps/i386/fpu/libm-test-ulps: Update.
33211         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33214 2012-03-01  Kai Tietz  <ktietz@redhat.com>
33216         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
33217         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
33218         containing bit-fields.
33219         * soft-fp/extended.h (_FP_UNION_E): Likewise.
33220         * soft-fp/single.h (_FP_UNION_S): Likewise.
33221         * soft-fp/double.h (_FP_UNION_D): Likewise.
33223 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33225         [BZ #13786]
33226         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
33227         not include ../strcmp.S.
33228         [USE_AS_STRNCASECMP_L]: Likewise.
33229         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
33230         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
33231         * sysdeps/i386/i686/multiarch/strncase_l-c.c
33232         (__strncasecmp_l_ia32): Define as alias to
33233         __strncasecmp_l_nonascii.
33235         [BZ #5794]
33236         * math/libm-test.inc (expm1_test): Add test for bug 5794.
33237         * sysdeps/i386/fpu/libm-test-ulps: Update.
33238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33240         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
33241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33243 2012-02-29  Jeff Law  <law@redhat.com>
33245         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
33246         out of bounds read.
33248 2012-02-29  Marek Polacek  <polacek@redhat.com>
33250         [BZ #13706]
33251         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
33252         * elf/Makefile: Add rules to run tst-unused-dep.out.
33254 2012-02-28  David S. Miller  <davem@davemloft.net>
33256         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
33257         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
33258         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
33259         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
33260         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
33261         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
33263 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
33265         * math/libm-test.inc (llround_test): Move one test from
33266         lround_test.  Use TEST_f_L in moved test.
33267         (lround_test): Move misplaced test to llround_test.  Add testcase
33268         from bug 2561.
33270 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
33272         * sysdeps/x86_64/fpu/e_expf.S: New file.
33273         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
33275 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
33277         [BZ #13637]
33278         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
33279         of remain_len that may cause incomplete multi-byte character and
33280         false match.
33281         * posix/bug-regex33.c: New file.
33282         * posix/Makefile (tests): Add bug-regex33.
33284 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
33286         * manual/macros.texi: New file.
33287         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
33288         * manual/libc.texinfo: Include macros.texi.
33289         * manual/creatute.texi: Likewise.
33290         * manual/install.texi: Likewise.
33291         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
33292         @glibcadj{} in references to the GNU C Library.
33293         * manual/charset.texi: Likewise.
33294         * manual/conf.texi: Likewise.
33295         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
33296         when not using those macros.
33297         * manual/creature.texi: Likewise.
33298         * manual/crypt.texi: Likewise.
33299         * manual/errno.texi: Likewise.
33300         * manual/filesys.texi: Likewise.
33301         * manual/header.texi: Likewise.
33302         * manual/install.texi: Likewise.
33303         * manual/intro.texi: Likewise.
33304         * manual/io.texi: Likewise.
33305         * manual/job.texi: Likewise.
33306         * manual/lang.texi: Likewise.
33307         * manual/libc.texiinfo: Likewise.
33308         * manual/llio.texi: Likewise.
33309         * manual/locale.texi: Likewise.
33310         * manual/maint.texi: Likewise.
33311         * manual/math.texi: Likewise.
33312         * manual/memory.texi: Likewise.
33313         * manual/message.texi: Likewise.
33314         * manual/nss.texi: Likewise.
33315         * manual/pattern.texi: Likewise.
33316         * manual/process.texi: Likewise.
33317         * manual/resource.texi: Likewise.
33318         * manual/search.texi: Likewise.
33319         * manual/setjmp.texi: Likewise.
33320         * manual/signal.texi: Likewise.
33321         * manual/socket.texi: Likewise.
33322         * manual/startup.texi: Likewise.
33323         * manual/stdio.texi: Likewise.
33324         * manual/string.texi: Likewise.
33325         * manual/sysinfo.texi: Likewise.
33326         * manual/syslog.texi: Likewise.
33327         * manual/terminal.texi: Likewise.
33328         * manual/time.texi: Likewise.
33329         * manual/users.texi: Likewise.
33330         * INSTALL: Regenerated.
33331         * NOTES: Regenerated.
33332         * sysdeps/gnu/errlist.c: Regenerated.
33334 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
33336         * include/dirent.h: Include <dirstream.h> before
33337         <dirent/dirent.h>.
33339 2012-02-28  David S. Miller  <davem@davemloft.net>
33341         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
33342         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
33343         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
33344         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
33346 2012-02-27  David S. Miller  <davem@davemloft.net>
33348         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
33349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
33350         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
33351         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
33353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
33354         frame pointer instead of stack pointer relative arg slot.
33355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33356         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33357         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33359 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
33361         [BZ #3992]
33362         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
33364 2012-02-27  David S. Miller  <davem@davemloft.net>
33366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
33367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
33368         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
33369         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
33370         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
33371         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
33372         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
33373         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
33375 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33377         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
33378         later.  Allow versions 5-9.
33379         * configure: Regenerated.
33380         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
33381         required minimum version and 4.6 as recommended version.  Do not
33382         mention bugs in GCC 2.7 and 2.8.
33383         * INSTALL: Regenerated.
33385 2012-02-27  David S. Miller  <davem@davemloft.net>
33387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
33388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
33389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
33390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
33391         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
33392         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
33393         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
33394         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
33396         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
33397         manipulate bits before adding and subtracting TWO112[sx].
33398         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33400 2012-02-27  Roland McGrath  <roland@hack.frob.com>
33402         [BZ #13775]
33403         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
33404         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
33405         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
33406         being in POSIX, because they are in 1003.1-2008.
33408         * rt/tst-aio.c: Include <fcntl.h>.
33409         * rt/tst-aio7.c: Likewise.
33410         * rt/tst-aio64.c: Likewise.
33412         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
33414 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
33416         * manual/install.texi (--with-headers): Describe headers as
33417         interface headers, not private headers.
33418         (Specific advice for GNU/Linux systems): Describe use of headers
33419         from "make headers_install", not private headers from older
33420         kernels.
33421         * INSTALL: Regenerated.
33422         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
33423         Change to 2.6.19.
33424         * sysdeps/unix/sysv/linux/configure: Regenerated.
33426         * manual/llio.texi (fclean): Remove documentation.
33428         * manual/Makefile (libc-texi-generated): New variable.  Include
33429         version.texi.
33430         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
33431         $(libc-texi-generated), not duplicated list of files.
33432         (version.texi, stamp-version): New rules.
33433         (realclean): Remove $(libc-texi-generated), not individual files
33434         from that list.  Do not remove dir-add.texinfo.
33435         * manual/libc.texinfo: Comment out uses of edition numbers and
33436         references to printed manual.  Remove last-updated dates.
33437         (EDITION): Comment out.
33438         (ISBN): Likewise.
33439         (VERSION, UPDATED): Remove.
33440         (version.texi): Include.
33442 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
33444         * sysdeps/posix/spawni.c: Include <signal.h>.
33445         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
33446         * sysdeps/pthread/aio_fsync.c: Likewise.
33448 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
33450         * conform/Makefile (tests): Run only when not cross-compiling and
33451         when fast-check is not defined.
33453         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
33454         * conform/data/limits.h-data: Fixes for POSIX2008.
33455         * conform/run-conformtest.sh: Run all tests.
33456         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
33457         headers.
33458         * include/bits/dlfcn.h: Likewise.
33459         * include/langinfo.h: Likewise.
33460         * include/monetary.h: Likewise.
33461         * include/sys/poll.h: Likewise.
33463         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
33464         for __USE_GNU.
33465         * posix/spawn.h: Define __need_sigset_t.
33466         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
33467         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
33468         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
33469         to get sigevent_t only.
33470         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
33471         only for __USE_GNU.
33472         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33473         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
33474         process_vm_writev only for __USE_GNU.
33475         * termios/termios.h: Declare tcgetsid also for POSIX2008.
33477         * conform/Makefile: For now ignore errors from run-conformtest.
33478         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
33479         POSIX to avoid namespace pollution.  Don't prepend headers.
33480         * conform/data/aio.h-data: Fixes for POSIX testing.
33481         * conform/data/fcntl.h-data: Likewise.
33482         * conform/data/glob.h-data: Likewise.
33483         * conform/data/grp.h-data: Likewise.
33484         * conform/data/pthread.h-data: Likewise.
33485         * conform/data/pwd.h-data: Likewise.
33486         * conform/data/signal.h-data: Likewise.
33487         * conform/data/spawn.h-data: Likewise.
33488         * conform/data/stdio.h-data: Likewise.
33489         * conform/data/stdlib.h-data: Likewise.
33490         * conform/data/stropts.h-data: Likewise.
33491         * conform/data/sys/mman.h-data: Likewise.
33492         * conform/data/sys/stat.h-data: Likewise.
33493         * conform/data/sys/types.h-data: Likewise.
33494         * conform/data/sys/wait.h-data: Likewise.
33495         * conform/data/time.h-data: Likewise.
33496         * conform/data/unistd.h-data: Likewise.
33497         * conform/data/utime.h-data: Likewise.
33499         * io/sys/stat.h: fchmod was always in POSIX.
33500         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
33501         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
33502         * rt/aio.h: Define __need_timespec before including <time.h>.
33503         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
33504         struct.  Add forward declaration of pthread_attr_t and use it in
33505         sigevent.
33506         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33507         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33508         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
33509         always remove CLK_TCK definition.
33511 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
33513         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
33515 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
33517         * conform/run-conformtest.sh: New file.
33518         * conform/Makefile: Run run-conformtest for tests.
33519         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
33520         support.
33522         * conform/data/uchar.h-data: New file.
33523         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
33524         * conform/data/arpa/inet.h-data: Likewise.
33525         * conform/data/assert.h-data: Likewise.
33526         * conform/data/complex.h-data: Likewise.
33527         * conform/data/cpio.h-data: Likewise.
33528         * conform/data/ctype.h-data: Likewise.
33529         * conform/data/dirent.h-data: Likewise.
33530         * conform/data/dlfcn.h-data: Likewise.
33531         * conform/data/errno.h-data: Likewise.
33532         * conform/data/fcntl.h-data: Likewise.
33533         * conform/data/float.h-data: Likewise.
33534         * conform/data/fmtmsg.h-data: Likewise.
33535         * conform/data/fnmatch.h-data: Likewise.
33536         * conform/data/ftw.h-data: Likewise.
33537         * conform/data/glob.h-data: Likewise.
33538         * conform/data/grp.h-data: Likewise.
33539         * conform/data/iconv.h-data: Likewise.
33540         * conform/data/inttypes.h-data: Likewise.
33541         * conform/data/langinfo.h-data: Likewise.
33542         * conform/data/libgen.h-data: Likewise.
33543         * conform/data/limits.h-data: Likewise.
33544         * conform/data/locale.h-data: Likewise.
33545         * conform/data/math.h-data: Likewise.
33546         * conform/data/monetary.h-data: Likewise.
33547         * conform/data/mqueue.h-data: Likewise.
33548         * conform/data/ndbm.h-data: Likewise.
33549         * conform/data/net/if.h-data: Likewise.
33550         * conform/data/netdb.h-data: Likewise.
33551         * conform/data/netinet/in.h-data: Likewise.
33552         * conform/data/nl_types.h-data: Likewise.
33553         * conform/data/poll.h-data: Likewise.
33554         * conform/data/pthread.h-data: Likewise.
33555         * conform/data/pwd.h-data: Likewise.
33556         * conform/data/regex.h-data: Likewise.
33557         * conform/data/sched.h-data: Likewise.
33558         * conform/data/search.h-data: Likewise.
33559         * conform/data/semaphore.h-data: Likewise.
33560         * conform/data/setjmp.h-data: Likewise.
33561         * conform/data/signal.h-data: Likewise.
33562         * conform/data/spawn.h-data: Likewise.
33563         * conform/data/stdarg.h-data: Likewise.
33564         * conform/data/stdio.h-data: Likewise.
33565         * conform/data/stdlib.h-data: Likewise.
33566         * conform/data/string.h-data: Likewise.
33567         * conform/data/strings.h-data: Likewise.
33568         * conform/data/stropts.h-data: Likewise.
33569         * conform/data/sys/ipc.h-data: Likewise.
33570         * conform/data/sys/mman.h-data: Likewise.
33571         * conform/data/sys/msg.h-data: Likewise.
33572         * conform/data/sys/resource.h-data: Likewise.
33573         * conform/data/sys/select.h-data: Likewise.
33574         * conform/data/sys/sem.h-data: Likewise.
33575         * conform/data/sys/shm.h-data: Likewise.
33576         * conform/data/sys/socket.h-data: Likewise.
33577         * conform/data/sys/stat.h-data: Likewise.
33578         * conform/data/sys/statvfs.h-data: Likewise.
33579         * conform/data/sys/time.h-data: Likewise.
33580         * conform/data/sys/timeb.h-data: Likewise.
33581         * conform/data/sys/times.h-data: Likewise.
33582         * conform/data/sys/types.h-data: Likewise.
33583         * conform/data/sys/uio.h-data: Likewise.
33584         * conform/data/sys/un.h-data: Likewise.
33585         * conform/data/sys/utsname.h-data: Likewise.
33586         * conform/data/sys/wait.h-data: Likewise.
33587         * conform/data/syslog.h-data: Likewise.
33588         * conform/data/tar.h-data: Likewise.
33589         * conform/data/termios.h-data: Likewise.
33590         * conform/data/utime.h-data: Likewise.
33591         * conform/data/utmpx.h-data: Likewise.
33592         * conform/data/varargs.h-data: Likewise.
33593         * conform/data/wchar.h-data: Likewise.
33594         * conform/data/wctype.h-data: Likewise.
33595         * conform/data/wordexp.h-data: Likewise.
33597         * include/stropts.h: New file.
33598         * include/uchar.h: New file.
33599         * include/aio.h: Changes to allow conformtest.pl to use the headers.
33600         * include/assert.h: Likewise.
33601         * include/ctype.h: Likewise.
33602         * include/dirent.h: Likewise.
33603         * include/dlfcn.h: Likewise.
33604         * include/fcntl.h: Likewise.
33605         * include/fnmatch.h: Likewise.
33606         * include/glob.h: Likewise.
33607         * include/grp.h: Likewise.
33608         * include/libio.h: Likewise.
33609         * include/locale.h: Likewise.
33610         * include/math.h: Likewise.
33611         * include/net/if.h: Likewise.
33612         * include/netdb.h: Likewise.
33613         * include/netinet/in.h: Likewise.
33614         * include/pthread.h: Likewise.
33615         * include/pwd.h: Likewise.
33616         * include/regex.h: Likewise.
33617         * include/sched.h: Likewise.
33618         * include/search.h: Likewise.
33619         * include/setjmp.h: Likewise.
33620         * include/signal.h: Likewise.
33621         * include/stdio.h: Likewise.
33622         * include/stdlib.h: Likewise.
33623         * include/string.h: Likewise.
33624         * include/sys/cdefs.h: Likewise.
33625         * include/sys/mman.h: Likewise.
33626         * include/sys/msg.h: Likewise.
33627         * include/sys/resource.h: Likewise.
33628         * include/sys/select.h: Likewise.
33629         * include/sys/socket.h: Likewise.
33630         * include/sys/stat.h: Likewise.
33631         * include/sys/statvfs.h: Likewise.
33632         * include/sys/time.h: Likewise.
33633         * include/sys/times.h: Likewise.
33634         * include/sys/uio.h: Likewise.
33635         * include/sys/utsname.h: Likewise.
33636         * include/sys/wait.h: Likewise.
33637         * include/termios.h: Likewise.
33638         * include/time.h: Likewise.
33639         * include/ulimit.h: Likewise.
33640         * include/unistd.h: Likewise.
33641         * include/utime.h: Likewise.
33642         * include/wchar.h: Likewise.
33643         * include/wctype.h: Likewise.
33644         * include/wordexp.h: Likewise.
33646         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
33648         * time/time.h: TIME_UTC must be a macro.
33649         Make timespec_get available for ISO C11 only as well.
33651 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
33653         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
33654         Reported by Peng Haitao <penght@cn.fujitsu.com>.
33656 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33658         * configure.in: Use -o not -a in test for unsupported multi-arch.
33660 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33662         * manual/texinfo.tex: Update to version 2012-01-19.16.
33664 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
33666         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
33668 2012-02-24  Roland McGrath  <roland@hack.frob.com>
33670         [BZ #13738]
33671         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
33672         * manual/fdl-1.3.texi: New file.
33673         * manual/fdl-1.1.texi: File removed.
33675         [BZ #13738]
33676         * manual/libc.texinfo (FDL_VERSION): New @set.
33677         Use it for mention of FDL in cover text.
33678         (Documentation License): Use it in @include file name.
33680 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33681             Roland McGrath  <roland@hack.frob.com>
33683         [BZ #5461]
33684         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
33685         not LONG_LONG_MAX and LONG_LONG_MIN.
33686         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
33687         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
33688         name.
33689         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
33691 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33693         [BZ #2547]
33694         [BZ #11365]
33695         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
33696         manipulate bits before adding and subtracting TWO23[sx].
33697         * math/libm-test.inc (nearbyint_test): Add more tests.
33699 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33701         [BZ #2548]
33702         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
33703         bits before adding and subtracting TWO23[sx].
33704         * math/libm-test.inc (rint_test): Add more tests.
33705         (rint_test_tonearest): Likewise.
33706         (rint_test_towardzero): Likewise.
33707         (rint_test_downward): Likewise.
33708         (rint_test_upward: Likewise.
33710 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33712         [BZ #10110]
33713         * include/stdc-predef.h: New file.  Extracted from features.h.
33714         * include/features.h: Include stdc-predef.h.
33715         * Makefile (headers): Add stdc-predef.h.
33716         * CONFORMANCE (Compiler limitations): Update.
33718 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
33720         * manual/libc.texinfo (VERSION, UPDATED): Revert.
33722 2012-02-21  David S. Miller  <davem@davemloft.net>
33724         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
33725         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33727 2012-02-20  David S. Miller  <davem@davemloft.net>
33729         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
33730         using a normal save/restore sequence, rather than allocating a
33731         dummy stack frame just to store a frame pointer and restore.
33732         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33734 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33736         * manual/install.texi: Fix stray word in line-wrapped comment.
33738 2012-02-20  David S. Miller  <davem@davemloft.net>
33740         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
33741         both binutils and gcc support GOTDATA.
33743         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
33744         "rd %pc" in the PIC register setup sequences.
33746         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
33747         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
33748         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
33749         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
33750         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
33751         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33752         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33753         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
33754         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
33755         (SYSCALL_ERROR_HANDLER): Likewise.
33756         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
33757         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33758         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
33759         (SYSCALL_ERROR_HANDLER): Likewise.
33761         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
33762         (HAVE_GCC_GOTDATA): New.
33763         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
33764         relocation support in both binutils and gcc.
33765         * sysdeps/sparc/elf/configure: Regenerate.
33767         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
33768         * sysdeps/sparc/sparc32/elf/configure: Delete.
33769         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
33770         * sysdeps/sparc/sparc64/elf/configure: Delete.
33771         * sysdeps/sparc/elf/configure.in: New file.
33772         * sysdeps/sparc/elf/configure: Generate.
33774         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
33775         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
33776         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
33777         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
33778         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
33780 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33782         * manual/install.texi: Do not mention specific glibc version
33783         numbers.
33784         * manual/libc.texinfo (VERSION, UPDATED): Update.
33785         (@copying): Use @copyright{} and range of years.
33787 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
33789         [BZ #13695]
33790         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
33791         [crti.S not in sysdirs] (generated): Do not append.
33792         [crti.S not in sysdirs] (omit-deps): Likewise.
33793         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
33794         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
33795         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
33796         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
33797         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
33798         Likewise.
33799         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
33800         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
33801         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
33802         * csu/defs.awk: Remove file.
33803         * sysdeps/generic/initfini.c: Likewise.
33804         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
33805         variable.
33806         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
33807         Likewise.
33809 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33811         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
33812         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
33813         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
33814         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
33815         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
33816         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
33817         <bits/epoll.h>.
33818         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
33819         (__EPOLL_PACKED): Define to empty if not defined by
33820         <bits/epoll.h>.
33821         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
33822         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33823         bits/epoll.h.
33825 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33827         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
33828         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
33829         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
33830         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
33831         <bits/timerfd.h>.
33832         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
33833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33834         bits/timerfd.h.
33836 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
33838         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
33839         in C locale.
33840         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
33841         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
33842         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
33843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33845 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
33847         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
33848         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
33850 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
33852         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
33853         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
33854         defined.
33855         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
33856         Likewise.
33857         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
33858         entry for 2.16.
33860 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
33862         * math/w_acos.c: Use non-signaling floating-point comparisons.
33863         * math/w_acosf.c: Likewise.
33864         * math/w_acosh.c: Likewise.
33865         * math/w_acoshf.c: Likewise.
33866         * math/w_acoshl.c: Likewise.
33867         * math/w_acosl.c: Likewise.
33868         * math/w_asin.c: Likewise.
33869         * math/w_asinf.c: Likewise.
33870         * math/w_asinl.c: Likewise.
33871         * math/w_atanh.c: Likewise.
33872         * math/w_atanhf.c: Likewise.
33873         * math/w_atanhl.c: Likewise.
33874         * math/w_exp2.c: Likewise.
33875         * math/w_exp2f.c: Likewise.
33876         * math/w_exp2l.c: Likewise.
33877         * math/w_j0.c: Likewise.
33878         * math/w_j0f.c: Likewise.
33879         * math/w_j0l.c: Likewise.
33880         * math/w_j1.c: Likewise.
33881         * math/w_j1f.c: Likewise.
33882         * math/w_j1l.c: Likewise.
33883         * math/w_jn.c: Likewise.
33884         * math/w_jnf.c: Likewise.
33885         * math/w_log.c: Likewise.
33886         * math/w_log10.c: Likewise.
33887         * math/w_log10f.c: Likewise.
33888         * math/w_log10l.c: Likewise.
33889         * math/w_log2.c: Likewise.
33890         * math/w_log2f.c: Likewise.
33891         * math/w_log2l.c: Likewise.
33892         * math/w_logf.c: Likewise.
33893         * math/w_logl.c: Likewise.
33894         * math/w_sqrt.c: Likewise.
33895         * math/w_sqrtf.c: Likewise.
33896         * math/w_sqrtl.c: Likewise.
33897         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33898         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33899         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33900         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33901         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33903 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33905         [BZ #9739]
33906         * manual/string.texi (strnlen): Use correct parameter name in
33907         equivalent expression.
33909 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33911         [BZ #11174]
33912         * manual/users.texi (seteuid): Consistently use neweuid for
33913         argument name.
33915 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #13704]
33918         * manual/nss.texi (Services in the NSS configuration): Correct
33919         list of services in example configuration file.
33921 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
33923         [BZ #11322]
33924         * manual/arith.texi: Remove statements about negative zero
33925         behaving identically to zero.
33927 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33929         [BZ #5993]
33930         * manual/install.texi: Do not document upgrading from libc5.
33932 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
33934         [BZ #4596]
33935         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
33937 2012-02-18  David S. Miller  <davem@davemloft.net>
33939         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
33940         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
33941         %o7 across the call.
33942         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
33943         instead.
33944         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
33945         SETUP_PIC_REG_LEAF.
33946         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33947         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
33948         * sysdeps/sparc/crtn.S: Likewise.
33950 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
33952         * aout/Makefile: Remove.
33954 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
33956         [BZ #13058]
33957         * manual/examples/argp-ex1.c (main): Format definition in GNU
33958         style.
33959         * manual/examples/argp-ex2.c (main): Likewise.
33960         * manual/examples/argp-ex3.c (main): Likewise.
33961         * manual/examples/argp-ex4.c (main): Likewise.
33962         * manual/examples/longopt.c (main): Use new-style prototype
33963         definition.
33964         * manual/examples/strncat.c (main): Specify return type and use
33965         (void) for arguments.
33966         * manual/examples/subopt.c (main): Use char **argv argument.
33968 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33970         [BZ #5077]
33971         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
33972         rounding modes.
33974 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
33976         [BZ #6907]
33977         * manual/string.texi (strchr): Change when strchrnul is
33978         recommended.
33980 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
33982         [BZ #174]
33983         * manual/locale.texi (setlocale): Document LOCPATH.
33985 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
33987         [BZ #10210]
33988         * manual/process.texi (execle): Move @dots{} before last argument.
33990 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
33992         [BZ #12047]
33993         * manual/charset.texi (Generic Charset Conversion): Fix typo
33994         (LC_TYPE -> LC_CTYPE).
33996 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
33998         [BZ #5805]
33999         * manual/arith.texi (scalbn): Use @var{} on parameter names.
34000         (scalbnf): Likewise.
34001         (scalbnl): Likewise.
34002         (scalbln): Likewise.
34003         (scalblnf): Likewise.
34004         (scalblnl): Likewise.
34005         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
34006         (vwarnx): Likewise.
34007         (verr): Likewise.
34008         (verrx): Likewise.
34009         * manual/filesys.texi (telldir): Use braces around return type.
34010         * manual/llio.texi (mmap): Add space after comma.
34011         (mmap64): Likewise.
34012         * manual/math.texi (jn): Use @var{} on parameter names.
34013         (jnf): Likewise.
34014         (jnl): Likewise.
34015         (yn): Likewise.
34016         (ynf): Likewise.
34017         (ynl): Likewise.
34018         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
34019         line.
34020         * manual/resource.texi (ulimit): Use @dots{} instead of literal
34021         "...".
34022         (sched_get_priority_min): Remove semicolon on @deftypefun line.
34023         (sched_get_priority_max): Likewise.
34024         * manual/signal.texi (sigvec): Add space after comma.
34025         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
34026         names.
34027         (if_indextoname): Likewise.
34028         (if_freenameindex): Likewise.
34029         (sendto): Use ',' instead of '.' in prototype.
34030         * manual/startup.texi (syscall): Use @dots{} instead of literal
34031         "...".
34032         * manual/stdio.texi (__fpending): Separate initial words of
34033         paragraph from @deftypefun line.
34034         * manual/syslog.texi (syslog): Use @dots{} instead of literal
34035         "...".
34036         (vsyslog): Use @var{} on parameter names.
34037         * manual/terminal.texi (stty): Use @var{} on parameter names.
34038         * manual/users.texi (getutmp): Use @var{} on parameter names.
34039         (getutmpx): Likewise.
34041 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34043         [BZ #6884]
34044         * manual/stdio.texi (fopen): Fix typos in description of
34045         ",ccs=STRING".
34047 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
34049         [BZ #4026]
34050         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
34051         get clock_id definition.
34053 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
34055         [BZ #4822]
34056         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
34057         (madvise): Cast every argument to void on its own.
34059 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34061         [BZ #9902]
34062         * manual/startup.texi (Exit Status): Fix typo.
34064 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
34066         [BZ #10140]
34067         * manual/examples/argp-ex1.c: Include <stdlib.h>.
34068         * manual/examples/argp-ex2.c: Likewise.
34069         * manual/examples/argp-ex3.c: Likewise.
34071 2012-02-16  Richard Henderson  <rth@redhat.com>
34073         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
34074         * sysdeps/s390/s390-32/initfini.c: Remove.
34075         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
34076         * sysdeps/s390/s390-64/initfini.c: Remove.
34078 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
34080         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
34081         compiler output for sysdeps/generic/initfini.c.
34082         * sysdeps/sh/elf/initfini.c: Remove file.
34084 2012-02-16  David S. Miller  <davem@davemloft.net>
34086         [BZ #11494]
34087         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
34089         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
34090         * sysdeps/sparc/crti.S: New file.
34091         * sysdeps/sparc/crtn.S: New file.
34092         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
34093         * sysdeps/sparc/sparc64/Makefile: Likewise.
34095 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
34097         [BZ #3335]
34098         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
34100 2012-02-15  Roland McGrath  <roland@hack.frob.com>
34102         [BZ #4822]
34103         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
34105         * mach/devstream.c (cookie_io_functions_t): Macro removed.
34106         (write, read, close): Likewise.
34107         Patch by Aurelien Jarno <aurelien@aurel32.net>.
34109 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
34111         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
34112         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
34113         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
34114         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
34115         <bits/signalfd.h>.
34116         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
34117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34118         bits/signalfd.h.
34120 2012-02-14  Marek Polacek  <polacek@redhat.com>
34122         * sysdeps/x86_64/crti.S: New file.
34123         * sysdeps/x86_64/crtn.S: New file.
34124         * sysdeps/x86_64/elf/initfini.c: Remove file.
34126 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34128         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
34129         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
34130         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
34131         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
34132         <bits/inotify.h>.
34133         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
34134         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34135         bits/inotify.h.
34137 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
34139         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
34140         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
34141         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
34142         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
34143         <bits/eventfd.h>.
34144         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
34145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34146         bits/eventfd.h.
34148 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
34150         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
34151         __feraiseexcept instead of feraiseexcept.
34153         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
34154         nanosleep invocations.
34155         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
34156         strings, and add error checking for a nanosleep invocations.
34158 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
34160         Replace FSF snail mail address with URLs, as per GNU coding standards.
34161         Most of the snail mail addresses were wrong anyway, and omitting
34162         them makes the source code easier to maintain.  Almost all of the
34163         changes are to license notices and to locale LC_IDENTIFICATION
34164         addresses, except for this one:
34165         * manual/libc.texinfo: In "Published by", give the FSF's URL,
34166         not its snail mail address.
34168 2012-02-09  Richard Henderson  <rth@twiddle.net>
34170         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
34171         of kernel-features.h.
34173         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
34175 2012-02-08  Marek Polacek  <polacek@redhat.com>
34177         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
34178         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
34179         * sysdeps/gnu/_G_config.h: Likewise.
34180         * sysdeps/generic/_G_config.h: Likewise.
34182 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
34184         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
34185         tests.
34186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34188         * sysdeps/powerpc/powerpc32/crti.S: New file.
34189         * sysdeps/powerpc/powerpc32/crtn.S: New file.
34190         * sysdeps/powerpc/powerpc64/crti.S: New file.
34191         * sysdeps/powerpc/powerpc64/crtn.S: New file.
34193         * Makeconfig (have-initfini): Don't set.
34194         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
34195         * configure.in (nopic_initfini): Don't substitute.
34196         * config.h.in (HAVE_INITFINI): Don't #undef.
34197         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
34198         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
34200 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
34202         Support crti.S and crtn.S provided directly by architectures.
34203         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
34204         [crti.S in sysdirs] (omit-deps): Likewise.
34205         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
34206         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
34207         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
34208         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
34209         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
34210         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
34211         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
34212         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
34213         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
34214         compiler output for sysdeps/generic/initfini.c.
34215         * sysdeps/i386/elf/Makefile: Remove file.
34216         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
34218 2012-02-07  Marek Polacek  <polacek@redhat.com>
34220         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
34221         * sysdeps/gnu/_G_config.h: Likewise.
34222         * sysdeps/mach/hurd/_G_config.h: Likewise.
34224 2012-02-07  Marek Polacek  <polacek@redhat.com>
34226         * math/Makefile (tests): Add tst-CMPLX2.
34227         * math/tst-CMPLX2.c: New file.
34229 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
34231         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34233         * math/libm-test.inc (jn_test): Add missing L suffix.
34235 2012-02-06  Marek Polacek  <polacek@redhat.com>
34237         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
34238         * sysdeps/i386/fpu/e_powf.S: Likewise.
34239         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
34240         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34241         * sysdeps/i386/fpu/e_acosh.S: Likewise.
34242         * sysdeps/i386/fpu/e_pow.S: Likewise.
34243         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
34244         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
34245         * sysdeps/i386/fpu/s_expm1.S: Likewise.
34246         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
34247         * sysdeps/i386/fpu/e_log2.S: Likewise.
34248         * sysdeps/i386/fpu/e_log2l.S: Likewise.
34249         * sysdeps/i386/fpu/e_scalb.S: Likewise.
34250         * sysdeps/i386/fpu/e_powl.S: Likewise.
34251         * sysdeps/i386/fpu/s_log1p.S: Likewise.
34252         * sysdeps/i386/fpu/e_log10f.S: Likewise.
34253         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
34254         * sysdeps/i386/fpu/e_logl.S: Likewise.
34255         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
34256         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
34257         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
34258         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
34259         * sysdeps/i386/fpu/e_log2f.S: Likewise.
34260         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
34261         * sysdeps/i386/fpu/e_log.S: Likewise.
34262         * sysdeps/i386/fpu/s_cexp.S: Likewise.
34263         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
34264         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
34265         * sysdeps/i386/fpu/e_logf.S: Likewise.
34266         * sysdeps/i386/fpu/e_log10l.S: Likewise.
34267         * sysdeps/i386/fpu/e_atanh.S: Likewise.
34268         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
34269         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
34270         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34271         * sysdeps/i386/fpu/e_log10.S: Likewise.
34272         * sysdeps/i386/fpu/s_frexp.S: Likewise.
34273         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
34274         * sysdeps/i386/fpu/s_asinh.S: Likewise.
34275         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
34276         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
34277         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
34278         * sysdeps/i386/asm-syntax.h: Likewise.
34279         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
34280         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
34281         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
34282         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
34283         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
34284         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
34285         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
34286         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
34287         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
34288         * sysdeps/powerpc/sysdep.h: Likewise.
34289         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
34290         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
34292 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34294         [BZ #411]
34295         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
34297 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
34299         * sysdeps/i386/sysdep.h: Include <features.h>.
34300         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
34301         version.
34303 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
34305         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
34306         Define.
34307         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
34308         LOAD_PIC_REG_STR.
34310 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34312         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
34313         (SETUP_PIC_REG): Use GET_PC_THUNK.
34314         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
34315         macro.
34317 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34319         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
34320         for non-PIC compilation.
34321         (SETUP_PIC_REG): Add .p2align directive.
34322         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
34323         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
34324         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34325         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34326         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34327         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34328         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
34329         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34330         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34331         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34332         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34333         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34334         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34335         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34336         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34337         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34338         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34339         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34340         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34341         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34342         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34343         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34344         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34345         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34346         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34347         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34348         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34349         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34350         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34351         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34352         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34353         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34354         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34355         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34356         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34357         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34358         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34359         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34360         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34361         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34362         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34364 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
34366         * math/tst-CMPLX.c: Include <stdio.h>.
34368 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
34370         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
34371         float.
34372         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34373         * sysdeps/sparc/bits/mathdef.h: Likewise.
34375 2012-01-31  Marek Polacek  <polacek@redhat.com>
34377         * libio/libio.h: Don't define _PARAMS.
34378         * locale/programs/config.h: Don't define PARAMS.
34379         * stdlib/strtol_l.c: Likewise.
34380         (__strtol_l): Remove PARAMS from the prototype.
34382 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
34384         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
34385         names.  Just use the correct names.  Remove unnecessary wrapper
34386         functions.
34387         * malloc/arena.c: Likewise.
34388         * malloc/hooks.c: Likewise.
34390         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
34391         ARENA_TEST says not to.  Simplify test for creation of a new arena.
34392         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
34394 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
34396         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
34397         into tail calls.
34398         (update_get_addr): New function.
34399         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
34400         GET_ADDR_MODULE parameter.
34402 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34404         * crypt/cert.c: Remove __STDC__ conditionals.
34405         * crypt/crypt-entry.c: Likewise.
34406         * crypt/crypt_util.c: Likewise.
34407         * libio/filedoalloc.c: Likewise.
34408         * libio/fileops.c: Likewise.
34409         * libio/genops.c: Likewise.
34410         * libio/iofclose.c: Likewise.
34411         * libio/iofdopen.c: Likewise.
34412         * libio/iofopen.c: Likewise.
34413         * libio/iofopen64.c: Likewise.
34414         * libio/iogetdelim.c: Likewise.
34415         * libio/iopopen.c: Likewise.
34416         * libio/obprintf.c: Likewise.
34417         * libio/oldfileops.c: Likewise.
34418         * libio/oldiofclose.c: Likewise.
34419         * libio/oldiofdopen.c: Likewise.
34420         * libio/oldiofopen.c: Likewise.
34421         * libio/oldiopopen.c: Likewise.
34422         * libio/wfiledoalloc.c: Likewise.
34423         * libio/wgenops.c: Likewise.
34424         * locale/programs/xmalloc.c: Likewise.
34425         * misc/syslog.c: Likewise.
34426         * stdio-common/xbug.c: Likewise.
34427         * string/memchr.c: Likewise.
34428         * string/memcmp.c: Likewise.
34429         * string/memrchr.c: Likewise.
34430         * string/rawmemchr.c: Likewise.
34431         * sysdeps/posix/getcwd.c: Likewise.
34432         * time/strftime_l.c: Likewise.
34434 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
34436         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
34437         * config.make.in (config-cflags-sse2avx): Define.
34438         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
34439         Fix typo.
34441 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
34443         * scripts/config.guess: Update from upstream config git repository.
34444         * scripts/config.sub: Likewise.
34446 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
34448         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
34449         (EM_NUM): Update.
34450         (R_TILEPRO_*, R_TILEGX_*): New macros.
34452         * scripts/firstversions.awk: Fix bug in version range handling.
34454         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
34456         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
34458         * include/sys/epoll.h: New file.
34459         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
34460         libc_hidden_def.
34462 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
34464         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
34465         Avoid unnecessary __WORDSIZE == 64 test.
34466         (fmaxf): Use VEX format if possible.
34467         (fmax): Likewise.
34468         (fminf): Likewise.
34469         (fmin): Likewise.
34471         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
34472         * math/math_private.h: Remove libc_fegetround* and
34473         libc_fesetround*.
34474         * sysdeps/i386/configure.in: Check for -msse2avx.
34475         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
34476         also if SSE2AVX is defined.
34477         Remove libc_fegetround* and libc_fesetround*.
34478         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
34479         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
34480         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
34481         of HAS_YMM_USABLE.
34482         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34483         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34484         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34485         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34486         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34488         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
34490 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34492         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
34493         size is not set.
34494         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
34496 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
34498         [BZ #13618]
34499         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
34500         relocation.
34501         * Makeconfig (libm): Define.
34502         * elf/Makefile: Add rules to build and run tst-relsort1.
34503         * elf/tst-relsort1.c: New file.
34504         * elf/tst-relsort1mod1.c: New file.
34505         * elf/tst-relsort1mod2.c: New file.
34507 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
34509         * math/s_ldexp.c: Remove __STDC__ conditionals.
34510         * math/s_ldexpf.c: Likewise.
34511         * math/s_ldexpl.c: Likewise.
34512         * math/s_nextafter.c: Likewise.
34513         * math/s_nexttowardf.c: Likewise.
34514         * math/s_significand.c: Likewise.
34515         * math/s_significandf.c: Likewise.
34516         * math/s_significandl.c: Likewise.
34517         * math/w_jnl.c: Likewise.
34518         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
34519         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
34520         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
34521         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
34522         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
34523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
34524         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
34525         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
34526         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34527         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
34528         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
34529         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
34530         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
34531         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
34532         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
34533         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
34534         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
34535         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
34536         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
34537         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
34538         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
34539         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
34540         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
34541         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
34542         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
34543         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
34544         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
34545         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
34546         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
34547         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
34548         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
34549         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
34550         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
34551         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
34552         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
34553         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
34554         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
34555         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
34556         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
34557         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
34558         * sysdeps/ieee754/k_standard.c: Likewise.
34559         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
34560         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
34561         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
34562         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
34563         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
34564         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
34565         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
34566         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
34567         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
34568         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
34569         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
34570         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
34571         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
34572         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
34573         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
34574         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
34575         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
34576         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
34577         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
34578         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
34579         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
34580         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
34581         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
34582         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
34583         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
34584         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
34585         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
34586         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
34587         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
34588         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
34589         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
34590         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
34591         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
34592         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
34593         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
34594         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
34595         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
34596         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
34597         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
34598         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
34599         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
34600         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
34601         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
34602         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
34603         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
34604         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
34605         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
34606         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
34607         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
34608         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
34609         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
34610         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
34611         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
34612         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
34613         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
34614         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
34615         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
34616         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
34617         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
34618         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
34619         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
34620         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
34621         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
34622         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
34623         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
34624         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
34625         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
34626         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
34627         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
34628         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
34629         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
34630         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
34631         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
34632         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
34633         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
34634         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
34635         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
34636         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
34637         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
34638         * sysdeps/ieee754/s_matherr.c: Likewise.
34639         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
34640         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
34641         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
34642         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
34644 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34646         * crypt/md5.h: Remove __STDC__ conditionals.
34647         * libio/libioP.h: Likewise.
34648         * locale/programs/config.h: Likewise.
34649         * sysdeps/generic/sysdep.h: Likewise.
34650         * sysdeps/i386/asm-syntax.h: Likewise.
34651         * sysdeps/s390/asm-syntax.h: Likewise.
34652         * sysdeps/unix/sysdep.h: Likewise.
34653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34656 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
34658         * libio/libio.h: Remove __STDC__ conditionals.
34659         * malloc/obstack.h: Likewise.
34660         * math/complex.h: Likewise.
34661         * math/math.h: Likewise.
34662         * sysdeps/generic/_G_config.h: Likewise.
34663         * sysdeps/gnu/_G_config.h: Likewise.
34664         * sysdeps/mach/hurd/_G_config.h: Likewise.
34665         * sysdeps/powerpc/bits/mathdef.h: Likewise.
34666         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
34667         * sysdeps/sparc/bits/mathdef.h: Likewise.
34669 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
34671         [BZ #13583]
34672         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
34673         Clean up HAS_* macros.
34674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
34675         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
34676         possible.
34677         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
34678         HAS_AVX.
34679         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34680         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34681         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34682         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34683         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34685 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
34687         * elf/tst-unique3.cc (gets): Remove declaration.
34688         * elf/tst-unique3lib.cc (gets): Likewise.
34689         * elf/tst-unique3lib2.cc (gets): Likewise.
34690         * elf/tst-unique4.cc (gets): Likewise.
34692 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
34694         * include/stdio.h: Add C++ protection.  Add gets declarations and
34695         definitions.
34696         * debug/tst-chk1.c: Don't declare gets here.
34697         * stdio-common/tst-gets.c: Likewise.
34699 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34701         * posix/glob: Remove directory.
34703 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
34705         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
34707 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
34709         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
34710         of the non-standard EPFNOSUPPORT.
34712 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34714         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
34715         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
34716         ANYWHERE set to 1 only on KERN_NO_SPACE error.
34718 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
34720         * wcsmbs/uchar.h: Test __STDC_VERSION__.
34722 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
34724         * nscd/aicache.c (addhstaiX): Do not cache negative results of
34725         transient errors.
34726         * nscd/grpcache.c (cache_addgr): Likewise.
34727         * nscd/hstcache.c (cache_addhst): Likewise.
34728         * nscd/initgrcache.c (addinitgroupsX): Likewise.
34729         * nscd/pwdcache.c (cache_addpw): Likewise.
34730         * nscd/servicescache.c (cache_addserv): Likewise.
34732 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
34734         * malloc/malloc.c: Various cleanups.
34735         * malloc/hooks.c: Likewise.
34737         * stdlib/Makefile (tests): Add bug-fmtmsg1.
34738         * stdlib/bug-fmtmsg1.c: New file.
34740         * stdlib/fmtmsg.c (init): Add missing unlock.
34741         Patch by Peng Haitao <penght@cn.fujitsu.com>.
34743 2012-01-12  Marek Polacek  <polacek@redhat.com>
34745         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
34746         and _GNU_SOURCE.
34748 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
34750         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
34751         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
34752         macro to ensure uniqueness of label name.
34753         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
34754         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
34756 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
34758         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
34760         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
34761         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
34762         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
34763         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
34765 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
34767         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
34769         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
34770         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
34771         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
34773         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
34775         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
34776         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
34777         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
34778         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
34780         * math/bits/math-finite.h: Add ldexp support.
34782 2012-01-10  Marek Polacek  <polacek@redhat.com>
34784         * locale/programs/localedef.h (show_archive_content): Add noreturn
34785         attribute.
34787 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
34789         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
34791 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34793         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
34795         * io/Makefile (headers): Add bits/poll2.h.
34797 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
34799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
34800         typo #include statement.
34802 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34804         * include/sys/cdefs.h: Define __attribute_alloc_size.
34805         * catgets/gencat.c: Add alloc_size attribute and apply consistently
34806         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
34807         * elf/pldd.c: Likewise.
34808         * iconv/iconv_charmap.c: Likewise.
34809         * iconv/iconvconfig.c: Likewise.
34810         * iconv/strtab.c: Likewise.
34811         * locale/programs/locale.c: Likewise.
34812         * locale/programs/localedef.h: Likewise.
34813         * locale/programs/simple-hash.c: Likewise.
34814         * nscd/nscd.h: Likewise.
34815         * nss/makedb.c: Likewise.
34816         * sysdeps/generic/ldconfig.h: Likewise.
34817         * locale/programs/localedef.c: Remove xmalloc prototype.
34818         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
34820 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34822         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
34823         appropriate.
34825 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
34827         * math/Makefile (tests): Add tst-CMPLX.
34828         * math/tst-CMPLX.c: New file.
34830         * math/complex.h (CMPLXL): Fix typo.
34832         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
34833         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
34834         GLIBC_2.16.
34835         * debug/tst-chk1.c: Add poll and ppoll tests.
34836         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
34837         * include/sys/poll.h: Add hidden proto for ppoll.
34838         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
34839         * sysdeps/mach/hurd/ppoll.c: Likewise.
34840         * io/ppoll.c: Likewise.
34841         * debug/poll_chk.c: New file.
34842         * debug/ppoll_chk.c: New file.
34843         * include/bits/poll2.h: New file.
34844         * io/bits/poll2.h: New file.
34846         [BZ #1350]
34847         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
34849         * configure.in: static is always set to yes.  Remove.
34850         * config.make.in: Don't set build-static.
34851         * Makeconfig: Remove use of build-static.
34852         * dlfcn/Makefile: Likewise.
34853         * elf/Makefile: Likewise.
34854         * math/Makefile: Likewise.
34855         * misc/Makefile: Likewise.
34856         * nptl/Makefile: Likewise.
34857         * sysdeps/mach/hurd/Makefile: Likewise.
34859         * configure.in: PWD_P is not used anymore.
34860         * config.make.in: Remove PWD_P entry.
34862         * configure.in: Remove last remnants of RANLIB.
34863         No need to check for signed size_t anymore.
34864         Don't set libc_commonpagesize and libc_relro_required here for Alpha
34865         and IA-64.
34866         Remove __builtin_expect test because we require at least gcc 3.4.
34867         * aclocal.m4: Likewise.
34869         * wcsmbs/mbrtoc16.c: Implement using towc function.
34870         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
34871         * wcsmbs/wcsmbsload.c: Likewise.
34872         * iconv/gconv_simple.c: Likewise.
34873         * iconv/gconv_int.h: Likewise.
34874         * iconv/gconv_builtin.h: Likewise.
34875         * iconv/iconv_prog.c: Remove CHAR16 handling.
34877         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
34879         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
34881         * configure.in: Remove --with-elf and --enable-bounded options.
34882         Dont set base_machine for ia64.  More non-ELF conditions removed.
34883         Remove testing and setting of leading underscore information.
34884         * config.make.in (build-bounded): Set to no.
34885         * config.h.in: Remove NO_UNDERSCORES entry.
34886         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
34887         them.
34888         * csu/start.c: Remove !NO_UNDERSCORE code.
34889         * locale/localeinfo.h: Likewise.
34890         * sysdeps/generic/machine-gmon.h: Likewise.
34891         * sysdeps/generic/sysdep.h: Likewise.
34892         * sysdeps/i386/sysdep.h: Likewise.
34893         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
34894         * sysdeps/mach/sysdep.h: Likewise.
34895         * sysdeps/s390/s390-32/sysdep.h: Likewise.
34896         * sysdeps/s390/s390-64/sysdep.h: Likewise.
34897         * sysdeps/sh/sysdep.h: Likewise.
34898         * sysdeps/sparc/sparc32/alloca.S: Likewise.
34899         * sysdeps/unix/i386/sysdep.S: Likewise.
34900         * sysdeps/unix/sparc/start.c: Likewise.
34901         * sysdeps/unix/sparc/sysdep.S: Likewise.
34902         * sysdeps/unix/sparc/sysdep.h: Likewise.
34903         * sysdeps/unix/start.c: Likewise.
34904         * sysdeps/unix/x86_64/sysdep.S: Likewise.
34905         * sysdeps/x86_64/sysdep.h: Likewise.
34907 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
34909         [BZ #13553]
34910         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
34911         for non-gcc.
34912         * argp/argp-fmtstream.h: Use const instead __const.
34913         * argp/argp.h: Likewise.
34914         * assert/assert.h: Likewise.
34915         * bits/fenv.h: Likewise.
34916         * bits/sched.h: Likewise.
34917         * bits/sigset.h: Likewise.
34918         * bits/sigthread.h: Likewise.
34919         * catgets/nl_types.h: Likewise.
34920         * conform/data/pthread.h-data: Likewise.
34921         * crypt/crypt-private.h: Likewise.
34922         * crypt/crypt.h: Likewise.
34923         * crypt/crypt_util.c: Likewise.
34924         * ctype/ctype.h: Likewise.
34925         * debug/execinfo.h: Likewise.
34926         * debug/mbsnrtowcs_chk.c: Likewise.
34927         * debug/mbsrtowcs_chk.c: Likewise.
34928         * debug/wcsnrtombs_chk.c: Likewise.
34929         * debug/wcsrtombs_chk.c: Likewise.
34930         * debug/wcstombs_chk.c: Likewise.
34931         * dirent/dirent.h: Likewise.
34932         * dlfcn/dlfcn.h: Likewise.
34933         * elf/neededtest4.c: Likewise.
34934         * grp/grp.h: Likewise.
34935         * gshadow/gshadow.h: Likewise.
34936         * iconv/gconv.h: Likewise.
34937         * iconv/gconv_int.h: Likewise.
34938         * iconv/gconv_simple.c: Likewise.
34939         * iconv/iconv.h: Likewise.
34940         * iconv/loop.c: Likewise.
34941         * iconv/skeleton.c: Likewise.
34942         * include/aio.h: Likewise.
34943         * include/aliases.h: Likewise.
34944         * include/argz.h: Likewise.
34945         * include/arpa/inet.h: Likewise.
34946         * include/assert.h: Likewise.
34947         * include/dirent.h: Likewise.
34948         * include/dlfcn.h: Likewise.
34949         * include/execinfo.h: Likewise.
34950         * include/fcntl.h: Likewise.
34951         * include/fenv.h: Likewise.
34952         * include/glob.h: Likewise.
34953         * include/grp.h: Likewise.
34954         * include/libintl.h: Likewise.
34955         * include/mntent.h: Likewise.
34956         * include/netdb.h: Likewise.
34957         * include/pwd.h: Likewise.
34958         * include/rpc/netdb.h: Likewise.
34959         * include/sched.h: Likewise.
34960         * include/search.h: Likewise.
34961         * include/shadow.h: Likewise.
34962         * include/signal.h: Likewise.
34963         * include/stdio.h: Likewise.
34964         * include/stdlib.h: Likewise.
34965         * include/string.h: Likewise.
34966         * include/sys/socket.h: Likewise.
34967         * include/sys/stat.h: Likewise.
34968         * include/sys/statfs.h: Likewise.
34969         * include/sys/statvfs.h: Likewise.
34970         * include/sys/syslog.h: Likewise.
34971         * include/sys/time.h: Likewise.
34972         * include/sys/uio.h: Likewise.
34973         * include/time.h: Likewise.
34974         * include/unistd.h: Likewise.
34975         * include/utmp.h: Likewise.
34976         * include/wchar.h: Likewise.
34977         * include/wctype.h: Likewise.
34978         * inet/aliases.h: Likewise.
34979         * inet/arpa/inet.h: Likewise.
34980         * inet/netinet/ether.h: Likewise.
34981         * inet/netinet/in.h: Likewise.
34982         * intl/libintl.h: Likewise.
34983         * io/bits/fcntl2.h: Likewise.
34984         * io/fcntl.h: Likewise.
34985         * io/ftw.h: Likewise.
34986         * io/sys/poll.h: Likewise.
34987         * io/sys/stat.h: Likewise.
34988         * io/sys/statfs.h: Likewise.
34989         * io/sys/statvfs.h: Likewise.
34990         * io/utime.h: Likewise.
34991         * libio/bits/stdio.h: Likewise.
34992         * libio/bits/stdio2.h: Likewise.
34993         * libio/libio.h: Likewise.
34994         * libio/libioP.h: Likewise.
34995         * libio/stdio.h: Likewise.
34996         * locale/lc-ctype.c: Likewise.
34997         * locale/locale.h: Likewise.
34998         * login/utmp.h: Likewise.
34999         * malloc/arena.c: Likewise.
35000         * malloc/malloc.c: Likewise.
35001         * malloc/malloc.h: Likewise.
35002         * malloc/mcheck.c: Likewise.
35003         * malloc/mtrace.c: Likewise.
35004         * math/bits/mathcalls.h: Likewise.
35005         * math/fenv.h: Likewise.
35006         * math/math_private.h: Likewise.
35007         * misc/bits/error.h: Likewise.
35008         * misc/bits/syslog.h: Likewise.
35009         * misc/err.h: Likewise.
35010         * misc/error.h: Likewise.
35011         * misc/fstab.h: Likewise.
35012         * misc/mntent.h: Likewise.
35013         * misc/regexp.h: Likewise.
35014         * misc/search.h: Likewise.
35015         * misc/sgtty.h: Likewise.
35016         * misc/sys/mman.h: Likewise.
35017         * misc/sys/syslog.h: Likewise.
35018         * misc/sys/uio.h: Likewise.
35019         * misc/sys/xattr.h: Likewise.
35020         * misc/ttyent.h: Likewise.
35021         * nis/rpcsvc/ypclnt.h: Likewise.
35022         * nss/nss.h: Likewise.
35023         * posix/bits/unistd.h: Likewise.
35024         * posix/fnmatch.h: Likewise.
35025         * posix/glob.h: Likewise.
35026         * posix/sched.h: Likewise.
35027         * posix/spawn.h: Likewise.
35028         * posix/sys/wait.h: Likewise.
35029         * posix/unistd.h: Likewise.
35030         * posix/wordexp.h: Likewise.
35031         * pwd/pwd.h: Likewise.
35032         * resolv/netdb.h: Likewise.
35033         * resource/sys/resource.h: Likewise.
35034         * rt/aio.h: Likewise.
35035         * rt/bits/mqueue2.h: Likewise.
35036         * rt/mqueue.h: Likewise.
35037         * shadow/shadow.h: Likewise.
35038         * signal/signal.h: Likewise.
35039         * socket/send.c: Likewise.
35040         * socket/sendto.c: Likewise.
35041         * socket/sys/socket.h: Likewise.
35042         * stdio-common/printf.h: Likewise.
35043         * stdlib/bits/stdlib.h: Likewise.
35044         * stdlib/fmtmsg.h: Likewise.
35045         * stdlib/monetary.h: Likewise.
35046         * stdlib/stdlib.h: Likewise.
35047         * stdlib/ucontext.h: Likewise.
35048         * streams/stropts.h: Likewise.
35049         * string/argz.h: Likewise.
35050         * string/bits/string2.h: Likewise.
35051         * string/string.h: Likewise.
35052         * string/strings.h: Likewise.
35053         * sunrpc/rpc/auth.h: Likewise.
35054         * sunrpc/rpc/auth_des.h: Likewise.
35055         * sunrpc/rpc/clnt.h: Likewise.
35056         * sunrpc/rpc/netdb.h: Likewise.
35057         * sunrpc/rpc/pmap_clnt.h: Likewise.
35058         * sunrpc/rpc/xdr.h: Likewise.
35059         * sysdeps/generic/inttypes.h: Likewise.
35060         * sysdeps/generic/net/if.h: Likewise.
35061         * sysdeps/generic/sys/swap.h: Likewise.
35062         * sysdeps/gnu/net/if.h: Likewise.
35063         * sysdeps/gnu/utmpx.h: Likewise.
35064         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
35065         * sysdeps/i386/i486/bits/string.h: Likewise.
35066         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
35067         * sysdeps/s390/bits/string.h: Likewise.
35068         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
35069         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
35070         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
35071         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
35072         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
35073         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
35074         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
35075         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
35076         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
35077         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
35078         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
35079         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
35080         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
35081         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
35082         * sysdeps/unix/sysv/linux/readv.c: Likewise.
35083         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
35084         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
35085         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35086         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
35087         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
35088         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35089         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
35090         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
35091         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
35092         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
35093         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
35094         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
35095         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35096         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
35097         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
35098         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
35099         * sysvipc/sys/ipc.h: Likewise.
35100         * sysvipc/sys/msg.h: Likewise.
35101         * sysvipc/sys/sem.h: Likewise.
35102         * sysvipc/sys/shm.h: Likewise.
35103         * termios/termios.h: Likewise.
35104         * time/sys/time.h: Likewise.
35105         * time/time.h: Likewise.
35106         * wcsmbs/bits/wchar2.h: Likewise.
35107         * wcsmbs/uchar.h: Likewise.
35108         * wcsmbs/wchar.h: Likewise.
35109         * wctype/wctype.h: Likewise.
35111         [BZ #13551]
35112         * Makeconfig: Remove all but ELF support including AIX support.
35113         * Makerules: Likewise.
35114         * config.h.in: Likewise.
35115         * config.make.in: Likewise.
35116         * configure: Likewise.
35117         * configure.in: Likewise.
35118         * csu/Makefile: Likewise.
35119         * csu/version.c: Likewise.
35120         * debug/Makefile: Likewise.
35121         * dlfcn/Makefile: Likewise.
35122         * elf/Makefile: Likewise.
35123         * extra-lib.mk: Likewise.
35124         * iconv/Makefile: Likewise.
35125         * include/libc-symbols.h: Likewise.
35126         * include/shlib-compat.h: Likewise.
35127         * resolv/Makefile: Likewise.
35128         * resolv/res_libc.c: Likewise.
35129         * rt/Makefile: Likewise.
35130         * sysdeps/i386/asm-syntax.h: Likewise.
35131         * sysdeps/i386/sysdep.h: Likewise.
35132         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
35133         * sysdeps/mach/sysdep.h: Likewise.
35134         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
35135         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
35136         * sysdeps/s390/asm-syntax.h: Likewise.
35137         * sysdeps/s390/s390-32/sysdep.h: Likewise.
35138         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35139         * sysdeps/sh/sysdep.h: Likewise.
35140         * sysdeps/unix/sparc/sysdep.h: Likewise.
35141         * sysdeps/wordsize-32/divdi3.c: Likewise.
35142         * sysdeps/x86_64/sysdep.h: Likewise.
35144         * argp/Versions: Remove _argp_unlock_xxx.
35146         [BZ #13559]
35147         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
35148         * abilist/libBrokenLocale.abilist: Likewise.
35149         * abilist/libanl.abilist: Likewise.
35150         * abilist/libc.abilist: Likewise.
35151         * abilist/libcrypt.abilist: Likewise.
35152         * abilist/libdl.abilist: Likewise.
35153         * abilist/libm.abilist: Likewise.
35154         * abilist/libnsl.abilist: Likewise.
35155         * abilist/libpthread.abilist: Likewise.
35156         * abilist/libresolv.abilist: Likewise.
35157         * abilist/librt.abilist: Likewise.
35158         * abilist/libthread_db.abilist: Likewise.
35159         * abilist/libutil.abilist: Likewise.
35160         * abilist/libnss_db.abilist: New file.
35162         * scripts/abilist.awk: Add support for indirect functions.
35164         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
35166         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
35168         * shlib-versions: Remove entries for ports architectures.
35170         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
35171         files in ports.
35172         * elf/stackguard-macros.h: Remove support for IA-64.
35173         * elf/tst-auditmod1.c: Likewise.
35174         * sysdeps/generic/ldsodefs.h: Likewise.
35176         * sysdeps/unix/sysv/linux/configure.in: Ports should define
35177         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
35178         configure files.
35180         [BZ #13552]
35181         * configure.in: Remove --enable-omitfp support.
35182         * FAQ.in: Adjust.
35183         * config.make.in: Likewise.
35184         * Makeconfig: Likewise.
35185         * manual/install.texi: Likewise.
35187         In case anyone cares, the IA-64 architecture could move to ports.
35188         * sysdeps/ia64/*: Removed.
35189         * sysdeps/unix/sysv/linux/ia64/*: Removed.
35190         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
35192         [BZ #13555]
35193         * configure.in: Remove entries for unsupported architectures.
35195         [BZ #13533]
35196         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
35197         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
35198         routines.
35199         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
35200         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
35201         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
35202         fall back to using wcrtomb.
35203         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
35204         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
35205         renaming.
35206         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
35207         * wcsmbs/tst-c16c32-1.c: New file.
35209         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
35210         local variable.
35212         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
35214         * elf/tst-unique3.cc: Add explicit declaration of gets.
35215         * elf/tst-unique3lib.cc: Likewise.
35216         * elf/tst-unique3lib2.cc: Likewise.
35217         * elf/tst-unique4.cc: Likewise.
35219         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
35221 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
35223         [BZ #13566]
35224         * assert/assert.h (static_assert): Don't define for C++.
35225         * libio/stdio.h (gets): Do declare for C++ <= C++11.
35226         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
35228 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
35230         * iconv/loop.c (single loop): Fix assertion in storing of
35231         remaining bytes.
35233         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
35235 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
35237         * posix/getconf.c: Update copyright year.
35238         * nss/getent.c: Likewise.
35239         * nss/makedb.c: Likewise.
35240         * iconv/iconvconfig.c: Likewise.
35241         * iconv/iconv_prog.c: Likewise.
35242         * elf/ldconfig.c: Likewise.
35243         * elf/pldd.c: Likewise.
35244         * elf/sotruss.ksh: Likewise.
35245         * catgets/gencat.c: Likewise.
35246         * csu/version.c: Likewise.
35247         * elf/ldd.bash.in: Likewise.
35248         * elf/sprof.c (print_version): Likewise.
35249         * locale/programs/locale.c: Likewise.
35250         * locale/programs/localedef.c: Likewise.
35251         * login/programs/pt_chown.c: Likewise.
35252         * nscd/nscd.c (print_version): Likewise.
35253         * debug/xtrace.sh: Likewise.
35254         * malloc/memusage.sh: Likewise.
35255         * malloc/mtrace.pl: Likewise.
35256         * debug/catchsegv.sh: Likewise.
35258 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
35260         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
35261         pure attribute.
35263 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
35265         [BZ #13533]
35266         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
35267         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
35268         transformations.
35269         * iconv/gconv_int.h: Likewise.
35270         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
35271         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
35272         from libc for GLIBC_2.16.
35273         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
35274         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
35275         * wcsmbs/uchar.h: Really define mbstate_t.
35276         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
35277         * wcsmbs/c16rtomb.c: New file.
35278         * wcsmbs/mbrtoc16.c: New file.
35279         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
35280         for C/POSIX locale.
35281         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
35282         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
35284         * wcsmbs/wchar.h: Add missing __restrict.
35286 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35288         [BZ #13532]
35289         * time/Makefile (routines): Add timespec_get.
35290         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
35291         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
35292         timespec for ISO C11.
35293         * time/timespec_get.c: New file.
35294         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
35295         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
35297         [BZ #13531]
35298         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
35299         * stdlib/stdlib.h: Declare aligned_alloc.
35300         * Versions.def: Add GLIBC_2.16 for libc.
35301         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
35303         [BZ 13527]
35304         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
35305         ISO C11.
35307         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
35308         code.
35310         [BZ #13528]
35311         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
35313         [BZ #13529]
35314         * assert/assert.h (static_assert): Define.
35316         * version.h: Update for 2.16 development version.
35318         [BZ #13526]
35319         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
35320         _ISOC11_SOURCE.
35322         * version.h (RELEASE): Bump for 2.15 release.
35323         * include/features.h (__GLIBC_MINOR__): Bump to 15.
35325         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
35326         Patch by Marek Polacek <mpolacek@redhat.com>.
35328         * bits/byteswap.h: Protect long long constants with __extension__.
35329         * sysdeps/i386/bits/byteswap.h: Likewise.
35330         * sysdeps/ia64/bits/byteswap.h: Likewise.
35331         * sysdeps/s390/bits/byteswap.h: Likewise.
35332         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35334 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35336         [BZ #13540]
35337         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
35338         destination buffer.
35339         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
35341 2011-12-23  Marek Polacek  <polacek@redhat.com>
35343         * elf/dl-addr.c (determine_info): Add inline keyword.
35344         * elf/tst-auditmod4b.c (check_avx): Likewise.
35345         * elf/tst-auditmod6b.c (check_avx): Likewise.
35346         * elf/tst-auditmod6c.c (check_avx): Likewise.
35347         * elf/tst-auditmod7b.c (check_avx): Likewise.
35349 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
35351         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
35352         !__SSE_MATH__.
35354 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35356         [BZ #13540]
35357         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
35358         processing for last bytes.
35360 2011-08-06  Bruno Haible  <bruno@clisp.org>
35362         [BZ #13061]
35363         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
35364         U+0385, not to U+1FEE.
35366         [BZ #13062]
35367         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
35368         entry for U+00A5 U+0301.
35370 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35372         [BZ #13166]
35373         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
35374         buffer for the output is too small.
35376         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
35377         optimization.
35379         [BZ #13185]
35380         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
35381         SSE flags if possible.
35383 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35385         [BZ #13540]
35386         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
35387         processing for last bytes.
35389 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
35391         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
35392         (syscall-list-default-options, syscall-list-default-condition)
35393         (syscall-list-includes): Define.
35394         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
35395         list of ABIs and options and #if conditions for each ABI.  Do not
35396         handle common syscalls between ABIs specially.
35397         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
35398         Remove.
35399         (syscall-list-variants, syscall-list-32bit-options)
35400         (syscall-list-32bit-condition, syscall-list-64bit-options)
35401         (syscall-list-64bit-condition): Define.
35402         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
35403         (syscall-list-variants, syscall-list-32bit-options)
35404         (syscall-list-32bit-condition, syscall-list-64bit-options)
35405         (syscall-list-64bit-condition): Define.
35406         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
35407         Remove.
35408         (syscall-list-variants, syscall-list-32bit-options)
35409         (syscall-list-32bit-condition, syscall-list-64bit-options)
35410         (syscall-list-64bit-condition): Define.
35411         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
35412         Remove.
35413         (syscall-list-variants, syscall-list-32bit-options)
35414         (syscall-list-32bit-condition, syscall-list-64bit-options)
35415         (syscall-list-64bit-condition): Define.
35417 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
35419         * locale/iso-639.def: Add brx entry.
35421         [BZ #13328]
35422         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
35423         Proposed by Mariusz_Cukr <marcukr@op.pl>.
35425         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
35426         __feraiseexcept_renamed.
35428 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35430         [BZ #13538]
35431         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
35432         EPOLLET with unsigned values.
35433         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
35434         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
35436         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
35437         to large cancellation.
35438         * math/s_cacoshf.c: Likewise.
35439         * math/s_cacoshl.c: Likewise.
35441 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
35443         [BZ #13305]
35444         [BZ #12786]
35445         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
35446         * math/s_cacoshf.c: Likewise.
35447         * math/s_cacoshl.c: Likewise.
35449 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
35451         [BZ #13439]
35452         * iconv/gconv.h: Define __GCONV_SWAP.
35453         * iconvdata/unicode.c: The swap bit must be stored in __flags.
35454         * iconvdata/utf-16.c: Likewise.
35455         * iconvdata/utf-32.c: Likewise.
35457 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
35459         [BZ #13524]
35460         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
35461         numerator after shifting it by one limb.
35463 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
35465         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
35466         under [__USE_EXTERN_INLINES].
35468 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35470         [BZ #13446]
35471         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
35473 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35475         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
35476         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
35477         optimized code.
35478         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
35479         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
35480         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
35481         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
35482         for strncasecmp/strncasecmp_l compilation.
35483         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
35484         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
35486 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
35488         [BZ #13484]
35489         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
35490         of __asm__.
35492 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
35494         [BZ #13506]
35495         * time/tzfile.c (__tzfile_read): Check values from file header.
35497 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
35499         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
35500         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
35501         * powerpc/powerpc32/dl-start.S: Likewise.
35502         * powerpc/powerpc32/elf/start.S: Likewise.
35503         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
35504         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
35505         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
35506         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
35507         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
35508         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
35509         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
35510         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
35511         * powerpc/powerpc32/fpu/s_round.S: Likewise.
35512         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
35513         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
35514         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
35515         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
35516         * powerpc/powerpc32/memset.S: Likewise.
35517         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
35518         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
35519         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
35520         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
35521         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
35522         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
35523         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
35524         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
35525         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
35526         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
35527         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
35528         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35529         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35531 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35533         * math/libm-test.inc: Added more nearbyint tests.
35534         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
35535         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
35536         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
35537         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
35539 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
35541         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
35542         FD_CLOEXEC.
35544 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35546         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
35547         Add wcscpy-ssse3 wcscpy-c.
35548         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
35549         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
35550         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
35551         * sysdeps/x86_64/wcschr.S: New file.
35552         * sysdeps/x86_64/wcsrchr.S: New file.
35553         * string/test-strcmp.c: Remove checking of wcscmp function for
35554         wrong alignments.
35555         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
35556         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
35557         wcsrchr-sse2 wcsrchr-c.
35558         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
35559         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
35560         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
35561         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
35562         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
35563         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
35564         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
35565         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
35566         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
35567         * wcsmbc/wcschr.c (WCSCHR): New macro.
35569 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35571         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
35572         * wcsmbs/test-wcsrchr.c: New file.
35573         * string/test-strrchr.c: Add wcsrchr support.
35574         (WIDE): New macro.
35575         * wcsmbs/test-wcscpy.c: New file.
35576         * string/test-strcpy.c: Add wcscpy support.
35577         (WIDE): New macro.
35579 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
35581         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
35582         the inner loop.
35584 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
35586         [BZ #13472]
35587         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
35589 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
35591         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
35592         Minor optimizations.
35594         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
35595         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
35596         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
35598 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
35600         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
35601         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
35602         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
35603         for gcc to avoid warnings.
35604         * inet/Makefile (tests): Add tst-checks.
35605         * inet/tst-checks.c: New file.
35607         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
35608         warning.
35610         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
35611         __wmemcmp_sse2.
35613         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
35614         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
35616         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
35618 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
35620         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
35621         problem.
35623         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
35625 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
35627         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
35628         conditional on GCC version.
35629         (__arch_compare_and_exchange_val_8_acq)
35630         (__arch_compare_and_exchange_val_16_acq)
35631         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
35632         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
35633         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
35635 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
35637         * sysdeps/sh/backtrace.c: New file.
35639 2011-12-02  Andreas Schwab  <schwab@redhat.com>
35641         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
35642         parenthesis.
35644 2011-12-01  Andreas Schwab  <schwab@redhat.com>
35646         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
35647         falling back to utime.
35649 2011-11-30  Andreas Schwab  <schwab@redhat.com>
35651         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
35652         expectations for float.
35654 2011-11-29  Andreas Schwab  <schwab@redhat.com>
35656         * locale/weight.h (findidx): Add parameter len.
35657         * locale/weightwc.h (findidx): Likewise.
35658         * posix/fnmatch_loop.c (FCT): Adjust caller.
35659         * posix/regcomp.c (build_equiv_class): Likewise.
35660         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
35661         * posix/regexec.c (check_node_accept_bytes): Likewise.
35662         * string/strcoll_l.c (STRCOLL): Likewise.
35663         * string/strxfrm_l.c (STRXFRM): Likewise.
35665 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
35667         * Makefile.in: Remove CVSOPT handling.
35668         * configure.in: Remove use of AC_REVISION.
35669         * iconvdata/Makefile (distribute): No need to filter out CVS.
35670         * scripts/list-sources.sh: Remove CVS, subversion and monotone
35671         handling.
35673 2011-11-16  Andreas Schwab  <schwab@redhat.com>
35675         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
35676         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
35677         [USE_AS_STRNCASECMP_L]: Likewise.
35678         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
35679         NO_TLS_DIRECT_SEG_REFS.
35680         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
35681         Fix argument offsets for non-PIC.
35682         [USE_AS_STRNCASECMP_L]: Likewise.
35683         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
35684         NO_TLS_DIRECT_SEG_REFS.
35686 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35688         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
35689         O_CLOEXEC.
35690         * locale/loadlocale.c (_nl_load_locale): Likewise.
35692 2011-11-15  Andreas Schwab  <schwab@redhat.com>
35694         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
35695         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
35696         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
35697         (SYSCALL_GETTIME): Set errno on error.
35699         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
35700         count references to noai6ai_cached.
35702 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
35704         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
35706         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
35707         FD_CLOEXEC for /proc/self/maps.
35709         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
35710         FD_CLOEXEC for /proc/meminfo.
35712         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
35713         gai.conf.
35715         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
35716         FD_CLOEXEC for given file.
35718         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
35720         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
35721         FD_CLOEXEC for /etc/hosts.
35722         (_gethtent): Likewise.
35724         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
35726         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
35727         cancellation and set FD_CLOEXEC for /etc/netgroup.
35729         * nss/nss_files/files-key.c (search): Don't allow cancellation when
35730         reading /etc/publickey.
35732         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
35733         allow cancellation when reading /etc/group.
35735         * nss/nss_files/files-alias.c (internal_setent): Don't allow
35736         cancellation.
35737         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
35739         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
35740         when using data file.
35742         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
35744         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
35745         (write_nis_obj): Use "c" and "e" in fopen.
35747         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
35749         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
35751         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
35753         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
35755         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
35756         locale.alias.
35758         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
35760         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
35762         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
35764         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
35765         file parsing and set FD_CLOEXEC.
35767 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35769         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
35771 2011-11-14  Andreas Schwab  <schwab@redhat.com>
35773         * malloc/arena.c (arena_get2): Don't call reused_arena when
35774         _int_new_arena failed.
35776 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
35778         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
35779         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
35780         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
35781         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35782         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35783         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
35784         to compile strcasecmp and strncasecmp.
35785         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
35786         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
35788         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
35790 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
35792         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
35793         locale-defines.sym to gen-as-const-headers.
35794         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
35795         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
35796         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
35797         to compile strcasecmp and strncasecmp.
35798         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
35799         strcasecmp_l and strncasecmp_l.
35800         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
35801         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
35802         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
35803         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
35804         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
35805         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
35806         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
35807         * sysdeps/i386/i686/multiarch/strncase.S: New file.
35808         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
35809         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
35810         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
35812 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
35814         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
35815         result of SYSDEP_GETTIME_CPU to retval.
35816         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
35817         parameter list to macro.  Remove trailing semicolon.  Adjust users.
35819         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
35820         variable.
35822         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
35823         mantissa words.
35824         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35826         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
35827         from unused variable.
35829         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
35830         DWARF definitions.
35831         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
35832         for assembling.
35834         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
35835         over namespaces.
35837         * sunrpc/rpc_prot.c (rejected): Fix case value.
35839         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
35840         unsigned long long int to avoid warnings in shift.
35842         * posix/regex_internal.c (re_string_reconstruct): Actually use result
35843         of use of trans.
35844         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
35845         variable tmp.
35847         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
35848         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
35849         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
35851         * nis/nis_table.c (nis_list): Use variable of correct type for
35852         result of __follow_path call.
35854 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35856         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
35857         of math functions ceil, trunc, floor, round, and sqrt, when
35858         avaliable on the platform.
35859         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
35860         name clash.
35861         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
35862         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
35863         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
35865 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
35867         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
35868         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35870 2011-11-11  Roland McGrath  <roland@hack.frob.com>
35872         * include/unistd.h: Fix __readlink return type.
35873         Reported by Chris Metcalf <cmetcalf@tilera.com>.
35875 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
35877         * stdlib/ucontext.h: Undo last change for makecontext.
35879 2011-11-11  Andreas Schwab  <schwab@redhat.com>
35881         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
35883         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
35884         * setjmp/setjmp.h: Mark functions as non-leaf.
35885         * setjmp/bits/setjmp2.h: Likewise.
35886         * stdlib/ucontext.h: Likewise.
35888 2011-11-10  Andreas Schwab  <schwab@redhat.com>
35890         * malloc/arena.c (_int_new_arena): Don't increment narenas.
35891         (reused_arena): Don't check arena limit.
35892         (arena_get2): Atomically check arena limit.
35894 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
35896         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
35897         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
35899         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
35900         instructions.
35902 2011-11-07  Andreas Schwab  <schwab@redhat.com>
35904         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
35905         handler when locking.
35907         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
35908         Fix size of allocated buffer.
35910 2011-11-04  Andreas Schwab  <schwab@redhat.com>
35912         [BZ #10103]
35913         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
35914         declarations for long double functions.
35915         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
35917         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
35919 2011-11-03  Andreas Schwab  <schwab@redhat.com>
35921         * nscd/nscd.c (main): Don't start AVC thread until credentials are
35922         installed.
35924         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
35925         is disabled.
35927 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35929         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
35931 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35933         * include/alloca.h (stackinfo_alloca_round): Define.
35934         (extend_alloca): Use it.
35935         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
35936         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
35937         here.
35939         * scripts/check-local-headers.sh: Ignore libaudit.h.
35941         * nscd/Makefile (extra-objs): Make recursively expanded.
35943 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
35945         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
35946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
35948         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
35949         * posix/tst-rfc3484-2.c: Likewise.
35950         * posix/tst-rfc3484-3.c: Likewise.
35952         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
35953         process_vm_writev.
35954         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
35955         process_vm_writev.
35956         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
35957         process_vm_writev from libc using GLIBC_2.15 version.
35959         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
35961 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
35963         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
35964         stack usage.
35966 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
35968         [BZ #13367]
35969         * nss/getent.c (initgroups_keys): Show error message in case no group
35970         names are given.
35972         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
35973         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
35974         __bump_nl_timestamp.
35975         * nscd/connections (nscd_init): When host database is served open
35976         netlink socket and request notification about configuration changes.
35977         (main_loop_poll): Track netlink file descriptor and bump timestamp
35978         in case data becomes available.
35979         (main_loop_epoll): Likewise.
35980         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
35981         (database_pers_head): Add extra_data fileds.
35982         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
35983         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
35984         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
35985         Adjust caller.
35986         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
35987         in6ai data, call __free_in6ai.
35988         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
35989         Add -DHAVE_NETLINK.
35990         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
35991         interface information.  Reuse previous data if netlink timestamp
35992         is not changed.
35993         (__bump_nl_timestamp): New function.
35994         (__free_in6ai): New function.
35996 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
35998         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
35999         close_not_cancel_no_status here.
36000         (__check_pf): Reorganize code a bit to not call close twice if OOM.
36002 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36004         [BZ #13276]
36005         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
36006         return value.
36008         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
36009         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
36010         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
36012 2011-07-03  Andreas Jaeger  <aj@suse.de>
36014         [BZ #10709]
36015         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
36016         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
36017         * math/libm-test.inc (sin_test): Add test case.
36019 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
36021         [BZ #13337]
36022         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
36023         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36025         * elf/chroot_canon.c (chroot_canon): Cleanups.
36027         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
36029         [BZ #13335]
36030         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
36031         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
36033         * string/test-strchr.c: Make usable for strchrnul testing.
36034         * string/test-strchrnul.c: New file.
36035         * string/Makefile (strop-tests): Add strchrnul.
36037         * po/it.po: Update from translation team.
36038         * po/es.po: Likewise.
36040 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
36042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
36043         the three constants needed as parameters.  Drop the others.
36044         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
36045         __m128i_strloadu_tolower.
36046         Create and initialize variable zero and use it in all the places
36047         where _mm_setzero_si128 was used.
36049         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
36050         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
36051         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
36052         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
36053         anymore.
36054         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
36055         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
36056         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
36057         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
36058         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
36059         __mpranred, __mptan.
36060         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
36061         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
36062         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
36063         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
36064         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
36065         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
36066         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
36067         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
36068         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
36070 2011-10-28  Andreas Schwab  <schwab@redhat.com>
36072         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
36073         redefine if SHARED.
36074         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
36076         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
36077         wide char related routines to wcsmbs subdir.
36079 2011-10-27  Andreas Schwab  <schwab@redhat.com>
36081         [BZ #13344]
36082         * misc/sys/cdefs.h (__THROWNL): Define.
36083         * posix/unistd.h: Use __THREADNL instead of __THREAD
36084         for memory synchronization functions.
36086 2011-10-26  Roland McGrath  <roland@hack.frob.com>
36088         [BZ #13349]
36089         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
36090         doesn't exist.
36091         * manual/stdio.texi (Obstack Streams): Node removed.
36093 2011-10-26  Andreas Schwab  <schwab@redhat.com>
36095         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
36096         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36097         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36099         * math/math_private.h (math_force_eval): Allow non-addressable
36100         arguments.
36101         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
36103 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36105         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
36106         file is not needed.
36108         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
36109         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
36110         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
36111         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
36112         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
36113         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
36114         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
36115         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
36116         Add AVX variants.
36117         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
36118         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
36119         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
36120         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
36121         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
36122         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
36123         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
36124         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
36125         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
36126         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
36127         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
36128         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
36129         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
36130         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
36131         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
36132         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
36133         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
36134         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
36135         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
36137         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
36138         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
36140         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
36141         place.  Use VEX encoding when compiling for AVX.
36143 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36145         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
36146         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36148         * string/test-strchr.c (do_test): Don't generate NUL bytes.
36150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36152         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
36153         useless if() expression.
36154         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36155         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
36156         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
36157         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36158         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
36159         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
36160         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36161         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36162         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
36163         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36164         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36165         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36166         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
36167         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36168         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
36169         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
36170         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
36171         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
36172         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
36174         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
36176 2011-10-25  Andreas Schwab  <schwab@redhat.com>
36178         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
36179         condition.
36180         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36182 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
36184         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
36185         .text section.  Avoid duplicate constants.
36186         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
36187         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36188         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36189         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36190         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36191         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36192         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36193         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36194         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
36195         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
36196         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
36197         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
36198         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
36199         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
36200         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
36201         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
36202         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
36203         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
36204         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
36205         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36206         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
36207         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
36208         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
36209         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
36210         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
36211         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
36212         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
36213         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
36214         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
36215         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
36216         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
36217         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
36218         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
36219         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
36220         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
36221         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
36222         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
36223         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
36224         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
36225         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
36226         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
36227         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
36228         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
36229         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
36230         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
36232 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
36234         * sysdeps/x86_64/dla.h: Move to ...
36235         * sysdeps/x86_64/fpu/dla.h: ...here.
36236         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
36237         situations.  Use __builtin_fma only for gcc 4.6 and up.
36239         * config.make.in: Add have-mfma4 entry.
36240         * configure.in: Substitute libc_cv_cc_fma4.
36241         * math/Makefile (dbl-only-routines): Add sincostab.
36242         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
36243         Use __sincostab not sincos.
36244         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
36245         name is a macro.
36246         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36247         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36248         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36249         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
36250         using __copysign.
36251         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
36252         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
36253         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
36254         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
36255         and __inv.
36256         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
36257         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
36258         __copysign.
36259         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
36260         define aliases when function name is a macro.
36261         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
36262         sysdeps/ieee754/dbl-64/sincos.tbl.
36263         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
36264         fma4-enabled routines.
36265         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
36266         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
36267         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
36268         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
36269         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
36270         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
36271         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
36272         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
36273         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
36274         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
36275         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
36276         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
36277         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
36278         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
36279         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
36280         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
36281         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
36282         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
36283         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
36284         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
36285         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
36286         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
36287         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
36288         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
36289         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
36290         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
36291         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
36292         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
36293         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
36294         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
36296         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
36297         rename.
36298         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36299         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36300         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36301         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36302         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36307 2011-10-24  Andreas Schwab  <schwab@redhat.com>
36309         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
36311 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36313         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
36315         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
36316         prediction.
36317         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
36319         * string/strnlen.c: Don't define STRNLEN, reverse logic.
36320         Remove unused variable magic_bits.
36321         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
36323         * string/strnlen.c: Define and use STRNLEN macro.
36324         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
36325         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
36326         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
36327         * wcsmbs/wcslen.c: Define and use WCSLEN.
36328         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
36329         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
36330         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
36331         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
36332         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
36333         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
36334         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
36336 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36338         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36339         strnlen-sse2-no-bsf.
36340         Rename strlen-no-bsf to strlen-sse2-no-bsf.
36341         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
36342         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
36343         Add strnlen support.
36344         (USE_AS_STRNLEN): New macro.
36345         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
36346         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
36347         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
36348         * sysdeps/x86_64/wcslen.S: New file.
36350 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
36352         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36353         XMM-moves are used for copying on small sizes.
36355 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36357         * wcsmbs/Makefile (strop-tests): Add wcschr.
36358         * wcsmbs/test-wcschr.c: New file.
36359         * string/test-strchr.c: Update.
36360         Add wcschr support.
36361         (WIDE): New macro.
36363 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36365         * wcsmbs/Makefile (strop-tests): Add wcslen.
36366         * wcsmbs/test-wcslen.c: New file.
36367         * string/test-strlen.c: Update.
36368         Add wcslen support.
36369         (WIDE): New macro.
36371 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36373         * po/it.po: Update from translation team.
36375 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36377         * sysdeps/x86_64/wcscmp.S: Update.
36378         Fix wrong comparison semantics.
36379         wcscmp shall use signed comparison not unsigned.
36380         Don't use substraction to avoid overflow bug.
36381         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
36382         * wcsmbc/wcscmp.c: Likewise.
36383         * string/test-strcmp.c: Likewise.
36384         Add new tests to check cases with negative values.
36386 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
36388         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
36389         * sysdeps/x86_64/dla.h: ...here.  New file.
36390         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
36391         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36392         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36393         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36394         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36395         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36396         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36397         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36398         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36400 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
36402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
36403         __ynl_finite aliases.
36405 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36409         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
36410         define DLA_FMA.
36411         [DLA_FMA] (EMULV): Use DLA_FMA.
36412         [DLA_FMA] (MUL12): Use EMULV.
36413         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
36414         that are not needed.
36415         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
36416         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36417         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36418         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36419         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36420         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
36421         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
36423 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
36425         * math/s_nan.c: Undef __nan.
36426         * math/s_nanf.c: Undef __nanf.
36427         * math/s_nanl.c: Undef __nanl.
36428         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
36429         "math_private.h".
36431 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
36433         * math/s_catan.c: Add branch predictions.
36434         * math/s_catanf.c: Likewise.
36435         * math/s_catanh.c: Likewise.
36436         * math/s_catanhf.c: Likewise.
36437         * math/s_catanhl.c: Likewise.
36438         * math/s_catanl.c: Likewise.
36439         * math/s_cexp.c: Likewise.
36440         * math/s_cexpf.c: Likewise.
36441         * math/s_cexpl.c: Likewise.
36442         * math/s_clog.c: Likewise.
36443         * math/s_clog10.c: Likewise.
36444         * math/s_clog10f.c: Likewise.
36445         * math/s_clog10l.c: Likewise.
36446         * math/s_clogf.c: Likewise.
36447         * math/s_clogl.c: Likewise.
36448         * math/s_csqrt.c: Likewise.
36449         * math/s_csqrtf.c: Likewise.
36450         * math/s_csqrtl.c: Likewise.
36451         * math/s_ctanf.c: Likewise.
36452         * math/s_ctanh.c: Likewise.
36453         * math/s_ctanhf.c: Likewise.
36454         * math/s_ctanhl.c: Likewise.
36455         * math/s_ctanl.c: Likewise.
36457         * math/math_private.h: Define __nan, __nanf, __nanl.
36458         * math/s_cacosh.c: Include <math_private.h>.
36459         * math/s_cacoshl.c: Likewise.
36460         * math/s_casinh.c: Likewise.
36461         * math/s_casinhf.c: Likewise.
36462         * math/s_casinhl.c: Likewise.
36463         * math/s_ccos.c: Rely entire on ccosh.
36464         * math/s_ccosf.c: Rely entire on ccoshf.
36465         * math/s_ccosl.c: Rely entirely on ccoshl.
36466         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
36467         Remove tests for FE_INVALID.
36468         * math/s_ccoshf.c: Likewise.
36469         * math/s_ccoshl.c: Likewise.
36470         * math/s_csin.c: Likewise.
36471         * math/s_csinf.c: Likewise.
36472         * math/s_csinh.c Likewise.
36473         * math/s_csinhf.c: Likewise.
36474         * math/s_csinhl.c: Likewise.
36475         * math/s_csinl.c: Likewise.
36476         * math/s_ctan.c: Likewise.
36477         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
36478         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
36479         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
36481 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
36483         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
36484         compilation problems.
36486         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
36487         __builtin_expect.
36489 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
36491         * sysdeps/i386/configure.in: Test for -mfma4 option.
36492         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
36493         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
36494         COMMON_CPUID_INDEX_80000001.
36495         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
36496         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
36497         use it if FMA3 is not supported.
36498         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
36500         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
36501         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36503 2011-10-20  Andreas Schwab  <schwab@redhat.com>
36505         [BZ #12892]
36506         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
36507         it would create a cycle with a link time dependency.
36509 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
36511         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
36512         instruction.
36513         * string/Makefile (strop-tests): Add rawmemchr.
36514         * string/test-rawmemchr.c: New file.
36516         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
36517         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
36518         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
36519         when compiling str{,n}casecmp and when AVX is available.  Hook up
36520         new optimized code in initializers.
36522 2011-10-19  Andreas Schwab  <schwab@redhat.com>
36524         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
36525         __feraiseexcept instead of feraiseexcept.
36527 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
36529         * math/math_private.h: Define defaults for libc_fetestexcept and
36530         libc_feupdateenv.
36531         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
36532         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
36533         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36534         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36535         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
36536         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36537         libc_fetestexcept and libc_feupdateenv.
36539         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
36540         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
36541         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
36542         * sysdeps/x86_64/fpu/math_private.h: Define special version of
36543         libc_feholdexcept_setround.
36545         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
36546         Add s_nearbyint-c and s_nearbyintf-c.
36547         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
36548         nearbyintf inlines.
36549         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
36550         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
36551         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
36552         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
36554         * math/math_private.h: Define defaults for libc_fegetround,
36555         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
36556         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
36557         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
36558         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
36559         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
36560         standard functions.
36561         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36562         Remove comments and hacks for old compiler versions.
36563         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
36564         libc_fegetround, libc_fesetround, libc_feholdexcept, and
36565         libc_feholdexceptl.
36567 2011-10-18  Andreas Schwab  <schwab@redhat.com>
36569         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
36570         (__feraiseexcept_renamed): Add __NTH.
36571         (feraiseexcept): Add __NTH.  Rename local variables to fix
36572         namespace violations.
36574 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
36576         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
36578         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
36580         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
36581         recently added interfaces.
36582         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
36584         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
36585         about macro parameter expansion.
36587         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
36588         __NO_MATH_INLINES is defined.  Cleanups.
36590         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
36591         and __floorf is target has SSE4.1.
36592         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
36593         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
36594         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
36595         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
36597         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
36598         name.
36599         (floorf): Likewise.
36601         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
36603 2011-10-17  Andreas Schwab  <schwab@redhat.com>
36605         * misc/sys/cdefs.h: Fix last change.
36607         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
36608         database lookup.
36610 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
36612         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
36614         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
36615         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
36616         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
36617         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
36618         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
36619         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
36620         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
36621         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
36622         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
36623         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
36624         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
36625         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
36626         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
36627         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
36628         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
36629         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
36630         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
36631         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
36632         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
36633         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
36634         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
36635         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
36637         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
36638         ceil, ceilf, floor, floorf.
36640         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
36641         Perform IRELATIVE relocations last.
36643         * elf/do-rel.h: Add another parameter nrelative, replacing the
36644         local variable with the same name.  Change name of the function
36645         to end in Rel or Rela (uppercase).
36646         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
36647         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
36648         elf_dynamic_do_##reloc function.
36650 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36652         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
36653         is sufficient, at least on modern CPUs.
36655         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
36657         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
36658         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
36660         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
36661         __expl_finite.
36662         * math/bits/math-finite.h: Add entries for exp.
36663         * math/e_expl.c: Add __*_finite alias.
36664         * sysdeps/i386/fpu/e_exp.S: Likewise.
36665         * sysdeps/i386/fpu/e_expf.S: Likewise.
36666         * sysdeps/i386/fpu/e_expl.c: Likewise.
36667         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36668         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36669         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36670         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36671         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
36672         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36673         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36675         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
36676         is sufficient, at least on modern CPUs.
36678         * ctype/ctype-info.c (__ctype_init): Define.
36679         * include/ctype.h (__ctype_init): Declare.
36680         (__ctype_b_loc): The variable is always initialized.
36681         (__ctype_toupper_loc): Likewise.
36682         (__ctype_tolower_loc): Likewise.
36683         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
36684         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
36686 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
36688         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
36690         * configure.in: Also look in $cxxmachine/include for C++ system
36691         headers.
36693 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36695         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
36696         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
36697         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
36698         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
36699         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
36700         (USE_AS_WMEMCMP): New macro.
36701         Fixing indents.
36702         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
36703         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
36704         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
36705         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
36706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36707         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
36708         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
36709         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
36710         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
36711         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
36712         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
36713         (USE_AS_WMEMCMP): New macro.
36714         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
36715         * sysdeps/string/test-memcmp.c: Update.
36716         Fix simple_wmemcmp.
36717         Add new tests.
36718         * wcsmbs/wmemcmp.c: Update.
36719         (WMEMCMP): New macro.
36720         Fix overflow bug.
36722 2011-10-12  Andreas Jaeger  <aj@suse.de>
36724         [BZ #13268]
36725         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
36727 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
36729         * libio/iofwide.c (do_length): Avoid warning.
36731         * ctype/ctype.h (__isctype_f): Add missing __THROW.
36733 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
36735         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
36737         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
36738         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
36739         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
36740         * sysdeps/i386/i686/fpu/e_log.S: New file.
36741         * sysdeps/i386/i686/fpu/e_logf.S: New file.
36742         * sysdeps/i386/i686/fpu/e_logl.S: New file.
36744         * ctype/ctype.h: Add support for inlined isXXX functions when
36745         compiling C++ code.
36747 2011-10-14  Andreas Schwab  <schwab@redhat.com>
36749         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36751         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
36753 2011-10-13  Roland McGrath  <roland@hack.frob.com>
36755         [BZ #13291]
36756         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
36758 2011-10-13  Andreas Schwab  <schwab@redhat.com>
36760         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
36761         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
36762         feraiseexcept.
36764         * sysdeps/x86_64/memrchr.S: Check for zero size.
36766         * string/stratcliff.c: Add memrchr tests.
36768 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36770         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36771         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
36772         rawmemchr-sse2 rawmemchr-sse2-bsf.
36773         * sysdeps/i386/i686/multiarch/memchr.S: New file.
36774         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
36775         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
36776         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
36777         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
36778         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
36779         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
36780         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
36781         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
36782         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
36783         * string/memrchr.c (MEMRCHR): New macro.
36785 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
36787         Add integration with gcc's -ffinite-math-only and optimize wrapper
36788         functions in libm.
36789         * Versions.def: Define GLIBC_2.15 version for libm.
36790         * math/Makefile (headers): Add bits/math-finite.h.
36791         * math/bits/math-finite.h: New file.
36792         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
36793         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
36794         * math/e_acoshl.c: Add __*_finite alias.
36795         * math/e_acosl.c: Likewise.
36796         * math/e_asinl.c: Likewise.
36797         * math/e_atan2l.c: Likewise.
36798         * math/e_atanhl.c: Likewise.
36799         * math/e_coshl.c: Likewise.
36800         * math/e_exp10.c: Likewise.
36801         * math/e_exp10f.c: Likewise.
36802         * math/e_exp10l.c: Likewise.
36803         * math/e_exp2l.c: Likewise.
36804         * math/e_fmodl.c: Likewise.
36805         * math/e_gammal_r.c: Likewise.
36806         * math/e_hypotl.c: Likewise.
36807         * math/e_j0l.c: Likewise.
36808         * math/e_j1l.c: Likewise.
36809         * math/e_jnl.c: Likewise.
36810         * math/e_lgammal_r.c: Likewise.
36811         * math/e_log10l.c: Likewise.
36812         * math/e_log2l.c: Likewise.
36813         * math/e_logl.c: Likewise.
36814         * math/e_powl.c: Likewise.
36815         * math/e_sinhl.c: Likewise.
36816         * math/e_sqrtl.c: Likewise.
36817         * math/e_scalb.c: Completely rewritten and optimized.
36818         * math/e_scalbf.c: Likewise.
36819         * math/e_scalbl.c: Likewise.
36820         * math/w_acos.c: Likewise.
36821         * math/w_acosf.c: Likewise.
36822         * math/w_acosl.c: Likewise.
36823         * math/w_acosh.c: Likewise.
36824         * math/w_acoshf.c: Likewise.
36825         * math/w_acoshl.c: Likewise.
36826         * math/w_asin.c: Likewise.
36827         * math/w_asinf.c: Likewise.
36828         * math/w_asinl.c: Likewise.
36829         * math/w_atan2.c: Likewise.
36830         * math/w_atan2f.c: Likewise.
36831         * math/w_atan2l.c: Likewise.
36832         * math/w_atanh.c: Likewise.
36833         * math/w_atanhf.c: Likewise.
36834         * math/w_atanhl.c: Likewise.
36835         * math/w_exp10.c: Likewise.
36836         * math/w_exp10f.c: Likewise.
36837         * math/w_exp10l.c: Likewise.
36838         * math/w_fmod.c: Likewise.
36839         * math/w_fmodf.c: Likewise.
36840         * math/w_fmodl.c: Likewise.
36841         * math/w_j0.c: Likewise.
36842         * math/w_j0f.c: Likewise.
36843         * math/w_j0l.c: Likewise.
36844         * math/w_j1.c: Likewise.
36845         * math/w_j1f.c: Likewise.
36846         * math/w_j1l.c: Likewise.
36847         * math/w_jn.c: Likewise.
36848         * math/w_jnf.c: Likewise.
36849         * math/w_log.c: Likewise.
36850         * math/w_logf.c: Likewise.
36851         * math/w_logl.c: Likewise.
36852         * math/w_log10.c: Likewise.
36853         * math/w_log10f.c: Likewise.
36854         * math/w_log10l.c: Likewise.
36855         * math/w_log2.c: Likewise.
36856         * math/w_log2f.c: Likewise.
36857         * math/w_log2l.c: Likewise.
36858         * math/w_pow.c: Likewise.
36859         * math/w_powf.c: Likewise.
36860         * math/w_powl.c: Likewise.
36861         * math/w_remainder.c: Likewise.
36862         * math/w_remainderf.c: Likewise.
36863         * math/w_remainderl.c: Likewise.
36864         * math/w_scalb.c: Likewise.
36865         * math/w_scalbf.c: Likewise.
36866         * math/w_scalbl.c: Likewise.
36867         * math/w_sqrt.c: Likewise.
36868         * math/w_sqrtf.c: Likewise.
36869         * math/w_sqrtl.c: Likewise.
36870         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
36871         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
36872         used.
36873         * math/math_private.h: Declare __kernel_standard_f.
36874         * math/w_cosh.c: Remove cruft and optimize a bit.
36875         * math/w_coshf.c: Likewise.
36876         * math/w_coshl.c: Likewise.
36877         * math/w_exp2.c: Likewise.
36878         * math/w_exp2f.c: Likewise.
36879         * math/w_exp2l.c: Likewise.
36880         * math/w_hypot.c: Likewise.
36881         * math/w_hypotf.c: Likewise.
36882         * math/w_hypotl.c: Likewise.
36883         * math/w_lgamma.c: Likewise.
36884         * math/w_lgamma_r.c: Likewise.
36885         * math/w_lgammaf.c: Likewise.
36886         * math/w_lgammaf_r.c: Likewise.
36887         * math/w_lgammal.c: Likewise.
36888         * math/w_lgammal_r.c: Likewise.
36889         * math/w_sinh.c: Likewise.
36890         * math/w_sinhf.c: Likewise.
36891         * math/w_sinhl.c: Likewise.
36892         * math/w_tgamma.c: Likewise.
36893         * math/w_tgammaf.c: Likewise.
36894         * math/w_tgammal.c: Likewise.
36895         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36896         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36897         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
36898         Minor optimizations.  Pretty printing.  Remove cruft.
36899         * sysdeps/i386/fpu/e_acosf.S: Likewise.
36900         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36901         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36902         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36903         * sysdeps/i386/fpu/e_acosl.c: Likewise.
36904         * sysdeps/i386/fpu/e_asin.S: Likewise.
36905         * sysdeps/i386/fpu/e_asinf.S: Likewise.
36906         * sysdeps/i386/fpu/e_atan2.S: Likewise.
36907         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
36908         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
36909         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36910         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36911         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36912         * sysdeps/i386/fpu/e_exp10.S: Likewise.
36913         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
36914         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
36915         * sysdeps/i386/fpu/e_exp2.S: Likewise.
36916         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
36917         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
36918         * sysdeps/i386/fpu/e_fmod.S: Likewise.
36919         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
36920         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
36921         * sysdeps/i386/fpu/e_hypot.S: Likewise.
36922         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
36923         * sysdeps/i386/fpu/e_log.S: Likewise.
36924         * sysdeps/i386/fpu/e_log10.S: Likewise.
36925         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36926         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36927         * sysdeps/i386/fpu/e_log2.S: Likewise.
36928         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36929         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36930         * sysdeps/i386/fpu/e_logf.S: Likewise.
36931         * sysdeps/i386/fpu/e_logl.S: Likewise.
36932         * sysdeps/i386/fpu/e_pow.S: Likewise.
36933         * sysdeps/i386/fpu/e_powf.S: Likewise.
36934         * sysdeps/i386/fpu/e_powl.S: Likewise.
36935         * sysdeps/i386/fpu/e_remainder.S: Likewise.
36936         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
36937         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
36938         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36939         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36940         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36941         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
36942         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
36943         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
36944         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
36945         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
36946         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
36947         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
36948         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36949         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
36950         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
36951         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
36952         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
36953         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36954         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36955         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
36956         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
36957         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
36958         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
36959         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36960         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
36961         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
36962         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
36963         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
36964         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
36965         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
36966         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
36967         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
36968         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
36969         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
36970         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
36971         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
36972         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
36973         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
36974         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
36975         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36976         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36977         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
36978         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
36979         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
36980         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
36981         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
36982         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
36983         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
36984         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
36985         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
36986         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
36987         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
36988         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
36989         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
36990         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
36991         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
36992         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
36993         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
36994         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
36995         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36996         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36997         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36998         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36999         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37000         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37001         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37002         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37003         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37004         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37005         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37006         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37008         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37009         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37010         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37012         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
37013         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37014         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37015         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37016         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37017         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37018         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37019         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37020         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37021         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37022         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37023         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37024         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37025         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37026         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
37027         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37028         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37029         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37030         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37031         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37032         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37033         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37034         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37035         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37036         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37037         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37038         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37039         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37040         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37041         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
37042         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
37043         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
37044         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
37045         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
37046         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
37047         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
37048         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37049         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37050         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37052         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
37053         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37054         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
37055         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
37056         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
37057         (__isnanf): Likewise.
37058         (__isinf_ns): Likewise.
37059         (__isinf_nsf): Likewise.
37060         (__finite): Likewise.
37061         (__finitef): Likewise.
37062         (__ieee754_sqrt): Define as macro.
37063         (__ieee754_sqrtf): Define as macro.
37064         (__ieee754_sqrtl): Define as macro.
37065         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
37066         inlined copy.
37067         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
37068         __FINITE_MATH_ONLY__ consistent.
37069         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
37071 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
37073         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
37074         of rawmemchr.
37076         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
37078 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
37080         * po/ja.po: Update from translation team.
37082 2011-10-08  Roland McGrath  <roland@hack.frob.com>
37084         * locale/programs/locarchive.c (prepare_address_space): New function.
37085         (create_archive, enlarge_archive, open_archive): Use it.
37087         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
37088         inside [SHARED], where it is used.
37090         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
37092         * nss/getent.c (netgroup_keys): Remove unused variable.
37093         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37095 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
37097         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
37098         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
37099         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
37100         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
37101         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
37102         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
37103         * math/Makefile (libm-calls): Add s_isinf_ns.
37104         * math/divtc3.c: Use __isinf_nsl instead of isinf.
37105         * math/multc3.c: Likewise.
37106         * math/s_casin.c: Likewise.
37107         * math/s_casinf.c: Likewise.
37108         * math/s_casinl.c: Likewise.
37109         * math/s_ccos.c: Likewise.
37110         * math/s_ccosf.c: Likewise.
37111         * math/s_ccosl.c: Likewise.
37112         * math/s_ctan.c: Likewise.
37113         * math/s_ctanf.c: Likewise.
37114         * math/s_ctanh.c: Likewise.
37115         * math/s_ctanhf.c: Likewise.
37116         * math/s_ctanhl.c: Likewise.
37117         * math/s_ctanl.c: Likewise.
37118         * math/w_fmod.c: Likewise.
37119         * math/w_fmodf.c: Likewise.
37120         * math/w_fmodl.c: Likewise.
37121         * math/w_remainder.c: Likewise.
37122         * math/w_remainderf.c: Likewise.
37123         * math/w_remainderl.c: Likewise.
37124         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
37125         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
37126         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
37127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
37128         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
37129         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
37130         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
37131         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
37133         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
37134         of the number.
37135         * stdio-common/printf_fphex.c: Likewise.
37136         * stdio-common/printf_size.c: Likewise.
37138         * math/e_exp10.c: Include math_private.h using <...> not "...".
37139         * math/e_exp10f.c: Likewise.
37140         * math/e_exp10l.c: Likewise.
37141         * math/e_exp2l.c: Likewise.
37142         * math/e_j0l.c: Likewise.
37143         * math/e_j1l.c: Likewise.
37144         * math/e_jnl.c: Likewise.
37145         * math/e_lgammal_r.c: Likewise.
37146         * math/e_rem_pio2l.c: Likewise.
37147         * math/e_scalb.c: Likewise.
37148         * math/e_scalbf.c: Likewise.
37149         * math/e_scalbl.c: Likewise.
37150         * math/k_cosl.c: Likewise.
37151         * math/k_sinl.c: Likewise.
37152         * math/k_tanl.c: Likewise.
37153         * math/s_cacoshf.c: Likewise.
37154         * math/s_catan.c: Likewise.
37155         * math/s_catanf.c: Likewise.
37156         * math/s_catanh.c: Likewise.
37157         * math/s_catanhf.c: Likewise.
37158         * math/s_catanhl.c: Likewise.
37159         * math/s_catanl.c: Likewise.
37160         * math/s_ccosh.c: Likewise.
37161         * math/s_ccoshf.c: Likewise.
37162         * math/s_ccoshl.c: Likewise.
37163         * math/s_cexp.c: Likewise.
37164         * math/s_cexpf.c: Likewise.
37165         * math/s_cexpl.c: Likewise.
37166         * math/s_clog.c: Likewise.
37167         * math/s_clog10.c: Likewise.
37168         * math/s_clog10f.c: Likewise.
37169         * math/s_clog10l.c: Likewise.
37170         * math/s_clogf.c: Likewise.
37171         * math/s_clogl.c: Likewise.
37172         * math/s_csin.c: Likewise.
37173         * math/s_csinf.c: Likewise.
37174         * math/s_csinh.c: Likewise.
37175         * math/s_csinhf.c: Likewise.
37176         * math/s_csinhl.c: Likewise.
37177         * math/s_csinl.c: Likewise.
37178         * math/s_csqrt.c: Likewise.
37179         * math/s_csqrtf.c: Likewise.
37180         * math/s_csqrtl.c: Likewise.
37181         * math/s_ctan.c: Likewise.
37182         * math/s_ctanf.c: Likewise.
37183         * math/s_ctanh.c: Likewise.
37184         * math/s_ctanhf.c: Likewise.
37185         * math/s_ctanhl.c: Likewise.
37186         * math/s_ctanl.c: Likewise.
37187         * math/s_ldexp.c: Likewise.
37188         * math/s_ldexpf.c: Likewise.
37189         * math/s_ldexpl.c: Likewise.
37190         * math/s_significand.c: Likewise.
37191         * math/s_significandf.c: Likewise.
37192         * math/s_significandl.c: Likewise.
37193         * math/w_acos.c: Likewise.
37194         * math/w_acosf.c: Likewise.
37195         * math/w_acosh.c: Likewise.
37196         * math/w_acoshf.c: Likewise.
37197         * math/w_acoshl.c: Likewise.
37198         * math/w_acosl.c: Likewise.
37199         * math/w_asin.c: Likewise.
37200         * math/w_asinf.c: Likewise.
37201         * math/w_asinl.c: Likewise.
37202         * math/w_atan2.c: Likewise.
37203         * math/w_atan2f.c: Likewise.
37204         * math/w_atan2l.c: Likewise.
37205         * math/w_atanh.c: Likewise.
37206         * math/w_atanhf.c: Likewise.
37207         * math/w_atanhl.c: Likewise.
37208         * math/w_cosh.c: Likewise.
37209         * math/w_coshf.c: Likewise.
37210         * math/w_coshl.c: Likewise.
37211         * math/w_dremf.c: Likewise.
37212         * math/w_exp10.c: Likewise.
37213         * math/w_exp10f.c: Likewise.
37214         * math/w_exp10l.c: Likewise.
37215         * math/w_exp2.c: Likewise.
37216         * math/w_exp2f.c: Likewise.
37217         * math/w_fmod.c: Likewise.
37218         * math/w_fmodf.c: Likewise.
37219         * math/w_fmodl.c: Likewise.
37220         * math/w_hypot.c: Likewise.
37221         * math/w_hypotf.c: Likewise.
37222         * math/w_hypotl.c: Likewise.
37223         * math/w_j0.c: Likewise.
37224         * math/w_j0f.c: Likewise.
37225         * math/w_j0l.c: Likewise.
37226         * math/w_j1.c: Likewise.
37227         * math/w_j1f.c: Likewise.
37228         * math/w_j1l.c: Likewise.
37229         * math/w_jn.c: Likewise.
37230         * math/w_jnf.c: Likewise.
37231         * math/w_jnl.c: Likewise.
37232         * math/w_lgamma.c: Likewise.
37233         * math/w_lgamma_r.c: Likewise.
37234         * math/w_lgammaf.c: Likewise.
37235         * math/w_lgammaf_r.c: Likewise.
37236         * math/w_lgammal.c: Likewise.
37237         * math/w_lgammal_r.c: Likewise.
37238         * math/w_log.c: Likewise.
37239         * math/w_log10.c: Likewise.
37240         * math/w_log10f.c: Likewise.
37241         * math/w_log10l.c: Likewise.
37242         * math/w_log2.c: Likewise.
37243         * math/w_log2f.c: Likewise.
37244         * math/w_log2l.c: Likewise.
37245         * math/w_logf.c: Likewise.
37246         * math/w_logl.c: Likewise.
37247         * math/w_pow.c: Likewise.
37248         * math/w_powf.c: Likewise.
37249         * math/w_powl.c: Likewise.
37250         * math/w_remainder.c: Likewise.
37251         * math/w_remainderf.c: Likewise.
37252         * math/w_remainderl.c: Likewise.
37253         * math/w_scalb.c: Likewise.
37254         * math/w_scalbf.c: Likewise.
37255         * math/w_scalbl.c: Likewise.
37256         * math/w_sinh.c: Likewise.
37257         * math/w_sinhf.c: Likewise.
37258         * math/w_sinhl.c: Likewise.
37259         * math/w_sqrt.c: Likewise.
37260         * math/w_sqrtf.c: Likewise.
37261         * math/w_sqrtl.c: Likewise.
37262         * math/w_tgamma.c: Likewise.
37263         * math/w_tgammaf.c: Likewise.
37264         * math/w_tgammal.c: Likewise.
37266         * po/ja.po: Update from translation team.
37268 2011-09-29  Andreas Jaeger  <aj@suse.de>
37270         [BZ #13179]
37271         * sunrpc/netname.c (netname2host): Fix logic.
37273         [BZ #6779]
37274         [BZ #6783]
37275         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
37276         correctly.
37277         * math/w_remainder.c (__remainder): Likewise.
37278         * math/w_remainderf.c (__remainderf): Likewise.
37279         * math/libm-test.inc (remainder_test): Add test cases.
37281 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37283         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
37284         sdiv_qrnnd.
37286 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37288         * string/test-memcmp.c: Avoid unncessary #defines.
37289         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37291 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37293         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
37294         Use new sse2 version for core i3 - i7 as it's faster
37295         than sse42 version.
37296         (bit_Prefer_PMINUB_for_stringop): New.
37297         * sysdeps/x86_64/rawmemchr.S: Update.
37298         Replace with faster SSE2 version.
37299         * sysdeps/x86_64/memrchr.S: New file.
37300         * sysdeps/x86_64/memchr.S: Update.
37301         Replace with faster SSE2 version.
37303 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
37305         * elf/dl-load.c (lose): Add cast to avoid warning.
37307 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
37309         * po/ca.po: Update from translation team.
37311         * inet/getnetgrent_r.c: Hook up nscd.
37312         * nscd/Makefile (routines): Add nscd_netgroup.
37313         (nscd-modules): Add netgroupcache.
37314         (CFLAGS-netgroupcache.c): Define.
37315         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
37316         (cache_search): Add const to second parameter.
37317         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
37318         INNETGR.
37319         (dbs): Add netgrdb entry.
37320         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
37321         (verify_persistent_db): Handle netgrdb.
37322         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
37323         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
37324         GETFDNETGR.
37325         (netgroup_response_header): Define.
37326         (innetgroup_response_header): Define.
37327         (datahead): Add netgroup_response_header and innetgroup_response_header
37328         elements.
37329         * nscd/nscd.conf: Add entries for netgroup cache.
37330         * nscd/nscd.h (dbtype): Add netgrdb.
37331         (_PATH_NSCD_NETGROUP_DB): Define.
37332         (netgroup_iov_disabled): Declare.
37333         (xmalloc, xcalloc, xrealloc): Move declarations here.
37334         (cache_search): Adjust prototype.
37335         Add netgroup-related prototypes.
37336         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
37337         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
37338         (__nscd_innetgr): Declare.
37339         * nscd/selinux.c (perms): Use access_vector_t as element type and
37340         add netgroup-related initializers.
37341         * nscd/netgroupcache.c: New file.
37342         * nscd/nscd_netgroup.c: New file.
37343         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
37344         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
37345         For four parameters use innetgr.
37346         * nss/nss_files/files-init.c: Add definition and callback for netgr.
37347         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
37348         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
37349         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
37351         * nscd/connections.c (register_traced_file): Don't register file
37352         for disabled databases.
37354 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
37356         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
37358         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
37359         from tree and freeing node.
37361 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
37363         * nss/nsswitch.c (__nss_database_lookup): Handle
37364         nss_parse_service_list out of memory case.
37366 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
37368         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
37369         out of memory case.
37371 2011-10-04  Andreas Schwab  <schwab@redhat.com>
37373         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
37374         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
37375         pass it down.
37376         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
37377         elf_machine_rela, elf_machine_lazy_rel.
37378         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
37379         (ELF_DYNAMIC_DO_REL): Likewise.
37380         (ELF_DYNAMIC_DO_RELA): Likewise.
37381         (ELF_DYNAMIC_RELOCATE): Likewise.
37382         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
37383         to ELF_DYNAMIC_DO_REL.
37384         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
37385         (dl_main): In trace mode always set __RTLD_NOIFUNC.
37386         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
37387         elf_machine_rela.
37388         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
37389         skip_ifunc, don't call ifunc function if non-zero.
37390         (elf_machine_rela): Likewise.
37391         (elf_machine_lazy_rel): Likewise.
37392         (elf_machine_lazy_rela): Likewise.
37393         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
37394         (elf_machine_lazy_rel): Likewise.
37395         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
37396         Likewise.
37397         (elf_machine_lazy_rel): Likewise.
37398         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37399         Likewise.
37400         (elf_machine_lazy_rel): Likewise.
37401         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
37402         (elf_machine_lazy_rel): Likewise.
37403         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
37404         (elf_machine_lazy_rel): Likewise.
37405         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
37406         (elf_machine_lazy_rel): Likewise.
37407         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
37408         (elf_machine_lazy_rel): Likewise.
37409         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
37410         (elf_machine_lazy_rel): Likewise.
37411         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
37412         (elf_machine_lazy_rel): Likewise.
37414 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
37416         * nss/nss_files/files-init.c (_nss_files_init): Use static
37417         initialization for all the *_traced_file variables.
37419 2011-09-28  Andreas Schwab  <schwab@redhat.com>
37421         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37423 2011-09-27  Roland McGrath  <roland@hack.frob.com>
37425         [BZ #13226]
37426         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
37428 2011-09-27  Andreas Schwab  <schwab@redhat.com>
37430         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37431         Reread the line before reparsing it.
37433 2011-09-26  Andreas Schwab  <schwab@redhat.com>
37435         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
37437 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
37438             Maxim Kuvyrkov  <maxim@codesourcery.com>
37439             Joseph Myers  <joseph@codesourcery.com>
37441         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
37442         if needed for __stack_chk_guard.
37444 2011-09-19  Roland McGrath  <roland@hack.frob.com>
37446         * sysdeps/posix/spawni.c (script_execute): Always define it.
37447         It will be optimized away if unused.
37448         (maybe_script_execute): New function.
37449         (__spawni): Call it.
37451         * Makerules: Don't include tls.make.
37452         (config-tls): Always set to thread.
37453         * tls.make.c: File removed.
37455 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
37457         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
37458         * config.make.in (CPPFLAGS-config): New substituted variable.
37460 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37462         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
37464         [BZ #13192]
37465         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
37466         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
37468 2011-09-15  Roland McGrath  <roland@hack.frob.com>
37470         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
37471         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
37472         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
37473         (CALL_FAIL): Likewise.
37474         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
37475         (CALL_FAIL): Macro removed.
37476         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
37478 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
37480         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
37481         for __FINITE_MATH_ONLY__ == 1.
37483 2011-09-15  Andreas Schwab  <schwab@redhat.com>
37485         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
37486         __ieee754_sqrt instead of sqrt.
37487         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
37488         __ieee754_sqrtf instead of sqrtf.
37489         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
37490         __floorf instead of floorf.
37491         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
37492         __floorf, __truncf instead of floorf, truncf.
37494 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
37496         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
37498         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
37499         __extern_always_inline.
37500         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
37501         32-bit.
37503 2011-09-14  Andreas Schwab  <schwab@redhat.com>
37505         * elf/rtld.c (dl_main): Also relocate in dependency order when
37506         doing symbol dependency testing.
37508 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
37510         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
37511         Always define `refsym'.
37513 2011-09-13  Andreas Schwab  <schwab@redhat.com>
37515         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
37516         (__FD_ELT): Renamed from __FDELT.
37517         * misc/bits/select2.h (__FD_ELT): Likewise.
37518         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
37519         __FD_MASK instead of __FDELT, __FDMASK.
37520         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37521         Likewise.
37522         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
37523         Likewise.
37525         * elf/Makefile (gen-ldd): Fix pattern.
37527         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
37528         (init_tls): Likewise.
37530 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
37532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
37534 2011-09-12  Andreas Schwab  <schwab@redhat.com>
37536         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
37537         `struct cmsghdr *' instead of `void *'.
37538         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
37539         Likewise.
37541 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
37543         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
37544         if non-absolute.
37545         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
37546         ldd_rewrite_script.
37548 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
37550         * configure.in: Remove --with-tls option.
37551         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
37552         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
37553         out in case it is missing.
37554         * sysdeps/ia64/elf/configure.in: Likewise.
37555         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
37556         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
37557         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
37558         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
37559         * sysdeps/sh/elf/configure.in: Likewise.
37560         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
37561         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
37562         * sysdeps/x86_64/elf/configure.in: Likewise.
37563         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
37564         * sysdeps/mach/hurd/tls.h: Likewise.
37566         [BZ #13067]
37567         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
37569         [BZ #13090]
37570         * configure.in: Fix use of AC_INIT.
37572         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
37574 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
37576         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
37577         __set_errno.
37578         * malloc/hooks.c: Likewise.
37580         [BZ #11929]
37581         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
37582         variables statically.
37583         (narenas): Initialize.
37584         (list_lock): Initialize.
37585         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
37586         initializtion of main_arena and list_lock.  Small cleanups.
37587         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
37588         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
37589         Add initializers to main_arena and mp_.
37590         (malloc_state): Remove pagesize member.  Change all users to use
37591         GLRO(dl_pagesize).
37593         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
37594         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
37595         is always initialized.
37597         * malloc/malloc.c: Removed unused configurations and dead code.
37598         * malloc/arena.c: Likewise.
37599         * malloc/hooks.c: Likewise.
37600         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
37602         * include/tls.h: Removed.  USE___THREAD must always be defined.
37603         * bits/libc-tsd.h: Don't handle !USE___THREAD.
37604         * elf/dl-libc.c: Likewise.
37605         * elf/dl-tsd.c: Likewise.
37606         * include/errno.h: Likewise.
37607         * include/netdb.h: Likewise.
37608         * include/resolv.h: Likewise.
37609         * inet/herrno-loc.c: Likewise.
37610         * inet/herrno.c: Likewise.
37611         * malloc/arena.c: Likewise.
37612         * malloc/hooks.c: Likewise.
37613         * malloc/malloc.c: Likewise.
37614         * resolv/res-state.c: Likewise.
37615         * resolv/res_libc.c: Likewise.
37616         * sysdeps/i386/dl-machine.h: Likewise.
37617         * sysdeps/ia64/dl-machine.h: Likewise.
37618         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
37619         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37620         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
37621         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
37622         * sysdeps/sh/dl-machine.h: Likewise.
37623         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37624         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37625         * sysdeps/unix/i386/sysdep.S: Likewise.
37626         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
37627         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
37628         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
37629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
37630         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
37631         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
37632         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
37633         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37634         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37635         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
37636         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37637         * sysdeps/x86_64/dl-machine.h: Likewise.
37638         * tls.make.c: Likewise.
37640         * configure.in: Remove --with-__thread option.  Make tests for
37641         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
37642         tls_model attribute fail if no support is available.  Remove
37643         USE_IN_LIBIO.
37644         * Makeconfig: Adjust for dropped configure option.  All features are
37645         now mandatory.
37646         * Makerules: Likewise.
37647         * Versions.def: Likewise.
37648         * argp/argp-fmtstream.c: Likewise.
37649         * argp/argp-fmtstream.h: Likewise.
37650         * argp/argp-help.c: Likewise.
37651         * assert/assert.c: Likewise.
37652         * config.h.in: Likewise.
37653         * config.make.in: Likewise.
37654         * configure: Likewise.
37655         * configure.in: Likewise.
37656         * csu/Versions: Likewise.
37657         * csu/init.c: Likewise.
37658         * elf/tst-audit2.c: Likewise.
37659         * elf/tst-tls10.c: Likewise.
37660         * elf/tst-tls10.h: Likewise.
37661         * elf/tst-tls11.c: Likewise.
37662         * elf/tst-tls12.c: Likewise.
37663         * elf/tst-tls14.c: Likewise.
37664         * elf/tst-tlsmod11.c: Likewise.
37665         * elf/tst-tlsmod12.c: Likewise.
37666         * elf/tst-tlsmod13.c: Likewise.
37667         * elf/tst-tlsmod13a.c: Likewise.
37668         * elf/tst-tlsmod14a.c: Likewise.
37669         * elf/tst-tlsmod15b.c: Likewise.
37670         * elf/tst-tlsmod16a.c: Likewise.
37671         * elf/tst-tlsmod16b.c: Likewise.
37672         * elf/tst-tlsmod7.c: Likewise.
37673         * elf/tst-tlsmod8.c: Likewise.
37674         * elf/tst-tlsmod9.c: Likewise.
37675         * gmon/gmon.c: Likewise.
37676         * grp/fgetgrent_r.c: Likewise.
37677         * grp/putgrent.c: Likewise.
37678         * hurd/fopenport.c: Likewise.
37679         * include/libc-symbols.h: Likewise.
37680         * include/tls.h: Likewise.
37681         * intl/gettextP.h: Likewise.
37682         * intl/loadinfo.h: Likewise.
37683         * locale/global-locale.c: Likewise.
37684         * locale/localeinfo.h: Likewise.
37685         * mach/devstream.c: Likewise.
37686         * malloc/arena.c: Likewise.
37687         * malloc/set-freeres.c: Likewise.
37688         * misc/err.c: Likewise.
37689         * misc/getttyent.c: Likewise.
37690         * misc/mntent_r.c: Likewise.
37691         * posix/getopt.c: Likewise.
37692         * posix/wordexp.c: Likewise.
37693         * pwd/fgetpwent_r.c: Likewise.
37694         * resolv/Versions: Likewise.
37695         * resolv/res_hconf.c: Likewise.
37696         * shadow/fgetspent_r.c: Likewise.
37697         * shadow/putspent.c: Likewise.
37698         * stdio-common/printf_fphex.c: Likewise.
37699         * stdio-common/tmpfile.c: Likewise.
37700         * stdlib/abort.c: Likewise.
37701         * stdlib/fmtmsg.c: Likewise.
37702         * sunrpc/auth_unix.c: Likewise.
37703         * sunrpc/clnt_perr.c: Likewise.
37704         * sunrpc/clnt_tcp.c: Likewise.
37705         * sunrpc/clnt_udp.c: Likewise.
37706         * sunrpc/clnt_unix.c: Likewise.
37707         * sunrpc/openchild.c: Likewise.
37708         * sunrpc/svc_simple.c: Likewise.
37709         * sunrpc/svc_tcp.c: Likewise.
37710         * sunrpc/svc_udp.c: Likewise.
37711         * sunrpc/svc_unix.c: Likewise.
37712         * sunrpc/xdr.c: Likewise.
37713         * sunrpc/xdr_array.c: Likewise.
37714         * sunrpc/xdr_rec.c: Likewise.
37715         * sunrpc/xdr_ref.c: Likewise.
37716         * sunrpc/xdr_stdio.c: Likewise.
37718 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37720         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37722 2011-07-03  Andreas Jaeger  <aj@suse.de>
37724         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
37725         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
37726         regenerate with gen-libm-tests.pl.
37728 2010-05-12  Petr Baudis  <pasky@suse.cz>
37730         [BZ #11589]
37731         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
37732         around j0() zero points by switching to j1().
37733         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37734         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37736         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37738 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37740         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
37741         instead of 0.
37742         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
37743         instead of 0.
37744         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37745         Patch in part by Pavel Roskin <proski@gnu.org>.
37747         [BZ #13138]
37748         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
37749         realloc.
37750         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
37751         Free memory block if necessary.
37753         [BZ #12847]
37754         * libio/genops.c (INTDEF): For string streams the _lock pointer can
37755         be NULL.  Don't lock in this case.
37757 2011-09-09  Roland McGrath  <roland@hack.frob.com>
37759         * elf/elf.h (ELFOSABI_GNU): New macro.
37760         (ELFOSABI_LINUX): Define to that.
37762 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
37764         * string/strncat.c (strncat): Undef the symbol in case it has been
37765         defined in bits/string.h.
37767 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
37769         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
37771         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
37772         link map.
37774 2011-08-17  Andreas Jaeger  <aj@suse.de>
37776         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
37778 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
37779             Ian Lance Taylor  <iant@google.com>
37781         * math/libm-test.inc (lround_test): New testcase.
37782         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
37784 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
37786         * Makefile: Remove support for automatic cvs check-ins.
37787         * Makerules: Likewise.
37788         * config.make.in: Likewise.
37789         * configure.in: Likewise.
37790         * intl/Makefile: Likewise.
37791         * locale/Makefile: Likewise.
37792         * po/Makefile: Likewise.
37793         * posix/Makefile: Likewise.
37794         * sysdeps/gnu/Makefile: Likewise.
37795         * sysdeps/mach/hurd/Makefile: Likewise.
37796         * sysdeps/sparc/sparc32/Makefile: Likewise.
37798         [BZ #13118]
37799         * posix/Makefile (bug-regex32-ENV): Define.
37800         Patch by John Stanley <jpsinthemix@verizon.net>.
37802         * misc/Makefile (headers): Add bits/select2.h.
37803         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
37804         * misc/bits/select2.h: New file.
37805         * include/bits/select2.h: New file.
37806         * debug/Makefile (routines): Add fdelt_chk.
37807         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
37808         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
37809         FD_ISSET.
37810         * debug/fdelt_chk.c: New file.
37812         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
37813         * wcsmbs/test-wmemcmp.c: Likewise.
37814         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
37815         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
37817 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37819         * string/Makefile (strop-tests): Add memcmp.
37820         * string/test-wmemcmp.c: New file.
37821         * string/test-memcmp.c: Add wmemcmp support.
37823 2011-09-08  Roland McGrath  <roland@hack.frob.com>
37825         [BZ #13153]
37826         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
37827         2011-07-19 change.
37829         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
37830         garbage value in a __mach_port_mod_refs call in the cases of the
37831         task-self and thread-self ports.
37833 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37835         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
37837 2011-09-08  Andreas Schwab  <schwab@redhat.com>
37839         * elf/dl-load.c (lose): Check for non-null L.
37841 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37843         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
37845         * elf/dl-libc.c (dlerror_run): Pass back error code from
37846         dl_catch_error.
37848         [BZ #13123]
37849         * elf/dl-load.c (lose): Free l_origin if it is valid.
37851         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
37852         names.
37853         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
37854         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37855         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
37856         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37857         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
37858         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
37860 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37862         * sysdeps/powerpc/fpu/e_hypot.c: New file.
37863         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
37864         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
37865         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
37866         * sysdeps/powerpc/fpu/k_cosf.c: New file.
37867         * sysdeps/powerpc/fpu/k_sinf.c: New file.
37868         * sysdeps/powerpc/fpu/s_cosf.c: New file.
37869         * sysdeps/powerpc/fpu/s_sinf.c: New file.
37870         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
37871         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
37873 2011-08-15  Alan Modra  <amodra@gmail.com>
37875         [BZ #13092]
37876         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
37877         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
37878         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
37879         ppc_mcount to static-only-routines.
37880         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
37881         __mcount_internal.
37882         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
37883         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
37885 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
37887         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
37888         for finite and infinity parameters.
37890 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37892         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
37893         and add nop instructions for throughput optimization.
37894         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37896 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
37898         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
37899         aligned copy for power7 with vector-scalar instructions.
37900         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
37902 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
37904         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
37905         AVX check.
37907 2011-09-07  Andreas Schwab  <schwab@redhat.com>
37909         [BZ #13144]
37910         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
37911         last change.
37913 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
37915         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37916         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
37917         syscall wrapper around clock_gettime in __vdso_clock_gettime.
37918         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
37919         clock_gettime.
37921 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37923         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
37924         Forgot to demangle the pointer.
37926         * sysdeps/i386/sysdep.h: Define atom_text_section.
37927         * sysdeps/x86_64/sysdep.h: Likewise.
37928         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
37929         section with atom_text_section.
37930         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
37931         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
37932         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
37933         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
37934         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
37936         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
37937         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
37938         already be defined.  Change to take two parameters and don't assign
37939         result to variable.  Adjust all users.
37940         Define INTERNAL_GETTIME if not already defined.
37941         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
37942         call.
37943         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
37944         HAVE_CLOCK_GETTIME_VSYSCALL.
37945         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
37947         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
37948         gettimeofday vsyscall, just use time.
37950 2011-09-06  Andreas Schwab  <schwab@redhat.com>
37952         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
37953         <errno.h>.
37955 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
37957         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
37958         syscall on x86-64.
37959         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
37960         syscall.
37961         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
37962         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
37963         syscall if possible.
37965 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37967         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
37968         e_ident.  Don't pass to find_mapsXX.
37969         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
37971 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
37973         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37974         strchr-sse2-no-bsf strrchr-sse2-no-bsf
37975         * sysdeps/x86_64/multiarch/strchr.S: Update.
37976         Check bit_slow_BSF bit.
37977         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37978         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
37979         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
37981 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
37983         [BZ #13134]
37984         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
37985         before glibc 2.15.
37986         (tryshell): Define.
37987         (__spawni): Change last parameter to be flag.  Test
37988         SPAWN_XFLAGS_USE_PATH flag to use path or not.
37989         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
37990         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
37991         * posix/spawni.c: Likewise.
37992         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
37993         * posix/spawnp.c: Likewise.  Change normal version to use
37994         SPAWN_XFLAGS_USE_PATH.
37995         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
37996         SPAWN_XFLAGS_TRY_SHELL.
37998         [BZ #13150]
37999         * posix/glob.h: Remove gcc 1.x support.
38001         [BZ #13068]
38002         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
38004 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38006         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38007         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
38008         strrchr-sse2-bsf
38009         * sysdeps/i386/i686/multiarch/strchr.S: New file.
38010         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
38011         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
38012         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
38013         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
38014         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
38016 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38018         * sysdeps/x86_64/wcscmp.S: New file.
38020         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
38021         wcscmp-c wcscmp-sse2
38022         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
38023         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
38024         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
38025         * wcsmbs/wcscmp.c: Allow renaming.
38027 2011-09-05  David S. Miller  <davem@davemloft.net>
38029         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
38030         stack slot, rather than the struct return pointer slot.
38031         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
38032         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
38033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
38034         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
38036 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
38038         * po/ja.po: Update from translation team.
38040         [BZ #13144]
38041         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
38042         kernel in 64-bit binaries.
38044 2011-09-01  David S. Miller  <davem@davemloft.net>
38046         * elf/elf.h (HWCAP_SPARC_*): Move to..
38047         * sysdeps/sparc/sysdep.h: this new file and add new values.
38048         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
38049         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
38050         _DL_HWCAP_COUNT to 24.
38051         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38052         entries.
38053         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
38054         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
38055         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
38056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
38057         instead of magic constants.
38058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38060 2011-08-31  David S. Miller  <davem@davemloft.net>
38062         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
38063         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
38064         Reimplement to do errno handling inline.
38065         (SYSCALL_ERROR_HANDLER): New macro.
38066         (__SYSCALL_STRING): Do not do errno handling in asm.
38067         (__CLONE_SYSCALL_STRING): Delete.
38068         (__INTERNAL_SYSCALL_STRING): Delete.
38069         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
38070         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
38071         (PSEUDO): Reimplement to do errno handling inline.
38072         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
38073         (SYSCALL_ERROR_HANDLER): New macro.
38074         (__SYSCALL_STRING): Do not do errno handling in asm.
38075         (__CLONE_SYSCALL_STRING): Delete.
38076         (__INTERNAL_SYSCALL_STRING): Delete.
38077         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
38078         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
38079         i386.
38080         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
38081         (inline_syscall*): Add 'err' argument.
38082         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
38083         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
38084         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
38085         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
38087         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
38088         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
38090 2011-08-30  Andreas Schwab  <schwab@redhat.com>
38092         * elf/rtld.c (dl_main): Relocate objects in dependency order.
38094 2011-08-29  Jiri Olsa <jolsa@redhat.com>
38096         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
38097         directive.
38099 2011-08-24  David S. Miller  <davem@davemloft.net>
38101         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
38103 2011-08-24  Andreas Schwab  <schwab@redhat.com>
38105         * elf/Makefile: Add rules to build and run unload8 test.
38106         * elf/unload8.c: New file.
38107         * elf/unload8mod1.c: New file.
38108         * elf/unload8mod1x.c: New file.
38109         * elf/unload8mod2.c: New file.
38110         * elf/unload8mod3.c: New file.
38112         * elf/dl-close.c (_dl_close_worker): Reset private search list if
38113         it wasn't used.
38115 2011-08-23  David S. Miller  <davem@davemloft.net>
38117         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
38118         subtract stack bias.
38119         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
38120         %sp not %fp in calculations.
38121         (_JMPBUF_UNWINDS_ADJ): Likewise.
38123         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
38124         (aio_suspend): Call it to force an exception region around the
38125         AIO_MISC_WAIT() invocation.
38127 2011-08-23  Andreas Schwab  <schwab@redhat.com>
38129         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
38130         backslash.
38132 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
38134         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
38135         protection macro.
38136         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
38137         and <dl-machine.h>.
38138         (Elf64_FuncDesc): Remove.
38140 2011-08-22  David S. Miller  <davem@davemloft.net>
38142         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
38143         sigaltstack check, add missing cfi directives.
38144         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
38145         missing cfi directives, and sigaltstack handling.
38147 2011-08-16  Andreas Schwab  <schwab@redhat.com>
38149         [BZ #11724]
38150         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
38151         object is seen twice.
38152         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38154         * elf/Makefile (distribute): Add tst-initorder2.c.
38155         (tests): Add tst-initorder2.
38156         (modules-names): Add tst-initorder2a tst-initorder2b
38157         tst-initorder2c tst-initorder2d.  Add rules to build them.
38158         ($(objpfx)tst-initorder2.out): New rule.
38159         * elf/tst-initorder2.c: New file.
38160         * elf/tst-initorder2.exp: New file.
38162 2011-08-22  Andreas Schwab  <schwab@redhat.com>
38164         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
38166         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
38167         dependencies back to end of function.
38169         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
38170         $(elfobjdir)/ld.so.
38172 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
38174         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
38175         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
38176         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
38177         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
38178         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
38179         of __vdso_gettimeofday.
38180         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
38181         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
38182         attribute_hidden.
38183         (_libc_vdso_platform_setup): Remove initialization of
38184         __vdso_gettimeofday and __vdso_time.
38186 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38188         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
38189         and fgetc_unlocked.
38190         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
38191         getc_unlocked.
38193         * elf/dl-open.c (add_to_global): Report additions to the global scope
38194         for LD_DEBUG=scopes.
38195         (dl_open_worker): Also print scope of newly loaded dependencies.
38196         (_dl_show_scope): Indicate if there is no scope.
38198         [BZ #13114]
38199         * stdio-common/Makefile (tests): Add bug24.
38200         * stdio-common/bug24.c: New file.
38202 2011-08-19  Andreas Jaeger  <aj@suse.de>
38204         [BZ #13114]
38205         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
38206         non-existant file when using close-on-exec mode.
38208 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
38210         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
38211         the very first instruction.
38213         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
38214         the CFI state in the end.
38215         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
38216         inclusion of dl-trampoline.h.
38217         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
38219 2011-08-19  Andreas Schwab  <schwab@redhat.com>
38221         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
38222         expectations for long double.
38224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
38225         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
38227 2011-08-14  David S. Miller  <davem@davemloft.net>
38229         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
38230         artificual limit depends upon the system page size.
38232 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38234         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
38235         * resolv/Makefile: Define CFLAGS-libresolv.
38237 2011-08-17  Andreas Schwab  <schwab@redhat.com>
38239         * nss/makedb.c (compute_tables): Make variables used in nested
38240         function static.
38242 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
38244         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
38245         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
38246         if buffer was too small.
38248         * elf/pldd.c (main): Attach to all threads in the process.
38249         Rewrite /proc handling to use *at functions.
38251 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
38253         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
38254         specifies first scope to show.
38255         (dl_open_worker): Update callers.  Move printing scope of new
38256         object to before the relocation.
38257         * elf/rtld.c (dl_main): Update _dl_show_scope call.
38258         * sysdeps/generic/ldsodefs.h: Update declaration.
38260         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
38261         string for the scope number.
38263 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
38265         * nscd/servicescache.c (cache_addserv): Make sure written is always
38266         initialized.
38268 2011-08-14  Roland McGrath  <roland@hack.frob.com>
38270         * sysdeps/i386/i486/bits/atomic.h
38271         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
38272         statement expression, so as to suppress "set but not used" warning.
38273         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
38275         * string/strncat.c (STRNCAT): Use prototype definition.
38277         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
38278         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
38279         -Iprograms here.
38280         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
38281         (localedef-modules): Add localedef.
38282         (locale-modules): Add locale.
38284         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
38285         * elf/rtld.c (dl_main): Invert order of assignment in last change,
38286         to avoid a warning.
38288 2011-08-14  David S. Miller  <davem@davemloft.net>
38290         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
38291         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
38293 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
38295         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
38296         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
38297         * elf/rtld.c (dl_main): Set l_name of vDSO.
38298         Call _dl_show_scope when DL_DEBUG_SCOPES.
38299         (process_dl_debug): Recognize scopes flag and also set it for all.
38300         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
38301         Declare _dl_show_scope.
38303         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
38304         (do_dlopen): Pass caller_dlopen to dl_open.
38305         (__libc_dlopen_mode): Initialize caller_dlopen.
38307         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
38308         of libc.  Make tolower call locale-independent.  Optimize a bit by
38309         using isdigit instead of isalnum.
38310         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
38312 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
38314         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
38315         was a dependency or dynamically loaded.
38317 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
38319         * intl/l10nflist.c: Allow architecture-specific pop function.
38320         * sysdeps/x86_64/l10nflist.c: New file.
38322         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
38323         classification.
38325 2011-08-10  Andreas Schwab  <schwab@redhat.com>
38327         * include/dirent.h: Add libc_hidden_proto for scandirat and
38328         scandirat64.  Don't declare __scandirat64.
38329         * dirent/scandirat.c: Add libc_hidden_def.
38330         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
38331         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
38333 2011-08-10  David S. Miller  <davem@davemloft.net>
38335         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
38336         enum.
38337         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38338         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38339         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38341 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
38343         * Versions.def [libc]: Add GLIBC_2.15.
38344         * dirent/Makefile (routines): Add scandirat and scandirat64.
38345         * dirent/Versions [libc]: Export scandirat and scandirat64 for
38346         GLIBC_2.15.
38347         * dirent/dirent.h: Declare scandirat and scandirat64.
38348         * dirent/scandirat.c: New file.
38349         * dirent/scandirat64.c: New file.
38350         * sysdeps/wordsize-64/scandirat.c: New file.
38351         * sysdeps/wordsize-64/scandirat64.c: New file.
38352         * dirent/opendir.c: Define opendirat.
38353         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
38354         using scandirat.
38355         * dirent/scandir64.c: Adjust for scandir.c change.
38356         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
38357         __scandirat64, and __scandir_cancel_handler.
38358         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
38359         additional parameter and use openat instead of open (outside of ld.so).
38360         Add new __opendir as wrapper around __opendirat.
38361         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
38362         here without requiring old scandirat implementation.
38364 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
38366         * dirent/scandir.c (cancel_handler): Renamed to
38367         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
38368         defined.  Adjust users.
38369         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
38370         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
38372 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
38374         * string/test-string.h (IMPL): Use __STRING to expand name and then
38375         stringify it.
38377         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
38378         of cleanups.
38380 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38382         * string/Makefile: Update.
38383         (strop-tests): Append strncat.
38384         * string/test-wcscmp.c: New file.
38385         New comprehensive test for wcscmp.
38386         * string/test-strcmp.c: Update.
38387         (WIDE): New define.
38389 2011-07-22  Andreas Schwab  <schwab@redhat.com>
38391         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
38392         line.
38394 2011-07-26  Andreas Schwab  <schwab@redhat.com>
38396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
38397         encoding to ACE if AI_IDN.
38399 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
38401         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
38402         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
38404 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38406         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
38407         Fix overflow bug in strncat.
38408         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
38410         * string/test-strncat.c: Update.
38411         Add new tests for checking overflow bugs.
38413 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38416         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
38417         * sysdeps/i386/i686/multiarch/strcat.S: New file.
38418         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
38419         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
38420         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
38421         * sysdeps/i386/i686/multiarch/strncat.S: New file.
38422         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
38423         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
38425         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
38426         (USE_AS_STRCAT): Define.
38427         Add strcat and strncat support.
38428         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38430 2011-07-25  Andreas Schwab  <schwab@redhat.com>
38432         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
38433         __n bigger than INT_MAX+1.
38434         (__strncmp_g): Likewise.
38436 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
38438         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
38439         * libio/stido.h: Likewise.
38441         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
38442         (AF_NFC): Define.
38443         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
38444         (AF_NFC): Define.
38446         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
38447         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
38448         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
38449         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
38450         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
38452         [BZ #13021]
38453         * scripts/test-installation.pl: Don't expect libnss_test1 to be
38454         installed.
38456         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
38457         typo.
38458         (_dl_x86_64_save_sse): Likewise.
38460 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
38462         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
38463         OSXSAVE.
38464         (_dl_x86_64_save_sse): Likewise.
38466         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
38468         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
38470 2011-07-21  Andreas Schwab  <schwab@redhat.com>
38472         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
38473         change.
38474         (_dl_x86_64_save_sse): Use correct AVX check.
38476 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38478         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
38479         bug in strncpy/strncat.
38480         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
38482 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
38484         * string/tester.c (test_strcat): Add tests for different alignments
38485         of source and destination.
38486         (test_strncat): Likewise.
38488 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38490         [BZ #12852]
38491         * posix/glob.c (glob): Check passed in values before using them in
38492         expressions to avoid some overflows.
38493         (glob_in_dir): Likewise.
38495         [BZ #13007]
38496         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
38497         check for AVX enablement so that we don't crash with old kernels and
38498         new hardware.
38499         * elf/tst-audit4.c: Add same checks here.
38500         * elf/tst-audit6.c: Likewise.
38502         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
38504 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
38506         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
38508 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
38510         * po/cs.po: Update from translation team.
38511         * po/bg.po: Likewise.
38513 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
38515         * misc/sys/cdefs.h: Add support for const attribute.
38516         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
38517         to gnu_dev_{major,minor,makedev} functions.
38519 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
38521         * intl/dcigettext.c (get_output_charset): Add missing bracket.
38523 2011-07-20  Andreas Schwab  <schwab@redhat.com>
38525         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
38526         strlen results.
38528 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
38531         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
38532         register in order to avoid conflicts with the soft frame pointer
38533         being held in r11 when necessary.
38534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
38535         (INTERNAL_VSYSCALL_NCS): Likewise.
38537 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
38539         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
38540         * elf/dl-fini.c (_dl_fini): Adjust caller.
38541         * elf/dl-close.c (_dl_close_worker): Likewise.
38542         * sysdeps/generic/ldsodefs.h: Adjust declaration.
38544 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38546         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
38547         "aux_cache->nlibs < 0".
38549         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
38550         in the reload-count case.
38552 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
38554         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38555         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
38556         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
38557         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
38558         * sysdeps/x86_64/multiarch/strcat.S: New file.
38559         * sysdeps/x86_64/multiarch/strncat.S: New file.
38560         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
38561         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
38562         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
38563         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
38564         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
38565         (USE_AS_STRCAT): Define.
38566         Add strcat and strncat support.
38567         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
38568         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
38569         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
38570         * string/strncat.c: Update.
38571         (USE_AS_STRNCAT): Define.
38572         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38573         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
38574         and i7.
38575         * sysdeps/x86_64/multiarch/init-arch.h
38576         (bit_Prefer_PMINUB_for_stringop): New.
38577         (index_Prefer_PMINUB_for_stringop): Likewise.
38578         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
38579         bit_Prefer_PMINUB_for_stringop.
38581 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38583         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
38584         buffer64.
38585         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
38586         of casting of buffer.
38587         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
38588         buffer32 and buffer64.
38589         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
38590         writes instead of casting of buffer.
38591         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
38592         buffer32.
38593         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
38594         casting of buffer.
38596 2011-07-19  Andreas Schwab  <schwab@redhat.com>
38598         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
38600 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
38602         * nscd/nscd.c (termination_handler): Don't do anything for a database
38603         if it has not yet been initialized.
38605 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38607         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38609 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
38611         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
38613 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
38615         * po/nl.po: Update from translation team.
38616         * po/sv.po: Likewise.
38618 2011-07-16  Roland McGrath  <roland@hack.frob.com>
38620         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
38621         now disallowed by GCC.
38623         * configure.in (use-default-link): Default to yes if a test -shared
38624         link meets our qualifications.
38625         * configure: Regenerated.
38627         * config.make.in (output-format): New variable.
38628         * configure.in: Check for ld --print-output-format support.
38629         * configure: Regenerated.
38630         * Makerules ($(common-objpfx)format.lds)
38631         [$(output-format) != unknown]: Just use $(output-format),
38632         instead of the linker-script munging.
38634 2011-07-14  Roland McGrath  <roland@hack.frob.com>
38636         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
38637         of $(common-objpfx)shlib.lds.
38638         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
38640         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
38641         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
38643         * configure.in (-z relro check): Adjust test code to add a large
38644         writable data section after it.
38645         * configure: Regenerated.
38647 2011-07-11  Roland McGrath  <roland@hack.frob.com>
38649         * configure.in (-z relro check): Fix test code to make the variable
38650         truly const.
38651         * configure: Regenerated.
38653 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
38655         * nscd/nscd.h (struct traced_file): Define.
38656         (struct database_dyn): Remove inotify_descr, reset_res, and filename
38657         elements.  Add traced_files.
38658         (inotify_fd): Declare.
38659         (register_traced_file): Declare.
38660         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
38661         (inotify_fd): Export.
38662         (resolv_conf_descr): Remove.
38663         (nscd_init): Move inotify descriptor creation to main.
38664         Don't register files for notification here.
38665         (register_traced_file): New function.
38666         (invalidate_cache): Don't use reset_res to determine whether to call
38667         res_init, go through the list of registered files.
38668         (main_loop_poll): The inotify descriptors are now stored in the
38669         structures for the traced files.
38670         (main_loop_epoll): Likewise
38671         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
38672         to __nss_disable_nscd.
38673         * nscd/cache.c (prune_cache): There is no single inotify descriptor
38674         for a database anymore.  Check the records for all the registered
38675         files instead.
38676         * nss/Makefile (libnss_files-routines): Add files-init.
38677         (libnss_db-routines): Add db-init.
38678         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
38679         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
38680         * nss/nss_db/db-init.c: New file.
38681         * nss/nss_files/files-init.c: New file.
38682         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
38683         __nss_lookup_function.
38684         (__nss_lookup_function): Call nss_load_library.
38685         (nss_load_all_libraries): New function.
38686         (__nss_disable_nscd): Take parameter with callback function for files
38687         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
38688         used for the cached services.
38689         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
38690         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
38691         options for features to all the files in nscd.
38693         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
38695 2011-07-10  Roland McGrath  <roland@hack.frob.com>
38697         * csu/elf-init.c (__libc_csu_init): Comment typo.
38699 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
38701         * po/pl.po: Update from translation team.
38702         * po/ja.po: Likewise.
38703         * po/ru.po: Likewise.
38704         * po/ko.po: Likewise.
38705         * po/fr.po: Likewise.
38707 2011-07-09  Roland McGrath  <roland@hack.frob.com>
38709         * configure.in (.ctors/.dtors header and trailer check):
38710         Use an empirical test on a built program.
38711         * configure: Regenerated.
38713         * configure.in (-z relro check): Use an empirical test on a built DSO.
38714         Detect, but do not require, on ia64.
38715         * configure: Regenerated.
38717         * configure.in (READELF): Find it with AC_CHECK_TOOL.
38718         Update tests that use readelf to use $READELF instead.
38719         * configure: Regenerated.
38721 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
38723         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
38724         if the result is not used.
38726 2011-07-05  Andreas Jaeger  <aj@suse.de>
38728         [BZ#9696]
38729         * stdlib/tst-strtod.c: Add testcase.
38731 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
38733         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
38734         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
38735         The latter has a higher limit.  Take additional parameter to pass to
38736         the new function.
38737         (__pathconf): Pass file to __statfs_link_max.
38738         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
38739         __statfs_link_max.
38740         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
38741         __statfs_link_max.
38743         [BZ #12868]
38744         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
38745         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38746         Handle Lustre.
38747         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
38748         (__statfs_filesize_max): Likewise.
38749         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
38751 2011-07-05  Andreas Jaeger  <aj@suse.de>
38753         * resolv/res_comp.c (dn_skipname): Remove unused variable.
38755 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
38757         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
38758         `status' variable.
38759         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
38760         Likewise.
38762 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
38764         * Makefile (strop-tests): Add strncat.
38765         * string/test-strncat.c: New file.
38767 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
38769         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
38771 2011-06-21  Andreas Jaeger  <aj@suse.de>
38773         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
38774         Copy rule from iconvdata/Makefile.
38776 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38778         [BZ #12922]
38779         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
38780         but no long options are defined, just return 'W'.
38782 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
38784         [BZ #9696]
38785         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
38787 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
38789         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
38790         netgroups to read.
38791         (innetgr): Likewise.
38793 2011-07-05  Roland McGrath  <roland@hack.frob.com>
38795         * config.make.in (install_root): Default to $(DESTDIR).
38797 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
38799         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
38801 2011-07-02  Roland McGrath  <roland@hack.frob.com>
38803         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
38805         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
38806         containing directory rather than embedding absolute directory names.
38808         * scripts/check-local-headers.sh: Rewritten using awk.
38809         Match by word, not by line.  Print error messages for matches.
38810         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
38812         * Makerules [shlib-lds-flags empty]:
38813         ($(common-objpfx)libc_pic.opts): New target.
38814         ($(common-objpfx)libc_pic.os.clean): New target.
38815         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
38817         * config.make.in (OBJCOPY): New variable.
38818         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
38819         * configure: Regenerated.
38821         * config.make.in (use-default-link): New variable.
38822         * configure.in (use_default_link): Grok --with-default-link to set it.
38823         * configure: Regenerated.
38824         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
38825         (shlib-lds, shlib-lds-flags): Define to empty.
38827         * Makerules (shlib-lds): New variable.
38828         (shlib-lds-flags): New variable.
38829         (build-shlib, build-moduile, build-module-asneeded): Use it.
38830         ($(common-objpfx)libc.so): Use $(shlib-lds).
38831         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
38832         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
38834         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
38835         DT_FLAGS/DT_FLAGS_1 with zero flags.
38837         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
38838         linker script munging.
38840 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
38842         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
38843         as 128-bit value.
38844         * crypt/sha512.c (sha512_process_block): Perform total addition using
38845         128-bit if possible.
38846         (__sha512_finish_ctx): Likewise.
38847         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
38848         as 64-bit value.
38849         * crypt/sha256.c (SWAP64): Define.
38850         (sha256_process_block): Perform total addition using 64-bit if
38851         possible.
38852         (__sha256_finish_ctx): Likewise.
38854 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
38856         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
38857         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38858         * nscd/hstcache.c (cache_addhst): Likewise.
38859         * nscd/grpcache.c (cache_addgr): Likewise.
38860         * nscd/aicache.c (addhstaiX): Likewise
38861         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
38863 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
38865         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
38866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38867         * nscd/hstcache.c (cache_addhst): Likewise.
38868         * nscd/grpcache.c (cache_addgr): Likewise.
38869         * nscd/aicache.c (addhstaiX): Likewise
38871 2011-07-01  Andreas Schwab  <schwab@redhat.com>
38873         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
38874         domain only when needed.
38876 2011-06-30  Andreas Schwab  <schwab@redhat.com>
38878         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
38879         is always restored.
38881 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
38883         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
38884         are re-adding the entry.
38885         * nscd/servicescache.c (cache_addserv): Likewise.
38887 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
38889         * sysdeps/generic/dl-irel.h: fix protection against multiple
38890         inclusions.
38891         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
38893 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
38895         [BZ #12935]
38896         * malloc/memusage.sh: Fix quoting in message.
38897         * debug/xtrace.sh: Likewise.
38899         * configure.in: Remove support for --experimental-malloc option, make
38900         it the default.
38901         * config.make.in: Likewise.
38902         * malloc/Makefile: Likewise.
38904 2011-06-27  Andreas Schwab  <schwab@redhat.com>
38906         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
38907         two-byte characters.
38909 2011-06-27  Roland McGrath  <roland@hack.frob.com>
38911         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
38912         AC_CACHE_CHECK invocation.
38913         * configure: Regenerated.
38915         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
38917 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
38919         [BZ #12350]
38920         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
38921         bit from old_res_options.
38923         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
38925         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
38926         value type for setfct.
38928 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
38930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
38931         __gettimeofday instead of gettimeofday.
38933 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
38935         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
38937 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
38939         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
38941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
38942         info.
38944 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
38947         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38948         strcpy-sse2-unaligned strncpy-sse2-unaligned
38949         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
38950         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
38951         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
38952         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
38953         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
38954         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
38955         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
38956         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
38957         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
38958         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
38959         (STRCPY): Support SSE2 and SSSE3 versions.
38961 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
38963         [BZ #12874]
38964         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
38965         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
38966         kernels which artificially limit size of requests.
38968 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
38970         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38971         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
38972         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
38973         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
38974         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
38975         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
38976         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
38977         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
38978         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
38979         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
38980         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
38981         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
38982         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
38983         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
38984         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
38985         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38986         Enable unaligned load optimization for Intel Core i3, i5 and i7
38987         processors.
38988         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
38989         Define.
38990         (index_Fast_Unaligned_Load): Define.
38991         (HAS_FAST_UNALIGNED_LOAD): Define.
38993 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
38995         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
38997 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
38999         [BZ #12907]
39000         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
39001         until it is clear that the information is realy needed.
39002         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
39004 2011-06-22  Andreas Schwab  <schwab@redhat.com>
39006         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
39008 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
39010         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
39011         /sys/devices/system/cpu/online if it is usable.
39013         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
39014         reading the information from the /proc filesystem to once a second.
39016 2011-06-21  Andreas Jaeger  <aj@suse.de>
39018         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
39019         NULL after inclusion of kernel headers.
39021 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
39023         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
39024         calls to internal_setent.
39026         [BZ #12885]
39027         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
39028         addresses using gethostbyname4_r ignore IPv4 addresses.
39030         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
39031         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
39033         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
39035 2011-06-20  David S. Miller  <davem@davemloft.net>
39037         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
39038         inclusions.
39039         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
39041         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
39042         (elf_irel): Use it.
39043         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
39044         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
39045         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
39046         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
39047         * sysdeps/x86_64/dl-irel.h: Likewise.
39049         * elf/dl-runtime.c: Use elf_ifunc_invoke.
39050         * elf/dl-sym.c: Likewise.
39052 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39054         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
39055         need to dereference resplen2.
39057 2011-06-14  Andreas Schwab  <schwab@redhat.com>
39059         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
39061 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
39063         * Makeconfig: Define vardbdir and inst_vardbdir.
39064         * nss/Makefile: Add rules to install db-Makefile.
39066         * nss/nss_db/db-XXX.c: Cleanup.
39068         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
39069         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
39070         GLIBC_PRIVATE.
39071         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
39072         * nss/makedb.c: Implement -g option to specify that value strings
39073         are generated and should not be added to table iterated over for
39074         get*ent calls.
39075         * nss/nss_db/db-initgroups.c: New file.
39077         * nss/getent.c: Add support for initgroups lookups through getgrouplist
39078         interface.
39080         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
39081         (internal_getgrouplist): Adjust to name change.
39082         Update use_initgroups_entry if this is not the first call.
39083         * nss/databases.def: Add initgroups entry.
39085         * nss/makedb.c (compute_tables): Check result of multiple hash table
39086         sizes to minimize maximum chain length.
39088 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
39090         * Versions.def: Add entry for libnss_db.
39091         * shlib-versions: Likewise.
39092         * nss/Makefile: Add rules to build libnss_db.
39093         * nss/Versions: Add libnss_db information.  Organize libnss_files
39094         entries better.
39095         * nss/db-Makefile: Add gshadow support.  Change rules for the new
39096         makedb progra.  Some minor improvements to generate smaller files.
39097         * nss/nss_db/nss_db.h: Move NSS database header data structures to
39098         here from...
39099         * nss/makedb.c: ...here.
39100         Improve database format to be smaller and require less memory at
39101         runtime.
39102         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
39103         db anymore.
39104         * nss/nss_db/db-netgrp.c: Likewise.
39105         * nss/nss_db/db-open.c: Likewise.
39106         * nss/nss_files/flies-XXX.x: Adjust comments.
39107         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
39108         * nss/nss_files/files-grp.c: Likewise.
39109         * nss/nss_files/files-hosts.c: Likewise.
39110         * nss/nss_files/files-network.c: Likewise.
39111         * nss/nss_files/files-proto.c: Likewise.
39112         * nss/nss_files/files-pwd.c: Likewise.
39113         * nss/nss_files/files-rpc.c: Likewise.
39114         * nss/nss_files/files-service.c: Likewise.
39115         * nss/nss_files/files-sgrp.c: Likewise.
39116         * nss/nss_files/files-spwd.c: Likewise.
39117         * nss/nss_db/db-alias.c: Removed.
39118         * nss/nss_db/dummy-db.h: Removed.
39120 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
39122         * nss/makedb.c: Rewritten to not use database library.
39123         * nss/Makefile: Update to build new makedb program.
39125 2011-06-14  Andreas Jaeger  <aj@suse.de>
39127         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
39128         memset declaration.
39130 2011-06-10  Andreas Schwab  <schwab@redhat.com>
39132         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
39133         tmpbuf.
39135 2011-06-10  Roland McGrath  <roland@hack.frob.com>
39137         * Makerules (shlib.lds): Fail if the linker script comes out empty.
39138         * elf/Makefile ($(objpfx)ld.so): Likewise.
39140         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
39141         Don't list ld.so twice in dependencies.
39143         * posix/bug-regex31.c: Include <stdlib.h>.
39145         * nscd/hstcache.c (cache_addhst): Remove unused variable.
39147         * nis/nss_compat/compat-spwd.c
39148         (getspent_next_nss_netgr): Remove unused variable.
39149         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
39151         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
39152         nonmembers" output to use the right array.
39154         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
39156         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
39158         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
39159         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
39160         * catgets/gencat.c (read_input_file): Likewise.
39161         * locale/programs/locarchive.c (enlarge_archive): Likewise.
39163         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
39164         variable definition inside #if's controlling its use.
39166         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
39168         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
39170         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
39172         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
39173         unreachable code.
39175         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
39177         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
39178         * configure: Regenerated.
39180         * Makerules: Revert last change.
39181         * elf/Makefile: Likewise.
39183 2011-06-09  Roland McGrath  <roland@hack.frob.com>
39185         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
39186         * elf/Makefile ($(objpfx)librtld.os): Likewise.
39187         (reloc-link): Likewise.
39189 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
39191         * elf/Makefile: Add rules to build pldd.
39192         * elf/pldd.c: New file.
39193         * elf/pldd-xx.c: New file.
39195 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
39197         * version.h: Update for 2.15 development version.
39199 2011-06-07  David S. Miller  <davem@davemloft.net>
39201         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
39202         ifuncs.
39203         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
39204         elf_machine_lazy_rel): Likewise.
39205         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
39206         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
39207         elf_machine_lazy_rel): Likewise.
39208         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
39209         dl_hwcap via passed in argument.
39210         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
39211         Likewise.
39213 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39215         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
39217 2011-06-06  Roland McGrath  <roland@hack.frob.com>
39219         [BZ #12849]
39220         * manual/fdl-1.1.texi: New file, verbatim from:
39221         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
39222         * manual/lgpl-2.1.texi: New file, verbatim from:
39223         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
39224         * manual/Makefile (licenses): New variable, list those new file names.
39225         (texis): Use it.
39226         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
39228         * manual/fdl.texi: File removed.
39229         * manual/lesser.texi: File removed.
39230         * manual/libc.texinfo (Copying, Documentation License):
39231         Use new @include file names, put @appendix directive before @include.
39233 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
39235         [BZ #12841]
39236         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
39237         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
39238         (mq_open): Add __NTH.
39240 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
39242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39243         Assume Intel Core i3/i5/i7 processor if AVX is available.
39245 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
39248         typo.
39250 2011-05-31  Andreas Schwab  <schwab@redhat.com>
39252         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
39253         memory.  Use alloca_account.  Fix memory leak when retrying.
39255 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
39257         * version.h (RELEASE): Bump for 2.14 release.
39258         * include/features.h (__GLIBC_MINOR__): Bump to 14.
39260         * config.make.in (RANLIB): Remove entry.
39262 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
39264         * po/Makefile (po-sed-cmd): Add ksh to extensions.
39265         (libc.pot): Work around missing support for .ksh extension in xgettext.
39267         [BZ #12684]
39268         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
39269         if both request failed.
39270         (send_dg): In case of server errors clear resplen or *resplen2.
39272         [BZ #12454]
39273         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
39274         when there are multiple maps.
39275         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
39276         (_dl_fini): Remove test here.
39278         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
39280 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
39282         [BZ #12350]
39283         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
39284         bit from old_res_options.
39285         (gaih_inet): Likewise.
39287         [BZ #11099]
39288         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
39289         as signed.
39291         * resolv/res_init.c (res_setoptions): Make the code more compact.
39293         [BZ #11558]
39294         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
39295         set RES_USEVC.
39297         [BZ #11634]
39298         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
39300         * malloc/malloc.h: Mark malloc hook variables as deprecated.
39302         [BZ #11781]
39303         * malloc/malloc.h: Declare malloc hook variables as volatile.
39305         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
39306         in last patch.
39308         [BZ #11799]
39309         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
39310         raise in the comment.
39311         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39312         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39313         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
39315 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
39317         [BZ #12811]
39318         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
39319         grow the buffers more if it already has to be sufficient.
39320         (build_wcs_upper_buffer): Likewise.
39321         * posix/regexec.c (check_matching): Likewise.
39322         (clean_state_log_if_needed): Likewise.
39323         (extend_buffers): Don't enlarge buffers beyond size of the input
39324         buffer.
39325         Patches mostly by Emil Wojak <emil@wojak.eu>.
39326         * posix/bug-regex32.c: New file.
39327         * posix/Makefile (tests): Add bug-regex32.
39329         * locale/findlocale.c (_nl_find_locale): Return right away if
39330         _nl_explode_name failed.
39331         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
39333         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
39335         * debug/xtrace.sh: Unify messages.
39336         * malloc/memusage.sh: Likewise.
39338         [BZ #12813]
39339         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
39340         time symbol from vDSO.  Substitute with vsyscall if not available.
39341         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
39342         __vdso_time.
39344         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
39345         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
39346         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
39347         Add sendmmsg and internal_sendmmsg.
39348         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
39349         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
39350         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
39352         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
39353         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
39354         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
39356 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
39358         [BZ #12813]
39359         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
39360         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
39361         available.
39362         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
39363         __vdso_getcpu.
39365         [BZ #12814]
39366         * iconvdata/Makefile (tests): Add bug-iconv9.
39367         * iconvdata/bug-iconv9.c: New file.
39369 2011-05-27  Andreas Schwab  <schwab@redhat.com>
39371         [BZ #12814]
39372         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
39374 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
39376         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39377         (struct user_regs_struct): Change intcs field back to cs.
39379 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
39381         * po/ja.po: Update from translation team.
39383 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
39385         [BZ #12795]
39386         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
39387         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
39389 2011-05-20  Andreas Schwab  <schwab@redhat.com>
39391         * stdlib/longlong.h: Update from GCC.
39393 2011-05-23  Andreas Schwab  <schwab@redhat.com>
39395         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
39396         parameter name.
39397         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
39398         Add parameter name.
39399         (__sysconf): Pass it down.
39401 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
39403         [BZ #12671]
39404         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
39405         some situations.
39406         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
39407         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
39408         add in in __libc_use_alloca calls.  Adjust callers.
39409         (glob): Use malloc in some situations.
39411         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
39412         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
39413         pltexit.
39415 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
39417         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
39418         and CLOCK_BOOTTIME_ALARM.
39420         [BZ #12782]
39421         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
39422         is returned.
39424         * string/_strerror.c (__strerror_r): Print negative errors as signed
39425         numbers.
39427         [BZ #12777]
39428         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
39429         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
39430         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
39432         * configure.in: Fix typo in redirection and correct removal of test
39433         files in two cases.
39435         [BZ #12788]
39436         * locale/setlocale.c (new_composite_name): Fix test to check for
39437         identical name of all categories.
39439         [BZ #12792]
39440         * libio/filedoalloc.c (local_isatty): New function.
39441         (_IO_file_doallocate): Use local_isatty.
39442         * stdio-common/perror.c (perror): In case a new stream is used
39443         forward the stream error.
39444         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
39445         error flag.
39447 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
39449         [BZ #11869]
39450         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
39451         alloca.
39452         * include/alloca.h (extend_alloca_account): Define.
39454         [BZ #11857]
39455         * posix/regex.h: Fix comments with documentation of user-accessible
39456         fields after compilation and describe correct free'ing of pattern
39457         after re_compile_pattern.
39458         Patch by Reuben Thomas <rrt@sc3d.org>.
39460 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
39462         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
39463         and -mno-altivec to prevent the compiler from using Altivec and/or
39464         VSX instructions when the corresponding registers are not available.
39466 2011-05-19  Andreas Schwab  <schwab@redhat.com>
39468         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
39470 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
39472         * libio/freopen.c (freopen): Use __dup2, not dup2.
39473         * libio/freopen64.c (freopen64): Likewise.
39475 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
39477         [BZ #12775]
39478         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
39479         * math/Makefile (tests): Add test-powl.
39480         (CFLAGS-test-powl.c): Define.
39481         * math/test-powl.c: New file.
39483 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
39485         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
39487 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
39489         [BZ #11837]
39490         * iconvdata/gb18030.c: Update to GB18020-2005.
39492 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
39494         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
39495         RE_SYNTAX_POSIX_AWK): Update to match recent development.
39496         Patch by Aharon Robbins <arnold@skeeve.com>.
39498         [BZ #11892]
39499         * stdlib/putenv.c (putenv): Don't always create copy of the variable
39500         on the stack.
39502         [BZ #11895]
39503         * misc/pselect.c (__pselect): Handle timeout value errors hidden
39504         through underflows.
39506         [BZ #12766]
39507         * misc/error.c (error_at_line): Ensure file_name and old_file_name
39508         point to strings before performing equality test for error_one_per_line
39509         mode.
39511         [BZ #11697]
39512         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
39514         [BZ #11820]
39515         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
39516         (struct user_fpregs_struct): Avoid __uint*_t types.
39518         [BZ #6420]
39519         * malloc/mtrace.c (tr_where): Add additional parameter to point to
39520         symbol info.  Use it instead of calling _dl_addr locally.
39521         (lock_and_info): New function.
39522         (tr_freehook): Call lock_and_info and pass symbol info as additional
39523         parameter to tr_where.
39524         (tr_mallochook): Likewise.
39525         (tr_reallochook): Likewise.
39526         (tr_memalignhook): Likewise.
39528         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
39529         used and couldn't be at all thread-safe.
39531 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
39533         * libio/freopen.c (freopen): Don't close old file descriptor
39534         before the new one is opened.  Instead dup the new file descriptor
39535         to the old one after the new stream is created.
39536         * libio/freopen64.c (freopen64): Likewise.
39537         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
39538         * libio/fileops.c (_IO_new_file_close_it): Handle new
39539         _IO_FLAGS2_NOCLOSE flag.
39540         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
39541         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
39542         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
39543         _IO_FLAGS2_NOCLOSE flag.
39544         * include/unistd.h: Add hidden_proto for dup3.
39545         Define __have_dup3.
39546         * io/dup3.c: Define hidden symbol.
39547         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
39549         [BZ #7101]
39550         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
39551         when an incomplete long option is used.
39552         * posix/tst-getopt_long1.c: New file.
39553         * posix/Makefile (tests): Add tst-getopt_long1.
39555         [BZ #10138]
39556         * scripts/config.guess: Update from autoconf-2.68.
39557         * scripts/config.sub: Likewise.
39559         [BZ #10157]
39560         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
39561         tests into ...
39562         (has_cpuclock): ...this.  New function.
39563         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
39564         macro here based on has_cpuclock code.
39566         [BZ #10149]
39567         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39568         First byte (not low byte) is now always NUL.
39569         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
39571         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
39572         Use non-cancelable interfaces.
39574         [BZ #9809]
39575         * locale/iso-639.def: Add entry for Sorani.
39577         [BZ #11901]
39578         * include/stdlib.h: Move include protection to the right place.
39579         Define abort_msg_s.  Declare __abort_msg with it.
39580         * stdlib/abort.c (__abort_msg): Adjust type.
39581         * assert/assert.c (__assert_fail_base): New function.  Majority
39582         of code from __assert_fail.  Allocate memory for __abort_msg with
39583         mmap.
39584         (__assert_fail): Now call __assert_fail_base.
39585         * assert/assert-perr.c: Remove bulk of implementation.  Use
39586         __assert_fail_base.
39587         * include/assert.hL Declare __assert_fail_base.
39588         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
39589         mmap.
39590         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
39592 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
39594         [BZ #11952]
39595         [BZ #12453]
39596         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
39597         until all modules are registered in the DTV.
39598         * elf/Makefile: Add rules to build and run tst-tls19.
39599         * elf/tst-tls19.c: New file.
39600         * elf/tst-tls19mod1.c: New file.
39601         * elf/tst-tls19mod2.c: New file.
39602         * elf/tst-tls19mod3.c: New file.
39603         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
39605         [BZ #12083]
39606         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
39607         correctly.
39609         [BZ #12601]
39610         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
39611         two-byte sequence errors.
39612         * iconvdata/Makefile (tests): Add bug-iconv8.
39613         * iconvdata/bug-iconv8.c: New file.
39615         [BZ #12626]
39616         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
39617         buf2 definition.
39619         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
39621         [BZ #12432]
39622         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
39623         (dummy_getcfa): New function.
39624         (init): Get _Unwind_GetCFA address, use dummy if not found.
39625         (backtrace_helper): In recursion check, also check whether CFA changes.
39626         (__backtrace): Completely initialize arg.
39628         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
39629         storing incomplete byte sequence in state object.  Avoid testing for
39630         guaranteed too small input if we know there is enough data available.
39632 2011-05-11  Andreas Schwab  <schwab@redhat.com>
39634         * Makeconfig (+link-pie): Indent.
39635         * Rules (binaries-pie): Define if $(have-fpie) and
39636         $(build-shared).
39637         (binaries-shared): Also filter out $(binaries-pie).
39638         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
39639         * nscd/Makefile (others-pie): Add nscd.
39640         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
39641         ($(objpfx)nscd): Remove command override.
39642         * login/Makefile (others-pie): Add pt_chown.
39643         ($(objpfx)pt_chown): Remove command override.
39644         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
39645         remove command overrides.
39647 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
39649         * libio/tst_putwc.c: Fix error messages.
39651         [BZ #12724]
39652         * libio/fileops.c (_IO_new_file_close_it): Always flush when
39653         currently writing and seek to current position when not.
39654         * libio/Makefile (tests): Add bug-fclose1.
39655         * libio/bug-fclose1.c: New file.
39657 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
39659         [BZ #12511]
39660         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
39661         don't set DF_1_NODELETE here.
39662         (do_lookup_x): When entering new entry test for copy relocation
39663         and if necessary set DF_1_NODELETE flag.
39664         * elf/tst-unique4.cc: New file.
39665         * elf/tst-unique4.h: New file.
39666         * elf/tst-unique4lib.cc: New file.
39667         * elf/Makefile: Add rules to build and run tst-unique4.
39668         Patch by Piotr Bury <pbury@goahead.com>.
39670 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
39672         [BZ #12052]
39673         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
39675         [BZ #12625]
39676         * misc/mntent_r.c (addmntent): Flush the stream after the output
39678         [BZ #12393]
39679         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
39680         (is_trusted_path_normalize): Skip initial colon.  Append slash
39681         to empty buffer.  Duplicate is_trusted_path code but allow
39682         constructed patch to be prefix.
39683         (is_dst): Allow $ORIGIN followed by /.
39684         (_dl_dst_substitute): Correct clearing of check_for_trusted.
39685         Correct testing of result of is_trusted_path_normalize
39686         (decompose_rpath): Fix warning.
39688 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
39690         [BZ #11257]
39691         * grp/initgroups.c (internal_getgrouplist): When we found the service
39692         list through the initgroups entry in nsswitch.conf do not always
39693         continue on a successful lookup.  Don't always use the
39694         __nss_group_database value if it is set.
39695         * nss/nsswitch.conf (initgroups): Change action for successful db
39696         lookup to continue for compatibility.
39698 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
39700         [BZ #11532]
39701         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
39702         and CP774 modules.
39703         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
39704         and CP774 modules.
39705         * iconvdata/tst-tables.sh: Likewise.
39706         * iconvdata/cp770.c: New file.
39707         * iconvdata/cp771.c: New file.
39708         * iconvdata/cp772.c: New file.
39709         * iconvdata/cp773.c: New file.
39710         * iconvdata/cp774.c: New file.
39711         * iconvdata/testdata/CP770: New file.
39712         * iconvdata/testdata/CP770..UTF8: New file.
39713         * iconvdata/testdata/CP771: New file.
39714         * iconvdata/testdata/CP771..UTF8: New file.
39715         * iconvdata/testdata/CP772: New file.
39716         * iconvdata/testdata/CP772..UTF8: New file.
39717         * iconvdata/testdata/CP773: New file.
39718         * iconvdata/testdata/CP773..UTF8: New file.
39719         * iconvdata/testdata/CP774: New file.
39720         * iconvdata/testdata/CP774..UTF8: New file.
39722         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
39723         END CHARMAP line.
39724         * iconvdata/gen-8bit-gap.sh: Likewise.
39725         * iconvdata/gen-8bit.sh: Likewise.
39727         * locale/iso-639.def: Add ary entry.
39729         [BZ #11258]
39730         * locale/C-translit.h.in: Add U20A1 transliteration.
39732         [BZ #12178]
39733         * locale/iso-639.def: Add wae entry.
39734         Patch by Kevin Bortis <bortis@translate-wae.ch>.
39736         [BZ #12545]
39737         * locale/programs/localedef.c (construct_output_path): Use ssize_t
39738         for n.
39740         [BZ #12711]
39741         * locale/C-translit.h.in: Add entry for U20B9.
39742         Patch by pravin.d.s@gmail.com.
39744 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
39746         [BZ #12713]
39747         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
39748         ENAMETOOLONG use generic getcwd.
39749         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
39750         in rtld.  Use *stat64.
39751         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
39752         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
39753         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
39754         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
39755         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
39756         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
39757         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
39758         __fstatat64 macros.
39759         * include/dirent.h: Add libc_hidden_proto for rewinddir.
39760         * dirent/rewinddir.c: Add libc_hidden_def.
39761         * sysdeps/mach/hurd/rewinddir.c: Likewise.
39762         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
39764         * include/dirent.h (__alloc_dir): Add flags parameter.
39765         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
39766         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
39767         __alloc_dir.
39768         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
39769         from fdopendir if O_CLOEXEC is already set.
39771 2011-03-15  Alan Modra  <amodra@gmail.com>
39773         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
39774         l_tls_firstbyte_offset non-zero.  Save padding offset in
39775         l_tls_firstbyte_offset for later use.
39776         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
39777         freeing static tls block.
39779 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
39781         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
39782         where #ifdef was intended.  The intent is to prevent ARG_MAX from
39783         being defined by the kernel headers.
39785 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
39787         [BZ #12734]
39788         * resolv/resolv.h: Define RES_NOTLDQUERY.
39789         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
39790         no-tld-query and set RES_NOTLDQUERY.
39791         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
39792         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
39793         modern BIND to search name as TLD unless forbidden.
39795 2011-05-07  Petr Baudis  <pasky@suse.cz>
39796             Ulrich Drepper  <drepper@gmail.com>
39798         [BZ #12393]
39799         * elf/dl-load.c (fillin_rpath): Move trusted path check...
39800         (is_trusted_path): ...to here.
39801         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
39802         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
39803         using is_trusted_path_normalize() in setuid scripts.
39805 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39807         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
39808         __BEGIN/__END_DECLS.
39810 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
39812         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
39813         NSS_STATUS_NOTFOUND if no record was found.
39815 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39817         * sunrpc/Makefile (headers): Add rpc/netdb.h.
39818         (headers-not-in-tirpc): Remove rpc/netdb.h
39819         * resolv/netdb.h: Revert last change.
39821 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39823         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
39824         circular dependency between libgcc.a and libc.a.
39826 2011-05-05  Andreas Schwab  <schwab@redhat.com>
39828         * resolv/netdb.h: Don't include <rpc/netdb.h>.
39829         * nis/Makefile: Don't install rpcsvc/*.
39830         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
39831         instead of <rpc/types.h>.
39832         (MAXHOSTNAMELEN): Define.
39834 2011-05-03  Andreas Schwab  <schwab@redhat.com>
39836         * elf/ldconfig.c (add_dir): Don't crash on empty path.
39838 2011-04-28  Maciej Babinski  <mbabinski@google.com>
39840         [BZ #12714]
39841         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
39842         gethostbyname4_r when IPv6 results are possible.
39844 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
39846         [BZ #12723]
39847         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
39848         _PC_PIPE_BUF handling.
39850 2011-04-30  Bruno Haible  <bruno@clisp.org>
39852         [BZ #12717]
39853         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
39854         * resolv/netdb.h (getnameinfo): Change type of flags parameter
39855         to 'int'.
39856         * inet/getnameinfo.c (getnameinfo): Likewise.
39858 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
39860         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
39861         to groups setting in database lookup.
39862         * nss/nsswitch.conf: Add initgroups entry.
39864 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
39866         [BZ #12685]
39867         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
39868         mode string.
39869         Patch by Eric Blake <eblake@redhat.com>.
39871 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
39873         * sunrpc/Makefile (need-export-routines): Add svc_run.
39874         (routines): Remove svc_run.
39875         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
39876         * sunrpc/clnt_perr.c (clnt_perrno): Export.
39877         * sunrpc/svc_run.c (svc_run): Likewise.
39878         * sunrpc/svc_udp.c (svcudp_create): Likewise.
39880 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
39882         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
39883         problem in reallocation in last patch.
39885 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
39887         * sunrpc/Makefile: Move inclusion of Rules.
39889 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39891         * nss/nss_files/files-initgroups.c: New file.
39892         * nss/Makefile (libnss_files-routines): Add files-initgroups.
39893         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
39894         _nss_files_initgroups_dyn.
39896 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
39898         * elf/elf.h (R_ARM_IRELATIVE): Define.
39900 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
39902         * po/ru.po: Update from translation team.
39904 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39906         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
39907         dependencies.
39909 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
39911         [BZ #12653]
39912         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
39913         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
39914         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39915         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
39916         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
39918 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
39920         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
39921         differing bytes.
39922         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
39923         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
39924         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39926 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
39928         [BZ #12420]
39929         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
39930         storing it.
39931         * stdlib/bug-getcontext.c: New file.
39932         * stdlib/Makefile: Add rules to build and run bug-getcontext.
39934 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39936         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
39937         instructions into .machine "z9-109".
39938         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
39939         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
39941 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39943         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
39944         between environment variables and auxiliary vector.
39946 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
39948         * Makefile: Add rules to build linkobj/libc.so.
39949         * include/libc-symbols.h: Define libc_hidden_nolink.
39950         * include/rpc/auth.h: Mark functions which are to be hidden.
39951         * include/rpc/auth_des.h: Likewise.
39952         * include/rpc/auth_unix.h: Likewise.
39953         * include/rpc/clnt.h: Likewise.
39954         * include/rpc/des_crypt.h: Likewise.
39955         * include/rpc/key_prot.h: Likewise.
39956         * include/rpc/pmap_clnt.h: Likewise.
39957         * include/rpc/pmap_prot.h: Likewise.
39958         * include/rpc/pmap_rmt.h: Likewise.
39959         * include/rpc/rpc_msg.h: Likewise.
39960         * include/rpc/svc.h: Likewise.
39961         * include/rpc/svc_auth.h: Likewise.
39962         * include/rpc/xdr.h: Likewise.
39963         * nis/Makefile: Link all DSOs against linkobj/libc.so.
39964         * nss/Makefile: Likewise.
39965         * sunrpc/Makefile: Don't install headers.  Build library with normal
39966         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
39967         * sunrpc/auth_des.c: Hide exported symbols by default, export some
39968         for the compat linking library.  Remove use of INTDEF/INTUSE.
39969         * sunrpc/auth_none.c: Likewise.
39970         * sunrpc/auth_unix.c: Likewise.
39971         * sunrpc/authdes_prot.c: Likewise.
39972         * sunrpc/authuxprot.c: Likewise.
39973         * sunrpc/clnt_gen.c: Likewise.
39974         * sunrpc/clnt_perr.c: Likewise.
39975         * sunrpc/clnt_raw.c: Likewise.
39976         * sunrpc/clnt_simp.c: Likewise.
39977         * sunrpc/clnt_tcp.c: Likewise.
39978         * sunrpc/clnt_udp.c: Likewise.
39979         * sunrpc/clnt_unix.c: Likewise.
39980         * sunrpc/des_crypt.c: Likewise.
39981         * sunrpc/des_soft.c: Likewise.
39982         * sunrpc/get_myaddr.c: Likewise.
39983         * sunrpc/key_call.c: Likewise.
39984         * sunrpc/key_prot.c: Likewise.
39985         * sunrpc/netname.c: Likewise.
39986         * sunrpc/pm_getmaps.c: Likewise.
39987         * sunrpc/pm_getport.c: Likewise.
39988         * sunrpc/pmap_clnt.c: Likewise.
39989         * sunrpc/pmap_prot.c: Likewise.
39990         * sunrpc/pmap_prot2.c: Likewise.
39991         * sunrpc/pmap_rmt.c: Likewise.
39992         * sunrpc/publickey.c: Likewise.
39993         * sunrpc/rpc_cmsg.c: Likewise.
39994         * sunrpc/rpc_common.c: Likewise.
39995         * sunrpc/rpc_dtable.c: Likewise.
39996         * sunrpc/rpc_prot.c: Likewise.
39997         * sunrpc/rpc_thread.c: Likewise.
39998         * sunrpc/rtime.c: Likewise.
39999         * sunrpc/svc.c: Likewise.
40000         * sunrpc/svc_auth.c: Likewise.
40001         * sunrpc/svc_authux.c: Likewise.
40002         * sunrpc/svc_raw.c: Likewise.
40003         * sunrpc/svc_run.c: Likewise.
40004         * sunrpc/svc_simple.c: Likewise.
40005         * sunrpc/svc_tcp.c: Likewise.
40006         * sunrpc/svc_udp.c: Likewise.
40007         * sunrpc/svc_unix.c: Likewise.
40008         * sunrpc/svcauth_des.c: Likewise.
40009         * sunrpc/xcrypt.c: Likewise.
40010         * sunrpc/xdr.c: Likewise.
40011         * sunrpc/xdr_array.c: Likewise.
40012         * sunrpc/xdr_float.c: Likewise.
40013         * sunrpc/xdr_intXX_t.c: Likewise.
40014         * sunrpc/xdr_mem.c: Likewise.
40015         * sunrpc/xdr_rec.c: Likewise.
40016         * sunrpc/xdr_ref.c: Likewise.
40017         * sunrpc/xdr_sizeof.c: Likewise.
40018         * sunrpc/xdr_stdio.c: Likewise.
40020 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
40022         [BZ #12650]
40023         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
40024         * sysdeps/ia64/dl-tls.h: Likewise.
40025         * sysdeps/powerpc/dl-tls.h: Likewise.
40026         * sysdeps/s390/dl-tls.h: Likewise.
40027         * sysdeps/sh/dl-tls.h: Likewise.
40028         * sysdeps/sparc/dl-tls.h: Likewise.
40029         * sysdeps/x86_64/dl-tls.h: Likewise.
40030         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
40032 2011-03-14  Andreas Schwab  <schwab@redhat.com>
40034         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
40035         rpath element also skip the following colon.
40036         (expand_dynamic_string_token): Add is_path parameter and pass
40037         down to DL_DST_REQUIRED and _dl_dst_substitute.
40038         (decompose_rpath): Call expand_dynamic_string_token with
40039         non-zero is_path.  Ignore empty rpaths.
40040         (_dl_map_object_from_fd): Call expand_dynamic_string_token
40041         with zero is_path.
40043 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
40045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
40046         Make cancelable.
40048 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
40050         [BZ #12655]
40051         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
40052         Patch by Filipe David Manana <fdmanana@apache.org>.
40054 2011-04-07  Andreas Schwab  <schwab@redhat.com>
40056         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
40057         Maintain aligned stack.
40058         (CHECK_RSP): Remove unused macro.
40060 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
40062         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
40063         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
40065 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
40067         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
40069         * include/features.h: Mention __USE_XOPEN2K8 in comment.
40071 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
40073         [BZ #12518]
40074         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
40075         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
40076         * sysdeps/x86_64/memmove.c: New file.
40077         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
40078         (memcpy): Renamed to ...
40079         (__new_memcpy): This.
40080         (memcpy): Provide GLIBC_2_14 memcpy.
40081         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
40082         (memcpy): Provide GLIBC_2_2_5 memcpy.
40084 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40086         [BZ #12631]
40087         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
40089 2011-03-30  Andreas Schwab  <schwab@redhat.com>
40091         * misc/syncfs.c: New file.
40092         * misc/Makefile (routines): Add syncfs.
40093         * posix/unistd.h: Declare syncfs.
40094         * sysdeps/unix/syscalls.list: Add syncfs.
40096 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40098         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
40099         open_by_handle_at.
40100         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
40101         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40102         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40103         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40104         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40105         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
40106         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40108 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40110         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
40111         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40112         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
40113         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40114         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40115         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40116         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40118         * io/Makefile: Compile fallocate.c, fallocate64.c, and
40119         sync_file_range.c with -fexceptions.
40120         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
40121         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
40122         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
40123         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
40124         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
40125         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
40126         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
40127         sync_file_range as cancellation point
40128         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
40129         now a wrapper around __call_sync_file_range with cancellation handling.
40130         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
40131         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
40132         function name to __call_sync_file_range.
40133         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
40134         Add call_sync_file_range.
40136 2011-04-01  Andreas Schwab  <schwab@redhat.com>
40138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40139         bits/timex.h.
40141 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
40143         * iconv/iconv.h: Fix typo in comment.
40144         * io/fcntl.h: Likewise.
40145         * libio/stdio.h: Likewise.
40146         * posix/spawn.h: Likewise.
40147         * posix/unistd.h: Likewise.
40148         * stdlib/stdlib.h: Likewise.
40149         * time/time.h: Likewise.
40150         * wcsmbs/wchar.h: Likewise.
40152         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
40153         open_by_handle): Add.
40154         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
40155         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
40156         Augment a few comments.
40157         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
40158         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40159         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
40160         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40161         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
40162         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
40163         open_by_handle.
40165         * io/fcntl.h (AT_EMPTY_PATH): Define.
40167 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
40169         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
40170         * sysdeps/unix/sysv/linux/bits/time.h: New file.
40171         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
40172         to...
40173         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
40174         * Versions.def: Add GLIBC_2.14.
40175         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
40176         Export.
40178 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
40180         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
40181         round counter.
40182         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40184 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
40186         [BZ #12597]
40187         * string/test-strncmp.c (do_page_test): New function.
40188         (check2): Likewise.
40189         (test_main): Call check2.
40190         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
40192 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
40194         [BZ #12587]
40195         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
40196         Handle cache information in CPU leaf 4.
40197         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
40199 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
40201         [BZ #12583]
40202         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
40203         character representation.
40204         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
40206 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
40208         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
40209         END(__isnan) to END(__isnanf) to match function entry point/label
40210         EALIGN(__isnanf,...).
40212 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
40214         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
40216 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
40218         [BZ #12510]
40219         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
40220         copy from the symbol referenced in the relocation to initialize the
40221         used variable.
40222         Patch by Piotr Bury <pbury@goahead.com>.
40223         * elf/Makefile: Add rules to build and tst-unique3.
40224         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
40225         * elf/tst-unique3.cc: New file.
40226         * elf/tst-unique3.h: New file.
40227         * elf/tst-unique3lib.cc: New file.
40228         * elf/tst-unique3lib2.cc: New file.
40230         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
40232 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
40234         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
40235         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
40236         to _start.
40238 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
40240         * elf/dl-load.c (_dl_map_object): If we are looking for the first
40241         to-be-loaded object along a path to loader is ld.so.
40243 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40244             Ulrich Drepper  <drepper@gmail.com>
40246         * sysdeps/x86_64/memset.S: After aligning destination, code
40247         branches to different locations depending on the value of
40248         misalignment, when multiarch is enabled. Fix this.
40250 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
40252         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
40253         Set _x86_64_preferred_memory_instruction for AMD processsors.
40254         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40255         Set bit_Prefer_SSE_for_memop for AMD processors.
40257 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
40259         * libio/fmemopen.c (fmemopen): Optimize a bit.
40261 2011-03-03  Andreas Schwab  <schwab@redhat.com>
40263         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
40265 2011-03-03  Roland McGrath  <roland@redhat.com>
40267         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
40269 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
40271         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
40272         __bzero_ultra1 instead of __memset_ultra1.
40274 2011-02-23  Andreas Schwab  <schwab@redhat.com>
40275             Ulrich Drepper  <drepper@gmail.com>
40277         [BZ #12509]
40278         * include/link.h (struct link_map): Add l_orig_initfini.
40279         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
40280         returning unsuccessfully.
40281         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
40282         close of a file loaded at startup, restore the original l_initfini
40283         list.
40284         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
40285         list, store the pointer.
40286         * elf/Makefile ($(objpfx)noload-mem): New rule.
40287         (noload-ENV): Define.
40288         (tests): Add $(objpfx)noload-mem.
40289         * elf/noload.c: Include <memcheck.h>.
40290         (main): Call mtrace.  Close all opened handles.
40292 2011-02-17  Andreas Schwab  <schwab@redhat.com>
40294         [BZ #12454]
40295         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
40296         dependencies are missing.
40298 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40300         Fix __if_freereq crash: Unlike the generic version which uses free,
40301         Hurd needs munmap.
40302         * sysdeps/mach/hurd/ifreq.h: New file.
40304 2011-01-27  Petr Baudis  <pasky@suse.cz>
40305             Ulrich Drepper  <drepper@gmail.com>
40307         [BZ 12445]#
40308         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
40309         to extend_alloca().
40310         * stdio-common/bug23.c: New file.
40311         * stdio-common/Makefile (tests): Add bug23.
40313 2010-09-28  Andreas Schwab  <schwab@redhat.com>
40314             Ulrich Drepper  <drepper@gmail.com>
40316         [BZ #12489]
40317         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
40318         before performing relro protection.  At old place add assertion
40319         to make sure nothing changed.
40321 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
40322             Glauber de Oliveira Costa  <glommer@gmail.com>
40324         * elf/elf.h: Add new ARM TLS relocs.
40326 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
40328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40329         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
40330         cast from r3.
40331         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
40332         'tests' variable.
40333         * sysdeps/wordsize-64/tst-writev.c: New file.
40335 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
40337         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
40338         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
40339         insns in _dl_start to prevent a TOC reference before relocs are
40340         resolved.
40342 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
40344         [BZ #12469]
40345         * Makeconfig: Remove RANLIB definition.
40346         * Makerules: Don't use RANLIB.
40347         * aclocal.m4: Remove ranlib test.
40348         * configure.in: No need to check for ranlib.
40349         * elf/rtld-Rules: Don't use RANLIB.
40351 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40353         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
40354         protection macro.
40355         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
40356         inclusion protection macro.
40358         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
40359         SIGRTMIN and SIGRTMAX and print information in that case only when
40360         SIGRTMIN is defined.
40362 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
40364         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
40365         arginfo fn returning -1.
40367         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
40368         and thousands string is zero terminated.
40370 2011-02-03  Andreas Schwab  <schwab@redhat.com>
40372         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
40373         sysdeps/unix/sysv/linux/bits/socket.h.
40375 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40377         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
40378         (__CPU_COUNT): Remove old macros.
40379         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
40380         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
40381         (__CPU_ALLOC, __CPU_FREE): Add macros.
40382         (__sched_cpualloc, __sched_cpufree): Add declarations.
40384 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
40386         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
40387         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
40388         * nscd/aicache.c (addhstaiX): Return timeout of added value.
40389         (readdhstai): Return value of addhstaiX call.
40390         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
40391         (addgrbyX): Return value returned by cache_addgr.
40392         (readdgrbyname): Return value returned by addgrbyX.
40393         (readdgrbygid): Likewise.
40394         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
40395         (addpwbyX): Return value returned by cache_addpw.
40396         (readdpwbyname): Return value returned by addhstbyX.
40397         (readdpwbyuid): Likewise.
40398         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
40399         (addservbyX): Return value returned by cache_addserv.
40400         (readdservbyname): Return value returned by addservbyX:
40401         (readdservbyport): Likewise.
40402         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
40403         (addhstbyX): Return value returned by cache_addhst.
40404         (readdhstbyname): Return value returned by addhstbyX.
40405         (readdhstbyaddr): Likewise.
40406         (readdhstbynamev6): Likewise.
40407         (readdhstbyaddrv6): Likewise.
40408         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
40409         (readdinitgroups): Return value returned by addinitgroupsX.
40410         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
40411         (prune_cache): Keep track of timeout value of re-added entries.
40412         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
40413         * nscd/nscd.h: Adjust prototypes of readd* functions.
40415 2011-02-04  Roland McGrath  <roland@redhat.com>
40417         * nis/nis_server.c (nis_servstate): Use the right name for 0.
40418         (nis_stats): Likewise.
40419         * nis/nis_modify.c (nis_modify): Likewise.
40420         * nis/nis_remove.c (nis_remove): Likewise.
40421         * nis/nis_add.c (nis_add): Likewise.
40423         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
40425         * posix/fnmatch_loop.c: Add some consts.
40427         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
40429 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
40431         [BZ #12460]
40432         * config.make.in (config-cflags-novzeroupper): Define.
40433         * configure.in: Substitute libc_cv_cc_novzeroupper.
40434         * elf/Makefile (AVX-CFLAGS): Define.
40435         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
40436         (CFLAGS-tst-auditmod4a.c): Likewise.
40437         (CFLAGS-tst-auditmod4b.c): Likewise.
40438         (CFLAGS-tst-auditmod6b.c): Likewise.
40439         (CFLAGS-tst-auditmod6c.c): Likewise.
40440         (CFLAGS-tst-auditmod7b.c): Likewise.
40441         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
40443 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
40445         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
40446         function to the callback.
40447         Patch partly by Jiri Olsa <jolsa@redhat.com>.
40449 2011-02-02  Andreas Schwab  <schwab@redhat.com>
40451         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
40452         of errno.
40454 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
40456         [BZ #11724]
40457         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
40458         of constructors.
40459         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
40460         of destructors.
40461         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
40463         [BZ #11724]
40464         * elf/Makefile: Add rules to build and run new test.
40465         * elf/tst-initorder.c: New file.
40466         * elf/tst-initorder.exp: New file.
40467         * elf/tst-initordera1.c: New file.
40468         * elf/tst-initordera2.c: New file.
40469         * elf/tst-initordera3.c: New file.
40470         * elf/tst-initordera4.c: New file.
40471         * elf/tst-initorderb1.c: New file.
40472         * elf/tst-initorderb2.c: New file.
40473         * elf/tst-order-a1.c: New file.
40474         * elf/tst-order-a2.c: New file.
40475         * elf/tst-order-a3.c: New file.
40476         * elf/tst-order-a4.c: New file.
40477         * elf/tst-order-b1.c: New file.
40478         * elf/tst-order-b2.c: New file.
40479         * elf/tst-order-main.c: New file.
40480         New test case by George Gensure <werkt0@gmail.com>.
40482 2010-10-01  Andreas Schwab  <schwab@redhat.com>
40484         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
40485         decoding ACE if AI_CANONIDN.
40487 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
40489         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
40491 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
40493         * version.h (RELEASE): Bump for 2.13 release.
40494         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
40496         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
40498         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
40499         MADV_NOHUGEPAGE.
40500         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
40501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40502         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40503         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
40504         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40505         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40507         * posix/getconf.c: Update copyright year.
40508         * catgets/gencat.c: Likewise.
40509         * csu/version.c: Likewise.
40510         * debug/catchsegv.sh: Likewise.
40511         * debug/xtrace.sh: Likewise.
40512         * elf/ldconfig.c: Likewise.
40513         * elf/ldd.bash.in: Likewise.
40514         * elf/sprof.c (print_version): Likewise.
40515         * iconv/iconv_prog.c: Likewise.
40516         * iconv/iconvconfig.c: Likewise.
40517         * locale/programs/locale.c: Likewise.
40518         * locale/programs/localedef.c: Likewise.
40519         * malloc/memusage.sh: Likewise.
40520         * malloc/mtrace.pl: Likewise.
40521         * nscd/nscd.c (print_version): Likewise.
40522         * nss/getent.c: Likewise.
40524         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
40525         PF_CAIF, and PF_ALG.
40526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40528 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
40530         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
40531         (modules-names): Use them.
40532         (ifunc-test-modules, ifunc-pie-tests): Define.
40533         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
40534         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
40535         (test-extras): Likewise.
40536         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
40537         $(compile-command.c).
40538         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
40539         (all-built-dso): Define.
40540         (check-textrel.out, check-execstack.out): Depend on it.
40542         * configure.in: Don't override --enable-multi-arch.
40544 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
40546         [BZ #6812]
40547         * nscd/hstcache.c (tryagain): Define.
40548         (cache_addhst): Return tryagain not notfound for temporary errors.
40549         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
40550         failed.
40552 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
40554         [BZ #10563]
40555         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
40556         to make the syscall.
40557         * sysdeps/unix/sysv/linux/setgroups.c: New file.
40559         [BZ #12378]
40560         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
40561         and fall back to matching as normal character if the string ends before
40562         the matching ']' is found.  This is what POSIX requires.
40563         * posix/testfnm.c: Adjust test result.
40564         * posix/globtest.sh: Adjust test result.  Add new test.
40565         * posix/tst-fnmatch.input: Likewise.
40566         * posix/tst-fnmatch2.c: Add new test.
40568 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
40570         * elf/Makefile (check-execstack): Revert last change.  Depend on
40571         check-execstack.h.
40572         (check-execstack.h): New target.
40573         (generated): Add check-execstack.h.
40574         * elf/check-execstack.c: Include "check-execstack.h".
40575         (main): Revert last change.
40576         (handle_file): Return zero if GNU_STACK is absent and
40577         DEFAULT_STACK_PERMS doesn't include PF_X.
40579 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
40581         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
40582         in child fails because the descriptor is already closed.
40583         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
40584         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
40585         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
40587         [BZ #12397]
40588         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
40589         syscall.
40591         [BZ #10484]
40592         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
40593         temporary buffer used to handle multi lookups locally.
40594         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
40596 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40598         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
40599         loader is ld.so.
40601 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
40603         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
40604         alignment for SSE2.
40606 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
40608         [BZ #12394]
40609         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
40610         characters.  When rounding increased number of integer digits recompute
40611         number of groups.
40612         * stdio-common/tst-grouping.c: New file.
40613         * stdio-common/Makefile: Add rules to build and run tst-grouping.
40615 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
40617         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
40618         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
40620         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
40621         void.
40622         * bits/select.h: Likewise.
40624 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
40626         * po/ja.po: Update from translation team.
40628 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
40630         [BZ #11155]
40631         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
40632         implementation just like for lxstat, fxstatat, et al.
40634 2010-12-27  Jim Meyering  <meyering@redhat.com>
40636         [BZ #12348]
40637         * posix/regexec.c (build_trtable): Return failure indication upon
40638         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
40640 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
40642         [BZ #12201]
40643         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
40644         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
40645         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
40646         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
40648         [BZ #12207]
40649         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
40651         [BZ #12204]
40652         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
40653         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
40655 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
40657         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
40658         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
40659         script has SORT_BY_INIT_PRIORITY.
40660         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
40661         NO_CTORS_DTORS_SECTIONS is defined.
40662         * elf/soinit.c: Likewise.
40663         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
40664         NO_CTORS_DTORS_SECTIONS is defined.
40665         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
40666         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
40667         * sysdeps/sh/init-first.c: Likewise.
40668         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
40670 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
40672         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
40673         always use the slow path.
40675 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
40677         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
40678         similar rule which adds the sysdep directories to the header search in
40679         order to pick up the correct platform stackinfo.h.
40680         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
40681         perform test if it is, otherwise return successfully without testing.
40682         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
40683         DEFAULT_STACK_PERMS define in stackinfo.h.
40684         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
40685         defined in stackinfo.h.
40686         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
40687         DEFAULT_STACK_PERMS defined in stackinfo.h.
40688         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
40689         * sysdeps/ia64/stackinfo.h: Likewise.
40690         * sysdeps/s390/stackinfo.h: Likewise.
40691         * sysdeps/sh/stackinfo.h: Likewise.
40692         * sysdeps/sparc/stackinfo.h: Likewise.
40693         * sysdeps/x86_64/stackinfo.h: Likewise.
40694         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
40695         PF_X for powerpc64.  Retain PF_X for powerpc32.
40697 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
40699         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
40700         accurately.
40701         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
40702         GETDENTS_64BIT_ALIGNED.
40704 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
40706         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
40708 2010-12-10  Andreas Schwab  <schwab@redhat.com>
40710         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
40711         _GNU_SOURCE.
40713         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
40714         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
40715         Remove __restrict.
40716         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
40717         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
40719 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
40721         [BZ #11655]
40722         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
40723         are initialized.
40725 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
40727         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
40729 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
40731         * po/it.po: Update from translation team.
40733 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
40735         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
40736         unused codes.
40738 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
40740         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
40742 2010-11-24  Andreas Schwab  <schwab@redhat.com>
40744         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
40745         specially.
40746         (gaih_getanswer_slice): Likewise.
40748 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
40750         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
40752 2010-05-31  Petr Baudis  <pasky@suse.cz>
40754         [BZ #11149]
40755         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
40756         silently even in the chroot mode.
40758 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
40760         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
40761         last patch a bit.  Pretty printing
40763 2010-05-31  Petr Baudis <pasky@suse.cz>
40765         [BZ #10085]
40766         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
40767         initialization of skip_initgroups_dyn.
40769 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
40771         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
40772         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
40774 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
40776         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
40778 2010-11-11  Andreas Schwab  <schwab@redhat.com>
40780         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
40781         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
40782         (tst-fnmatch-ENV): Set MALLOC_TRACE.
40783         ($(objpfx)tst-fnmatch-mem): New rule.
40784         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
40785         * posix/tst-fnmatch.c (main): Call mtrace.
40787 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
40789         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40790         Support Intel processor model 6 and model 0x2c.
40792 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
40794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
40795           signed comparison.
40797 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
40799         [BZ #12205]
40800         * string/test-strncasecmp.c (check_result): New function.
40801         (do_one_test): Use it.
40802         (check1): New function.
40803         (test_main): Use it.
40804         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
40805         Support strcasecmp and strncasecmp.
40807 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
40809         [BZ #12194]
40810         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
40811         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40813 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
40815         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
40816         IFUNC support.
40817         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40818         memset-x86-64.
40819         * sysdeps/x86_64/multiarch/bzero.S: New file.
40820         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
40821         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
40822         * sysdeps/x86_64/multiarch/memset.S: New file.
40823         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
40824         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40825         Set bit_Prefer_SSE_for_memop for Intel processors.
40826         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
40827         Define.
40828         (index_Prefer_SSE_for_memop): Define.
40829         (HAS_PREFER_SSE_FOR_MEMOP): Define.
40831 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
40833         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
40834         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
40836 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
40838         [BZ #12191]
40839         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40840         (__x86_64_raw_data_cache_size_half): Likewise.
40841         (__x86_64_raw_shared_cache_size): Likewise.
40842         (__x86_64_raw_shared_cache_size_half): Likewise.
40844         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
40845         (__x86_64_raw_data_cache_size_half): Likewise.
40846         (__x86_64_raw_shared_cache_size): Likewise.
40847         (__x86_64_raw_shared_cache_size_half): Likewise.
40848         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
40849         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
40850         and __x86_64_raw_shared_cache_size_half.  Round
40851         __x86_64_data_cache_size_half, __x86_64_data_cache_size
40852         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
40853         to multiple of 256 bytes.
40855 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
40857         [BZ #12167]
40858         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
40859         of inacessible symlinks.  Verify result of symlink before returning it.
40860         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40861         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
40863 2010-10-28  Erich Ritz  <erichritz@gmail.com>
40865         * math/math.h (isinf): Fix typo in comment.
40867 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
40869         * po/da.po: Update from translation team.
40871 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
40873         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
40874         is added to the list.
40876 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40877             Ulrich Drepper  <drepper@gmail.com>
40879         * elf/dl-object.c (_dl_new_object): Don't append the new object to
40880         the global list here.  Move code to...
40881         (_dl_add_to_namespace_list): ...here.  New function.
40882         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
40883         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
40884         * elf/dl-load.c (lose): Don't remove the element from the list.
40885         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
40886         (_dl_map_object): Likewise.
40888 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
40890         [BZ #12159]
40891         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
40892         into all bytes of SSE register.
40893         Patch by Richard Li <richardpku@gmail.com>.
40895 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
40897         [BZ #12140]
40898         * malloc/malloc.c (_int_free): Fill correct number of bytes when
40899         perturbing.
40901 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
40903         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
40904         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
40905         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
40906         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
40908         submachine.
40909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
40911 2010-10-22  Andreas Schwab  <schwab@redhat.com>
40913         * include/dlfcn.h (__RTLD_SECURE): Define.
40914         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
40915         mode & __RTLD_SECURE instead.
40916         (open_path): Rename preloaded parameter to secure.
40917         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
40918         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
40919         * elf/dl-deps.c (openaux): Likewise.
40920         * elf/rtld.c (struct map_args): Remove is_preloaded.
40921         (map_doit): Don't use it.
40922         (dl_main): Likewise.
40923         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
40924         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
40926 2010-09-09  Andreas Schwab  <schwab@redhat.com>
40928         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
40929         (sysd-rules-targets): Remove duplicates.
40930         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
40931         rtld-%.$o dependency.
40933 2010-10-18  Andreas Schwab  <schwab@redhat.com>
40935         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
40936         _dl_map_object do it.
40938 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
40940         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
40941         fast fma builtins, define the macros in the C99 standard.
40942         (FP_FAST_FMAF): Likewise.
40943         (FP_FAST_FMAL): Likewise.
40944         * sysdeps/x86_64/bits/mathdef.h: Likewise.
40946         * bits/mathdef.h: Update copyright year.
40947         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40949 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
40951         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
40952         builtins, define the macros in the C99 standard.
40953         (FP_FAST_FMAF): Likewise.
40954         (FP_FAST_FMAL): Likewise.
40955         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
40956         multiply/add.
40957         (FP_FAST_FMAF): Likewise.
40959 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
40961         [BZ #3268]
40962         * math/libm-test.inc (fma_test): Some new testcases.
40963         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
40964         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
40965         y and infinite z.  Do multiplication by C already in long double.
40966         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
40967         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
40968         y and infinite z.  Do bitwise or of inexact bit into u.d.
40969         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
40970         * sysdeps/i386/fpu/s_fmaf.S: Removed.
40971         * sysdeps/i386/fpu/s_fma.S: Removed.
40972         * sysdeps/i386/fpu/s_fmal.S: Removed.
40974 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
40976         [BZ #3268]
40977         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
40978         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
40979         computation is not scheduled after fetestexcept.  Fix value
40980         of minimum denormal long double.
40982 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
40984         [BZ #3268]
40985         * math/libm-test.inc (fma_test): Add some more tests.
40986         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
40987         correctly.
40989 2010-10-15  Andreas Schwab  <schwab@redhat.com>
40991         * scripts/data/localplt-s390-linux-gnu.data: New file.
40992         * scripts/data/localplt-s390x-linux-gnu.data: New file.
40994 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
40996         [BZ #3268]
40997         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
40998         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
40999         instead of dbl-64.
41000         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
41001         inlines.
41002         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
41003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
41004         if one of x and y is very large and the other is subnormal.
41005         * sysdeps/s390/fpu/s_fmaf.c: New file.
41006         * sysdeps/s390/fpu/s_fma.c: New file.
41007         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
41008         * sysdeps/powerpc/fpu/s_fma.S: New file.
41009         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
41010         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
41011         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
41013 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
41015         [BZ #3268]
41016         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
41017         fma tests.
41018         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
41019         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
41020         * sysdeps/i386/i686/multiarch/s_fma.c: Include
41021         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
41022         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
41023         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
41024         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
41026 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
41028         [BZ #12078]
41029         * posix/regcomp.c (parse_branch): One more memory leak plugged.
41030         * posix/bug-regex31.input: Add test case.
41032 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41034         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
41035         * posix/bug-regex31.input: New file.
41037         [BZ #12078]
41038         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
41039         (parse_sub_exp): Fix last change, use postorder.
41041         * posix/bug-regex31.c: New file.
41042         * posix/Makefile: Add rules to build and run bug-regex31.
41044         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
41046         [BZ #12078]
41047         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
41049         [BZ #12108]
41050         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
41051         to have entries in sys_siglist.
41053         [BZ #12093]
41054         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
41055         be NULL.
41057 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
41059         [BZ #3268]
41060         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
41061         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
41062         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
41063         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
41064         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41065         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
41066         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
41067         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
41068         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
41069         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
41070         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
41071         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
41072         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41073         * math/ftestexcept.c (fetestexcept): Likewise.
41074         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
41075         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
41076         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
41077         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
41078         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
41079         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
41080         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41082 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
41084         [BZ #12107]
41085         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
41086         newline.
41088 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
41090         * string/bug-strstr1.c: New file.
41091         * string/Makefile: Add rules to build and run bug-strstr1.
41093 2010-10-05  Eric Blake  <eblake@redhat.com>
41095         [BZ #12092]
41096         * string/str-two-way.h (two_way_long_needle): Always clear memory
41097         when skipping input due to the shift table.
41099 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
41101         [BZ #12005]
41102         * malloc/mcheck.c: Handle large requests.
41104         [BZ #12077]
41105         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
41106         for strncmp and strncasecmp.
41107         * string/stratcliff.c: Add tests for strcmp and strncmp.
41108         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
41110 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
41112         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
41113         __set_fpscr.
41115 2010-09-30  Andreas Jaeger  <aj@suse.de>
41117         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
41118         (CGROUP_SUPER_MAGIC): Define.
41119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41120         Handle btrfs and cgroup file systems.
41121         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
41122         Likewise.
41124 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
41126         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
41127         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
41129 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41131         [BZ #12067]
41132         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
41133         trying to locate the ELF header.
41135 2010-09-27  Andreas Schwab  <schwab@redhat.com>
41137         [BZ #11611]
41138         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
41139         Mask out sign-bit copies when constructing f_fsid.
41141 2010-09-24  Petr Baudis <pasky@suse.cz>
41143         * debug/stack_chk_fail_local.c: Add missing licence exception.
41144         * debug/warning-nop.c: Likewise.
41146 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
41148         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
41149         implementing getdents64 using getdents syscall, set d_type if
41150         __ASSUME_GETDENTS32_D_TYPE.
41152 2010-09-16  Andreas Schwab  <schwab@redhat.com>
41154         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
41155         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
41157 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
41159         [BZ #12037]
41160         * posix/unistd.h: Undo change of feature selection for ftruncate from
41161         2010-01-11.
41163 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
41165         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
41166         detection.
41168 2010-09-20  Andreas Schwab  <schwab@redhat.com>
41170         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
41171         fanotify_mark.
41172         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41174 2010-09-14  Andreas Schwab  <schwab@redhat.com>
41176         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
41177         variables after CHECK_SP call.
41178         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
41180 2010-09-13  Andreas Schwab  <schwab@redhat.com>
41181             Ulrich Drepper  <drepper@redhat.com>
41183         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
41184         re-relocationg ld.so.
41185         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
41186         _dl_init_paths call.
41187         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
41188         here anymore.
41190 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
41192         * resolv/res_init.c (__res_vinit): Count the default server we added.
41194 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
41195             Ulrich Drepper  <drepper@redhat.com>
41197         [BZ #11968]
41198         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
41199         (____longjmp_chk): Use %ebx for saving value across system call.
41200         Add unwind info.
41202 2010-09-06  Andreas Schwab  <schwab@redhat.com>
41204         * manual/Makefile: Don't mix pattern rules with normal rules.
41206 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41208         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
41209         operation.
41210         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
41211         * libio/iofopncook.c (_IO_cookie_init): Likewise.
41212         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
41213         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
41214         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
41215         Likewise.
41217 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
41219         [BZ #11979]
41220         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
41221         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
41223 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
41225         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
41226         * sysdeps/x86_64/addmul_1.S: Likewise.
41227         * sysdeps/x86_64/lshift.S: Likewise.
41228         * sysdeps/x86_64/mul_1.S: Likewise.
41229         * sysdeps/x86_64/rshift.S: Likewise.
41230         * sysdeps/x86_64/sub_n.S: Likewise.
41231         * sysdeps/x86_64/submul_1.S: Likewise.
41233 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41235         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
41236         Define __sched_param instead of SCHED_* and sched_param when
41237         <bits/sched.h> is included with __need_schedparam defined.
41238         * bits/sched.h [__need_schedparam]
41239         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
41240         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
41241         (__defined_schedparam): Define to 1.
41242         (__sched_param): New structure, identical to sched_param.
41243         (__need_schedparam): Undefine.
41245 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
41247         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
41248         (epoll_create1): Declare.
41250         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
41252 2010-08-31  Andreas Schwab  <schwab@redhat.com>
41254         [BZ #7066]
41255         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
41256         shifting retval into place.
41258 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
41260         * nis/rpcsvc/nis.h: Update copyright notice.
41261         * nis/rpcsvc/nis.x: Likewise.
41262         * nis/rpcsvc/nis_callback.h: Likewise.
41263         * nis/rpcsvc/nis_callback.x: Likewise.
41264         * nis/rpcsvc/nis_object.x: Likewise.
41265         * nis/rpcsvc/nis_tags.h: Likewise.
41266         * nis/rpcsvc/yp.h: Likewise.
41267         * nis/rpcsvc/yp.x: Likewise.
41268         * nis/rpcsvc/ypupd.h: Likewise.
41269         * nis/yp_xdr.c: Likewise.
41270         * nis/ypupdate_xdr.c: Likewise.
41272         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
41273         mainly the body of pmap_getport.  Add parameters to specify timeouts.
41274         (pmap_getport): Use __libc_rpc_getport.
41275         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
41276         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
41277         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
41279 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
41281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
41282         fanotify_mark.
41284 2010-08-27  Roland McGrath  <roland@redhat.com>
41286         * sysdeps/i386/i686/multiarch/Makefile
41287         (CFLAGS-varshift.c): New variable.
41289 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
41291         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
41292         * sysdeps/i386/i686/multiarch/varshift.c: New file.
41294         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
41296         * sysdeps/x86_64/strlen.S: Minimal code improvement.
41298 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
41300         * sysdeps/x86_64/strlen.S: Unroll the loop.
41301         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41302         strlen-sse2 strlen-sse2-bsf.
41303         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
41304         __strlen_no_bsf if bit_Slow_BSF is set.
41305         (__strlen_sse42): Removed.
41306         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
41307         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
41309 2010-08-25  Roland McGrath  <roland@redhat.com>
41311         * sysdeps/x86_64/multiarch/varshift.S: File removed.
41312         * sysdeps/x86_64/multiarch/varshift.c: New file.
41313         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
41314         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
41315         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
41316         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
41318 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
41320         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41321         strlen-sse2 strlen-sse2-bsf.
41322         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
41323         __strlen_sse2_bsf if bit_Slow_BSF is unset.
41324         (__strlen_sse2): Removed.
41325         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
41326         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
41327         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
41328         bit_Slow_BSF for Atom.
41329         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
41330         (index_Slow_BSF): Define.
41331         (HAS_SLOW_BSF): Define.
41333 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
41335         [BZ #10851]
41336         * resolv/res_init.c (__res_vinit): When no server address at all
41337         is given default to loopback.
41339 2010-08-24  Roland McGrath  <roland@redhat.com>
41341         * configure.in: Remove config-name.h generation.
41342         * configure: Regenerated.
41343         * config-name.in: File removed.
41344         * scripts/config-uname.sh: New file.
41345         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
41346         ($(objdir)config-name.h): New target.
41348         * sunrpc/rpc_parse.h: Avoid nested comment.
41350 2010-08-24  Richard Henderson  <rth@redhat.com>
41351             Ulrich Drepper  <drepper@redhat.com>
41352             H.J. Lu  <hongjiu.lu@intel.com>
41354         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
41355         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
41356         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
41357         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
41358         _mm_alignr_epi8 with _mm_loadu_si128.
41359         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
41360         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
41361         (__m128i_shift_right): Removed.
41362         * sysdeps/i386/i686/multiarch/varshift.h: New file.
41363         * sysdeps/i386/i686/multiarch/varshift.S: New file.
41364         * sysdeps/x86_64/multiarch/varshift.h: New file.
41365         * sysdeps/x86_64/multiarch/varshift.S: New file.
41367 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
41369         * configure.in: Move assembler checks to before sysdep dir checking.
41371 2010-08-20  Petr Baudis  <pasky@suse.cz>
41373         * LICENSES: Sync the sunrpc license.
41375 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
41377         * sunrpc/auth_des.c: Update copyright notice once again.
41378         * sunrpc/auth_none.c: Likewise.
41379         * sunrpc/auth_unix.c: Likewise.
41380         * sunrpc/authdes_prot.c: Likewise.
41381         * sunrpc/authuxprot.c: Likewise.
41382         * sunrpc/bindrsvprt.c: Likewise.
41383         * sunrpc/clnt_gen.c: Likewise.
41384         * sunrpc/clnt_perr.c: Likewise.
41385         * sunrpc/clnt_raw.c: Likewise.
41386         * sunrpc/clnt_simp.c: Likewise.
41387         * sunrpc/clnt_tcp.c: Likewise.
41388         * sunrpc/clnt_udp.c: Likewise.
41389         * sunrpc/clnt_unix.c: Likewise.
41390         * sunrpc/des_crypt.c: Likewise.
41391         * sunrpc/des_soft.c: Likewise.
41392         * sunrpc/get_myaddr.c: Likewise.
41393         * sunrpc/getrpcport.c: Likewise.
41394         * sunrpc/key_call.c: Likewise.
41395         * sunrpc/key_prot.c: Likewise.
41396         * sunrpc/openchild.c: Likewise.
41397         * sunrpc/pm_getmaps.c: Likewise.
41398         * sunrpc/pm_getport.c: Likewise.
41399         * sunrpc/pmap_clnt.c: Likewise.
41400         * sunrpc/pmap_prot.c: Likewise.
41401         * sunrpc/pmap_prot2.c: Likewise.
41402         * sunrpc/pmap_rmt.c: Likewise.
41403         * sunrpc/rpc/auth.h: Likewise.
41404         * sunrpc/rpc/auth_unix.h: Likewise.
41405         * sunrpc/rpc/clnt.h: Likewise.
41406         * sunrpc/rpc/des_crypt.h: Likewise.
41407         * sunrpc/rpc/key_prot.h: Likewise.
41408         * sunrpc/rpc/netdb.h: Likewise.
41409         * sunrpc/rpc/pmap_clnt.h: Likewise.
41410         * sunrpc/rpc/pmap_prot.h: Likewise.
41411         * sunrpc/rpc/pmap_rmt.h: Likewise.
41412         * sunrpc/rpc/rpc.h: Likewise.
41413         * sunrpc/rpc/rpc_des.h: Likewise.
41414         * sunrpc/rpc/rpc_msg.h: Likewise.
41415         * sunrpc/rpc/svc.h: Likewise.
41416         * sunrpc/rpc/svc_auth.h: Likewise.
41417         * sunrpc/rpc/types.h: Likewise.
41418         * sunrpc/rpc/xdr.h: Likewise.
41419         * sunrpc/rpc_clntout.c: Likewise.
41420         * sunrpc/rpc_cmsg.c: Likewise.
41421         * sunrpc/rpc_common.c: Likewise.
41422         * sunrpc/rpc_cout.c: Likewise.
41423         * sunrpc/rpc_dtable.c: Likewise.
41424         * sunrpc/rpc_hout.c: Likewise.
41425         * sunrpc/rpc_main.c: Likewise.
41426         * sunrpc/rpc_parse.c: Likewise.
41427         * sunrpc/rpc_parse.h: Likewise.
41428         * sunrpc/rpc_prot.c: Likewise.
41429         * sunrpc/rpc_sample.c: Likewise.
41430         * sunrpc/rpc_scan.c: Likewise.
41431         * sunrpc/rpc_scan.h: Likewise.
41432         * sunrpc/rpc_svcout.c: Likewise.
41433         * sunrpc/rpc_tblout.c: Likewise.
41434         * sunrpc/rpc_util.c: Likewise.
41435         * sunrpc/rpc_util.h: Likewise.
41436         * sunrpc/rpcinfo.c: Likewise.
41437         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
41438         * sunrpc/rpcsvc/key_prot.x: Likewise.
41439         * sunrpc/rpcsvc/klm_prot.x: Likewise.
41440         * sunrpc/rpcsvc/mount.x: Likewise.
41441         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
41442         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
41443         * sunrpc/rpcsvc/rex.x: Likewise.
41444         * sunrpc/rpcsvc/rstat.x: Likewise.
41445         * sunrpc/rpcsvc/rusers.x: Likewise.
41446         * sunrpc/rpcsvc/sm_inter.x: Likewise.
41447         * sunrpc/rpcsvc/spray.x: Likewise.
41448         * sunrpc/rpcsvc/yppasswd.x: Likewise.
41449         * sunrpc/rtime.c: Likewise.
41450         * sunrpc/svc.c: Likewise.
41451         * sunrpc/svc_auth.c: Likewise.
41452         * sunrpc/svc_authux.c: Likewise.
41453         * sunrpc/svc_raw.c: Likewise.
41454         * sunrpc/svc_run.c: Likewise.
41455         * sunrpc/svc_simple.c: Likewise.
41456         * sunrpc/svc_tcp.c: Likewise.
41457         * sunrpc/svc_udp.c: Likewise.
41458         * sunrpc/svc_unix.c: Likewise.
41459         * sunrpc/svcauth_des.c: Likewise.
41460         * sunrpc/xcrypt.c: Likewise.
41461         * sunrpc/xdr.c: Likewise.
41462         * sunrpc/xdr_array.c: Likewise.
41463         * sunrpc/xdr_float.c: Likewise.
41464         * sunrpc/xdr_mem.c: Likewise.
41465         * sunrpc/xdr_rec.c: Likewise.
41466         * sunrpc/xdr_ref.c: Likewise.
41467         * sunrpc/xdr_sizeof.c: Likewise.
41468         * sunrpc/xdr_stdio.c: Likewise.
41470         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
41471         handling.
41473 2010-08-19  Andreas Schwab  <schwab@redhat.com>
41475         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
41477 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
41479         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
41480         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
41481         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
41482         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
41483         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
41484         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
41485         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
41486         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
41487         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
41488         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
41489         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
41490         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
41491         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
41492         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
41494 2010-07-26  Anton Blanchard  <anton@samba.org>
41496         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
41497         * malloc/arena.c (heap_trim): Likewise.
41499 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
41501         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
41502         here.  Not...
41503         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
41504         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
41506 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
41508         * sysdeps/i386/elf/Makefile: New file.
41510 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41512         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
41513         from fanotify_init.
41514         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
41515         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41517 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
41519         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
41520         of strncasecmp_l.
41521         * sysdeps/multiarch/strcmp.S: Likewise.
41523 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
41525         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41526         strncase_l-nonascii.
41527         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41528         Add strncase_l-ssse3.
41529         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
41530         * sysdeps/x86_64/strcmp.S: Likewise.
41531         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
41532         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
41533         * sysdeps/x86_64/strncase.S: New file.
41534         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
41535         * sysdeps/x86_64/strncase_l.S: New file.
41536         * string/Makefile (strop-tests): Add strncasecmp.
41537         * string/test-strncasecmp.c: New file.
41539         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
41540         warning.
41542         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
41543         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
41545 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
41547         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
41549 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
41551         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
41552         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
41553         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
41555 2010-05-01  Alan Modra  <amodra@gmail.com>
41557         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
41558         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
41559         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
41560         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
41561         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
41562         tidying.  Don't tail-call __sigjmp_save for static lib.
41563         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
41564         save location.
41565         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
41566         (CALL_MCOUNT): Add eh info, and nop after bl.
41567         (TAIL_CALL_SYSCALL_ERROR): New macro.
41568         (PSEUDO_RET): Use it.
41569         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
41570         Correct save location of integer regs and cr.
41571         (_dl_profile_resolve): Correct cr save location.  Delete nops
41572         after bl when SHARED.  Reduce cfi size a little by better
41573         placement of cfi directives.
41574         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
41575         make a stack frame.  Instead use parm save area as a temp.
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
41577         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
41578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
41579         Don't make a stack frame for parent, use parm save area.
41580         Increase child stack frame to 112 bytes.  Don't save unused reg,
41581         and adjust reg usage.  Set up cfi on error recovery and
41582         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
41583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41584         (__makecontext): Add dummy nop after jump to exit.
41585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
41586         Use correct parm save area and cr save, reduce stack frame.
41587         Correct cfi for possible PSEUDO_RET frame setup.
41588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
41589         Branch to local label emitted by PSEUDO_RET rather than
41590         __syscall_error.
41592 2010-08-12  Andreas Schwab  <schwab@redhat.com>
41594         [BZ #11904]
41595         * locale/programs/locale.c (print_assignment): New function.
41596         (show_locale_vars): Use it.
41598 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
41600         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
41601         field.
41602         (struct statfs64): Likewise.
41603         (_STATFS_F_FLAGS): Define.
41604         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
41605         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41606         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
41607         (ST_VALID): Define locally.
41608         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
41609         __statvfs_getflags, use the provided value.
41610         * sysdeps/unix/sysv/linux/kernel-features.h: Define
41611         __ASSUME_STATFS_F_FLAGS.
41613         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
41615         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
41616         Add sys/fanotify.h.
41617         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
41618         fanotify_mask for GLIBC_2.13.
41619         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
41620         fanotify_init and fanotify_mark.
41621         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
41622         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
41624         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
41625         Add prlimit.
41626         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
41627         prlimit64 for GLIBC_2.13.
41628         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
41629         prlimit64.
41630         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
41631         syscall.
41632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
41633         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
41634         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
41635         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
41636         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
41637         add prlimit alias.
41638         * sysdeps/unix/sysv/linux/prlimit.c: New file.
41640         [BZ #11903]
41641         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
41642         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
41644         * nss/Makefile: Add rules to build and run tst-nss-test1.
41645         * shlib-versions: Add entry for libnss_test1.
41646         * nss/nss_test1.c: New file.
41647         * nss/tst-nss-test1.c: New file.
41649         * nss/nsswitch.c (__nss_database_custom): Define new variable.
41650         (__nss_configure_lookup): Set appropriate entry in
41651         __nss_configure_lookup to true.
41652         * nss/nsswitch.h: Define enum with indeces of databases in
41653         databases and __nss_database_custom arrays.  Declare
41654         __nss_database_custom.
41655         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
41656         to avoid using nscd when custom rules are installed.
41657         * nss/getXXbyYY_r.c: Likewise.
41658         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
41660         * nss/nss_files/files-parse.c: Whitespace fixes.
41662 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
41664         [BZ #11883]
41665         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
41666         * posix/fnmatch_loop.c: Likewise.
41668 2010-07-17  Andi Kleen  <ak@linux.intel.com>
41670         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
41671         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
41672         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
41673         * Versions.def [GLIBC_2.13]: Add.
41675 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
41677         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41678         Also fail if tpwd after pwuid call is NULL.
41680 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41682         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
41683         when converting to ms.
41685 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41687         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
41688         EOPNOTSUPP errors with ENOTTY.
41689         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
41690         EOPNOTSUPP errors with ENOTTY.
41692 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
41694         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
41695         Add strcasecmp_l-ssse3.
41696         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
41697         strcasecmp.
41698         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
41699         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
41700         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
41702 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
41704         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
41706         * string/Makefile (strop-tests): Add strcasecmp.
41707         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
41708         strcasecmp_l-nonascii.
41709         (gen-as-const-headers): Add locale-defines.sym.
41710         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
41711         * sysdeps/x86_64/strcasecmp.S: New file.
41712         * sysdeps/x86_64/strcasecmp_l.S: New file.
41713         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
41714         * sysdeps/x86_64/locale-defines.sym: New file.
41715         * string/test-strcasecmp.c: New file.
41717         * string/test-strcasestr.c: Test both ends of the range of characters.
41718         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
41720 2010-07-29  Roland McGrath  <roland@redhat.com>
41722         [BZ #11856]
41723         * manual/locale.texi (Yes-or-No Questions): Fix example code.
41725 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
41727         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
41728         for ld.so.
41730 2010-07-27  Andreas Schwab  <schwab@redhat.com>
41732         * manual/memory.texi (Malloc Tunable Parameters): Document
41733         M_PERTURB.
41735 2010-07-26  Roland McGrath  <roland@redhat.com>
41737         [BZ #11840]
41738         * configure.in (-fgnu89-inline check): Set and substitute
41739         gnu89_inline, not libc_cv_gnu89_inline.
41740         * configure: Regenerated.
41741         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
41743 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
41745         * string/test-strnlen.c: New file.
41746         * string/Makefile (strop-tests): Add strnlen.
41747         * string/tester.c (test_strnlen): Add a few more test cases.
41748         * string/tst-strlen.c: Better error reporting.
41750         * sysdeps/x86_64/strnlen.S: New file.
41752 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
41754         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
41755         lower-latency instructions.
41757 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
41759         * string/test-strcasestr.c: New file.
41760         * string/test-strstr.c: New file.
41761         * string/Makefile (strop-tests): Add strstr and strcasestr.
41762         * string/str-two-way.h: Don't undefine MAX.
41763         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
41765 2010-07-21  Andreas Schwab  <schwab@redhat.com>
41767         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41768         strcasestr-nonascii.
41769         (CFLAGS-strcasestr-nonascii.c): Define.
41770         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
41771         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
41772         Remove unused attribute.
41774 2010-07-20  Roland McGrath  <roland@redhat.com>
41776         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
41777         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
41778         ld.so.cache was broken.  With it, there is no way to disable dsocaps
41779         like LD_HWCAP_MASK can disable hwcaps.
41781 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41783         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
41785 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
41787         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
41788         call in strcasestr.
41789         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
41790         __strcasestr_sse42_nonascii.
41791         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
41792         strcasestr-nonascii.c.
41793         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
41795 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
41797         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
41798         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
41799         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
41800         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
41802 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
41804         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
41805         fcntl.
41807 2010-07-06  Andreas Schwab  <schwab@redhat.com>
41809         [BZ #11577]
41810         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
41811         dl_signal_cerror.
41813 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
41815         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
41816         _PC_PIPE_BUF using F_GETPIPE_SZ.
41818 2010-07-05  Roland McGrath  <roland@redhat.com>
41820         * manual/arith.texi (Rounding Functions): Fix rint description
41821         implicit in round description.
41823 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
41825         * elf/Makefile: Fix linking for a few tests to make recent linker
41826         happy.
41828 2010-06-30  Andreas Schwab  <schwab@redhat.com>
41830         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
41831         $(common-objpfx)libc_nonshared.a.
41833 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
41835         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
41836         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
41837         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41838         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41839         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
41840         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
41841         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41842         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
41844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
41845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
41846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
41847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
41848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
41849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
41850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
41851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
41852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
41853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
41854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
41855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
41856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
41857         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
41858         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
41859         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
41860         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
41861         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
41862         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
41863         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
41864         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
41865         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
41866         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
41867         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
41868         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
41869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
41870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
41871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
41872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
41873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
41874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
41875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
41876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
41877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
41878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
41879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
41880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
41881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
41882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
41884 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
41886         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
41887         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
41888         * string/memmove.c (memmove): Renamed to ...
41889         (MEMMOVE): ...this.  Default to memmove.
41890         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
41891         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
41892         (END_CHK): Define.
41893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41894         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
41895         mempcpy-ssse3-back memmove-ssse3-back.
41896         * sysdeps/x86_64/multiarch/bcopy.S: New file .
41897         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
41898         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
41899         * sysdeps/x86_64/multiarch/memcpy.S: New file.
41900         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
41901         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
41902         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
41903         * sysdeps/x86_64/multiarch/memmove.c: New file.
41904         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
41905         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
41906         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
41907         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
41908         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
41909         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
41910         Define.
41911         (index_Fast_Copy_Backward): Define.
41912         (HAS_ARCH_FEATURE): Define.
41913         (HAS_FAST_REP_STRING): Define.
41914         (HAS_FAST_COPY_BACKWARD): Define.
41916 2010-06-21  Andreas Schwab  <schwab@redhat.com>
41918         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
41919         Restore proper fallback handling.
41921 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
41923         [BZ #11701]
41924         * posix/group_member.c (__group_member): Correct checking loop.
41926         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
41927         OOM in getpwuid_r correctly.  Return error number when the caller
41928         should return, otherwise -1.
41929         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
41930         call returning > 0 value.
41931         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
41933 2010-06-07  Andreas Schwab  <schwab@redhat.com>
41935         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
41936         libc_nonshared.a from targets in modules-names.
41938 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
41940         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
41941         requires it.
41943 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
41945         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
41946         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
41947         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
41948         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
41950 2010-06-02  Andreas Schwab  <schwab@redhat.com>
41952         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
41954 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
41956         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
41957         and F_GETPIPE_SZ.
41958         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41959         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41960         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41961         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41962         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41963         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
41965 2010-06-14  Roland McGrath  <roland@redhat.com>
41967         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
41969 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
41971         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
41972         __REDIRECT followed by __THROW.
41973         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
41974         * posix/getopt.h (getopt): Likewise.
41976 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
41978         * hurd/lookup-at.c (__file_name_lookup_at): Accept
41979         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
41980         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
41981         in AT_FLAGS.
41982         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
41983         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
41985 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
41987         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
41989 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
41991         [BZ #11640]
41992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993         Properly check family and model.
41995 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
41997         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
41999 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
42001         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
42003 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
42005         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
42006         symbol reference.
42008 2010-05-19  Andreas Schwab  <schwab@redhat.com>
42010         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
42011         symbol reference.
42013 2010-05-21  Andreas Schwab  <schwab@redhat.com>
42015         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
42016         and internal_recvmmsg.
42017         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
42018         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
42019         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
42020         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
42022         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
42023         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
42024         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
42026 2010-05-20  Andreas Schwab  <schwab@redhat.com>
42028         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
42030 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
42032         POWER7 optimizations.
42033         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
42034         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
42036 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
42038         * version.h: Update for 2.13 development version.
42040 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
42042         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
42043         exceptions.  Return 0.
42045 2010-05-07  Roland McGrath  <roland@redhat.com>
42047         * elf/ldconfig.c (main): Add a const.
42049 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
42051         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
42052         (args_options): Add no-idn option.
42053         (ahosts_keys_int): Add idn_flags to ai_flags.
42054         (parse_option): Handle 'i' option to clear idn_flags.
42056         * malloc/malloc.c (_int_free): Possible race in the most recently
42057         added check.  Only act on the data if no current modification
42058         happened.
42060 See ChangeLog.17 for earlier changes.